Agent Skills
› plastic-labs/honcho
› honcho-cli
honcho-cli
GitHub提供 Honcho CLI 工具的使用指南,涵盖工作区、对等体、会话及消息的 inspect、debug 和搜索命令。适用于排查记忆状态、会话上下文及对话质量等调试场景。
Trigger Scenarios
需要检查 Honcho 工作区或对等体的内存状态
调试会话上下文或对话质量异常
验证回忆/记录记忆循环是否正常工作
Install
npx skills add plastic-labs/honcho --skill honcho-cli -g -y
SKILL.md
Frontmatter
{
"name": "honcho-cli",
"description": "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.",
"allowed-tools": "Bash(honcho:*), Bash(jq:*), Read, Grep"
}
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 workspace— inspect, delete, searchhoncho peer— inspect, card, chat, searchhoncho session— inspect, view (transcript), context, summarieshoncho 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.
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 peer search <peer_id> "query" --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
Version History
- 2163ab1 Current 2026-08-19 22:45


