honcho-setup
它能做什么
该技能引导你把 Honcho(一种记忆服务)连接到 Cursor 或 Grok Bot。适用于首次设置 Honcho 或需要修复登录错误的人。
适用场景
- ✓你第一次想把 Honcho 连接到 Cursor 或 Grok Bot 的时候。
- ✓Honcho 工具调用返回身份验证错误的时候。
- ✓你想检查 Honcho 连接是否正常工作的时候。
技能链接
https://github.com/plastic-labs/honcho/blob/main/integrations/cursor/skills/honcho-setup/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我把 Honcho 连接到 Cursor,并检查它是否正常工作。”
每周 5 个新技能,1 分钟读完。
工作原理
它会引导你通过浏览器登录、选择记忆工作区,并将这一选择记录在 Honcho 中,使每个工具和 Bot 都能找到它。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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 thecursorworkspace's metadata has adefault_workspacekey from an earlier choice, remove that key and write the rest back, orhoncho-memorywill keep using the old shared workspace. - Shared: show the user the result of
list_workspacesand let them pick the workspace their other tool uses (for Claude Code the default isclaude_code). Then store the pointer so future conversations find it: merge{"default_workspace": "<chosen>"}into thecursorworkspace'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
peerNamematches the handle from Step 3 and thathosts.cursor.workspacematches 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 initturns 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_contextreturns 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.
常见问题
我需要 API 密钥吗?
不需要。Honcho 使用基于 OAuth 的浏览器登录,因此无需粘贴任何密钥。
我能与其他 Honcho 工具共享记忆吗?
能。该技能会询问你是让 Cursor 的记忆保持独立,还是与其他 Honcho 工具共享。
如果登录没有完成怎么办?
该技能说明,在登录完成之前,不要尝试使用其他 Honcho 工具。
详情
作者的原始描述
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.
repo: plastic-labs/honcho
热度
- GitHub 星标
- 7.9k
- 排名
- #12746
- 许可证
- AGPL-3.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
honcho-grok-bot
7.9k帮助你的 Grok Bot 一致地使用 Honcho 记忆,按照同一账号下其他 Bot 的方式为其身份和聊天会话命名。
honcho-memory
7.9k帮你的智能体在回复前查询 Honcho 记忆,并在每次对话后保存内容,从而随着时间推移了解你的偏好,实现跨聊天记住你。
honcho-memory
7.9k帮你的智能体在开始工作前检查关于你和项目的已存记忆,并为之后的会话保存有用的结论。
honcho-cli
7.9k帮你的智能体从命令行检查 Honcho 记忆设置,查看已存的对等方记忆和会话,并确认记忆循环是否正常。