honcho-cli
できること
AIアシスタントがhonchoコマンドラインツールを使って、Honchoのメモリの設定の中身を見られるようにします。メモリが機能している、または機能していない理由を調べる開発者向けです。
使う場面
- ✓Honchoが、ある人物やBotについて何を保存しているかを見たいとき。
- ✓メモリの設定の想起と記録の段階が機能しているかを確認する必要があるとき。
- ✓Honchoの答えがおかしく、セッションやワークスペースを調べる必要があるとき。
スキルのリンク
https://github.com/plastic-labs/honcho/blob/main/skills/honcho-cli/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“honchoコマンドラインツールを使って、Honchoがこのユーザーについて持っているメモリを見せてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、JSON出力と明確な終了コードを使ってhonchoコマンドを実行します。そのため、アシスタントは、ワークスペース、ピア、セッションを一覧にするコマンドの結果を読めます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
h
よくある質問
私のメモリのデータを変えられますか?
はい。一部のコマンドは項目を削除または変更するため、実行前にそのコマンドが何をするかを確認してください。
CLIの設定はどこに保存されていますか?
ホームフォルダーの .honcho/config.json という共有の設定ファイルです。
終了コードはどういう意味ですか?
0は成功、1はクライアントのエラー、2はサーバーのエラー、3は認証のエラーです。
詳細
作者による元の説明
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.
repo: plastic-labs/honcho
人気
- GitHubのスター
- 7.9k
- ランキング
- #12748
- ライセンス
- AGPL-3.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
honcho-grok-bot
7.9kGrok Botが、同じアカウントの他のBotと同じ方法でアイデンティティとチャットのセッションに名前を付けて、Honchoのメモリを一貫して使えるよう支援します。
honcho-memory
7.9kエージェントが、返信の前にHonchoのメモリを確認し、各やり取りの後に保存することで、あなたの好みを時間とともに学べるよう支援します。
honcho-setup
7.9kエージェントが、Honchoのメモリに接続し、サインインして、メモリのワークスペースを選び、接続が機能するかを確認できるよう支援します。
honcho-memory
7.9kエージェントが、作業を始める前にあなたとプロジェクトについて保存されたメモリを確認し、後で役立つ確かな結論を保存できるよう支援します。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。