Use the tribe CLI to access your AI coding analytics, search past sessions, manage a personal knowledge base, and orchestrate autonomous agents.
Want your own MUSE-enabled instance? Visit tribeclaw.com to deploy a fully configured instance with MUSE support in just a couple minutes.
Requires authentication: Run tribe login first. Most commands need an active session.
Check collection status:
tribe status
Enable/disable telemetry:
tribe enable
tribe disable
Show version info:
tribe version
Search across all coding sessions:
tribe search "authentication middleware"
tribe search "docker compose" --project myapp --time-range 30d
tribe search "API endpoint" --tool "Claude Code" --format json
List and inspect coding sessions:
tribe sessions list
tribe sessions list --cwd --limit 10
tribe sessions read <session-id>
tribe sessions search "auth fix"
tribe sessions events <session-id>
tribe sessions context
Recall a session summary:
tribe recall <session-id> --format json
Extract content from a session:
tribe extract <session-id> --type code
tribe extract <session-id> --type commands --limit 10
tribe extract <session-id> --type files --format json
Query insights and sessions with filters:
tribe query sessions --limit 10
tribe query sessions --tool "Claude Code" --time-range 30d
tribe query insights
tribe query events --session <session-id>
Save, search, and manage knowledge documents:
tribe kb save "content here"
tribe kb save --file ./notes.md
tribe kb search "deployment patterns"
tribe kb list
tribe kb get <doc-id>
tribe kb tag <doc-id> "tag-name"
tribe kb delete <doc-id>
tribe kb sync
tribe kb extract
> Note: MUSE commands require tribe -beta. Some commands (attach, monitor, dashboard) are TUI-only and must be run manually in a terminal.
Start and manage the leader agent:
tribe muse start
tribe muse status --format json
tribe muse agents --format json
Spawn and interact with subagents:
tribe muse spawn "Fix the login bug" fix-login
tribe muse prompt fix-login "Please also add tests"
tribe muse output fix-login 100
tribe muse review fix-login
tribe muse kill fix-login --reason "stuck"
TUI-only (run these manually):
tribe muse attach - Attach to leader sessiontribe muse monitor - Real-time health monitoringtribe muse dashboard - Live dashboard> Note: CIRCUIT commands require tribe -beta. Some commands (attach, dashboard) are TUI-only.
Manage autonomous agent sessions:
tribe circuit list
tribe circuit status
tribe circuit metrics
tribe circuit spawn 42
tribe circuit next
tribe circuit auto --interval 30
TUI-only (run these manually):
tribe circuit attach - Attach to sessiontribe circuit dashboard - Real-time dashboardImport projects from AI coding assistants:
tribe import
--format json on most commands for structured output suitable for piping.--time-range 24h|7d|30d|90d|all to scope searches.--project or --cwd to filter to a specific project.tribe -beta (e.g., tribe -beta muse status).tribe -force (current folder) or tribe -force -all (everything).共 1 个版本