autoresearch

autoresearch is a skill for Claude Code from ruizrica/agent-pi. It costs 66 tokens per session (3,061 once invoked), scanned A, original, MIT.

A repeat-and-check workflow for improving a task: change something, measure or verify the result, keep useful changes, and discard unhelpful ones.

In plain words
What is it for?
Use it for tasks that benefit from multiple measurable iterations, such as refining code, experiments, or other outputs until they meet a chosen target.
Why use it?
It gives open-ended work a clear feedback loop instead of stopping after one attempt. The approach is based on autoresearch, a method of repeated experiments guided by a goal.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it for tasks that benefit from multiple measurable iterations, such as refining code, experiments, or other outputs until they meet a chosen target.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ruizrica/agent-pi/autoresearch
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 ruizrica/agent-pi --skill autoresearch
Clone the repo
git clone --depth 1 https://github.com/ruizrica/agent-pi

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ruizrica/agent-pi/autoresearch/github.svg)](https://agentmods.dev/skills/ruizrica/agent-pi/autoresearch)
Your own site
<a href="https://agentmods.dev/skills/ruizrica/agent-pi/autoresearch"><img src="https://agentmods.dev/badge/skills/ruizrica/agent-pi/autoresearch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for autoresearch

Your own site · 80×15
<a href="https://agentmods.dev/skills/ruizrica/agent-pi/autoresearch"><img src="https://agentmods.dev/badge/skills/ruizrica/agent-pi/autoresearch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,061 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 54
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium MCP Rug Pull · line 265
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00066 $0.03061
Opus 5 $0.00033 $0.01530
Sonnet 5 $0.00013 $0.00612
Haiku 4.5 $0.00007 $0.00306

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

Security

Grade A, and why

autoresearch 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 11d 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.

skills/autoresearch/SKILL.md · 281 lines

How it starts

The opening of the file, as written. The whole thing — 281 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Autoresearch — Autonomous Goal-directed Iteration

Inspired by Karpathy's autoresearch. Applies constraint-driven autonomous iteration to ANY work — not just ML research.

Core idea: You are an autonomous agent. Modify -> Verify -> Keep/Discard -> Repeat.

When to Activate

  • User invokes /skill:autoresearch or /autoresearch
  • User says "work autonomously", "iterate until done", "keep improving", "run overnight"
  • Any task requiring repeated iteration cycles with measurable outcomes

Phase 1: Understand (Do This First — Before ANY Work)

Before touching any files, deeply understand the goal. Do NOT rush into iteration.

  1. Read relevant files — Scan the codebase to build context around the user's goal. Understand what exists, what patterns are in use, and what's realistic.

  2. Identify ambiguities — Based on the goal and codebase context, what's unclear?

    • Is the success metric obvious or ambiguous?
    • Is the scope (which files to modify) clear?
    • Are there constraints the user hasn't mentioned?
    • Are there multiple valid interpretations?
  3. Ask clarifying questions — If ANY ambiguity exists, use ask_user to ask targeted questions:

    ask_user {
      question: "I have a few questions before I build the research plan:",
      mode: "questions",
      options: [
        { label: "1. What metric should define success? (e.g. test coverage %, build time ms, bundle size KB)" },
        { label: "2. Which files/directories are in scope for modification?" },
        { label: "3. Are there any approaches to avoid or constraints I should know about?" },
        { label: "4. What does 'done' look like — a specific target, or iterate until interrupted?" }
      ]
    }
    

    Tailor questions to the specific goal. Don't ask about what's already clear. Ask about genuine ambiguities.

  4. Skip if crystal clear — If the goal is unambiguous (clear metric, scope, exit criteria), skip questions and proceed to Phase 2. State briefly why no questions are needed.

Read the full file on GitHub · 281 lines

Files

What ships with it

3 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. 11d ago First seen · 281 lines · 66 tokens per session scan A 576a08c16f23

Subscribe to this mod's changes

autoresearch is a skill published in the GitHub repository ruizrica/agent-pi (266 stars, last pushed 1mo ago), licensed MIT. It adds 66 tokens to every session and 3,061 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens