card-refresh

card-refresh is a skill for Claude Code from escoffier-labs/brigade. It costs 56 tokens per session (854 once invoked), scanned A, original, MIT.

A controlled procedure for updating stale Brigade memory cards from an approved refresh queue. Brigade memory cards are stored notes that help later work, and the queue identifies which ones need review.

In plain words
What is it for?
Use it to inspect refresh queues, review source files, update allowed cards, reinforce an existing card instead of creating duplicates, and close reviewed queue items.
Why use it?
It prevents broad or unsupported edits to shared memory. Updates must use approved categories and cite the files that support them, while old cards are archived rather than deleted.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to inspect refresh queues, review source files, update allowed cards, reinforce an existing card instead of creating duplicates, and close reviewed queue items.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/escoffier-labs/brigade/card-refresh
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add escoffier-labs/brigade --skill card-refresh
Clone the repo
git clone --depth 1 https://github.com/escoffier-labs/brigade

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for card-refresh

README.md
[![agentmods](https://agentmods.dev/badge/skills/escoffier-labs/brigade/card-refresh/github.svg)](https://agentmods.dev/skills/escoffier-labs/brigade/card-refresh)
Your own site
<a href="https://agentmods.dev/skills/escoffier-labs/brigade/card-refresh"><img src="https://agentmods.dev/badge/skills/escoffier-labs/brigade/card-refresh/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for card-refresh

Your own site · 80×15
<a href="https://agentmods.dev/skills/escoffier-labs/brigade/card-refresh"><img src="https://agentmods.dev/badge/skills/escoffier-labs/brigade/card-refresh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 854 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Memory Poisoning · line 37
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.00854
Opus 5 $0.00028 $0.00427
Sonnet 5 $0.00011 $0.00171
Haiku 4.5 $0.00006 $0.00085

Measured 9d ago against content hash 57cd0ebff774, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

card-refresh scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/brigade/templates/skills/card-refresh/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

Read the full file on GitHub · 69 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 69 lines · 56 tokens per session scan A 57cd0ebff774

Subscribe to this mod's changes

card-refresh is a skill published in the GitHub repository escoffier-labs/brigade (72 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 854 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.