← ClaudeAtlas

affirmlisted

Affirm, show, or revoke trust in the current project's CLAUDE.md and .claude/rules/* files. Use after reviewing changes flagged by the SessionStart hook. Invoke as /affirm.
nullphase-net/enfurbish · ★ 1 · AI & Automation · score 66
Install: claude install-skill nullphase-net/enfurbish
# `/affirm` — affirm project instruction files `CLAUDE.md` and anything under `.claude/rules/` are loaded as Claude's system instructions for this project. A malicious or accidental change 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 -r` revokes. 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 ```bash bun run "<skill-base-dir>/../../lib/cli.ts" ``` Relay the output. This is read-only — nothing is recorded. ### `/affirm -a` (or `--apply`) — record hashes ```bash 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 -r` (or `--revoke`) — drop affirmation ```bash bun run "<skill-base-dir>/../../lib/cli.ts" -r ``` Relay the output. ### `/affirm --help` ```bash bun run "<skill-base-dir>/../../lib/cli.ts" --help ``` Relay the output. ## What this skill does NOT do - Read the contents of `CLAUDE.md` or rules files. That's the user's job — they're the one attesting. - Modify any instruction file. Affirmation is hash-only. - Touch files outside