Anthropic CLI
TokRepo para Claude Code
The first-party Anthropic terminal coding agent. CLAUDE.md is its project memory; MCP servers are first-class.
Docs oficiales: https://docs.claude.com/en/docs/claude-code/mcp
Integración en 60 segundos
Camino más corto para Claude Code
- 01
npx -y tokrepo@latest init-agent --target claude_code - 02
claude mcp add tokrepo -- npx -y tokrepo-mcp-server - 03Start a session; agent calls tokrepo_session_init then tokrepo_discover from CLAUDE.md rules.
Archivo de reglas del proyecto
CLAUDE.mdSuperficie de instalación
CLAUDE.md + .claude/agents/Cliente MCP
claude mcp addComando de instalación MCP
claude mcp add tokrepo -- npx -y tokrepo-mcp-server
Seis reglas obligatorias
Cada runtime de agente aplica
- SESSION BOOTSTRAP — call
tokrepo_session_initonce per session. - DISCOVER BEFORE BUILD — call
tokrepo_discoverbefore writing reusable artifacts. - VERIFY BEFORE INSTALL — install_plan must include
trust_gate; honorTOKREPO_MIN_TRUST(default 0.6). - DRY-RUN BEFORE APPLY — lifecycle tools default
dry_run=true. - HANDOFF AFTER REUSABLE WORK — call
tokrepo_handoff_plan. - PRIVATE BY DEFAULT, NEVER PUSH SECRETS.