agentleFS
gladkovtimoxa-altgladkovtimoxa-alt/claude-skills/agent-launcher/CLAUDE.md

claude-skills / agent-launcher

CLAUDE.md0 starsChanged 6 months agoMITView on GitHub

Guidance for working inside agent-launcher/. See the root CLAUDE.md for repo-wide rules. A plugin that scaffolds and launches Claude Managed Agents (CMA) in the user's own Anthropic account, organized around a per-session goal that compiles into a loop or workflow. Inspired by anthropics/launch-your-agent (Apache-2.0); independent re-implementation, not a fork. 1. Deterministic scaffolders only. Every script under skills/*/scripts/ is stdlib-only and makes no network/API calls. Live launches are emitted as BYOK curl. Do not add requests, anthropic, or any network client.…

  • Reads credentials

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this CLAUDE.md into the rules it gives an agent

8 rules. About 0 are common, 0 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Deterministic scaffolders only: Every script under skills/*/scripts/ is stdlib-only and makes no network/API calls.

    line 15
  2. Very specific:

    CMA limits are law: Keep references/cma-primitives.md as the source of truth for ceilings.

    line 20
  3. Very specific:

    The folder is the user's: All artifacts go under ./my-agent/.

    line 26
  4. Very specific:

    Every tool: argparse with real --help, a --sample that runs a deterministic demo and exits 0, and JSON output via --json where a machine …

    line 42
  5. Very specific:

    Default output dir ./my-agent/.

    line 44
  6. Very specific:

    Import shared logic via relative sys.path insert (see how the orchestrator tools import goal_state).

    line 45
  7. Very specific:

    Every SKILL.md ships a "Forcing-question library" (Matt Pocock grill-with-docs): walk one question at a time, recommend an answer, cite the …

    line 50
  8. Very specific:

    Keep SPEC.md authoritative.

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md — agent-launcher domain

Guidance for working inside agent-launcher/. See the root CLAUDE.md for repo-wide rules.

What this domain is

A plugin that scaffolds and launches Claude Managed Agents (CMA) in the user's own Anthropic account, organized around a per-session goal that compiles into a loop or workflow. Inspired by anthropics/launch-your-agent (Apache-2.0); independent re-implementation, not a fork.

Non-negotiable rules (enforced by SPEC.md + validators)

  1. Deterministic scaffolders only. Every script under skills/*/scripts/ is stdlib-only and makes no network/API calls. Live launches are emitted as BYOK curl. Do not add requests, anthropic, or any network client.
  2. Never surface the API key. Launch scripts read $ANTHROPIC_API_KEY; no tool echoes/logs/writes a key. payload_validator.py and reviewers check this.
  3. CMA limits are law. Keep references/cma-primitives.md as the source of truth for ceilings; validators must match it.
  4. Bounded loops only. loop_compiler.py never emits a grade→iterate loop without a max_iterations cap (1..20).
  5. The hook is opt-in and crash-proof. Gated by AGENT_LAUNCHER_SESSION=1; exits 0 on any error. Never make it fire unconditionally.
  6. The folder is the user's. All artifacts go under ./my-agent/; scripts accept --out-dir and default there. Never write into the plugin folder.

Structure

  • skills/agent-launcher-orchestrator/ — context: fork goal router (goal_router.py, goal_state.py, loop_compiler.py).
  • skills/{interview,stage-launch,grade-iterate,run-without-you,wrap-up}/ — one phase each, 3 tools each.
  • agents/ — cs-agent-launcher-orchestrator + 3 phase specialists.
  • commands/ — 8 /cs:* commands.
  • hooks/ — opt-in session_start.py / session_end.py + hooks.json.
  • references/ — 5 shared docs. assets/ — schema + templates + example.

Tool conventions

  • Every tool: argparse with real --help, a --sample that runs a deterministic demo and exits 0, and JSON output via --json where a machine reads it.
  • Default output dir ./my-agent/; never assume network access.
  • Import shared logic via relative sys.path insert (see how the orchestrator tools import goal_state).

Forcing-question discipline

Every SKILL.md ships a "Forcing-question library" (Matt Pocock grill-with-docs): walk one question at a time, recommend an answer, cite the reference. The /cs:grill-agent-launcher command surfaces them.

When editing

  • Changing a CMA limit → update references/cma-primitives.md and every validator in lockstep.
  • Adding a loop shape → update loop_compiler.py and references/loops-and-workflows.md.
  • Keep SPEC.md authoritative; if you ship something different, record it in the delivery report.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.