Chuyển đến nội dung
Skillpedia
Agent7.9k · #12745

honcho-memory

Skill này làm gì

Skill này kết nối trợ lý AI của bạn với Honcho, một dịch vụ bộ nhớ học về bạn từ các cuộc trò chuyện trước. Skill dành cho người muốn trợ lý nhớ sở thích và ngữ cảnh qua các cuộc trò chuyện.

Khi nào nên dùng

  • ✓Khi bạn bắt đầu một cuộc trò chuyện mới và muốn trợ lý nhớ lại những gì nó đã biết về bạn.
  • ✓Khi bạn muốn câu trả lời tính đến sở thích hoặc ngữ cảnh trước đây của bạn.
  • ✓Khi bạn hỏi trợ lý xem nó nhớ gì về bạn.

Liên kết skill

https://github.com/plastic-labs/honcho/blob/main/integrations/cursor/skills/honcho-memory/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/plastic-labs/honcho/blob/main/integrations/cursor/skills/honcho-memory/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn nhớ gì về tôi từ các cuộc trò chuyện trước của chúng ta?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Trước khi trả lời, trợ lý hỏi Honcho xem nó biết gì về bạn. Sau mỗi trao đổi, trợ lý lưu các tin nhắn để Honcho có thể học từ chúng theo thời gian.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Honcho memory

Honcho is connected to you as an MCP server (honcho). You feed it the turns of your conversations; in the background it reasons over them and builds a representation of the user. You can read that representation at any time and ask it questions in natural language.

Everything below works in both Cursor and Grok Bot. Nothing here depends on hooks, rules or local files: the skill plus the MCP tools are the whole system. If you are a Grok Bot, also apply the honcho-grok-bot skill, which sets the peer and session names for Bots.

The loop: recall, respond, record

  1. Resolve where memory lives (once per conversation, see below).
  2. Recall before you respond. Call get_peer_context for the user peer at the start of a conversation and read it as if it were a note from a colleague who knows the user. When a specific question would help ("how does this user like tests written?"), ask chat.
  3. Record after every exchange. Append the user's message and your reply with add_messages_to_session. This is the only non-optional step: Honcho learns from nothing else. Exception: if the context injected at session start says automatic capture is on, the plugin's hooks are already recording prompts and replies for this conversation; skip this step and only store conclusions.

Reasoning happens asynchronously. Never wait or poll after recording.

Where memory lives

Workspace, peers and sessions are explicit arguments on every tool call, so resolve them once at the start of a conversation and reuse them. Every id may contain only letters, digits, _ and -; lowercase everything else and replace other characters with -.

Workspace. Call get_metadata with workspace_id: "cursor" and no other scope. If the result has a default_workspace key, that is the workspace to use; otherwise use cursor. The honcho-setup skill writes that pointer when the user chooses to share memory with another tool.

User peer. Call get_metadata on the chosen workspace. Use its user_peer value. If there is none, ask the user once what Honcho should call them (a short handle, no spaces), then store it on the workspace so every future conversation, and every other Bot or editor on this account, finds the same answer. set_metadata replaces the whole metadata object, so read the current metadata first and write it back with user_peer added, never just the one key. One stable peer id per person: never invent a new one per conversation.

Your peer. In Cursor, cursor. In Grok Bot, your Bot's name in kebab-case (the honcho-grok-bot skill has the details).

Session. In Cursor, one session per project. If the context injected at session start names a session, use that name. Otherwise derive it: when the project has a git origin remote, cursor-<owner>-<repo> from that URL (so two clones of one repo share a session and two projects that happen to share a folder name do not); when it has no remote, cursor-<folder-name> from the workspace root. Lowercase and replace other characters with - (My Project gives cursor-my-project). Keep using it across days; a project is one coherent context. In Grok Bot, follow the honcho-grok-bot skill.

First use of a session. create_session, then add_peers_to_session with two entries: the user peer with observe_me: true, observe_others: false, and your peer with observe_me: false, observe_others: false. Honcho builds one model, the user's. Creating a session or peer that already exists is harmless, so you can do this whenever you are unsure.

Recording well

  • Record the user's words verbatim. Record your reply as prose; drop code blocks longer than a dozen lines and say what they contained.
  • Replace anything that looks like a secret (API keys, tokens, passwords, connection strings) with [redacted] before sending.
  • Do not record raw tool output or file contents the user did not write. Summarize tool activity in one line if it matters to the story.
  • Batch when you can: one add_messages_to_session call with several messages beats several calls.

Recalling well

Three reads, cheapest first:

  • get_peer_context for the user peer: the synthesized picture of the user plus matching conclusions. Near-instant. Use at the start of every conversation and whenever the topic shifts.
  • search: past messages matching a query, across the workspace or one session. Near-instant. Use for "what did
Câu hỏi thường gặp

Nó có hoạt động trong Cursor và Grok Bot không?

Có. Skill được viết để hoạt động ở cả hai, nhờ kết nối Honcho mà chúng dùng chung.

Bộ nhớ mới có hiện ra ngay không?

Không phải lúc nào. Honcho suy luận về các tin nhắn ở chế độ nền, nên việc học mới mất một chút thời gian.

Tôi có cần thiết lập gì trước không?

Có. Honcho phải được kết nối với trợ lý trước, và các bước thiết lập được trình bày riêng.

Chi tiết

Mô tả gốc của tác giả

Use Honcho as your persistent memory of the user. Apply at the start of every conversation (recall what Honcho knows), whenever personalization or past context would help, when the user asks what you remember or know about them, and after every exchange (record the turn). Works the same in Cursor and in Grok Bot.

repo: plastic-labs/honcho

Độ phổ biến

Sao GitHub
7.9k
Vị trí xếp hạng
#12745
Giấy phép
AGPL-3.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự