From agent-skills
Manage an append-only decision log for AI-assisted projects, preventing silent reversals across sessions and models. Handles writing new entries, locking decisions, checking for conflicts with existing locked entries, and reading the ledger at session boot. Use when the user says "log this decision", "lock this decision", "add to the decision log", "check if this contradicts a past decision", "decision ledger entry", "D-NN log", "mark this as locked", "run the conflict check", "what decisions have we made", "read the ledger before we start", or "amend a previous decision".
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-skills:decision-ledgerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
An AI workforce is amnesiac by default. Without a durable, append-only record of what was decided and why, models re-litigate settled questions, silently violate past constraints, and contradict each other across sessions. The ledger is the constitution.
An AI workforce is amnesiac by default. Without a durable, append-only record of what was decided and why, models re-litigate settled questions, silently violate past constraints, and contradict each other across sessions. The ledger is the constitution.
Every decision entry follows this structure. Keep entries concise — the ledger must be scannable.
## D-NNN — [Short Title]
**Date:** YYYY-MM-DD
**Status:** DRAFT | LOCKED | AMENDED (see D-NNN.a)
**Owner:** [Name or role who can amend this — "Human Owner" for constitutional decisions]
**Decision:**
[One paragraph. What was decided. State it in the positive ("We will X") not the negative ("We won't not-X").]
**Alternatives rejected:**
- [Option A] — [one-sentence reason rejected]
- [Option B] — [one-sentence reason rejected]
**Traceability:**
- Implementing commit: [hash or "pending"]
- Review artifact: [council RAW file path, or "n/a"]
- Tracker issue: [issue ID or "n/a"]
Amendment format (new sub-entry, never edit the parent):
## D-NNN.a — [Short Title of Amendment]
**Date:** YYYY-MM-DD
**Status:** LOCKED
**Amends:** D-NNN
**Owner:** [Human Owner — constitutional amendments require named approval]
**Amendment:**
[What changed from D-NNN and why. Reference D-NNN explicitly.]
**Traceability:**
- Implementing commit: [hash]
- Review artifact: [council RAW file or "n/a"]
At the start of any session on a project that has a decision ledger:
Do not proceed with any substantive proposal until the ledger has been read.
Before marking any DRAFT entry as LOCKED, run a conflict check:
If a conflict is found:
Example: A proposal adds a new pricing tier at $19/month. The conflict check finds D-031, which locks the Pro plan at $29/month as the floor with no tier below it. Conflict surfaced: "This contradicts D-031 (pricing locked). Proposing a $19 tier would require amending D-031 with human owner approval."
CONSTITUTIONAL flag and require the human owner to explicitly say "I approve locking D-NNN" — do not auto-lock on their behalf.AMENDED (see D-NNN.a) — this is the only permitted edit to a locked entry.When the ledger grows large enough that reading it all at boot is impractical (rough guide: over 200 entries or 50K tokens):
Mark a decision CONSTITUTIONAL if it meets any of these criteria:
Constitutional decisions require human owner named approval to amend. The ledger should have at most a dozen of these — if everything is constitutional, nothing is.
| Failure | What happens | Fix |
|---|---|---|
| New model re-litigates a locked decision | Wasted session time, potential contradictory build | Boot procedure reads ledger first; model must see locked decisions before proposing |
| Amendment edits original entry | Audit trail broken; can't see what was originally decided | Only sub-entries allowed; parent entry is append-only |
| Conflict check skipped | New decision silently contradicts a locked one | Conflict check is mandatory before locking, not optional |
| Ledger too large to read at boot | Boot procedure skipped; model acts without context | Maintain LOCKED-SNAPSHOT.md; regenerate on each new lock |
| Constitutional decision amended without owner approval | Fundamental constraint changed without accountability | CONSTITUTIONAL flag + named-approval gate |
council skill for multi-model validation before locking.npx claudepluginhub sathiaai/claude-kickoff-playbook --plugin agent-skillsProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.