autoresearch-core-skill

autoresearch-core-skill is a skill for OpenCode from darellchua2/opencode-config-template. It costs 41 tokens per session (1,594 once invoked), scanned A, original, Apache-2.0.

A five-step method for improving a system through repeated, measured changes: understand the past, propose one testable idea, try it, evaluate it, and keep or undo it. Git records the changes so they can serve as a history of what worked.

In plain words
What is it for?
Running repeated experiments on software or other systems where a measurable score shows whether each change helps. It also provides a standard process for recording results and detecting when progress has stopped.
Why use it?
It prevents improvements from being accepted based only on guesswork or an AI's opinion. Each change gets a mechanical pass/fail result and can be undone when it does not help.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions subagents; mentions Codex; mentions OpenCode.

Good fit Running repeated experiments on software or other systems where a measurable score…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/autoresearch-core-skill
Install

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.

Any agent
npx skills add darellchua2/opencode-config-template --skill autoresearch-core-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: OpenCode.

Wrote 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.

agentmods badge for autoresearch-core-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/autoresearch-core-skill.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/autoresearch-core-skill)
Your own site
<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>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,594 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 7d ago against content hash eda225a0f028, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/autoresearch-loop.sh, scripts/check_progress.sh, scripts/init_research.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

opencode_app/.opencode/skills/autoresearch-core-skill/SKILL.md · 91 lines

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.

  1. Understand — Read the audit trail (last 10–20 TSV rows, git log --oneline -20, git diff HEAD~1 on the last kept commit). Decide what worked, what failed, what is untried.
  2. Hypothesize — Propose ONE falsifiable change ("if I do X, the metric will move in direction Y"). Atomic, single logical unit.
  3. Experiment — Apply the change, commit it (experiment: <description>), run the evaluator.
  4. Evaluate — The evaluator emits {"pass":bool,"score":N}. pass decides keep/revert; score is logged to the TSV. No LLM self-judgment in this decision.
  5. Log & Iterate — Append the TSV row, regenerate progress.png if 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~1 or git 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 of pass.

Read the full file on GitHub · 91 lines

Files

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.

Changes

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.

  1. 7d ago First seen · 91 lines · 41 tokens per session scan A eda225a0f028

Subscribe to this mod's changes

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.

Related

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.

greyhaven-ai/autocontext · 67 tokens

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.

greyhaven-ai/autocontext · 57 tokens

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.

TheGreenCedar/codex-autoresearch · 55 tokens

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)…

Human-Agent-Society/CORAL · 217 tokens

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.

Human-Agent-Society/CORAL · 58 tokens

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.

RUC-NLPIR/Arbor · 65 tokens