Use this skill to run a durable research session for IMC Prosperity work.
Public-release note: this skill is the workflow glue for the repo. It tells an
agent how to use the local MCP server, how to recover from long-running work,
and how to avoid mistaking stale or cached evidence for fresh research.
Core behavior:
- Treat invocation of this skill as an explicit request to use subagents for non-trivial work.
- For non-trivial tasks, spawn bounded subagents early for parallel exploration, review, or verification.
- Keep final synthesis and implementation decisions in main thread.
- Use
prosperityResearch MCP server as primary interface for session orchestration when available.
- If MCP server is not configured yet, fall back to
python scripts/prosperity_research_cli.py ....
- If skill discovery misses this repo-local skill, use this file at
.agents/skills/prosperity-research-session/SKILL.md directly and note that user-level install may still be needed.
When this skill is active:
- Smoke MCP with
tools/list or prosperityResearch.start_or_resume_session; verify a session manifest exists before using CLI fallback.
- Inspect current frontier with
prosperityResearch.get_session_status and prosperityResearch.get_top_candidates.
- Before long alpha work, read
prosperityResearch://alpha_autoresearch_protocol; use it as source of truth for OOS splits, keep/discard policy, lane policy, and continuous agent budget loop.
- If frontier is weak or stale, continue loop with
prosperityResearch.continue_session or prosperityResearch.run_alpha_autoresearch_loop.
- For alpha autoresearch, pass explicit budget controls:
iteration_runtime_ms
max_total_runtime_seconds
stale_operation_timeout_seconds
response_mode: "compact" or "artifact_only" for long sweeps
- MCP auto-detaches
continue_session and run_alpha_autoresearch_loop when detach is omitted. Poll with prosperityResearch.get_compact_session_status or prosperityResearch.get_session_status; inspect active_operation, output_path, cancel_path, and artifact links before relaunching.
- For ROUND_3/ROUND_4, replay concrete generated candidate labels only. Do not spend research budget replaying current
algorithm.py as implicit fallback.
- If there is a strong candidate, request a patch plan with
prosperityResearch.request_patch_plan.
- Summarize:
- what was tried
- what looks promising
- what was rejected
- what should be implemented next
- what should be verified before implementation
CLI fallback:
- Use
python scripts/prosperity_research_cli.py <tool> --input-file <payload.json> --output <result.json>.
- Prefer explicit input/output files for long loops so transport timeouts do not hide completed artifacts.
- Include same budget fields as MCP payloads. Use stable input/output files and inspect session artifacts before retrying after timeout.
Autoresearch/time-budget behavior:
- Treat wall-clock budget as real. Do not stop early only because a current best candidate exists unless user budget is exhausted, user cancels, or an explicit stop rule fires.
run_alpha_autoresearch_loop is fixed-budget orchestration. It persists iteration_runtime_ms as per-iteration subprocess budget and respects max_total_runtime_seconds.
- Generator lane should synthesize or evaluate fresh generated labels before replay.
- Evaluation lane should run R3/R4 replay batches against explicit candidate labels.
- Algorithm experiment lane is optional and bounded. Use
run_algorithm_autoresearch_experiments with agent_recipes[], research_program, and fixed_time_budget_seconds when the agent proposes direct algorithm.py changes.
- Continuous Karpathy-style autoresearch requires the outer agent to repeatedly propose new
agent_recipes[], validate under a fixed budget, read the artifact/ratchet, update the hypothesis, and repeat until remaining budget is below the next validation slice. A static recipe catalog is not enough.
- Minimum loop for any multi-hour budget:
- Set a deadline from user time budget.
- Draft fresh non-duplicate
agent_recipes[] from current artifacts, losses, and lessons.
- Call
prosperityResearch.run_algorithm_autoresearch_experiments with fixed_time_budget_seconds <= remaining_time.
- Read returned
artifact_path; inspect ratchet, best_variant, errors, and discarded variants.
- Generate next recipe from evidence. Do not repeat recipe after a dedup/cache hit.
- Continue until remaining time is below one validation slice or user cancels.
- Stop/relaunch when generated labels are empty, replay fingerprints repeat, or algorithm-cache fingerprints repeat; widen parents, recipes, or candidate generation before spending more replay budget.
Subagent policy:
- Spawn one bounded subagent per clearly separable investigative workstream for non-trivial work.
- Good subagent roles:
- history reviewer
- candidate reviewer
- verification reviewer
- code impact reviewer
- Each subagent must return:
- scope inspected
- key findings
- risks or caveats
- recommended next step
Output contract:
- Always return concise research summary.
- If there is a strong candidate, include:
- candidate name
- why it is promising
- expected edge or diversification contribution
- major risks
- implementation outline
- If there is not yet a strong candidate, include:
- top rejected ideas and why
- top open questions
- recommended next experiment batch
Guardrails:
- Do not claim strategy is good without evaluation evidence from research session.
- Do not recommend implementation before checking prior attempts and current frontier.
- Prefer small, testable iterations over broad rewrites.
- Do not give a final answer while a user-provided research time budget remains and the MCP is still able to validate more
agent_recipes[].
- Inspect session manifest/artifacts after MCP transport timeout before retrying; long runs may have completed and persisted evidence.
- Keep negative evidence. Discard means no robust frontier advance, not deletion.
1---2name: prosperity-research-session3description: Use this skill to run a durable research session for IMC Prosperity work.4---56Use this skill to run a durable research session for IMC Prosperity work.78Public-release note: this skill is the workflow glue for the repo. It tells an9agent how to use the local MCP server, how to recover from long-running work,10and how to avoid mistaking stale or cached evidence for fresh research.1112Core behavior:13- Treat invocation of this skill as an explicit request to use subagents for non-trivial work.14- For non-trivial tasks, spawn bounded subagents early for parallel exploration, review, or verification.15- Keep final synthesis and implementation decisions in main thread.16- Use `prosperityResearch` MCP server as primary interface for session orchestration when available.17- If MCP server is not configured yet, fall back to `python scripts/prosperity_research_cli.py ...`.18- If skill discovery misses this repo-local skill, use this file at `.agents/skills/prosperity-research-session/SKILL.md` directly and note that user-level install may still be needed.1920When this skill is active:211. Smoke MCP with `tools/list` or `prosperityResearch.start_or_resume_session`; verify a session manifest exists before using CLI fallback.222. Inspect current frontier with `prosperityResearch.get_session_status` and `prosperityResearch.get_top_candidates`.233. Before long alpha work, read `prosperityResearch://alpha_autoresearch_protocol`; use it as source of truth for OOS splits, keep/discard policy, lane policy, and continuous agent budget loop.244. If frontier is weak or stale, continue loop with `prosperityResearch.continue_session` or `prosperityResearch.run_alpha_autoresearch_loop`.255. For alpha autoresearch, pass explicit budget controls:26 - `iteration_runtime_ms`27 - `max_total_runtime_seconds`28 - `stale_operation_timeout_seconds`29 - `response_mode: "compact"` or `"artifact_only"` for long sweeps306. MCP auto-detaches `continue_session` and `run_alpha_autoresearch_loop` when `detach` is omitted. Poll with `prosperityResearch.get_compact_session_status` or `prosperityResearch.get_session_status`; inspect `active_operation`, `output_path`, `cancel_path`, and artifact links before relaunching.317. For ROUND_3/ROUND_4, replay concrete generated candidate labels only. Do not spend research budget replaying current `algorithm.py` as implicit fallback.328. If there is a strong candidate, request a patch plan with `prosperityResearch.request_patch_plan`.339. Summarize:34 - what was tried35 - what looks promising36 - what was rejected37 - what should be implemented next38 - what should be verified before implementation3940CLI fallback:41- Use `python scripts/prosperity_research_cli.py <tool> --input-file <payload.json> --output <result.json>`.42- Prefer explicit input/output files for long loops so transport timeouts do not hide completed artifacts.43- Include same budget fields as MCP payloads. Use stable input/output files and inspect session artifacts before retrying after timeout.4445Autoresearch/time-budget behavior:46- Treat wall-clock budget as real. Do not stop early only because a current best candidate exists unless user budget is exhausted, user cancels, or an explicit stop rule fires.47- `run_alpha_autoresearch_loop` is fixed-budget orchestration. It persists `iteration_runtime_ms` as per-iteration subprocess budget and respects `max_total_runtime_seconds`.48- Generator lane should synthesize or evaluate fresh generated labels before replay.49- Evaluation lane should run R3/R4 replay batches against explicit candidate labels.50- Algorithm experiment lane is optional and bounded. Use `run_algorithm_autoresearch_experiments` with `agent_recipes[]`, `research_program`, and `fixed_time_budget_seconds` when the agent proposes direct `algorithm.py` changes.51- Continuous Karpathy-style autoresearch requires the outer agent to repeatedly propose new `agent_recipes[]`, validate under a fixed budget, read the artifact/ratchet, update the hypothesis, and repeat until remaining budget is below the next validation slice. A static recipe catalog is not enough.52- Minimum loop for any multi-hour budget:53 1. Set a deadline from user time budget.54 2. Draft fresh non-duplicate `agent_recipes[]` from current artifacts, losses, and lessons.55 3. Call `prosperityResearch.run_algorithm_autoresearch_experiments` with `fixed_time_budget_seconds <= remaining_time`.56 4. Read returned `artifact_path`; inspect `ratchet`, `best_variant`, `errors`, and discarded variants.57 5. Generate next recipe from evidence. Do not repeat recipe after a dedup/cache hit.58 6. Continue until remaining time is below one validation slice or user cancels.59- Stop/relaunch when generated labels are empty, replay fingerprints repeat, or algorithm-cache fingerprints repeat; widen parents, recipes, or candidate generation before spending more replay budget.6061Subagent policy:62- Spawn one bounded subagent per clearly separable investigative workstream for non-trivial work.63- Good subagent roles:64 - history reviewer65 - candidate reviewer66 - verification reviewer67 - code impact reviewer68- Each subagent must return:69 - scope inspected70 - key findings71 - risks or caveats72 - recommended next step7374Output contract:75- Always return concise research summary.76- If there is a strong candidate, include:77 - candidate name78 - why it is promising79 - expected edge or diversification contribution80 - major risks81 - implementation outline82- If there is not yet a strong candidate, include:83 - top rejected ideas and why84 - top open questions85 - recommended next experiment batch8687Guardrails:88- Do not claim strategy is good without evaluation evidence from research session.89- Do not recommend implementation before checking prior attempts and current frontier.90- Prefer small, testable iterations over broad rewrites.91- Do not give a final answer while a user-provided research time budget remains and the MCP is still able to validate more `agent_recipes[]`.92- Inspect session manifest/artifacts after MCP transport timeout before retrying; long runs may have completed and persisted evidence.93- Keep negative evidence. Discard means no robust frontier advance, not deletion.