Card Refresh
Safely refresh stale memory cards from Brigade's care queue with category allowlisting.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/card-refresh-escoffier-labs/— the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Works for every skill.What this command does
- Makes a new, empty temporary folder.
- Downloads the skill's folder,
src/brigade/templates/skills/card-refresh, fromgithub.com/escoffier-labs/brigade(branchmain), the GitHub repository it's listed from. You get the version that is there now, not a copy we keep. - Copies that folder to
~/.claude/skills/card-refresh-escoffier-labs/. - Deletes the temporary folder.
Installing runs none of the skill's files; it only downloads and copies them. When you later use the skill, Claude follows its SKILL.md and may run scripts that come with it. Read them first.
Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
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.
What this skill does
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.jsonor the workspace's configured legacy path) brigade memory care statusbrigade memory care plan-fixes(planning only; writes no cards)brigade memory care closeoutwhen 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 closeoutfor items you actually refreshed.
Reinforce over duplicate (#724)
Ingest already reinforces exact fingerprint matches and proposes near-match / opposite-polarity review. When refreshing:
- Search for near-duplicate cards covering the same fact.
- Reinforce the strongest existing card (cite the on-disk sources) instead of splitting.
- If duplicates are ambiguous or look like opposite-polarity contradictions, stop and mark needs-human rather than merging blindly.
Process
- Read the refresh queue and filter to the category allowlist.
- For each candidate, open the card and its evidence paths on disk.
- Apply a grounded edit only when on-disk sources confirm the update; cite those sources in the edit notes or handoff.
- Close out completed queue items with care closeout; leave the rest.
- Capture outcomes against
card-refreshwhen 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
Related skills
Claude API Helper
anthropics
Build, debug, and optimize Claude API applications with caching and model migration support.
Documentation Co-Authoring
anthropics
Guide structured workflows for writing docs, proposals, and technical specs collaboratively.
PPTX Text Extractor
axoviq-ai
Extract text and speaker notes from PowerPoint presentations.
Memory Search
davila7
Search conversation history and recall previous discussions, decisions, and context.