Logo Comet Cc Memory

Comet Cc Memory

Cộng đồng
Dirac-Robot
comet-cc-memory

Search, read, and cross-reference the persistent memory store that the CoMeT-CC plugin has been building across this and prior Claude Code sessions. Use when the user references "before", "earlier", "last time", "that thing you worked on", "you already did…", or when you have a hunch that a relevant decision/artifact/correction exists but is no longer visible in the current transcript. Also use when a new task looks like something you've solved before (migration patterns, failed approaches, user preferences, constraints).

Tổng quan

Nhà phát hànhDirac-Robot
Kho mãcomet-cc
Tên kỹ năngcomet-cc-memory
Sao
29
Bản fork
0
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Đầy đủ trong hướng dẫn

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được Dirac-Robot công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Comet Cc Memory trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/Dirac-Robot/comet-cc/tree/main/skills/comet-cc-memory
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Dirac-Robot/comet-cc.git /tmp/comet-cc
mkdir -p .claude/skills
cp -r /tmp/comet-cc/skills/comet-cc-memory .claude/skills/comet-cc-memory
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Comet Cc Memory trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Comet Cc Memory ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Comet Cc Memory không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

CoMeT-CC memory recall

The active Claude Code session has a sidecar memory pipeline running as hooks + a daemon. After every compaction trigger (topic shift, high cognitive load, or buffer overflow), a structured MemoryNode is written to a sqlite store with summary / trigger / importance / tags. Across sessions, these accumulate into a long-term store you can query via the comet-cc CLI.

Passive injection already happens. Each user prompt, the hook pulls relevant passive + active matches into your context automatically. This skill is for the cases where that automatic retrieval missed something — either because the match threshold didn't fire, or because you want to deliberately explore a thread.

When to invoke this skill

  • User says "remember when…" / "you fixed this before" / "last time we…"
  • You're about to repeat work that feels familiar (same file, same bug class)
  • A user correction/preference might apply but you aren't sure
  • Starting a new task that could reuse a pattern from an earlier session
  • Debugging — earlier failure modes or tried-and-rejected approaches are worth checking

Operations (run with the Bash tool)

Search across all memory

bash
comet-cc search "<free-form query>" --top 5

Returns up to N matching nodes with summary + trigger. Examples:

  • comet-cc search "async SQLAlchemy migration" --top 5
  • comet-cc search "user's logging preferences"
  • comet-cc search "tests that were failing" --session <session-id>

Scope to the current session with --session <id> when cross-session matches would just be noise (id appears in some transcript headers; if you don't know it, omit the flag).

Read a specific node at one of three depths

bash
comet-cc read-node <node_id>              # depth 0: summary only (cheapest)
comet-cc read-node <node_id> --depth 1    # detailed summary (LLM-generated on first call, cached)
comet-cc read-node <node_id> --depth 2    # raw turn data (exact verbatim text, no LLM)
comet-cc read-node <node_id> --links      # also list child nodes linked under this one

Pick the lowest depth that answers the question:

  • depth 0 is what retrieval already gave you (summary | trigger); re-reading it is free.
  • depth 1 when the summary glosses over specifics you need — numbers, names, decisions. First call runs a haiku LLM over the stored raw turns (~2-5s); subsequent calls return cached.
  • depth 2 when you need the exact words that were said — e.g., user's literal instruction, exact error message, exact code snippet. No LLM involved; dumps verbatim absorbed turns in order.

Escalate only as far as you need. Starting at depth 2 for a factual question wastes tokens; staying at depth 0 when the user asked "what exactly did I say" gives a paraphrase that misses the point.

--links is orthogonal to --depth and combines freely; use it when a node is a bundle-parent or cluster head and you need to walk to its children. The real flag is --links (plural, no "follow-"); there is no --raw, --follow-links, or --verbose — use --depth 2 and --links.

List every node in the current session

bash
comet-cc list-session <session_id>           # parent nodes only
comet-cc list-session <session_id> --all     # include drill-down child nodes

Chronological timeline of the session's compacted nodes. Useful when the user asks "what have we done so far" or you want to audit coverage. --all adds bundle children (individual tool calls inside a bundle parent) — usually noise unless you're inspecting a specific tool chain.

Finding the current session id

list-session and brief both require a session id. You can get the current session's id from any of:

  • the Current session: <sid> line in the memory block injected at the top of the last user message;
  • the session=<sid> field on retrieved nodes in that same block;
  • comet-cc search "<any query>" — matching nodes print session=<sid>.

If none of those are present (fresh session, nothing compacted yet), there is nothing to list or brief for — skip instead of guessing an id.

Read the session brief

bash
comet-cc brief <session_id>

The buttered brief is a live-rewritten document summarizing the session's durable preferences, active work context, and hints from failures/corrections. It rides in every turn's context, but you can dump the current state here if you want to inspect or reason about it.

How to interpret results

Each node has two distinct fields:

  • summary: factual index — what's stored (decisions, artifacts, preferences)
  • trigger: retrieval scenario — when the raw context becomes worth reopening

Treat trigger as the retrieval intent: if it matches your current decision point, the node is worth considering. If summary answers your question directly, you may not need to dig further.

Nodes tagged with IMPORTANCE:HIGH are either persistent user constraints, corrections, or artifacts the user will likely reopen — prioritize these. recall_mode: passive means it's always in context already (double-check the injected memory block before redundantly citing).

Style

When you apply a recalled node, tell the user briefly where it came from so they can verify: "based on the memory node [n_abc...] from earlier this session…" One sentence of attribution is enough — don't re-render the whole node.

Don't over-use the search. If automatic passive injection already gave you the fact you need, acting on it is fine. This skill is for the cases where that injection missed.

Câu hỏi thường gặp

Kỹ năng AI Comet Cc Memory làm được gì?

Search, read, and cross-reference the persistent memory store that the CoMeT-CC plugin has been building across this and prior Claude Code sessions. Use when the user references "before", "earlier", "last time", "that thing you worked on", "you already did…", or when you have a hunch that a relevant decision/artifact/correction exists but is no longer visible in the current transcript. Also use when a new task looks like something you've solved before (migration patterns, failed approaches, user preferences, constraints).

Vì sao nên dùng Comet Cc Memory trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Comet Cc Memory là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Comet Cc Memory trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Dirac-Robot/comet-cc/tree/main/skills/comet-cc-memory. TypingMind đọc tệp SKILL.md và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Comet Cc Memory?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Comet Cc Memory với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Comet Cc Memory với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Comet Cc Memory có miễn phí không?

Kỹ năng này được Dirac-Robot phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇