swarm-ai-research/swarm/experiment-loop

Claude Code and agent skill by swarm-ai-research/swarm

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Run the full experiment lifecycle — design, sanity check, full sweep, synthesize, and claim review. Given a hypothesis, proposes sweep matrix, runs the experiment, generates artifacts, and updates the research log.

Install

npx vskill@latest install swarm-ai-research/swarm/experiment-loop

SKILL.md

The same SKILL.md was published earlier as swarm-ai-research/swarm/experiment-loop.

EXECUTE NOW

Hypothesis: $ARGUMENTS

If no hypothesis provided, check memory at .letta/memory/threads/current.md for the active thread.


Step 1: Design

  1. State the hypothesis as a testable proposition
  2. Identify which governance knobs and scenario parameters are relevant
  3. 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
  1. Check if a similar scenario already exists in scenarios/:
  • If yes, propose modifications
  • If no, draft a new scenario YAML
  1. 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:

bash
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:

bash
python -m swarm sweep scenarios/<name>.yaml --seeds <N>

Or for single runs:

bash
python -m swarm run scenarios/<name>.yaml --seed 42 --epochs <E> --steps <S>

After completion:

  1. Verify run.yaml was generated in the output directory
  2. Log to SQLite: check if /log_run should be invoked
  3. Copy run folder to swarm-artifacts if publication-quality

Step 4: Synthesize

  1. Run the synthesize skill on the completed run
  2. Review claim update recommendations
  3. 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.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/swarm-ai-research/swarm/experiment-loop/badge)](https://verified-skill.com/skills/swarm-ai-research/swarm/experiment-loop)

Something wrong with this skill or its page? Tell us.