Agent Skills › plastic-labs/honcho › honcho-setup

honcho-setup

GitHub

用于Cursor或Grok Bot首次设置Honcho记忆服务,包括OAuth登录、工作空间选择、用户标识配置及自动捕获钩子检查。

integrations/cursor/skills/honcho-setup/SKILL.md plastic-labs/honcho

触发场景

用户请求设置或连接Honcho Honcho工具调用返回认证错误 工作区元数据缺少user_peer

安装

npx skills add plastic-labs/honcho --skill honcho-setup -g -y
更多选项

非标准路径

npx skills add https://github.com/plastic-labs/honcho/tree/main/integrations/cursor/skills/honcho-setup -g -y

不安装直接使用

npx skills use plastic-labs/honcho@honcho-setup

指定 Agent (Claude Code)

npx skills add plastic-labs/honcho --skill honcho-setup -a claude-code -g -y

安装 repo 全部 skill

npx skills add plastic-labs/honcho --all -g -y

预览 repo 内 skill

npx skills add plastic-labs/honcho --list

SKILL.md

Frontmatter
{
    "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 setup

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.

Step 1: Sign in

  • Cursor: open Customize, find the Honcho MCP server, and choose Authenticate (or Reconnect). A browser window completes the sign-in.
  • Grok Bot: tell the user "I need to sign in to Honcho" and follow the 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.

Step 2: Choose a workspace

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.

  • On its own: use the workspace cursor. If the cursor workspace's 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.
  • Shared: show the user the result of list_workspaces and let them pick 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.

Step 3: Choose the user's peer

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.

Step 4 (Cursor only): Line up automatic capture

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:

  • It exists: make sure peerName matches the handle from Step 3 and that hosts.cursor.workspace matches the workspace from Step 2, editing the file if needed. Otherwise the hooks and the skills write to different places.
  • It does not exist: tell the user that memory works now through the MCP 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.

Step 5: Confirm

Report, in a few lines:

  • the workspace in use, and whether it is shared;
  • the user peer, and your own peer (cursor, or your Bot name);
  • what get_peer_context returns for the user peer right now (a sentence or "nothing yet, memory starts with this conversation").

Then record this conversation as the first entry, following the honcho-memory skill.

Status check

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.

版本历史

  • d11a764 当前 2026-11-02 23:33

同 Skill 集合

.claude/skills/honcho-cli/SKILL.md
.claude/skills/honcho-integration/SKILL.md
.claude/skills/migrate-honcho-py/SKILL.md
.claude/skills/migrate-honcho-ts/SKILL.md
examples/zo/SKILL.md
integrations/cursor/skills/honcho-grok-bot/SKILL.md
integrations/cursor/skills/honcho-memory/SKILL.md
kilo-honcho/skills/honcho-memory/SKILL.md
skills/honcho-cli/SKILL.md
skills/honcho-integration/SKILL.md
skills/honcho-memory/SKILL.md
skills/pre-pr/SKILL.md
skills/property-repro/SKILL.md
skills/verify/SKILL.md

元信息

文件数
0
版本
d11a764
Hash
b801d7ba
收录时间
2026-11-02 23:33

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 19:57
浙ICP备14020137号-1