init

init is a command for Claude Code from TeamManagementPlugin/claude-plugin. It costs 19 tokens per session (3,088 once invoked), scanned B, original, MIT.

A project setup command for team-management, a plugin that adds shared guidance and optional team knowledge features to a project. It enables the plugin locally and adds durable references to the project's CLAUDE.md file.

In plain words
What is it for?
Use it when initializing team-management in a project, wiring its behavioral guidance into CLAUDE.md, and optionally enabling the LLM Wiki.
Why use it?
It separates machine-specific plugin settings from guidance committed for the whole team, so each developer can configure access while everyone shares the same working instructions.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the team-management plugin — 9 commands, 17 agents, 6 hooks, 1 MCP server shipped together

Good fit Use it when initializing team-management in a project, wiring its behavioral guidance into CLAUDE.md, and optionally enabling the LLM Wiki.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add TeamManagementPlugin/claude-plugin
Claude Code
/plugin install team-management

Made for: Claude Code.

Or install team-management, the plugin that ships this one along with the rest of its 9 commands, 17 agents, 6 hooks, 1 MCP server.

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/teammanagementplugin/claude-plugin/init/github.svg)](https://agentmods.dev/commands/teammanagementplugin/claude-plugin/init)
Your own site
<a href="https://agentmods.dev/commands/teammanagementplugin/claude-plugin/init"><img src="https://agentmods.dev/badge/commands/teammanagementplugin/claude-plugin/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/teammanagementplugin/claude-plugin/init"><img src="https://agentmods.dev/badge/commands/teammanagementplugin/claude-plugin/init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,088 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00019 $0.03088
Opus 5.5 $0.00008 $0.01235
Sonnet 5.5 $0.00004 $0.00618
Haiku 4.5 $0.00002 $0.00309

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

Security

Grade B, and why

init scanned grade B 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 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.

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

`.mcp.json`) that invoke the literal token **`python3`** — correct on macOS/Linux.
plugin/commands/init.md · 191 lines

How it starts

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

team-management: Init

Set up team-management for THIS project: enable the plugin on this machine, wire the behavioral guidance into the project's CLAUDE.md via native @-includes (durable across /compact, unlike one-shot SessionStart injection), and optionally enable the LLM Wiki.

Two different sharing models are in play, by design:

  • Plugin enablement is per-machine. .claude/ is gitignored wholesale by the SessionStart hook (ensure_claude_dir_gitignored), so .claude/settings.json is NOT committed and does NOT auto-enable the plugin for teammates — each developer runs /team-management:init themselves and puts their own tokens in the per-project .claude/state/provider-tokens.json file.
  • The behavioral-guidance files ARE committed. CLAUDE.tm.md, team-management/knowledge/*.md, and the managed @-block in CLAUDE.md live at the project root / under team-management/ (outside the .claude/ ignore), so the whole team gets the same guidance via the committed CLAUDE.md @-includes.

Workflow

0. Windows runtime bootstrap (Windows only — provisions python3)

The plugin's hooks and MCP server launch from static manifests (hooks.json / .mcp.json) that invoke the literal token python3 — correct on macOS/Linux. Windows has no python3.exe (only python.exe / the py launcher), so on Windows those launches fail (python3: command not found) and the plugin is dead until python3 resolves to a real executable. A python3.cmd/.bat shim is NOT enough: Claude Code spawns the MCP command directly, and Windows cannot direct-spawn a .cmd without a shell — only a real .exe is found by every launch path (direct-spawn, bash, cmd, PowerShell). Do this FIRST — before the config_update step below, which needs the runtime up.

  1. Detect the platform. On macOS/Linux skip this whole section. Treat as Windows when uname reports MINGW*/MSYS*/CYGWIN*, or %OS% is Windows_NT, or only PowerShell/cmd is available.
  2. Is python3 already a real, runnable .exe? Run python3 --version AND where python3 (where.exe python3). Skip the rest ONLY if --version prints 3.x and the first where python3 hit ends in .exe. If it instead resolves to a .cmd/.bat shim (broken for the MCP server per above, even though --version works), opens the Microsoft Store, or errors → do NOT skip; continue and provision a real .exe below.
  3. Require the py launcher. Run py --version. If py is missing → STOP and tell the user to install Python from python.org with the py launcher option (or the Microsoft Store build, which already provides a real python3.exe), then re-run /team-management:init. Do not substitute another interpreter.
  4. Find the Python install dir (holds python.exe, is on PATH, and — for the python.org installer — precedes %LOCALAPPDATA%\Microsoft\WindowsApps, so the shim is not shadowed by a Store python3.exe app-execution-alias): py -3 -c "import os,sys;print(os.path.dirname(sys.executable))".
  5. Create a REAL python3.exe by copying python.exe in that same directory. A copy of python.exe IS a working python3 — it loads the same pythonXX.dll from its own directory — and is directly spawnable by the MCP launcher. Create it only if python3.exe is absent there. Use whichever form works in the agent's shell (the detection commands above are plain program calls and work in any shell; only this copy is shell-specific):
    • PowerShell: Copy-Item "<dir>\python.exe" "<dir>\python3.exe"
    • cmd: copy /Y "<dir>\python.exe" "<dir>\python3.exe" (the /Y keeps it non-interactive — plain copy prompts Overwrite? and would stall the agent shell)
    • Git-bash: cp "<dir>/python.exe" "<dir>/python3.exe"
  6. Verify in a fresh process: python3 --version must print a 3.x version and where python3 must point at the python3.exe you just created in the dir from step 4 (NOT a WindowsApps alias). If where python3 finds nothing, that dir is not on PATH (Python was installed without "Add Python to PATH"), so copying the exe there cannot help — tell the user to either re-run the python.org installer with "Add Python to PATH" enabled, OR add the dir to PATH (setx PATH "%PATH%;<dir>", then open a NEW shell), and then re-run /team-management:init. Otherwise print the exact manual copy command and stop.
  7. Tell the user to RESTART Claude Code, then continue setup. On a fresh Windows install the hooks (including the config_intent_gate.py hook that authorizes config_update) AND the MCP server were already launched broken this session and only retry on restart — so the wiki/guidance step below CANNOT complete now. After the restart, run /team-management:config to finish it.

Read the full file on GitHub · 191 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 · 191 lines · 19 tokens per session scan B 1956d86f83a7

Subscribe to this mod's changes

init is a command published in the GitHub repository TeamManagementPlugin/claude-plugin (6 stars, last pushed 2d ago), licensed MIT. It adds 19 tokens to every session and 3,088 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.