Comet Cc Memoryのロゴ

Comet Cc Memory

コミュニティ
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).

概要

公開者Dirac-Robot
リポジトリcomet-cc
スキル名comet-cc-memory
スター
29
フォーク
0
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    Dirac-RobotがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルComet Cc MemoryをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Dirac-Robot/comet-cc/tree/main/skills/comet-cc-memory
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでComet Cc Memoryを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にComet Cc Memoryを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Comet Cc Memoryは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

よくある質問

AIスキル「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).

TypingMindでComet Cc Memoryを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Comet Cc Memoryはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにComet Cc Memoryをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Dirac-Robot/comet-cc/tree/main/skills/comet-cc-memoryを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Comet Cc Memoryを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Comet Cc Memoryは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもComet Cc Memoryを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Comet Cc Memory」は無料ですか?

Dirac-RobotがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇