claude-skills/agent-launcher
Alireza Rezvani ebbf6b0872
Some checks failed
Sync Codex Skills Symlinks / sync (push) Has been cancelled
fix: v2.14.0 audit P0/P1 fixes (plugin updates, Codex, mirrors, script paths, two script bugs) (#1048)
* fix(plugins): bump all plugins to 2.14.1 and gate unbumped changes

Claude Code caches plugins by version. 70 of 104 plugins changed between
v2.12.0 and v2.14.0 without a bump, so claude plugin update reported
"already at the latest version" and existing installs never received the
v2.13/v2.14 fixes. Every plugin moves to 2.14.1 so stale caches refresh once.

check_plugin_versions.py (G11, blocking in ci-quality-gate) fails when a
plugin's payload, including symlinked vendor files, changes without a higher
version, and when marketplace.json and plugin.json disagree.
bump_plugin_versions.py sets both together.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* fix(codex): stop installing all skills by default

With the full library (~380 skills) Codex drops every skill description from
its prompt budget, so it cannot pick skills. codex-install.sh now asks for
--category (comma-separated), --skill or an explicit --all, lists categories
when run without arguments, and warns when more than ~100 skills are
installed. The Windows installer and install docs follow.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* fix(gemini): link whole skill folders and drop duplicate mirror entries

Each .gemini/skills entry held only a SKILL.md symlink, so the relative
scripts/ and references/ a skill points to were missing. Entries are now
directory symlinks (Gemini CLI 0.65 discovers them). Dual-published copies
with identical SKILL.md are listed once, commands and agents that share a
skill's name are skipped, fixtures under assets/ and vendor/ re-exports are
excluded, discovery is sorted so reruns are stable, and stale generated
entries are pruned. gemini skills list: 20 conflicts -> 1 (handoff, fixed
next). GEMINI.md documents folder trust and fixes a dead example path.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* fix(handoff): rename the productivity skill to session-handoff

engineering/handoff and productivity/handoff both shipped a skill named
handoff. Claude Code namespaces them, but Codex, Gemini CLI, Vibe and Hermes
key skills by name and silently kept one. The productivity skill is now
session-handoff (handoff-productivity:session-handoff); its folder, plugin
manifest, hook script paths, command paths, mirrors, harness manifest and
docs page follow. /cs-handoff, /cs-handoff-setup and ~/.config/handoff are
unchanged; the plugin README carries a migration note.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* fix(convert): include plugins whose SKILL.md is at the plugin root

convert.sh searched at -mindepth 4, which skipped boost-asio-pro, deepread,
hivemind, loop-library, minimalist, strict-api and swedish-mentor for every
converted tool (opencode, Cursor, Windsurf, Kilo, Augment, Aider,
Antigravity). It now searches from depth 2 and skips assets/ fixtures.
opencode conversion: 375 -> 382 skills.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* fix(codex): keep skill-tester's sample fixture from loading as a skill

Codex scans installed skill folders recursively and picked up
skill-tester/assets/sample-skill/SKILL.md as 'sample-text-processor'.
The installer renames SKILL.md files under assets/ in the installed copy.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* fix(plugins): address scripts via ${CLAUDE_PLUGIN_ROOT} in commands and agents

343 script invocations in 90 command/agent files across 36 plugins used
repo-relative or ../ paths. Plugin commands and agents run from the user's
project, so those paths only resolved inside a clone of this repo; in the
v2.14.0 evals the agent fell back to find / to locate scripts. Every one now
uses ${CLAUDE_PLUGIN_ROOT}/. Two cross-plugin calls (write-a-skill ->
karpathy-coder, c-level-agents cpo -> product-manager-toolkit) go through
vendor/ symlinks, per the repo's install-cache lesson.

check_paths.py (G1) now fails a plugin command or agent that invokes a
script without ${CLAUDE_PLUGIN_ROOT}; on the v2.14.0 tree it reports 279.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* fix(month-end-close): treat opening-balance rows as balances and pair transpositions

On a bank and GL export that each begin with an 'Opening balance' row, the
matcher returned RECONCILED_WITH_ITEMS and told the user to book a 25,000.00
journal entry for the opening balance, and it reported a 7,980/7,890
transposition as two unrelated items. Opening rows are now balances: a
difference between them is reported as carried in from the prior period
(R5, blocks sign-off, never booked). Same-date digit transpositions pair into
one correcting entry. The GL file's 'memo' column is read as description.
The v2.14.0 eval fixture now proves 1,405.00 = 150 opening + 90
transposition + 1,200 outstanding check - 35 bank fee. Bundled copy synced.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* fix(coding-agent-rollout): flag connection-URL passwords and production MCP servers

On a committed .claude/settings.json holding
env.DATABASE_URL=postgresql://admin:<password>@prod-db... and
enabledMcpjsonServers: ["postgres-prod"], the linter flagged neither: the
env check only matched token formats and KEY/TOKEN/SECRET names. S11 now
catches a password embedded in any connection URL (BLOCKER in shared files),
and new S13 warns when a shared file pre-approves an MCP server whose name
marks it as production. Bundled copy synced; --sample output unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* docs: changelog and lessons for the v2.14.0 audit fixes

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-22 09:50:05 +02:00
..
.claude-plugin fix: v2.14.0 audit P0/P1 fixes (plugin updates, Codex, mirrors, script paths, two script bugs) (#1048) 2026-10-22 09:50:05 +02:00
agents feat(agent-launcher): new domain plugin for building Claude Managed Agents 2026-08-17 02:39:34 +00:00
assets merge dev into agent-launcher branch: counters trued to 377/695/817/94, D1 sidecar move, models pinned to claude-opus-5, references topped up 2026-08-21 09:11:08 +00:00
commands fix: v2.14.0 audit P0/P1 fixes (plugin updates, Codex, mirrors, script paths, two script bugs) (#1048) 2026-10-22 09:50:05 +02:00
hooks fix(docs): replace 2,308 /cs:<name> references with names Claude Code can run 2026-10-21 07:48:14 +00:00
references fix(docs): replace 2,308 /cs:<name> references with names Claude Code can run 2026-10-21 07:48:14 +00:00
skills fix(docs): replace 2,308 /cs:<name> references with names Claude Code can run 2026-10-21 07:48:14 +00:00
CLAUDE.md Merge origin/dev (#1038 landed) into claude/project-thread-2noqxb 2026-10-21 07:51:35 +00:00
PUBLISH-CLAWHUB.md docs(agent-launcher): post-merge follow-up — changelog entry, plugin audit fixes, ClawHub publish plan 2026-08-24 17:26:12 +00:00
README.md Merge origin/dev (#1038 landed) into claude/project-thread-2noqxb 2026-10-21 07:51:35 +00:00
SPEC.md fix(docs): replace 2,308 /cs:<name> references with names Claude Code can run 2026-10-21 07:48:14 +00:00

agent-launcher

Build, launch, grade, and schedule Claude Managed Agents (CMA) in your own Anthropic account — as a Claude Code plugin where every session starts with a goal and that goal compiles into a loop or a workflow.

Inspired by Anthropic's reference skill anthropics/launch-your-agent (Apache-2.0). This is an independent re-implementation for the claude-skills marketplace — not a fork — that adds agents/sub-agents, an opt-in session-start goal, deterministic scaffolders, and explicit loop/workflow compilation.

The four phases

Phase Skill Command Loop/workflow
1 · Interview → Plan interview /cs-interview single-pass workflow
2 · Stage → Launch stage-launch /cs-stage-launch single-pass workflow
3 · Grade → Iterate grade-iterate /cs-grade grade→iterate loop (bounded by max_iterations)
4 · Run Without You run-without-you /cs-run-without-you recurring cron deployment loop
— · Close out wrap-up /cs-wrap-up —

agent-launcher-orchestrator (context: fork) reads the session goal, routes to the right phase, and compiles the loop.

Every session starts with a goal

  • State lives in ./my-agent/goal.json (your folder — it keeps working after the session ends).
  • Set it: /cs-goal set "Launch an agent that triages my inbox every morning".
  • Resume it automatically: enable the opt-in hook with export AGENT_LAUNCHER_SESSION=1; the SessionStart hook surfaces the current goal + phase so you pick up exactly where you left off. Disabled by default — no ambient behavior in unrelated repos.
  • Advance it: /cs-goal advance moves to the next phase.

Loops vs workflows

loop_compiler.py compiles the goal + phase into exactly one shape:

  • single-pass workflow — interview → plan → stage → launch (Phases 1–2).
  • grade→iterate loop — CMA user.define_outcome self-grading, bounded by max_iterations (1..20); never unbounded (Phase 3).
  • recurring deployment loop — POSIX-cron scheduled deployment that re-runs the goal "without you", optionally self-grading each firing (Phase 4).

See references/loops-and-workflows.md.

Safety & hard rules

  • Deterministic scaffolders only — every tool is stdlib-only and makes no API calls. Live launches are emitted as BYOK curl scripts you run with your own $ANTHROPIC_API_KEY. The key is never printed, logged, or written.
  • Validators enforce CMA limits (≤20 skills/session, ≤8 memory stores, depth-1 multiagent, max_iterations ≤20, …).
  • The opt-in hook can never break a session (exits 0 on any error).

Quick start

export AGENT_LAUNCHER_SESSION=1          # optional: auto-surface the goal each session
/cs-goal set "Nightly repo dependency auditor that writes report.md"
/cs-launch                               # runs the orchestrator from the current phase

Layout

agent-launcher/
├── SPEC.md                     # the build goal (verification target)
├── skills/                     # 6 skills, 3 stdlib tools each
├── agents/                     # 4 agents (orchestrator + interviewer + grader + deployer)
├── commands/                   # 8 /cs-* commands
├── hooks/                      # opt-in SessionStart / SessionEnd
├── references/                 # 5 shared reference docs
└── assets/                     # build-sheet schema, overview + NEXT-DIRECTIONS templates, example

Attribution

Inspired by anthropics/launch-your-agent (Apache-2.0). CMA primitive semantics are drawn from the public Claude Managed Agents docs. No upstream code is copied verbatim. License: MIT (this plugin).