Card Refresh logo

Card Refresh

Organization
escoffier-labs
card-refresh

Use when refreshing stale Brigade memory cards from the care refresh queue - category allowlist, grounded edits that cite on-disk sources of truth, archive-only retention, and reinforce-in-place instead of near-duplicate siblings (#724). Never delete, remove, or prune.

Overview

Publisherescoffier-labs
Repositorybrigade
Skill namecard-refresh
Stars
82
Forks
9
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by escoffier-labs on GitHub. Read the source before you install it.

Installation

Install the Card Refresh AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/escoffier-labs/brigade/tree/main/src/brigade/templates/skills/card-refresh
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Card Refresh in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Card Refresh on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Card Refresh is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Card Refresh AI skill do?

Use when refreshing stale Brigade memory cards from the care refresh queue - category allowlist, grounded edits that cite on-disk sources of truth, archive-only retention, and reinforce-in-place instead of near-duplicate siblings (#724). Never delete, remove, or prune.

Why use Card Refresh on TypingMind?

Because you install it once and use it with any model. Card Refresh is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Card Refresh in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/escoffier-labs/brigade/tree/main/src/brigade/templates/skills/card-refresh. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Card Refresh?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Card Refresh?

As many as you like. As long as a model supports skills, you can use Card Refresh with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Card Refresh AI skill free?

Yes. It is published on GitHub by escoffier-labs under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇