affirm

affirm is a skill for Claude Code from nullphase-net/enfurbish. It costs 68 tokens per session (950 once invoked), scanned A, original, MIT.

A command for showing, approving, or revoking trust in project instruction files such as CLAUDE.md and .claude/rules/. It can record hashes, which are fingerprints used to detect later changes.

In plain words
What is it for?
Use it to inspect project rules, record approval after review, or remove that approval when the files should no longer be trusted.
Why use it?
It helps ensure Claude follows only instructions that someone has reviewed, and warns when trusted files are modified.

Skill for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Part of the affirm plugin — 1 skill, 1 hook shipped together

Good fit Use it to inspect project rules, record approval after review, or remove that approval when the files should no longer be trusted.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nullphase-net/enfurbish/affirm
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 nullphase-net/enfurbish --skill affirm
Clone the repo
git clone --depth 1 https://github.com/nullphase-net/enfurbish

Made for: Claude Code.

Or install affirm, the plugin that ships this one along with the rest of its 1 skill, 1 hook.

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 affirm

README.md
[![agentmods](https://agentmods.dev/badge/skills/nullphase-net/enfurbish/affirm/github.svg)](https://agentmods.dev/skills/nullphase-net/enfurbish/affirm)
Your own site
<a href="https://agentmods.dev/skills/nullphase-net/enfurbish/affirm"><img src="https://agentmods.dev/badge/skills/nullphase-net/enfurbish/affirm/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 affirm

Your own site · 80×15
<a href="https://agentmods.dev/skills/nullphase-net/enfurbish/affirm"><img src="https://agentmods.dev/badge/skills/nullphase-net/enfurbish/affirm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 950 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.
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.00068 $0.00950
Opus 5.5 $0.00027 $0.00380
Sonnet 5.5 $0.00014 $0.00190
Haiku 4.5 $0.00007 $0.00095

Measured 2mo ago against content hash bcc47611f470, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

affirm 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 2mo 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.

affirm/skills/affirm/SKILL.md · 62 lines

How it starts

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

/affirm — affirm instruction files

CLAUDE.md, CLAUDE.local.md, anything under .claude/rules/, and any files they pull in via Claude Code's @import syntax are loaded as Claude's system instructions. That holds for the project's own files and for the user-global ones under ~/.claude/, and a malicious or accidental change to either can silently re-program Claude. /affirm is the explicit trust gate: bare /affirm shows you what's there; /affirm -a records SHA-256 hashes once you've reviewed; /affirm --since <iso> reports only what moved after a timestamp. The SessionStart hook compares stored hashes on every session start and warns on any mismatch.

Procedure

Forward args to the CLI verbatim and relay output to the user. No confirmation prompts — the user types -a when they're ready to attest.

The CLI lives at <skill-base-dir>/../../lib/cli.ts.

Bare /affirm — show details

bun run "<skill-base-dir>/../../lib/cli.ts"

Relay the output. This is read-only — nothing is recorded.

/affirm -a (or --apply) — record hashes

bun run "<skill-base-dir>/../../lib/cli.ts" -a

Relay the output. The user invoking -a is the attestation; do not add a separate confirmation step.

/affirm --since <iso> — what changed inside a window

bun run "<skill-base-dir>/../../lib/cli.ts" --since <iso> [<dir>...]

Relay the output. Read-only. Each <dir> adds that directory's instruction files under its own heading. Lists only the tracked files whose mtime falls after <iso>, with their affirmation status and the subjects of any commits that touched them in that window; a file that is touched but still hash-matched is listed without a call to action. continuity's /wrap calls this with the session's session_start so a change the user made themselves gets summarized at the end of the session that made it, rather than surfacing as a trust warning at the start of the next one.

/affirm --help

bun run "<skill-base-dir>/../../lib/cli.ts" --help

Read the full file on GitHub · 62 lines

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. 2mo ago Changed bcc47611f470
  2. 2mo ago Changed · +18 tokens per session a4651f226668
  3. 2mo ago Changed · +1 lines d4d97066ee21
  4. 2mo ago Changed · -8 lines 8719c34af9b8
  5. 2mo ago Changed · +8 lines c7f9bc874b91
  6. 3mo ago First seen · 61 lines · 50 tokens per session scan A a3cf1a58a149

Subscribe to this mod's changes

affirm is a skill published in the GitHub repository nullphase-net/enfurbish (1 stars, last pushed 3d ago), licensed MIT. It adds 68 tokens to every session and 950 once invoked, about $0.0003 per session on Opus 5.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-31.

Related

affirm compared with skills from other repositories

affirm next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
affirmnullphase-net/enfurbishSkill13d agoMITA68Claude Code
importXTSoftwareLabs/neatcontext-pluginsSkill133mo agoMITA54Codex
saveXTSoftwareLabs/neatcontext-pluginsSkill133mo agoMITA49Codex
createXTSoftwareLabs/neatcontext-pluginsSkill133mo agoMITA45Codex
extensionsXTSoftwareLabs/neatcontext-pluginsSkill133mo agoMITA45Codex
exportXTSoftwareLabs/neatcontext-pluginsSkill133mo agoMITA47Claude Code, Codex
deleteXTSoftwareLabs/neatcontext-pluginsSkill133mo agoMITA36Codex