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 $0.00016 $0.00394
Sonnet 5 $0.00006 $0.00158
Haiku 4.5 $0.00003 $0.00079

Measured 10d ago against content hash 0e3093d5bf14, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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. 10d 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 4mo ago), licensed MIT. It adds 32 tokens to every session and 789 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

arboreto

Infer gene regulatory networks (GRNs) from gene expression data using scalable algorithms (GRNBoost2, GENIE3). Use when analyzing transcriptomics data (bulk RNA-seq, single-cell RNA-seq) to identify transcription factor-target gene relationships and regulatory interactions. Supports distributed computation for…

K-Dense-AI/scientific-agent-skills · 66 tokens

pyhealth

Build clinical/healthcare deep-learning pipelines with PyHealth — loading EHR/signal/imaging datasets (MIMIC-III/IV, eICU, OMOP, SleepEDF, ChestXray14, EHRShot), defining tasks (mortality, readmission, length-of-stay, drug recommendation, sleep staging, ICD coding, EEG events), instantiating models (Transformer…

K-Dense-AI/scientific-agent-skills · 216 tokens

torchdrug

Build and troubleshoot TorchDrug 0.2.1 workflows for molecular graphs, property prediction, self-supervised pretraining, molecule generation, retrosynthesis, protein representation learning, and knowledge graph reasoning. Use when code imports torchdrug or needs its datasets, models, tasks, or Engine.

K-Dense-AI/scientific-agent-skills · 61 tokens

deepspot-m

Generate transcriptome-wide virtual spatial transcriptomics from H&E histology with DeepSpot-M. Use when you need spatial gene expression in log1p-CPM for 224x224 tiles at about 20x, want to query protein-coding genes by symbol instead of a fixed panel, or want to run prediction across a whole slide after tiling with…

K-Dense-AI/scientific-agent-skills · 80 tokens

nemo-mbridge-perf-expert-parallel-overlap

Validate and use MoE expert-parallel communication overlap in Megatron-Bridge, including overlapmoeexpertparallelcomm, delaywgradcompute, and flex dispatcher backends such as DeepEP and HybridEP.

NVIDIA/skills · 56 tokens

pick-a-pii-model

Select an on-device OpenMed PII model from the committed registry by language, runtime format, and size budget, then require recall validation before deployment. Use when an agent must choose a local PII detector for CPU, Apple Silicon, or a mobile export without relying on live model discovery.

maziyarpanahi/openmed · 64 tokens