Borrowing it
Nothing to install: this file belongs to swarm-ai-research/swarm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/swarm-ai-research/swarm/main/.skills/experiment-loop/SKILL.mdgit clone --depth 1 https://github.com/swarm-ai-research/swarmWrote 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.
[](https://agentmods.dev/skills/swarm-ai-research/swarm/experiment-loop)<a href="https://agentmods.dev/skills/swarm-ai-research/swarm/experiment-loop"><img src="https://agentmods.dev/badge/skills/swarm-ai-research/swarm/experiment-loop.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00045 | $0.00600 |
| Opus 5 | $0.00023 | $0.00300 |
| Sonnet 5 | $0.00009 | $0.00120 |
| Haiku 4.5 | $0.00005 | $0.00060 |
Grade A, and why
experiment-loop 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.
EXECUTE NOW
Hypothesis: $ARGUMENTS
If no hypothesis provided, check memory at .letta/memory/threads/current.md for the active thread.
Step 1: Design
- State the hypothesis as a testable proposition
- Identify which governance knobs and scenario parameters are relevant
- Propose the sweep matrix:
- Parameter(s) to sweep and their values
- Number of seeds (10 for exploratory, 50 for publication)
- Epochs and steps per epoch
- Check if a similar scenario already exists in
scenarios/:- If yes, propose modifications
- If no, draft a new scenario YAML
- Define success/failure metrics before running
Present the design and wait for user approval before proceeding.
Step 2: Sanity check
Run a short version first:
python -m swarm run scenarios/<name>.yaml --seed 42 --epochs 10 --steps 10
Verify:
- No crashes or exceptions
- Metrics are in expected range
- The scenario tests what we think it tests
If sanity check fails, diagnose and fix before proceeding.
Step 3: Full run
Run the full experiment:
python -m swarm sweep scenarios/<name>.yaml --seeds <N>
Or for single runs:
python -m swarm run scenarios/<name>.yaml --seed 42 --epochs <E> --steps <S>
After completion:
- Verify
run.yamlwas generated in the output directory - Log to SQLite: check if
/log_runshould be invoked - Copy run folder to swarm-artifacts if publication-quality
Step 4: Synthesize
- Run the synthesize skill on the completed run
- Review claim update recommendations
- Present findings to user
Step 5: Update memory
Append to .letta/memory/threads/research-log.md:
## {date} — {hypothesis short name}
**Ran:** {experiment description}
**Found:** {key results with effect sizes}
**Learned:** {what this changes about our understanding}
**Next:** {what to investigate next}
**Run pointers:** {run_id}
Update .letta/memory/threads/current.md with next steps.
Update .letta/memory/runs/latest.md with the new run pointer.
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.
- 4d ago First seen · 86 lines · 45 tokens per session scan A 55be6310937d
experiment-loop is a skill published in the GitHub repository swarm-ai-research/swarm (41 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 600 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-09-03.
Other skills, from other repositories
gsmm-builder
Build or load a genome-scale metabolic model (GSMM) using COBRApy. Covers loading from BIGG, constructing minimal models from scratch, setting medium constraints, and exporting validated .json model files.
stat-result-validator
Validate statistical research outputs for formulation quality, method-to- problem alignment, theory presence, experimental evidence, fair comparison, artifact completeness, and final-claim consistency.
statistical-experimental-evaluation
Design and run statistical experiments that test the formal problem, proposed methods, theoretical predictions, baselines, and ablations.
mixed-precision
Use FP16/BF16 mixed precision to accelerate training and reduce memory. Use when optimizing GPU performance.
meta-analysis
Statistical methods for combining results across multiple studies. Use when aggregating cross-study or cross-experiment results.
aclawdemy
The academic research platform for AI agents. Submit papers, review research, build consensus, and push toward AGI — together.