Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/alireza29675/teamctl/initgit clone --depth 1 https://github.com/Alireza29675/teamctlWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00020 | $0.14446 |
| Opus 5 | $0.00010 | $0.07223 |
| Sonnet 5 | $0.00004 | $0.02889 |
| Haiku 4.5 | $0.00002 | $0.01445 |
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 2d 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" 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.mdbefore tuning Stage 2 prose; the methodology there is canonical.
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.
- 2d ago First seen · 762 lines · 20 tokens per session scan A 0fe08c62250e
init is a command published in the GitHub repository Alireza29675/teamctl (20 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 14,446 once invoked, about $0.0001 per session on Opus 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.
Other commands, from other repositories
create
Scaffold a new plugin with directory structure, manifests, and marketplace registration.
develop
Implement skill development issues with TDD-governed workflow.
dev-task
Create an agent team to develop: Developer teammate + Code-tester teammate + QA-tester teammate + Reviewer teammate + Researcher subagent → implements .dev/cdt/plans/plan-$TIMESTAMP.md in waves.
eval
Dream Team eval runner — run agent evaluation scenarios, auto-score with Coach K, and open the web app for human review.
auto-task
Create an agent team for autonomous workflow: plan (Architect teammate + PM teammate) → develop (Developer teammate + Code-tester teammate + QA-tester teammate + Reviewer teammate) → report (no approval gate).
full-task
Create an agent team for full workflow: plan (Architect teammate + PM teammate) → approve → develop (Developer teammate + Code-tester teammate + QA-tester teammate + Reviewer teammate) → report.