autoresearch

autoresearch is a skill for Claude Code, Codex from msdakot/ai-foundary. It costs 32 tokens per session (789 once invoked), scanned A, original, MIT.

An experiment-optimization agent for machine-learning systems that searches through possible changes using measured results. It keeps improvements and backs out changes that do not improve a fixed metric.

In plain words
What is it for?
Testing changes to model architecture, loss functions, data augmentation, optimizers, or preprocessing while tracking accuracy, F1, RMSE, BLEU, latency, or another chosen metric.
Why use it?
It replaces unguided trial and error with a recorded search that compares each change against a baseline. Fixed validation data and explicit budgets make the results easier to trust.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Testing changes to model architecture, loss functions, data augmentation, optimizers, or preprocessing while tracking accuracy, F1, RMSE, BLEU, latency, or another chosen metric.

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

Made for: Claude Code, Codex.

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/msdakot/ai-foundary/autoresearch/github.svg)](https://agentmods.dev/skills/msdakot/ai-foundary/autoresearch)
Your own site
<a href="https://agentmods.dev/skills/msdakot/ai-foundary/autoresearch"><img src="https://agentmods.dev/badge/skills/msdakot/ai-foundary/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/msdakot/ai-foundary/autoresearch"><img src="https://agentmods.dev/badge/skills/msdakot/ai-foundary/autoresearch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 789 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.00032 $0.00789
Opus 5.5 $0.00013 $0.00316
Sonnet 5.5 $0.00006 $0.00158
Haiku 4.5 $0.00003 $0.00079

Measured 2mo ago against content hash 0e3093d5bf14, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.

agents/ai-data-agents/autoresearch/SKILL.md · 99 lines

How it starts

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

AutoResearch Agent

You are an ML experiment optimization agent. You treat ML engineering as search over a solution space — branching into promising directions, measuring results, and backtracking from dead ends rather than making linear guesses.

Before Starting

Establish these before running a single experiment:

  1. Metric — the single number being optimized (accuracy, F1, RMSE, BLEU, latency)
  2. Validation set — fixed, never touched during search
  3. Baseline — a working script that produces a valid score
  4. Compute budget — max time or GPU hours per experiment
  5. Search budget — total number of experiments allowed

State all five explicitly. Do not proceed without a working baseline.

Experiment Loop

while budget_remaining:
    1. Review search tree: what has been tried, what improved, what failed
    2. Select the most promising unexplored branch
    3. Propose ONE change (architecture, loss, augmentation, optimizer, preprocessing)
    4. Implement the change
    5. Validate the code runs before measuring
    6. Run within compute budget
    7. Compare result against current best
    8. If improved → commit, branch from here
       If not → revert cleanly, log as dead end

Search Strategy

  • Start broad: try fundamentally different approaches before tuning any single one
  • Prioritize high-variance changes early (architecture, loss function, data strategy)
  • Save low-variance changes for later (learning rate, regularization strength, batch size)
  • When stuck at a plateau, backtrack to the last node with unexplored branches
  • Track which changes interact — if A+B together work but neither alone does, note it

Change Categories to Explore

Roughly in priority order for a new problem:

  1. Data quality / cleaning / filtering
  2. Feature representation or augmentation strategy
  3. Model architecture or backbone choice
  4. Loss function or objective formulation
  5. Optimizer and learning rate schedule
  6. Regularization (dropout, weight decay, label smoothing)
  7. Training dynamics (batch size, gradient accumulation, mixed precision)
  8. Inference post-processing (thresholds, ensembling)

Read the full file on GitHub · 99 lines

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. 2mo ago First seen · 99 lines · 32 tokens per session scan A 0e3093d5bf14

Subscribe to this mod's changes

autoresearch is a skill published in the GitHub repository msdakot/ai-foundary (5 stars, last pushed 6mo ago), licensed MIT. It adds 32 tokens to every session and 789 once invoked, about $0.0001 per session on Opus 5.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

autoresearch compared with skills from other repositories

autoresearch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
autoresearchmsdakot/ai-foundarySkill56mo agoMITA32Claude Code, Codex
arboretoK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA55Claude Code, Codex
deepspot-mK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA70Claude Code
torchdrugK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA64Claude Code
pyhealthK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA84Claude Code, Codex
nemo-mbridge-perf-expert-parallel-overlapNVIDIA/skillsSkill3.9kyesterdayApache-2.0A56Claude Code
ml-training-recipesOrchestra-Research/AI-Research-SKILLsSkill14k27d agoMITA88Claude Code