init

init is a command for Claude Code from Alireza29675/teamctl. It costs 20 tokens per session (14,446 once invoked), scanned A, original, MIT.

A first-run setup command for teamctl, a tool that creates and runs supervised teams of agents. It guides you from installation and goal selection through team configuration and startup.

In plain words
What is it for?
Use it to install teamctl, define what the team should do, configure agents and their capabilities, create the .team files, start the team, and connect Telegram and voice options.
Why use it?
It removes the need to design the team structure and configuration files by hand. It also checks whether a team already exists before starting setup.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **The shape of Stage 2 matters.** Stage 2 — *domain discovery* — does not hand users a template menu. It walks them through a discovery conversation that surfac.

Part of the teamctl plugin — 2 commands shipped together

Good fit Use it to install teamctl, define what the team should do, configure agents and their capabilities, create the .team files, start the team, and connect Telegram and voice options.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Alireza29675/teamctl
agentmods
npx agentmods add commands/alireza29675/teamctl/init

Made for: Claude Code.

Or install teamctl, the plugin that ships this one along with the rest of its 2 commands.

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 init

README.md
[![agentmods](https://agentmods.dev/badge/commands/alireza29675/teamctl/init/github.svg)](https://agentmods.dev/commands/alireza29675/teamctl/init)
Your own site
<a href="https://agentmods.dev/commands/alireza29675/teamctl/init"><img src="https://agentmods.dev/badge/commands/alireza29675/teamctl/init/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 init

Your own site · 80×15
<a href="https://agentmods.dev/commands/alireza29675/teamctl/init"><img src="https://agentmods.dev/badge/commands/alireza29675/teamctl/init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 14,446 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00020 $0.14446
Opus 5.5 $0.00008 $0.05778
Sonnet 5.5 $0.00004 $0.02889
Haiku 4.5 $0.00002 $0.01445

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

Security

Grade A, and why

init scanned grade A with 1 finding 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 3mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- label: "curl installer"
plugins/claude-code/commands/init.md · 762 lines

How it starts

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

/teamctl:init is the first-run onboarding for teamctl. A pre-flight .team/ guard bows out to /teamctl:adjust if a team already exists. Otherwise: prerequisites and install (Stage 1), then open on the goal — understand what the team is for, with pickable starter goals (the Goal beat) — an intent on-ramp + a discovery conversation that surfaces the user's domains (Stage 2) fed by the user's work, a codebase-investigation pass, or a fast-path scaffold (four routes), then propose the org as a capability setup the user signs off on (Stage 3 — sessions, models, sub-agents, skills, hooks, /loop; the diagram is a small supporting visual, not the headline), iterate until it's right (the refine loop), scaffold .team/ and reveal the YAML (Stage 4 — emits cascading role prompts and the per-agent capability stack: sub-agents, skills, the earned hook), bring it up (Stage 5), wire Telegram + voice-customize (Stage 6), point at the lifecycle commands (Stage 7).

Read RULES.md, INTERACTIVE.md, and capability-catalog.md before the stages that use them. RULES carries the architecture invariants; INTERACTIVE carries the UI invariants — when to reach for AskUserQuestion, the Apply/Modify/Reject gate, the headless-pane fallback, docs-as-ground-truth, voice control; the capability catalog is the palette Stage 3 reasons from and Stage 4 emits (sub-agent / skill / hook archetypes, the bespoke escape hatch, the cron/MCP guard on the generated team). Voice rails: 1-2 sentences per beat, "experienced reliable coworker", emojis sparingly. Body voice is runtime-neutral. "Claude Code runtime" is a fact about the agent and stays; "Claude reads the file" is voice drift and goes. Substrate constraints are non-negotiable. The flow is resumable and idempotent — re-running skips anything already done.

Preamble — detect interactive vs headless

At the top of every invocation, decide which mode you're in:

if [ -n "$TEAMCTL_ROOT" ] && [ -n "$AGENT_ID" ]; then
    echo "headless"
else
    echo "interactive"
fi

headless means a supervised teamctl agent is calling this skill — AskUserQuestion is denied by the wrapper's PreToolUse hook (see #189). Fall back to plain-text Q&A for the whole invocation per INTERACTIVE.md §5. In practice /teamctl:init is overwhelmingly run from a fresh interactive claude session (there's no .team/ yet), so the headless path here is mostly a defensive catch.

The shape of Stage 2 matters. Stage 2 — domain discovery — does not hand users a template menu. It walks them through a discovery conversation that surfaces the domains in their work: the things with their own state, history, and decisions that compound over time. The cut is by domain ownership, not by job function. The Goal beat and the intent on-ramp ("Mode pick" below) are where option menus live; Stage 2 itself stays free-form when it runs. Read docs/src/content/docs/concepts/teams.md before tuning Stage 2 prose; the methodology there is canonical.

Read the full file on GitHub · 762 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. 3mo ago First seen · 762 lines · 20 tokens per session scan A 0fe08c62250e

Subscribe to this mod's changes

init is a command published in the GitHub repository Alireza29675/teamctl (22 stars, last pushed 17d ago), licensed MIT. It adds 20 tokens to every session and 14,446 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

init compared with commands from other repositories

init next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
initAlireza29675/teamctlCommand2217d agoMITA20Claude Code
developrube-de/cc-skillsCommand11yesterdayMITA11Claude Code
full-taskrube-de/cc-skillsCommand11yesterdayMITC39Claude Code
code-reviewbondarewicz/dreamteamCommand14mo agoMITA15Claude Code
evalbondarewicz/dreamteamCommand14mo agoMITA24Claude Code
mjbondarewicz/dreamteamCommand14mo agoMITB15Claude Code
checklistgithub/spec-kitCommand153k3d agoMITA13Claude Code