본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)7.9k · #12748

honcho-cli

하는 일

이 스킬은 AI 어시스턴트가 honcho 명령줄 도구로 Honcho 메모리 설정을 들여다볼 수 있게 합니다. 메모리가 왜 작동하는지 또는 작동하지 않는지 확인하려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓Honcho가 특정 사람이나 Bot에 대해 무엇을 저장했는지 보고 싶을 때.
  • ✓메모리 설정의 회상(recall)과 기록(record) 단계가 작동하는지 확인해야 할 때.
  • ✓Honcho의 답변이 이상해서 세션이나 워크스페이스를 점검해야 하는 경우.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/plastic-labs/honcho/blob/main/skills/honcho-cli/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“honcho 명령줄 도구를 사용해서 Honcho가 이 사용자에 대해 가진 메모리를 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

honcho 명령을 JSON 출력과 명확한 종료 코드와 함께 실행합니다. 그래서 어시스턴트가 워크스페이스, 피어, 세션을 나열하는 명령의 결과를 읽을 수 있습니다.

기술 내용 (원본 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: 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
자주 묻는 질문

메모리 데이터를 바꿀 수 있나요?

네. 일부 명령은 항목을 삭제하거나 바꿉니다. 실행하기 전에 명령이 무엇을 하는지 확인하세요.

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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬