Not loaded · from holyclaude
Runs an autonomous optimization loop: iteratively modifies code, evaluates a target metric, keeps improvements, and reverts regressions. Useful for performance tuning, bundle minimization, test coverage, or ML hyperparameter search.
Claude Code won't load this skill
It ships in holyclaude at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Inspired by karpathy/autoresearch. Run an autonomous loop that modifies code, measures a metric, keeps wins, reverts losses, and logs everything.
When the user invokes /autoloop, gather these (prompt if missing):
| Parameter | Required | Description | Example |
|---|---|---|---|
target_metric | Yes | What to optimize (metric name + direction) | val_bpb lower, test_coverage higher, bundle_size lower |
editable_files | Yes | Files the loop may modify (glob patterns OK) | src/model.py, src/**/*.ts |
eval_command | Yes | Shell command that prints the metric value | npm run test -- --coverage | grep Stmts, python train.py |
metric_extract | No | Regex or grep pattern to pull the number from eval output | grep "^val_bpb:" run.log |
time_budget | No | Max wall-clock per experiment (default: 5m) | 5m, 30s, 2m |
constraint | No | Hard constraint to not violate | tests must pass, bundle < 500kb |
If the user says /autoloop <preset>, use these defaults:
performance -- Optimize runtime performance
execution_time lowertime npm run bench 2>&1grep realsrc/**/*.{ts,js}npm test must passbundle-size -- Minimize production bundle
bundle_bytes lowernpm run build 2>&1 && du -sb dist/src/**/*.{ts,js}, webpack.config.*, vite.config.*npm test must passtest-coverage -- Maximize test coverage
coverage_pct highernpm run test -- --coverage 2>&1grep "All files" | awk '{print $10}'src/**/*.test.{ts,js}, tests/**/*all tests must passprompt-engineering -- Optimize LLM prompt quality
score higherpython eval_prompt.pygrep "^score:"prompts/**/*.md, prompts/**/*.txtval-bpb -- autoresearch-style ML training optimization
val_bpb loweruv run train.py > run.log 2>&1grep "^val_bpb:" run.logtrain.py5mpeak VRAM should not blow up dramaticallyBefore the loop begins:
Agree on a run tag with the user. Propose one based on date + target (e.g., loop-mar31-coverage).
Create an experiment branch:
git checkout -b autoloop/<tag>
The branch must not already exist.
Read all editable files to build full context of what can be changed.
Read supporting files (README, config, tests) to understand constraints.
Verify eval works by running eval_command once. Parse the metric. This is the baseline.
Initialize experiments.tsv with header row:
timestamp commit metric_value status description
Record the baseline as the first row with status baseline.
Confirm with user, then begin the loop.
LOOP FOREVER (until manually interrupted):
Review the current state: recent results in experiments.tsv, the current code, what has been tried. Formulate a hypothesis. Write a 1-line description of what you will try.
Edit only files in editable_files. Make a focused change that tests one idea.
git add <modified files>
git commit -m "experiment: <description>"
timeout <time_budget> <eval_command> > run.log 2>&1
Redirect ALL output to run.log to avoid flooding context.
<metric_extract pattern on run.log>
If no output, the run crashed. Read tail -50 run.log for the error.
If a constraint was specified, verify it still holds (e.g., run tests). If the constraint
is violated, treat as a failure regardless of metric improvement.
Keep if:
Discard if:
If keeping:
<timestamp>\t<commit>\t<metric>\tkeep\t<description>If discarding:
git reset --hard HEAD~1
<timestamp>\t<commit>\t<metric>\tdiscard\t<description>If crashed:
crash and metric 0.Go back to Step 1. Generate a new experiment idea based on accumulated results.
Cycle through these approaches to avoid getting stuck:
If stuck after 5+ consecutive discards, try a completely different angle.
editable_files.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
61 skills in this plugin
/agent-developmentAgent DevelopmentThis skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins./autoplanAuto-review pipeline — reads the full CEO, design, and eng review skills from disk
and runs them sequentially with auto-decisions using 6 decision principles. Surfaces
taste decisions (close approaches, borderline scope, codex disagreements) at a final
approval gate. One command, fully reviewed plan out.
Use when asked to "auto review", "autoplan", "run all reviews", "review this plan
automatically", or "make the decisions for me".
Proactively suggest when the user has a plan file and wants to run the full review
gauntlet without answering 15-30 intermediate questions. (gstack)
/benchmarkPerformance regression detection using the browse daemon. Establishes
baselines for page load times, Core Web Vitals, and resource sizes.
Compares before/after on every PR. Tracks performance trends over time.
Use when: "performance", "benchmark", "page speed", "lighthouse", "web vitals",
"bundle size", "load time". (gstack)
Generated from the plugin's indexed repository (ajsai47/holyclaude) — no native marketplace selected
npx claudepluginhub p/ajsai47-holyclaudeOther plugins' skills for the same job