honcho-cli
Inspect and debug Honcho workspaces via the `honcho` CLI. Use when investigating peer representations, memory state, session context, or dialectic quality — any task that requires introspection of a Honcho deployment, including verifying that a recall/record memory loop is actually working.
Install
npx skills add https://github.com/plastic-labs/honcho --skill honcho-cliSKILL.md
Honcho CLI
honcho wraps the Honcho Python SDK with agent-friendly defaults: JSON output, structured errors, input validation. Use it to inspect workspace state, debug peer memory, and diagnose the dialectic.
Output & config
- TTY: human-readable tables (default when interactive)
- Piped /
--json: JSON — collection commands emit arrays, single-resource commands emit objects - Exit codes:
0success ·1client error (bad input, not found) ·2server error ·3auth error - Config:
~/.honcho/config.json(shared with other Honcho tools). The CLI ownsapiKeyandenvironmentUrlat the top level; runhoncho initto confirm or set them. Per-command scope (workspace / peer / session) is via-w/-p/-sflags orHONCHO_*env vars.
Command groups
honcho config— CLI configurationhoncho start/stop/status— local Docker stack (does not changeenvironmentUrl). First start pins the Honcho image digest and writesconfig.tomlinto the profile. Pass--setup basicor--setup advancedfor an interactive config wizard (TTY only; writes.envoverrides).honcho statuslists every profile; pass--profilefor one.honcho workspace— inspect, delete, search, chathoncho peer— inspect, card, chat, searchhoncho session— inspect, view (transcript), context, summarieshoncho scope— list, create, inspect, sessions, add-sessions, remove-session, statushoncho message— list and gethoncho conclusion— list, search, create, delete
Rules
- Always pass
--jsonwhen processing output programmatically. - Run
honcho peer inspectbeforehoncho peer chatto understand context. - Use
honcho session contextto see exactly what an agent receives. - Never run
honcho workspace deletewithouthoncho workspace inspectfirst. - Compare peer card with conclusions to understand memory state.
- After
honcho scope add-sessions, checkhoncho scope status <name>before a scopedchat: apendingbackfill means the scope has not caught up yet, not that there is nothing to recall. honcho startdoes not rewriteenvironmentUrl. UseHONCHO_BASE_URL=http://127.0.0.1:8000to talk to local stack.
Inspection tour
When orienting to a Honcho deployment, walk outside-in:
1. Understand the workspace
honcho workspace inspect --json
2. Find the peer
honcho peer list --json
honcho peer inspect <peer_id> --json
3. Check peer's memory
honcho peer card <peer_id> --json
honcho conclusion list --observer <peer_id> --json
honcho conclusion search "topic" --observer <peer_id> --json
4. Debug a session
honcho session inspect <session_id> --json
honcho session view <session_id> --last 20 --json
honcho session view <session_id> --page 2 --size 50 --json
honcho message list <session_id> --last 20 --json
honcho session context <session_id> --json
honcho session summaries <session_id> --json
5. Search across workspace
honcho workspace search "query" --json
honcho workspace chat "what themes show up across peers?" --json
honcho workspace chat "what happened in this project?" --scope my-project --json
honcho peer search <peer_id> "query" --json
6. Bound recall with a scope
honcho scope list --json
honcho scope inspect <name> --json # members + backfill summary
honcho scope create <name> --sessions <id1>,<id2> --json
honcho scope status <name> --json # wait until nothing is pending
honcho workspace chat "what happened here?" --scope <name> --json
Debugging playbook
Peer not learning?
# Is observation enabled?
honcho peer inspect <peer_id> --json | jq '.configuration'
# What conclusions exist?
honcho conclusion list --observer <peer_id> --json
honcho conclusion search "expected topic" --observer <peer_id> --json
Session context looks wrong?
# Raw context an agent would receive
honcho session context <session_id> --json
# Summaries feeding the context
honcho session summaries <session_id> --json
# Recent message history
honcho message list <session_id> --last 50 --json
Dialectic giving bad answers?
# What the peer card says
honcho peer card <peer_id> --json
# Conclusions on the specific topic
honcho conclusion search "topic" --observer <peer_id> --json
# Exercise the dialectic directly
honcho peer chat <peer_id> "what do you know about X?" --json
honcho peer chat <peer_id> "what happened here?" --scope my-project --json
honcho workspace chat "what themes show up across peers?" --json
Related skills
find-skillsvercel-labs3.6MHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.handoffmattpocock883KCompact the current conversation into a handoff document for another agent to pick up.microsoft-foundrymicrosoft618KBuild, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end. USE FOR: foundry, azd ai agent, azd provision/deploy, hosted agent scaffold/develop/run/deploy/troubleshoot, prompt agent create, create agent, update agent, add tool to agent, invoke agent, agent.yaml, agent insights, pull agent insights, evaluate agent, batch eval, continuous eval, continuous monitoring, agent CI/CD, optimize prompt, improve prompt, prompt optimizer, optimize agcavemanjuliusbrussee544KUltra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".
