agentweaver: Skill for Claude Code

.github/skills/coordinator-init-mode/SKILL.md

coordinator-init-mode is a skill for Claude Code, Codex from sabbour/agentweaver. It costs 98 tokens per session (1,937 once invoked), scanned A, a copy of coordinator-init-mode, MIT.

A two-step setup procedure for creating a Squad team in a repository that has no team yet. It first proposes the team and waits for approval, then creates the team files and Git settings.

In plain words
What is it for?
It is for initializing a Squad team, recording the project owner, assigning team members, and creating `.squad` scaffolding and merge settings.
Why use it?
It prevents team files from being created before the user agrees and provides a consistent starting structure for a new agent team.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is sabbour/agentweaver's own configuration. It tells Claude Code and Codex how to work on agentweaver itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentweaver configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sabbour/agentweaver. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sabbour/agentweaver/dev/.github/skills/coordinator-init-mode/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sabbour/agentweaver

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for coordinator-init-mode

README.md
[![agentmods](https://agentmods.dev/badge/skills/sabbour/agentweaver/coordinator-init-mode/github.svg)](https://agentmods.dev/skills/sabbour/agentweaver/coordinator-init-mode)
Your own site
<a href="https://agentmods.dev/skills/sabbour/agentweaver/coordinator-init-mode"><img src="https://agentmods.dev/badge/skills/sabbour/agentweaver/coordinator-init-mode/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for coordinator-init-mode

Your own site · 80×15
<a href="https://agentmods.dev/skills/sabbour/agentweaver/coordinator-init-mode"><img src="https://agentmods.dev/badge/skills/sabbour/agentweaver/coordinator-init-mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,937 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00098 $0.01937
Opus 5.5 $0.00039 $0.00775
Sonnet 5.5 $0.00020 $0.00387
Haiku 4.5 $0.00010 $0.00194

Measured 1mo ago against content hash 3e74448a4837, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

coordinator-init-mode 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 1mo 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.

Origin

This is a copy

100% identical to coordinator-init-mode — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/skills/coordinator-init-mode/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Load this skill when: you detect that no .squad/team.md exists in the resolved team root — that means this is a fresh repo or a repo that has never been squadified, and Init Mode is the right path. The short stub in squad.agent.md tells you to load this skill; the full two-phase protocol lives here.

⚠️ Eager-execution exception: Init Mode is the ONE exception to the eager-execution / parallel-fan-out doctrine. Phase 1 MUST end with a user confirmation before any file is created. Do not bypass.

Phase 1: Propose the Team

No team exists yet. Propose one — but DO NOT create any files until the user confirms.

  1. Identify the user. Run git config user.name to learn who you're working with. Use their name in conversation (e.g., "Hey {user}, what are you building?"). Store their name (NOT email) in team.md under Project Context. Never read or store git config user.email — email addresses are PII and must not be written to committed files.
  2. Ask: "What are you building? (language, stack, what it does)"
  3. Cast the team. Before proposing names, run the Casting & Persistent Naming algorithm (see the canonical Casting reference at .squad/templates/casting-reference.md):
    • Determine team size: pick 4–5 cast (user-domain) agents, then add the 4 always-on built-ins (Scribe + Ralph + Rai + Fact Checker — see their dedicated sections in squad.agent.md). A typical fresh squad has 8–9 total roster entries, not 4–5.
    • Determine assignment shape from the user's project description.
    • Derive resonance signals from the session and repo context.
    • Select a universe. Allocate character names from that universe.
    • Scribe is always "Scribe" — exempt from casting.
    • Ralph is always "Ralph" — exempt from casting.
    • Rai is always "Rai" — exempt from casting.
    • Fact Checker is always "Fact Checker" — exempt from casting (same pattern as Scribe / Ralph / Rai).
  4. Propose the team with their cast names. Example (names will vary per cast):
🏗️  {CastName1}  — Lead          Scope, decisions, code review
⚛️  {CastName2}  — Frontend Dev  React, UI, components
🔧  {CastName3}  — Backend Dev   APIs, database, services
🧪  {CastName4}  — Tester        Tests, quality, edge cases
📋  Scribe       — (silent)      Memory, decisions, session logs
🔄  Ralph        — (monitor)     Work queue, backlog, keep-alive
🛡️  Rai         — (background)  RAI awareness, content safety
🔍  Fact Checker — (verifier)    Verification + Devil's Advocate
  1. Use the ask_user tool to confirm the roster. Provide choices so the user sees a selectable menu.

    The question must be self-contained because the client may render the blocking input request without the assistant text that preceded it.

    The question must reuse every roster line from the exact proposal emitted in step 4, in the same order. Do not regenerate, summarize, truncate, omit, or replace any roster row with an ellipsis. Every proposed member must appear with their emoji, cast name, role, and concise responsibility/scope — including all four always-on built-ins (Scribe, Ralph, Rai, Fact Checker).

    Shape:

    Confirm this team (universe: {ActualUniverse}):
    
    {Every roster line from step 4, copied in full and in order}
    
    Look right?
    

    Never use a bare "Look right?" question and never rely on preceding assistant output to identify the team being confirmed.

    • choices: ["Yes, hire this team", "Add someone", "Change a role"]

⚠️ STOP. Your response ENDS here. Do NOT proceed to Phase 2. Do NOT create any files or directories. Wait for the user's reply.


Read the full file on GitHub · 100 lines

Changes

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.

  1. 1mo ago First seen · 100 lines · 98 tokens per session scan A 3e74448a4837

Subscribe to this mod's changes

coordinator-init-mode is a skill published in the GitHub repository sabbour/agentweaver (7 stars, last pushed today), licensed MIT. It adds 98 tokens to every session and 1,937 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to coordinator-init-mode, differing in 0 lines, and is treated as a copy.