agentsclimarketplace

Agent teams scaffold

Skill TechPreacher/agent-teams-scaffold/skills/agent-teams-scaffold

Generate Claude Code Agent Teams scaffolding for a repository: a read-only security-review subagent, a settings.json with the experimental teams flag, a CLAUDE.md project-context file, ready-to-paste team spawn prompts, and a bash/tmux launcher. Use this whenever the user wants to set up multi-agent / Agent Teams work in a repo, "scaffold .claude", create a security review team or swarm, prepare a repo for parallel agents, or points the skill at a folder containing a repo — even if they don't say the words "Agent Teams". Re-runnable across any repo.From its SKILL.md

Install
npx -y skills add TechPreacher/agent-teams-scaffold --skill agent-teams-scaffold

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

5.0 KB, as published. Nobody here has run it

Agent Teams Scaffold

Turns a plain repository into one that's ready for Claude Code Agent Teams (Level 7 multi-agent work). A deterministic generator lays down the files; then you tailor them to the actual codebase.

Inputs

  • Target repo: a path the user gives you, or the current working directory if they just say "this repo". Resolve it before running.
  • Scopes (optional): which security review scopes to wire up. Default auth,input,supplychain; full set is auth,input,supplychain,secrets.

Workflow

1. Locate the generator

The generator is scripts/scaffold.py inside this skill's own directory. Resolve its absolute path based on how the skill is loaded:

  • Installed as a plugin: "$CLAUDE_PLUGIN_ROOT/skills/agent-teams-scaffold/scripts/scaffold.py"
  • Cloned standalone into a skills directory: scripts/scaffold.py relative to this SKILL.md.

Do not assume the current working directory is the skill directory — it is usually the user's target repo. Always invoke the script by an absolute path.

2. Run the generator

python3 <resolved-path-to-scaffold.py> --repo <TARGET_REPO> [--scopes auth,input,supplychain,secrets] [--team-name NAME] [--force]

It auto-detects the stack (build/test/lint), writes safe defaults and TODO markers, and is non-destructive: it merges into an existing .claude/settings.json rather than overwriting, and if a root CLAUDE.md already exists it writes .claude/CLAUDE.agent-teams.snippet.md for the user to merge instead of clobbering. Read the generator's printed summary.

3. Tailor the generated files (this is the part only you can do)

The generator can only guess. Now actually read the repo and replace the TODO markers:

  • CLAUDE.md — fill in real module boundaries (what each top-level dir owns, so teammates don't edit the same files), correct the build/test/lint commands if detection was wrong or incomplete, and add project conventions a fresh teammate would otherwise get wrong.
  • security-reviewer.md — if the stack implies specific risk areas (e.g. an HTTP API → focus authn middleware and request validation; a published package → focus the supply-chain scope), note them so each spawned reviewer knows where to look.
  • TEAM_PROMPTS.md — adjust the teammate roster if the repo warrants different or additional scopes.

Keep edits surgical. Don't remove the Agent Teams notes or the launch instructions.

If the target repo was empty (or nearly empty) at scaffold time, stack detection returns "Unknown — fill in manually" and there is nothing to tailor yet. Tell the user to re-run this tailoring step (step 3 only — no need to re-run the generator) once real code exists, so the reviewer and CLAUDE.md don't keep the placeholder stack forever.

4. Report

Tell the user exactly what was written (paths), what you tailored, and how to start:

  • Launch: .claude/launch-team.sh (or export CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1; claude).
  • Then paste a prompt from .claude/TEAM_PROMPTS.md to the lead and press Shift+Tab to lock the lead into coordination-only mode.

What gets generated

FilePurpose
.claude/agents/security-reviewer.mdRead-only reviewer subagent; assigned one scope per spawn
.claude/settings.jsonMerged with CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
.claude/TEAM_PROMPTS.mdReady-to-paste security-swarm spawn prompts
.claude/launch-team.shbash/zsh + tmux launcher (executable)
CLAUDE.mdProject-context scaffold (or a snippet if one already exists)

Facts baked into the templates (keep accurate)

  • Agent Teams is experimental, off by default, enabled by CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS in settings.json or the environment; available since Claude Code v2.1.32.
  • One session is the team lead; teammates run in their own context windows and message each other directly (the difference from subagents, which only report back to the parent).
  • Split-pane UX needs tmux 3.2+ or iTerm2; in-process mode works anywhere.
  • Teams cost roughly 3–7× the tokens of a single session; for 4+ teammates use git worktrees to avoid file collisions.

If Claude Code's teams interface changes, update assets/*.tmpl and this section together.

Requirements

  • Python 3.8+ (generator)
  • bash or zsh + tmux 3.2+ (only for the launcher; everything else is shell-agnostic)
  • Claude Code v2.1.32+ (to actually run teams)

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.