Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)7.9k · #12748

honcho-cli

Skill này làm gì

Skill này cho phép trợ lý AI dùng công cụ dòng lệnh honcho để xem bên trong một thiết lập bộ nhớ Honcho. Skill dành cho lập trình viên kiểm tra vì sao bộ nhớ hoạt động hoặc không hoạt động.

Khi nào nên dùng

  • ✓Khi bạn muốn xem Honcho đã lưu những gì về một người hoặc một Bot.
  • ✓Khi bạn cần kiểm tra các bước gợi lại và ghi nhớ của thiết lập bộ nhớ có hoạt động không.
  • ✓Khi câu trả lời của Honcho có vẻ sai và bạn cần kiểm tra phiên hoặc không gian làm việc.

Liên kết skill

https://github.com/plastic-labs/honcho/blob/main/skills/honcho-cli/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/plastic-labs/honcho/blob/main/skills/honcho-cli/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Dùng công cụ dòng lệnh honcho để cho tôi xem Honcho đang lưu những gì về người dùng này.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill chạy lệnh honcho với đầu ra JSON và mã thoát rõ ràng, nhờ đó trợ lý đọc được kết quả của các lệnh liệt kê không gian làm việc, peer và phiên.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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: 0 success · 1 client error (bad input, not found) · 2 server error · 3 auth error
  • Config: ~/.honcho/config.json (shared with other Honcho tools). The CLI owns apiKey and environmentUrl at the top level; run honcho init to confirm or set them. Per-command scope (workspace / peer / session) is via -w / -p / -s flags or HONCHO_* env vars.

Command groups

  • honcho config — CLI configuration
  • honcho start / stop / status — local Docker stack (does not change environmentUrl). First start pins the Honcho image digest and writes config.toml into the profile. Pass --setup basic or --setup advanced for an interactive config wizard (TTY only; writes .env overrides). honcho status lists every profile; pass --profile for one.
  • honcho workspace — inspect, delete, search, chat
  • honcho peer — inspect, card, chat, search
  • honcho session — inspect, view (transcript), context, summaries
  • honcho scope — list, create, inspect, sessions, add-sessions, remove-session, status
  • honcho message — list and get
  • honcho conclusion — list, search, create, delete

Rules

  • Always pass --json when processing output programmatically.
  • Run honcho peer inspect before honcho peer chat to understand context.
  • Use honcho session context to see exactly what an agent receives.
  • Never run honcho workspace delete without honcho workspace inspect first.
  • Compare peer card with conclusions to understand memory state.
  • After honcho scope add-sessions, check honcho scope status <name> before a scoped chat: a pending backfill means the scope has not caught up yet, not that there is nothing to recall.
  • honcho start does not rewrite environmentUrl. Use HONCHO_BASE_URL=http://127.0.0.1:8000 to 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
Câu hỏi thường gặp

Nó có thể thay đổi dữ liệu bộ nhớ của tôi không?

Có. Một số lệnh xóa hoặc thay đổi mục dữ liệu, nên hãy kiểm tra lệnh làm gì trước khi chạy.

CLI lưu cài đặt ở đâu?

Trong một file cấu hình dùng chung tại .honcho/config.json trong thư mục home của bạn.

Các mã thoát có nghĩa là gì?

0 là thành công, 1 là lỗi phía client, 2 là lỗi phía server, và 3 là lỗi xác thực.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
7.9k
Vị trí xếp hạng
#12748
Giấy phép
AGPL-3.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự