honcho-grok-bot
它能做什么
该技能规定 Grok Bot 应如何在 Honcho(一种记忆服务)中保存和命名其记忆。适用于在同一账号上运行一个或多个连接了 Honcho 的 Grok Bot 的人。
适用场景
- ✓Grok Bot 已连接 Honcho,需要跨聊天记住用户的时候。
- ✓同一账号下的多个 Bot 需要共享对用户的同一份记忆的时候。
- ✓Bot 在群聊中,需要记录自己发出的消息的时候。
技能链接
https://github.com/plastic-labs/honcho/blob/main/integrations/cursor/skills/honcho-grok-bot/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请设置我的 Grok Bot,让它借助 Honcho 跨聊天记住我,并正确命名会话。”
每周 5 个新技能,1 分钟读完。
工作原理
它为每个 Bot 设定各自的身份,为账号所有者使用一个共享身份,并制定会话命名规则。由于 Grok Bot 没有替它记录的钩子,每个 Bot 需要自行记录自己的每一轮对话。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Honcho for Grok Bots
Grok Bot loads only two parts of this plugin: the Honcho MCP server and the
skills. There are no lifecycle hooks, so nothing is recorded unless you record
it. Apply the honcho-memory skill for the loop and use the conventions below
so that every Bot on the account writes to Honcho the same way.
Identity
- The user is the account owner. Use the
user_peerstored in the workspace metadata, exactly as thehoncho-memoryskill describes. Every Bot on the account shares that one peer; that is what makes the user's memory continuous across Bots. - You are one peer per Bot: your Bot name in kebab-case (
nori,research-bot). Do not create a peer per conversation and do not reuse another Bot's peer. If your name changes, keep the old peer id and store the display name withset_metadataon your peer. - Other Bots in a group chat are their own peers, named the same way.
Sessions
Pick the first that applies:
- A group chat (more than one Bot, or several people):
group-<group-name>-<id>when the chat has a stable id you can read, otherwisegroup-<group-name>-<YYYY-MM-DD>. Add the user and every participating Bot as peers. Each Bot records its own messages (see "Logging each turn"). - A direct conversation with a stable id you can read:
<bot>-conv-<id>. - A direct chat without an id: one session per Bot per day,
<bot>-chat-<YYYY-MM-DD>in the user's time zone. - A routine run (scheduled or event-triggered work with no user in the
loop):
<bot>-routine-<routine-name>-<YYYY-MM-DD>. Record what you did as your own messages. Do not record user messages you did not receive.
Ids may contain only letters, digits, _ and -, so lowercase names and
replace anything else with -.
Stay in the session you picked for the whole conversation, even when the topic changes. Honcho reasons over and summarizes each session as one piece.
Logging each turn
Grok Bot runs no hooks, so the recording step in honcho-memory always
applies; its automatic-capture exception never does. Make your last action in
each turn one add_messages_to_session call with the user's message and the
reply you are about to send, following the recording rules in honcho-memory.
In a group chat every Bot sees every message, so split the work: record only your own replies, under your own peer, never another Bot's. Record the user's message only if it is not in the session yet.
Never record a message twice. When you are unsure whether it is already
there, search with the session's session_id for its opening words first.
Setup across Bots
The plugin is installed once for the account and is available to every Bot.
The first Bot the user sets up runs the honcho-setup skill and writes the
workspace metadata (user_peer, and default_workspace on the cursor
workspace if the user shares memory with other tools). Any later Bot reads
that metadata on its first conversation and needs nothing from the user. If
the metadata is missing, run honcho-setup rather than guessing.
Your own memory is a fine place to cache the resolved workspace and peer ids so you do not re-read metadata every turn. Honcho's metadata remains the source of truth.
Signing in
Honcho uses OAuth. If a tool call returns an authentication error, tell the user "I need to sign in to Honcho" and follow the connect card; do not ask for an API key. Never store a Honcho key in your memory, in a file, or in Honcho.
What not to do
- Do not log raw tool output, downloaded pages, or file contents.
- Do not create a workspace per Bot. Bots share the user's workspace.
常见问题
Honcho 中的用户是谁?
账号所有者。账号下的所有 Bot 共享这同一个用户身份,因此记忆保持连续。
Bot 会自动记录聊天吗?
不会。没有生命周期钩子,因此 Bot 必须自己记录每一轮对话,正如该技能所述。
群聊会话如何命名?
在可获取时,使用群名称和稳定的聊天 ID;如果无法读取 ID,则使用日期。
详情
作者的原始描述
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 computer) and Honcho is connected, together with the honcho-memory skill. Covers how each Bot names its peer and sessions, how several Bots on one account share the user's memory, group chats, routines, and per-turn logging without hooks.
repo: plastic-labs/honcho
热度
- GitHub 星标
- 7.9k
- 排名
- #12744
- 许可证
- AGPL-3.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
honcho-memory
7.9k帮你的智能体在回复前查询 Honcho 记忆,并在每次对话后保存内容,从而随着时间推移了解你的偏好,实现跨聊天记住你。
honcho-setup
7.9k帮你的智能体连接 Honcho 记忆、完成登录、选择记忆工作区,并检查连接是否正常工作。
honcho-memory
7.9k帮你的智能体在开始工作前检查关于你和项目的已存记忆,并为之后的会话保存有用的结论。
honcho-cli
7.9k帮你的智能体从命令行检查 Honcho 记忆设置,查看已存的对等方记忆和会话,并确认记忆循环是否正常。