Skip to content
Data
Skill

/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

From plugin
honcho
7.8k8 skills1 command

Claude Code

$ npx -y skills add plastic-labs/honcho --skill honcho-cli --agent claude-code

SKILL.md

honcho-cli.SKILL.md
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**: `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, replay (copy to another workspace or instance)
  • `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
  • `honcho dream` — list, inspect (what each dream changed; workspace or admin key)

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

When a fact appeared, vanished, or the card changed and nothing in the transcript explains it, check the dreams:

honcho dream list -p <peer_id> --json        # newest first
honcho dream inspect <run_id> --json         # created (with sources), removed, card before/after

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

7. Copy a workspace

`honcho workspace replay` re-sends a workspace's messages into another workspace, which derives its own memory from them. Conclusions and peer cards are not copied.

# Always dry-run first: it reads both sides and writes nothing
honcho workspace replay --from <src> --to <dst> --dry-run --json | jq '.actions, .messages_to_send'

# Another instance, e.g. managed Honcho (configured) to a self-hosted one.
# The configured key is never sent to it; set HONCHO_TO_API_KEY if its auth is on
honcho workspace replay --from <src> --to-url http://localhost:8000 --json

# Only the N sessions with the most recent message
honcho workspace replay --from <src> --to <dst> --num-sessions 20 --json
  • Each session's `action` in the dry run is `create`, `resume`, `up_to_date` or `conflict`. A conflict means the destination has different messages under that session ID; a replay skips it and exits `1`. Pass a different `--to`.
  • A rerun resumes: messages already in the destination are skipped.
  • Conclusions and peer cards written through the API are not recreated, because they have no source message. `not_copied.conclusions_in_source` in both reports counts every conclusion in the source; Honcho does not mark which ones were written through the API.
  • The destination session has the source's current members from its first message. A peer that joined late and observes others gets conclusions from messages sent before it joined.
  • Derivation on the destination continues after the command exits. The result's `check_derivation` field is
Read more
@plastic-labs
Ships withhoncho

Memory library for building stateful agents

Stars on GitHub

Momentum

stars in total
7.8k
Star history of plastic-labs/honcho on GitHub, a chart by star-history.com

Other skills on honcho.

honcho-grok-bot

honcho-grok-bot

Conventions for using Honcho memory as a Grok Bot. Apply whenever you are a Grok Bot (an xAI or Cursor Bot with its own cloud…

@plastic-labs@plastic-labsInstall Skill
honcho-memory

honcho-memory

Concepts and strategy for using a connected Honcho as persistent memory of the user — the recall/record loop and session and peer…

@plastic-labs@plastic-labsInstall Skill
honcho-setup

honcho-setup

First-run setup and health check for Honcho memory in Cursor or Grok Bot. Use when the user asks to set up, connect, sign in to,…

@plastic-labs@plastic-labsInstall Skill
honcho-integration

honcho-integration

Integrate Honcho memory into existing Python or TypeScript codebases. Use when adding Honcho SDK, setting up peers, configuring…

@plastic-labs@plastic-labsInstall Skill
pre-pr

pre-pr

Prepare a Honcho change for a pull request to plastic-labs/honcho. Invoke before opening a PR, when drafting a PR body, when…

@plastic-labs@plastic-labsInstall Skill
property-repro

property-repro

Reproduce a reported Honcho API bug (a 5xx, a wrong status code, data that doesn't round-trip) as a failing…

@plastic-labs@plastic-labsInstall Skill

More skills from other plugins.

context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem04d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog10d41k
@posthog@posthogInstall Skill

Questions about honcho-cli.

Which coding agents can use honcho-cli?
honcho-cli installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.