auto-research

auto-research is a skill for Claude Code from christyjacob4/claude-tricks. It costs 170 tokens per session (2,630 once invoked), scanned A, original, MIT.

An automated research process that repeatedly changes code, runs experiments, and measures one chosen result. It can use local or remote GPUs, which are processors suited to parallel numerical work.

In plain words
What is it for?
Optimizing code, training models, tuning settings, or testing other measurable improvements over repeated experiments.
Why use it?
It reduces the need to manually repeat experiments, compare results, keep improvements, and undo failed changes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is git worktree add ../research-<tag> -b research/<tag>.

Part of the claude-tricks plugin — 10 skills, 1 agent shipped together

Good fit Optimizing code, training models, tuning settings, or testing other measurable improvements over repeated experiments.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/christyjacob4/claude-tricks
agentmods
npx agentmods add skills/christyjacob4/claude-tricks/auto-research

Made for: Claude Code.

Or install claude-tricks, the plugin that ships this one along with the rest of its 10 skills, 1 agent.

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 auto-research

README.md
[![agentmods](https://agentmods.dev/badge/skills/christyjacob4/claude-tricks/auto-research/github.svg)](https://agentmods.dev/skills/christyjacob4/claude-tricks/auto-research)
Your own site
<a href="https://agentmods.dev/skills/christyjacob4/claude-tricks/auto-research"><img src="https://agentmods.dev/badge/skills/christyjacob4/claude-tricks/auto-research/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 auto-research

Your own site · 80×15
<a href="https://agentmods.dev/skills/christyjacob4/claude-tricks/auto-research"><img src="https://agentmods.dev/badge/skills/christyjacob4/claude-tricks/auto-research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 170 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,630 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.00170 $0.02630
Opus 5 $0.00085 $0.01315
Sonnet 5 $0.00034 $0.00526
Haiku 4.5 $0.00017 $0.00263

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

Security

Grade A, and why

auto-research 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.

skills/auto-research/SKILL.md · 266 lines

How it starts

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

Auto-Research

You are an autonomous researcher. Given a codebase with a measurable metric, you systematically experiment with changes, keep what improves the metric, discard what doesn't, and repeat indefinitely until stopped.

The core insight: with a fixed time budget per experiment and a single metric to optimize, you can run dozens of experiments per hour. The human sleeps; you research.


Phase 1: Understand the Problem

Before running anything, you need to understand four things:

1. The metric

What single number are you optimizing? Lower or higher is better? Examples:

  • val_bpb (lower is better) for language models
  • accuracy (higher is better) for classifiers
  • latency_ms (lower is better) for performance optimization
  • score (higher is better) for game-playing agents

If there's no clear single metric, work with the user to define one. Multi-metric optimization is possible but harder — prefer a single number when you can.

2. The search space

What files/code can you modify? What's off-limits? Typically:

  • Modifiable: The training script, model code, hyperparameters, architecture
  • Read-only: Evaluation harness, data loading, metric computation, infrastructure

The evaluation code being read-only is important — it keeps experiments comparable. If you change how results are measured mid-run, everything before that point becomes incomparable.

3. The run command

How do you execute one experiment? This should be a single command that:

  • Runs the experiment (training, benchmark, etc.)
  • Outputs the metric in a parseable format
  • Exits with code 0 on success, non-zero on failure

4. The compute environment

What hardware is available?

  • Single local GPU: Run experiments sequentially
  • Multiple local GPUs: Run experiments in parallel, one per GPU (use CUDA_VISIBLE_DEVICES)
  • Remote machines via SSH: Run experiments in parallel across machines

Detect the environment early. For local GPUs:

nvidia-smi --list-gpus | wc -l

Read the full file on GitHub · 266 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 · 266 lines · 170 tokens per session scan A 48d1b8b93500

Subscribe to this mod's changes

auto-research is a skill published in the GitHub repository christyjacob4/claude-tricks (2 stars, last pushed 5mo ago), licensed MIT. It adds 170 tokens to every session and 2,630 once invoked, about $0.0009 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

cran-extrachecks

Prepare R packages for CRAN submission by checking for common ad-hoc requirements not caught by devtools::check(). Use when: (1) Preparing a package for first CRAN release, (2) Preparing a package update for CRAN resubmission, (3) Reviewing a package to ensure CRAN compliance, (4) Responding to CRAN reviewer feedback.…

posit-dev/skills · 98 tokens

mirai

Help users write correct R code for async, parallel, and distributed computing using mirai. Use when users need to run R code asynchronously or in parallel, write mirai code with correct dependency passing, set up parallel workers, convert from future or parallel, use miraimap, integrate with Shiny or promises, or…

posit-dev/skills · 73 tokens

r-cran-status

Look up an R package's live status on cran.r-project.org - submission/review state (queue, human review, waiting, archived, past version's fate) or R CMD check results (OK/NOTE/WARN/ERROR per platform). Use for "what's the CRAN status of X", "did X get accepted/rejected", "is X passing CRAN checks", "when was version…

posit-dev/skills · 89 tokens

paper-opportunity-radar

Run a cumulative daily or retrospective sweep of research papers on a chosen topic, audit their claims, methods, integrity signals, and independent support, then identify overlooked but feasible project or business opportunities in a detailed source-grounded report. Use when asked to monitor papers every day, mine…

tamdogood/builder-essential-skills · 98 tokens

literature-review

Find, verify, and synthesize STEM literature across every field — from "what's the seminal paper for X" through full multi-source reviews. Treats journal articles, arXiv/preprints, and conference proceedings as first-class; grounds every claim in a retrieved source, never fabricates DOIs, checks for…

emaballarin/ccplugins · 121 tokens

figure-composer

Compose one publication-grade multi-panel figure. Entry from a one-line claim + data refs, OR from an existing figure via deriveoutlinetask(png). Runs a per-figure loop: outline (12-col grid, per-panel ask + labelbudget) → fan-out one Task subagent per panel (each loads figure-style) → tile + stamp letters →…

emaballarin/ccplugins · 160 tokens