Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add darellchua2/opencode-config-template --skill autoresearch-core-skillgit clone --depth 1 https://github.com/darellchua2/opencode-config-templateWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/darellchua2/opencode-config-template/autoresearch-core-skill)<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/autoresearch-core-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/autoresearch-core-skill.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.01594 |
| Opus 5 | $0.00020 | $0.00797 |
| Sonnet 5 | $0.00008 | $0.00319 |
| Haiku 4.5 | $0.00004 | $0.00159 |
Grade A, and why
autoresearch-core-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
What I do
I am the methodology source for the autoresearch iteration protocol — a fully autonomous, metric-driven loop that modifies a system, runs a mechanical evaluator, and keeps or reverts the change based on a falsifiable verdict. I do not self-judge: every keep/revert decision comes from an evaluator that emits {"pass":bool,"score":N}. I treat the 5 stages below as a single indivisible unit; a "loop" that skips Evaluate or drops the keep/revert step is not autoresearch. Domain skills (autoresearch-ml-skill, -code-skill, -research-skill) and retrofitted skills cite my references/*.md by path rather than duplicating this body.
The 5-Stage Loop
Every iteration runs all five stages in order. Skipping a stage breaks the protocol.
- Understand — Read the audit trail (last 10–20 TSV rows,
git log --oneline -20,git diff HEAD~1on the last kept commit). Decide what worked, what failed, what is untried. - Hypothesize — Propose ONE falsifiable change ("if I do X, the metric will move in direction Y"). Atomic, single logical unit.
- Experiment — Apply the change, commit it (
experiment: <description>), run the evaluator. - Evaluate — The evaluator emits
{"pass":bool,"score":N}.passdecides keep/revert;scoreis logged to the TSV. No LLM self-judgment in this decision. - Log & Iterate — Append the TSV row, regenerate
progress.pngif configured, then loop back to Understand.
Evaluator Contract
The evaluator is the only source of keep/revert truth. It must emit exactly this JSON shape on stdout's last line:
{"pass":bool,"score":N}
pass: true→ keep the commit;pass: false→ revert (git reset --hard HEAD~1orgit revert HEAD --no-edit).score: N→ numeric (int or float) logged to the results TSV. Direction (higher_is_better/lower_is_better) is set at init; the evaluator itself emits a raw number.- Guard commands (e.g.
npm test) run AFTER evaluate; a failed guard forces revert regardless ofpass.
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/audit-trail.md 2.6 KB
- references/crash-recovery.md 3.3 KB
- references/evaluator-contract.md 3.1 KB
- references/iteration-safety.md 3.0 KB
- references/stuck-detection.md 2.7 KB
- scripts/autoresearch-loop.sh 6.4 KB runs code
- scripts/check_progress.sh 2.3 KB runs code
- scripts/init_research.py 6.1 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 91 lines · 41 tokens per session scan A eda225a0f028
autoresearch-core-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed today), licensed Apache-2.0. It adds 41 tokens to every session and 1,594 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
autocontext-consumer
Use when an agent needs to USE knowledge Autocontext already produced - find which scenarios have knowledge, read the playbook and lessons for one, understand the on-disk file and folder layout, and move knowledge between checkouts. Host-agnostic; requires only the autoctx CLI and the filesystem.
autocontext-creator
Use when an agent needs to CREATE knowledge with Autocontext - run a scenario or plain-language task through the improvement loop, judge or improve a single output, and inspect what the run produced. Host-agnostic; requires only the autoctx CLI.
codex-autoresearch
Triage improvement work and run or resume accepted measured loops in a local project. Architecture, documentation, UX, product study, open research, taste, and one-shot fixes stay direct unless the user explicitly requests repeated measurement with a complete experiment contract.
create-notes
Write a note to {shareddir}/notes/ that future agents can actually act on. Use after every coral eval, when a heartbeat (reflect / consolidate / pivot) asks for a note, or when you discover a grader / build / runtime issue that future agents will hit. Covers 4 note variants (experiment / infra / focus / synthesis)…
skill-creator
Autonomously create, test, and optimize skills by detecting reusable patterns in your own work. Use when you notice repeated tool sequences, recurring code patterns across attempts, or insights that should be captured as a packaged skill. Also use to benchmark and iterate on existing skills.
arbor-agent-setup-intake
Setup, intake, preflight, and launch-contract phase for open-source Arbor runs. Use when confirming a target project, metric, baseline, dev/test split, config/plugin settings, branch guard, session directory, or when translating a user goal into the precise contract consumed by the coordinator.