research-task-setup
Skill0 starsChanged 10 days agoApache-2.0View on GitHub
Turn a research problem, benchmark, or code repository into a scored task that an agent can safely optimize: task.md, a trustworthy evaluator, and a validated baseline program. Use when the user wants to set up, port, wrap, or scaffold an experiment, benchmark, leaderboard, or optimization target before any search or experiment loop runs, or when an existing score cannot be trusted. Not for statistical study design (use research-experimental-design) or for running the optimization itself (use research-experiment-loop).
In this repository20 other files it gives its agents.
- llms.txtllms.txt
- research-ablation-studySkill
- research-autoresearchSkill
- research-concept-figureSkill
- research-conference-talksSkill
- research-content-refinementSkill
- research-evaluationSkill
- research-evidence-auditSkill
- research-experimental-designSkill
- research-experiment-loopSkill
- research-ideationSkill
- research-inputsSkill
- research-literature-reviewSkill
- research-orchestraSkill
- research-outlineSkill
- research-plottingSkill
- research-section-writingSkill
- research-statistical-powerSkill
- research-systems-paper-writingSkill
- research-templateSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Read their material (README, rules, existing scripts), then ask in one batch only for what it does not answer.
- Very specific: line 52
Write
evaluate.py: Follow references/evaluator-contract.md: fixed CLI, metrics.json plus correct.json, finite worst score on candidate … - Very specific: line 72
Every negative program must come back correct: false.
- Distinctive: line 75
If a cheaper search profile stands in for the real benchmark, score a few diverse programs on both and confirm the ranking holds.
- Distinctive: line 76
Ask before spending more than the agreed validation budget.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Task setup
An autonomous search optimizes whatever the evaluator rewards, including its bugs. This skill produces the three things a search needs before it may start: a written task, an evaluator the candidate cannot influence, and a baseline that has been scored for real.
The user decides the science: metric, editable surface, rules, and budget. The agent builds the scaffold and proves that it works. A task that has not been evaluated end to end is not done.
Layout
my-task/
├── task.md # goal, constraints, rubrics
├── evaluate.py # evaluator-owned scoring
└── program_0/
├── program_spec.toml # declares the entrypoint
└── src/program.py # the baseline; only src/ is editableScaffold it with a runnable demo task, then replace the demo:
python scripts/new_task.py my-task
python scripts/check_task.py my-task --run --expect correctAsk the user first
Read their material (README, rules, existing scripts), then ask in one batch only for what it does not answer. Choose sensible defaults for everything else and report them.
| Topic | Ask about |
| Objective | the metric, its direction, and who computes it |
| Editable surface | what the agent may change; everything else is fixed |
| Rules | every legality constraint, and which ones are judgment calls |
| Data | sources, licenses, splits, and what the candidate must never read |
| Cost | wall time and hardware per evaluation; a cheaper proxy for search |
| Baseline | the starting program and its known score |
| Variance | run-to-run spread of the score, or a plan to measure it |
| Shared resources | schedulers, quotas, and jobs that must not be disturbed |
Push back when an answer makes the task unsound: the candidate reports its own score, held-out data is visible during training, or an evaluation cannot finish inside its timeout.
Workflow
- Probe the environment. Where will evaluations run? Check hardware, installed packages, network access, and free disk. Record the answers in the task's
README.md. - Scaffold with
scripts/new_task.py. It refuses to overwrite existing files. - Write
evaluate.py. Followreferences/evaluator-contract.md: fixed CLI,metrics.jsonpluscorrect.json, finite worst score on candidate failure, evaluator-owned scoring, process-group cleanup, no writes into the task directory. - Write the baseline in
program_0/src/. Make the smallest change needed to fit the evaluator and document it. The baseline must scorecorrect: true. - Write
task.md. State the goal, editable files, constraints, expected evaluation time, and rubrics. A metric rubric should name a threshold that exceeds the measured noise. - Choose the search profile and rules with
references/design-patterns.md: layouts, search versus full evaluation, leakage, the three layers of legality checks, cost, and variance. - Validate until every item below passes.
- Hand off to
research-experiment-loopwith the baseline score, its spread, the wall time per evaluation, and anything skipped.
Validation
# static checks only
python scripts/check_task.py my-task
# baseline through the real evaluator, twice, with identical results required
python scripts/check_task.py my-task --run --expect correct --repeat 2
# one negative program per important rule, plus one that crashes
python scripts/check_task.py my-task --run --program /scratch/bad_program --expect incorrect
# replications, if the evaluator honors them
python scripts/check_task.py my-task --run --num-replications 3- Every negative program must come back
correct: false. A rule that no negative program exercises is unproven. - A deterministic evaluator must return the same score for the same program. When the benchmark is genuinely stochastic, run the baseline several times, pass
--tolerance, and record the spread. - The checker also fails an evaluator that modifies the task directory.
- If a cheaper search profile stands in for the real benchmark, score a few diverse programs on both and confirm the ranking holds.
- Ask before spending more than the agreed validation budget.
Safety
The evaluator runs candidate code with your user permissions. The scaffold filters credential-like environment variables and kills the process group, which is hygiene, not a sandbox. Run agent-written or third-party code in a container or a disposable VM, and do not mount secrets into it.
Rules
- The candidate never reports its own score. The evaluator recomputes the metric from artifacts it checks.
- Held-out data is invisible to the candidate during its run.
- Higher is better: a loss becomes
-lossincombined_score. - Once a search starts, the task is frozen. A changed evaluator means a new run, because old scores are no longer comparable.
Files
scripts/new_task.py— scaffold a task from the bundled templates.scripts/check_task.py— static checks, real evaluator runs, replay, and negative tests.references/evaluator-contract.md— exact interface, outputs, and failure semantics.references/design-patterns.md— layouts, profiles, leakage, legality, cost, variance.assets/evaluate.py,assets/task.md,assets/program.py,assets/program_spec.toml— the demo task templates.
Attribution
Adapted from the setup-task skill of SakanaAI/AI-Scientist-v3 (The Agentic Scientist, commit f8ae47d), Apache-2.0, Copyright 2026 Sakana AI. Changes: rewritten as a harness-independent skill; assets/evaluate.py is a shortened rewrite of the upstream evaluator template with a new demo task; the scaffold and check scripts are new, with replay and task-modification checks. See NOTICE.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

