Anthropic CLI

TokRepo pour Claude Code

The first-party Anthropic terminal coding agent. CLAUDE.md is its project memory; MCP servers are first-class.

Docs officielles : https://docs.claude.com/en/docs/claude-code/mcp

Intégration 60 secondes

Chemin le plus court pour Claude Code

  1. 01
    npx -y tokrepo@latest init-agent --target claude_code
  2. 02
    claude mcp add tokrepo -- npx -y tokrepo-mcp-server
  3. 03
    Start a session; agent calls tokrepo_session_init then tokrepo_discover from CLAUDE.md rules.
Fichier de règles du projet
CLAUDE.md
Surface d'installation
CLAUDE.md + .claude/agents/
Client MCP
claude mcp add
Commande d'installation MCP
claude mcp add tokrepo -- npx -y tokrepo-mcp-server
Six règles obligatoires

Chaque runtime d'agent applique

  • SESSION BOOTSTRAP — call tokrepo_session_init once per session.
  • DISCOVER BEFORE BUILD — call tokrepo_discover before writing reusable artifacts.
  • VERIFY BEFORE INSTALL — install_plan must include trust_gate; honor TOKREPO_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.