record-decision

record-decision is a skill for Claude Code from thettwe/nyann. It costs 159 tokens per session (1,115 once invoked), scanned A, original, MIT.

A tool for recording an Architecture Decision Record (ADR), a short document explaining an important technical choice and its reasoning. It creates the next numbered ADR using the MADR format.

In plain words
What is it for?
Use it to document decisions such as choosing a database, package manager, or system design approach.
Why use it?
It keeps significant design decisions in a consistent, searchable place instead of leaving them only in conversations or memory.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Part of the nyann plugin — 41 skills, 41 commands, 3 hooks shipped together

Good fit Use it to document decisions such as choosing a database, package manager, or system design approach.

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

Made for: Claude Code.

Or install nyann, the plugin that ships this one along with the rest of its 41 skills, 41 commands, 3 hooks.

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 record-decision

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/thettwe/nyann/record-decision"><img src="https://agentmods.dev/badge/skills/thettwe/nyann/record-decision.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,115 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.00159 $0.01115
Opus 5.5 $0.00064 $0.00446
Sonnet 5.5 $0.00032 $0.00223
Haiku 4.5 $0.00016 $0.00112

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

Security

Grade A, and why

record-decision 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 1mo 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.

skills/record-decision/SKILL.md · 118 lines

How it starts

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

record-decision

Wraps bin/record-decision.sh. Creates one ADR file per invocation under docs/decisions/ (or the profile's configured location). Only MADR format is supported in v1.

1. Collect inputs from the user

  • --title (required). Short, imperative headline: "Use Postgres for the primary datastore", "Adopt pnpm over npm". If the user's phrasing is long and prose-y ("I think we should probably go with Postgres because…"), propose a crisp title and confirm.

  • --status. proposed (default) when the decision is still up for review; accepted when the user says "we've already decided" or similar. Never default to accepted silently — when unclear, you MUST call the AskUserQuestion tool (not plain text):

    {
      "questions": [
        {
          "question": "What is the status of this decision?",
          "header": "Status",
          "multiSelect": false,
          "options": [
            { "label": "Proposed (Default)", "description": "Decision is open for review" },
            { "label": "Accepted", "description": "Decision has already been agreed upon" }
          ]
        }
      ]
    }
    
  • --dir. Default docs/decisions. Override when the repo uses a different location (check the profile's documentation.scaffold_types if uncertain).

  • --slug — derived from the title. Review the auto-derived slug with the user when the title contains non-ASCII or unusual punctuation.

2. Check for existing scaffolding

record-decision creates the directory if missing, but doesn't scaffold a README.md or ADR-000. If the directory is empty (no prior ADRs), mention that bootstrap-project scaffolds an introductory ADR-000 and offer to run it first — but proceed with the new ADR either way if the user insists.

3. Dry-run first when the title is non-obvious

Run bin/record-decision.sh --dry-run and read back:

  • The target path (which ADR number it'll land at).
  • The derived slug.

Confirm before the real run. Single-line "record that we chose X" phrasings can skip confirmation when the title is already explicit.

Read the full file on GitHub · 118 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. 1mo ago First seen · 118 lines · 159 tokens per session scan A ce0ba1065c3f

Subscribe to this mod's changes

record-decision is a skill published in the GitHub repository thettwe/nyann (7 stars, last pushed 6d ago), licensed MIT. It adds 159 tokens to every session and 1,115 once invoked, about $0.0006 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-09-03.

Related

Other skills, from other repositories

daily-working

End-to-end pipeline: pull a task from the project's task tracker by ID (Redmine or GitHub Issues today, more addable via a new adapter), sanity-check and impact-assess it against the codebase before touching anything, implement it with the Claude CLI, verify the result in a real browser via the Claude Chrome extension…

tms-tungnguyen3/daily_working · 98 tokens

sxo

Search Experience Optimization (SXO), the bridge between SEO and UX/CRO. Audits the journey from the SERP click to the on-page goal: click-through factors (title, meta, rich results), then post-click signals that keep users and drive conversions: above-the-fold relevance and intent match, page speed / Core Web Vitals…

nowork-studio/notfair-plugin · 211 tokens

meta-tags-optimizer

Optimize title tags, meta descriptions, Open Graph, and Twitter cards for maximum click-through rate. Generates multiple A/B test variations with character counting and SERP preview. Use when asked to "optimize title tag", "write meta description", "improve CTR", "Open Graph tags", "fix my meta tags", "social media…

nowork-studio/notfair-plugin · 91 tokens

critical-code-reviewer

Rigorously review code or pull requests for correctness, security, accessibility, maintainability, tests, and edge cases. Use when users request a critical code review, want a guided walkthrough of findings, need implementer-facing feedback, or want to prepare, create, or submit a GitHub pull request review.

posit-dev/skills · 67 tokens

shiny-bslib

Build modern Shiny dashboards and applications using bslib (Bootstrap 5). Use when creating new Shiny apps, modernizing legacy apps (fluidPage, fluidRow/column, tabsetPanel, wellPanel, shinythemes), or working with bslib page layouts, grid systems, cards, value boxes, navigation, sidebars, filling layouts, theming…

posit-dev/skills · 107 tokens

tidewave-integration

Tidewave MCP runtime tools — debugging, smoke testing, live state inspection, SQL queries, hex docs. Use when evaluating code in a running Phoenix app.

oliver-kriska/claude-elixir-phoenix · 38 tokens