Agent skill

Decision Records

by ericrisco in ericrisco/rsc-harness

A skill your agent uses when a hard-to-reverse choice (database, framework, vendor, auth model) must be frozen as an immutable numbered ADR — the context that forced it, the options weighed, the…

MITAuto-check passedProductivity & Automation

Install Decision Records

skills CLI
$ npx skills add ericrisco/rsc-harness --skill decision-records -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ericrisco/rsc-harness decision-records --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ericrisco/rsc-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/decision-records .claude/skills/decision-records && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
decision-records
GitHub stars
167
Token cost
~2.9k tokens
SKILL.md length
1,273 words
Files
5 (incl. scripts, references)
Skills in repo
227
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when a hard-to-reverse choice (database, framework, vendor, auth model) must be frozen as an immutable numbered ADR — the context that forced it, the options weighed, the…

  • Works in 3 steps: The project's existing convention —… → A code repo with no convention:… → A harness workspace:…
  • A hard-to-reverse choice (database
  • SKILL.md covers The one test: is this even…, Decide home + naming once, The record spine and Write context that forces the…, plus 6 more sections
  • Runs Shell scripts from its folder

What it does

Decision Records is an agent skill from ericrisco/rsc-harness. Use when a hard-to-reverse choice (database, framework, vendor, auth model) must be frozen as an immutable numbered ADR — the context that forced it, the options weighed, the decision, consequences both ways — or superseded without erasing history. NOT a meeting recap (that is meeting-notes), NOT standing project principles (that is constitution).

Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `evals/README.md`, `evals/cases.yaml` and `references/templates.md`).

It sits in Productivity & Automation, covering Meeting notes and agendas and Architecture decision records. The repository describes itself as: Your agent invents things because it has no memory, and can't touch your database because it has no arms. rsc is the meta-harness that gives it both, plus the trade to know the… The licence is MIT.

When your agent uses it

  • A hard-to-reverse choice (database
  • Auth model) must be frozen as an immutable numbered ADR — the context that forced it
  • The options weighed
  • Consequences both ways —

Example prompts

  • “/decision-records”

Requirements

  • A Bash shell

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. The project's existing convention — never invent a parallel log.
  2. A code repo with no convention: docs/adr/ (also seen as doc/adr/).
  3. A harness workspace: 02-DOCS/wiki/decisions/, indexed in 02-DOCS/wiki/index.md (the Knowledge map; root CLAUDE.md keeps only a short…

What it can do on your machine

Read from SKILL.md and the folder at commit e3d5b33. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Decision Records loads about 2.9k tokens when it runs, and up to ~5k if it reads all its reference files. Until then it costs about 92 tokens; SKILL.md has 1,273 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~92
When it runs · the whole SKILL.md, loaded when a task matches
~2.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from ericrisco/rsc-harness at commit e3d5b33, republished under its MIT licence (© ericrisco). 1,273 words, ~2,945 tokens.

Download SKILL.mdSave it as .claude/skills/decision-records/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
decision-records
description
Use when a hard-to-reverse choice (database, framework, vendor, auth model) must be frozen as an immutable numbered ADR — the context that forced it, the options weighed, the decision, consequences both ways — or superseded without erasing history. NOT a meeting recap (that is meeting-notes), NOT standing project principles (that is constitution).
tags
decision-records, adr, architecture-decisions, rationale, decision-log, madr, knowledge-ops
recommends
meeting-notes, constitution, sop-builder, knowledge-ops, codebase-onboarding, plan, specify
origin
risco

Decision Records — Freeze the Why Before It Evaporates

A consequential choice got made. Capture it as one short, immutable, numbered ADR: the context that forced it, the real options weighed, the decision, and what it costs you both ways. Six months from now this file is the only thing standing between you and re-litigating the whole thing.

You own the durable single-decision artifact — an Architecture/Any Decision Record (ADR). Not a meeting recap, not a runbook, not a spec. One bounded choice, recorded so the reasoning survives the people who made it.

The one test: is this even ADR-worthy?

Write an ADR iff the choice is costly to reverse OR future-you will ask "why did we do it this way". Everything else is noise — an ADR for a trivial reversible tweak is just paperwork, and ADRs lose all their value the moment they become forced ceremony (this is the consistent message from Fowler and the AWS Architecture Blog).

Worth an ADRSkip it
Postgres vs DynamoDB for the primary storeWhich lint rule to enable
Monolith vs microservices for v1Renaming a local variable
Build vs buy auth (Clerk vs roll-your-own)Bumping a patch dependency
Dropping REST for tRPC across the APIChoosing a CSS color token
Picking Hetzner over AWS for hostingA reversible feature flag default

If you can rip it out in an afternoon and nobody will ever ask why, don't write an ADR. Decide, move on.

Decide home + naming once

Pick a storage convention before the first record, and never spawn a competing second log. Default to the project's existing convention if one exists.

Naming schoolLooks likeUse when
Numeric-prefix (adr-tools / MADR)0007-choose-postgres.mdYou need stable IDs to cross-reference for supersession — the default
Imperative verb-nounchoose-database.mdTiny log, no supersession expected, humans browse by topic

Prefer numeric-prefix: NNNN-title-with-dashes.md. Stable IDs are what make "Superseded by ADR-0012" mean something.

Where to store (first match wins):

  1. The project's existing convention — never invent a parallel log.
  2. A code repo with no convention: docs/adr/ (also seen as doc/adr/).
  3. A harness workspace: 02-DOCS/wiki/decisions/, indexed in 02-DOCS/wiki/index.md (the Knowledge map; root CLAUDE.md keeps only a short pointer).
text
Bad:  decision-final-v2-REAL.md          # no ID, no order, will rot
Bad:  notes/adr/db.md                     # buried, not in the log
Good: docs/adr/0007-choose-postgres.md    # stable ID, sorts, cross-referencable

Seed the index the moment you create the first ADR — a README row or 0000-index.md listing id, title, status, date. An ADR that isn't in the index is an orphan nobody will find.

The record spine

Map every ADR to the MADR 4.0.0 template (released 2024-09-17 — the current version). MADR ships full and minimal variants; use minimal until a section earns its place.

Required spine, in order: Title → Status → Date → Context and Problem Statement → Decision Drivers → Considered Options → Decision Outcome → Consequences. The MADR-optional sections (Confirmation, Pros and Cons of the Options, More Information) you add only when they pull weight.

Minimal skeleton — this is enough for most decisions. When the ADR lives in a harness workspace (02-DOCS/wiki/decisions/), it is part of an OKF v0.1 bundle, so it opens with YAML frontmatter carrying a non-empty type: decision (plus the OKF-recommended title/tags/ timestamp). The body keeps the human-readable - Status:/- Date: lines verbatim — they are the decision's domain record and scripts/verify.sh reads them, so the frontmatter is purely additive. Cross-references use standard markdown links, never wikilinks. (In a plain code repo under docs/adr/, the frontmatter is optional — OKF conformance only governs the wiki bundle.)

markdown
---
type: decision
title: "Choose Postgres over DynamoDB for the primary store"
tags: [adr, database, billing]
timestamp: 2026-06-02T00:00:00Z
---

# 7. Choose Postgres over DynamoDB for the primary store

- Status: accepted
- Date: 2026-06-02
- Deciders: @alice, @bob

## Context and Problem Statement

We need a primary datastore for the billing service. Relational
invoicing data, ~2k writes/min, team of 3 with deep SQL experience,
EU data-residency required. Which store do we adopt?

## Decision Drivers

- Strong relational integrity for invoices (foreign keys, transactions)
- Team SQL fluency; near-zero NoSQL operational experience
- EU residency + self-host option (constitution §data-residency)

## Considered Options

- Postgres (managed, EU region)
- DynamoDB
- MongoDB Atlas

## Decision Outcome

Chosen: **Postgres**, because it matches the relational shape of the
data and the team's existing fluency, with the lowest operational risk.

## Consequences

- Good: ACID transactions, mature tooling, team productive day one.
- Bad: we own connection-pool and vertical-scaling concerns earlier.
- Follow-up: provision read replica before launch (ADR-0009 tracks scaling).

Keep it to 1–2 pages, readable in 5–10 minutes. If a record sprawls, you're probably bundling two decisions — split them. The full annotated MADR full+minimal templates and a worked example live in references/templates.md.

Write context that forces the decision

The context section must make the decision feel inevitable. State the problem and the constraints — not the solution.

  • State the problem, not the answer. "We need to pick a store" not "We should use Postgres." The verdict belongs in Decision Outcome.
  • Quantify. "~2k writes/min", "team of 3", "EU residency", "p99 < 100ms". Numbers are what let future readers judge if your constraints still hold.
  • Cite the driver. If a constitution principle or a spec/plan fork forced this, link it. An ADR is often downstream of constitution and cites it as a driver.
markdown
Bad context:  "We decided to use Postgres because it's reliable."
              (conclusion smuggled in, no constraints, unfalsifiable)

Good context: "Billing needs relational integrity for invoices,
              ~2k writes/min, a 3-person team with SQL but no NoSQL
              ops experience, and EU data residency (constitution
              §data-residency). Which primary store do we adopt?"

Options must be real and comparable

The rejected options are the asset — they're the proof you thought, and they stop the next person re-proposing them.

  • List ≥2 genuine options. A single foregone "option" is theatre. If there was really only one path, you don't need an ADR.
  • Score each against the same drivers. Apples to apples, or the comparison is meaningless.
  • Record why each loser lost. That sentence is worth more than the winner's praise.
markdown
| Option    | Relational integrity | Team fluency | EU self-host | Op. risk |
|-----------|----------------------|--------------|--------------|----------|
| Postgres  | native               | high         | yes          | low      |
| DynamoDB  | app-enforced         | none         | no (AWS)     | high     |
| Mongo     | partial              | medium       | yes          | medium   |
Show full SKILL.md (519 more words)Show less

Consequences, both directions

A one-sided ADR is marketing, and marketing erodes the trust that makes the log worth reading. Record:

  • What improves — the upside you bought.
  • What degrades — the price you paid, honestly.
  • New work / risk it creates — what you now own that you didn't before.
  • Follow-ups — concrete tasks, ideally linked to a tracker or a future ADR.

If you can't name a single downside, you haven't finished thinking. Every real choice has a cost.

Status lifecycle + immutability

An accepted or rejected ADR is immutable. You never edit the decision — you write a new ADR that supersedes it and flip the old one's status. This is the whole point: history stays intact.

StatusMeaningNext
proposeddrafted, under review→ accepted or rejected
acceptedadopted, in force→ deprecated or superseded
rejectedconsidered and declinedterminal (kept for the record)
deprecatedno longer relevant, not replacedterminal
superseded by ADR-NNNNreplaced by a newer decisionterminal, back-linked

The supersession ritual (never skip a step):

  1. Write the new ADR (e.g. 0012-adopt-trpc.md), status accepted, with a "Supersedes ADR-0004" note in its context.
  2. Edit only the status line of the old ADR (0004) to superseded by ADR-0012. Leave its decision and rationale untouched.
  3. Back-link both ways so a reader landing on either finds the other.

Never delete an ADR and never rewrite its decision — a wrong-in-hindsight ADR is still true history. A worked supersession pair is in references/templates.md.

Maintain the log

A decision log is only useful if it stays navigable.

  • Index every ADR at creation. One row: | 0007 | Choose Postgres | accepted | 2026-06-02 |. No orphans.
  • Keep supersession links live in both directions.
  • Review cadence. Periodically sweep accepted ADRs — anything reality has overtaken gets a superseding record, not a silent edit.
  • Index the log from the entry point — 02-DOCS/wiki/index.md — so onboarding finds it. The broader wiki and onboarding doc belong to knowledge-ops and codebase-onboarding; this skill owns only the ADRs the wiki links to. The meeting that spawned a decision routes to meeting-notes; the repeatable how-to it implies routes to sop-builder.

Anti-patterns

Anti-patternWhy it's wrongDo instead
Editing an accepted ADR's decision in placeDestroys history; future readers can't see the pathSupersede with a new ADR, flip old status
Single foregone "option"No real comparison; theatre, not a recordList ≥2 genuine options or skip the ADR
No consequences (or only upside)One-sided ADR is marketing; erodes trustRecord gains, costs, new work, follow-ups
Novella-length ADRNobody reads 8 pages; signal drowns1–2 pages; split bundled decisions
ADR for a trivial reversible choiceForced paperwork; kills the practiceApply the one test first
Re-deciding what the constitution settledDuplicates the standing ruleset, causes driftCite the constitution as a driver instead
Orphan ADR not in the indexInvisible; nobody finds itAdd the index row at creation
Context that states the answerDecision smuggled in, unfalsifiableProblem + constraints only; verdict in Outcome

Verify

Lint a produced ADR (or a whole decisions dir) with scripts/verify.sh <path>: it checks for a recognized status, a date, the required sections, ≥2 options, and a valid filename — read-only, no network. It expects the skeletons above.

© ericrisco, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references) in skills/decision-records of ericrisco/rsc-harness.

  • SKILL.md
  • evals/README.md
  • evals/cases.yaml
  • references/templates.md
  • scripts/verify.sh

Open the folder on GitHubat commit e3d5b33

Compare with similar skills

Decision Records next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Decision Records compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Decision Records this skillericrisco/rsc-harness167—~2.9kAutomated safety check: PassMIT
Meeting Insightsborghei/Claude-Skills881—~1.5kAutomated safety check: PassMIT
Decision Register Builderpnp/sharepoint-skills131—~3.4kAutomated safety check: PassMIT
Issue From NotesAxonIQ/AxonFramework3.6k—~1.1kAutomated safety check: PassApache-2.0
Harness Oia Auditruvnet/ruflo74k—~720Automated safety check: NotesMIT
Challenge Baseline ModelAgibotTech/genie_sim1.4k—~2.4kAutomated safety check: PassCustom licence

Similar skills

  • Meeting Insights

    borghei/Claude-Skills

    Analyze meeting transcripts to extract decisions, action items, owners, due dates, open questions, and risks.

    881 GitHub stars~1.5k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Decision Register Builder

    pnp/sharepoint-skills

    Analyze SharePoint project content to identify, classify, consolidate, and prepare evidence-based project decision register entries.

    131 GitHub stars~3.4k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Issue From Notes

    AxonIQ/AxonFramework

    Create well-structured GitHub issues from any source: meeting notes, transcriptions, conversation context, informal descriptions, or direct requests.

    3.6k GitHub stars~1.1k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Harness Oia Audit

    ruvnet/ruflo

    Composite Phase-2 audit worker (ADR-150). An agent skill from ruvnet/ruflo.

    74k GitHub stars~720 tokensUpdated today
    Productivity & AutomationAuto-check: notes
  • Challenge Baseline Model

    AgibotTech/genie_sim

    Provision and launch the Simulation Challenge baseline inference model end to end: clone the inference code from a given git repo/branch, download the checkpoints from ModelScope into the repo's…

    1.4k GitHub stars~2.4k tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed
  • Guide technical communication for software developers. An agent skill from pedronauck/skills.

    634 GitHub starsUsed in 3 repos~2.3k tokens
    Productivity & AutomationAuto-check passed

More from ericrisco/rsc-harness

All 227 skills in this repo
  • Ab Testing

    ericrisco/rsc-harness

    A skill your agent uses when designing or analyzing a controlled experiment — falsifiable hypothesis, sample size from an MDE, reading significance/CI/power, CUPED, or rescuing tests that won't go…

    167 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Accessibility

    ericrisco/rsc-harness

    A skill your agent uses when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast…

    167 GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • Ads

    ericrisco/rsc-harness

    A skill your agent uses when running or fixing paid acquisition on Google or Meta — campaign structure (Performance Max, Demand Gen, Search, Advantage+), platform-fit creative, budget/scaling rules…

    167 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Agent Eval

    ericrisco/rsc-harness

    A skill your agent uses when measuring whether an LLM or agent system actually got better and gating merges on it: golden sets, fixing an inflated LLM-as-judge, scoring RAG (faithfulness, contextual…

    167 GitHub stars~3.2k tokensUpdated today
    Auto-check passed
  • AI Media

    ericrisco/rsc-harness

    A skill your agent uses when a creative goal must become a finished media file: pick and order generative-media models per modality — AI voiceover, image-to-video clips, score — then glue them with…

    167 GitHub stars~3.3k tokensUpdated today
    Auto-check passed
  • Analytics

    ericrisco/rsc-harness

    A skill your agent uses when instrumenting product or web analytics — GA4/PostHog SDK wiring, event taxonomy, funnels, double-counted events, consent gating, PII scrubbing.

    167 GitHub stars~2.8k tokensUpdated today
    Auto-check passed

Questions about Decision Records

What does Decision Records do?

A skill your agent uses when a hard-to-reverse choice (database, framework, vendor, auth model) must be frozen as an immutable numbered ADR — the context that forced it, the options weighed, the…. Decision Records is an agent skill from ericrisco/rsc-harness. Use when a hard-to-reverse choice (database, framework, vendor, auth model) must be frozen as an immutable numbered ADR — the context that forced it, the options weighed, the decision, consequences both ways — or superseded without erasing history.

When should I use Decision Records?

Decision Records fits situations like: A hard-to-reverse choice (database; auth model) must be frozen as an immutable numbered ADR — the context that forced it; the options weighed; consequences both ways —.

How do I install Decision Records in Claude Code?

Run `npx skills add ericrisco/rsc-harness --skill decision-records -a claude-code`. Or copy the skill folder (skills/decision-records in ericrisco/rsc-harness) into .claude/skills/decision-records in your project. Claude Code loads it when a task matches its description.

How do I install Decision Records in Codex?

Run `npx skills add ericrisco/rsc-harness --skill decision-records -a codex`. Or copy the skill folder (skills/decision-records in ericrisco/rsc-harness) into .agents/skills/decision-records in your project. Codex loads it when a task matches its description.

Can I use Decision Records in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ericrisco/rsc-harness --skill decision-records -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/decision-records, .gemini/skills/decision-records, .github/skills/decision-records and .opencode/skills/decision-records in your project.

What does Decision Records need to run?

Going by SKILL.md and its folder, Decision Records needs a shell for the scripts in its folder. Our summary lists: A Bash shell.

Does Decision Records access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Decision Records safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Decision Records use?

Decision Records is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Decision Records use?

About 2.9k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2k tokens, read only when the agent opens those files.

What are the alternatives to Decision Records?

Skills that share tags, products or a category with Decision Records: Meeting Insights (borghei/Claude-Skills, 881 stars), Decision Register Builder (pnp/sharepoint-skills, 131 stars), Issue From Notes (AxonIQ/AxonFramework, 3.6k stars) and Harness Oia Audit (ruvnet/ruflo, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Decision Records?

ericrisco (a GitHub user) maintains it in ericrisco/rsc-harness, which has 167 GitHub stars. The repository holds 227 skills in this directory. The repository was last updated on October 7, 2026.

Source: ericrisco/rsc-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.