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…
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, or check the status of Honcho; when Honcho tool calls return authentication errors; or when the workspace metadata has no user_peer yet.
$ npx -y skills add plastic-labs/honcho --skill honcho-setup --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/honcho-setupContext preview
The summary Claude sees to decide when to auto-load this skill.
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, or check the status of Honcho; when Honcho tool calls return authentication errors; or when the workspace metadata has no user_peer yet.
name: honcho-setup description: 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, or check the status of Honcho; when Honcho tool calls return authentication errors; or when the workspace metadata has no user_peer yet. user-invocable: true
Honcho connects as an MCP server over HTTP with OAuth. There is no API key to paste and no local process to start. Setup is: sign in, pick where memory lives, record that choice in Honcho so every tool and Bot on the account finds it.
Authenticate (or Reconnect). A browser window completes the sign-in.
connect card the Bot shows. Ask the user to complete it in their browser.
Verify by calling `list_workspaces`. An authentication error means the sign-in did not complete; do not retry other tools until it does.
Memory is scoped to a workspace. Ask the user one question:
> Keep Cursor's memory on its own, or share it with another Honcho tool?
First make sure the `cursor` workspace exists: call `create_workspace` with `workspace_id: "cursor"`. It is get-or-create, so this is safe on every run.
`set_metadata` replaces a resource's whole metadata object. Every write below is therefore read, merge, write: call `get_metadata`, change only the key in question, and send the full object back. Never send a single key on its own.
metadata has a `default_workspace` key from an earlier choice, remove that key and write the rest back, or `honcho-memory` will keep using the old shared workspace.
the workspace their other tool uses (for Claude Code the default is `claude_code`). Then store the pointer so future conversations find it: merge `{"default_workspace": "<chosen>"}` into the `cursor` workspace's metadata.
Call `get_metadata` on the chosen workspace. If it already has `user_peer`, confirm it with the user and stop. Otherwise ask what Honcho should call them (a short handle, no spaces; in a shared workspace it must match the peer their other tool uses), then merge `{"user_peer": "<handle>"}` into that workspace's existing metadata and write it back.
In Cursor the plugin also ships hooks that record every turn automatically. They need `~/.honcho/config.json`, the file `honcho init` and the other Honcho plugins write, with an API key in it. Check whether it exists:
`hosts.cursor.workspace` matches the workspace from Step 2, editing the file if needed. Otherwise the hooks and the skills write to different places.
tools, and that running `honcho init` turns on automatic capture so they never depend on the agent remembering to record. Do not ask for an API key in chat.
Grok Bot never runs hooks, so skip this step there.
Report, in a few lines:
"nothing yet, memory starts with this conversation").
Then record this conversation as the first entry, following the `honcho-memory` skill.
When asked for Honcho's status, run Step 5 without changing anything, and add how many sessions `search` finds for the current session name. If the workspace metadata has no `user_peer`, say setup is incomplete and offer to finish it.
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…
Concepts and strategy for using a connected Honcho as persistent memory of the user — the recall/record loop and session and peer…
Inspect and debug Honcho workspaces via the `honcho` CLI. Use when investigating peer representations, memory state, session…
Integrate Honcho memory into existing Python or TypeScript codebases. Use when adding Honcho SDK, setting up peers, configuring…
Prepare a Honcho change for a pull request to plastic-labs/honcho. Invoke before opening a PR, when drafting a PR body, when…
Build, launch, and drive a local Honcho stack to verify a change at its runtime surface (the /v3 HTTP API and the deriver queue).…