Card Refreshのロゴ

Card Refresh

組織
escoffier-labs
card-refresh

care refresh queueから古くなったBrigadeのメモリカードを更新する際に使用してください。カテゴリーの許可リスト、ディスク上の信頼できる情報源を引用した根拠のある編集、アーカイブのみの保持、類似したカードを新たに作らず既存の内容を補強する方法(#724)を扱います。削除、除去、整理は絶対に行わないでください。

Add to TypingMind

概要

公開者escoffier-labs
リポジトリbrigade
スキル名card-refresh
スター
82
フォーク
9
同梱ファイル
2
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/escoffier-labs/brigade.git /tmp/brigade
mkdir -p .claude/skills
cp -r /tmp/brigade/src/brigade/templates/skills/card-refresh .claude/skills/card-refresh
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

card-refresh

Safely refresh stale memory cards that memory care already queued. Brigade does not run the agent; this skill is the allowlist-bound recipe an operator invokes on their own harness and schedule.

When this applies

  • brigade memory care scan (or import-issues) has produced a refresh queue.
  • An operator schedules a headless harness against this skill for safe auto-refresh.
  • Card categories in scope are on the operator's category allowlist.

Allowlist

Work only through this allowlist:

  • Read the care refresh queue (.brigade/memory-care/decay/refresh-queue.json or the workspace's configured legacy path)
  • brigade memory care status
  • brigade memory care plan-fixes (planning only; writes no cards)
  • brigade memory care closeout when finishing reviewed queue items
  • Read/Grep of the card file, its cited evidence paths, and related on-disk sources of truth
  • Edit only cards whose category is on the operator allowlist for this run

Bash is scoped to those brigade memory care … commands only. Do not touch cards outside the category allowlist. Stay inside the allowlist above; do not follow .. or symlinks out of the card / care-queue roots.

Grounded-edit rules

Refreshes must be grounded. Edit or refresh a card only when you can cite existing on-disk content that verifies the change (the card body, linked evidence files, handoffs, or other local sources of truth). Never date-bump alone. If you cannot verify a claim against on-disk material, skip the card and leave it queued for a human.

Retention (never delete)

  • Never delete memory cards.
  • Never remove cards from the corpus with destructive ops.
  • Never prune the refresh queue or card trees by hand.
  • Archive only when an operator-approved archive path already exists; otherwise leave stale-but-unverified cards for human review and use care closeout for items you actually refreshed.

Reinforce over duplicate (#724)

Ingest already reinforces exact fingerprint matches and proposes near-match / opposite-polarity review. When refreshing:

  1. Search for near-duplicate cards covering the same fact.
  2. Reinforce the strongest existing card (cite the on-disk sources) instead of splitting.
  3. If duplicates are ambiguous or look like opposite-polarity contradictions, stop and mark needs-human rather than merging blindly.

Process

  1. Read the refresh queue and filter to the category allowlist.
  2. For each candidate, open the card and its evidence paths on disk.
  3. Apply a grounded edit only when on-disk sources confirm the update; cite those sources in the edit notes or handoff.
  4. Close out completed queue items with care closeout; leave the rest.
  5. Capture outcomes against card-refresh when verification is part of the run.

Failure paths

  • Missing refresh queue or memory-care config: stop. Report the missing path/config; do not invent a queue.
  • Empty queue / no category-allowlisted candidates: exit cleanly with "nothing to refresh"; do not invent cards.
  • Malformed queue entry or card (bad JSON, missing path, unreadable frontmatter): skip that entry, leave it for a human, continue with the rest. Never delete or rewrite malformed files just to clear the queue.

Out of scope

  • session-sweep (blocked on #466)
  • Scheduler or model-dispatch integration
  • Refreshing categories outside the allowlist

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Card Refresh」では何ができますか?

care refresh queueから古くなったBrigadeのメモリカードを更新する際に使用してください。カテゴリーの許可リスト、ディスク上の信頼できる情報源を引用した根拠のある編集、アーカイブのみの保持、類似したカードを新たに作らず既存の内容を補強する方法(#724)を扱います。削除、除去、整理は絶対に行わないでください。

TypingMindでCard Refreshを使うメリットは何ですか?

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/escoffier-labs/brigade/tree/main/src/brigade/templates/skills/card-refreshを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Card Refreshを使えるAIモデルはどれですか?

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

Card Refreshで使えるAIモデルの数に制限はありますか?

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

AIスキル「Card Refresh」は無料ですか?

はい。escoffier-labsがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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