nyann:record-decision

nyann:record-decision is a command for Claude Code from thettwe/nyann. It costs 28 tokens per session (376 once invoked), scanned A, original, MIT.

A command that creates a numbered Architecture Decision Record in Markdown using the MADR format. An ADR is a short document that records an important technical choice and its reasoning.

In plain words
What is it for?
Use it to add the next decision document to a project’s decisions folder.
Why use it?
It keeps decisions in a predictable, numbered location and avoids accidentally reusing an existing number. It leaves the decision details for the user to write.

Command for Claude Code

Written for Claude Code: arguments in frontmatter. Also seen: mentions Claude Code.

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

Good fit Use it to add the next decision document to a project’s decisions folder.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/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.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/thettwe/nyann/record-decision"><img src="https://agentmods.dev/badge/commands/thettwe/nyann/record-decision.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 376 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.00028 $0.00376
Opus 5.5 $0.00011 $0.00150
Sonnet 5.5 $0.00006 $0.00075
Haiku 4.5 $0.00003 $0.00038

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

Security

Grade A, and why

nyann: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 3mo 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.

commands/record-decision.md · 38 lines

What it actually says

Plugin root: This is a Claude Code plugin, NOT a CLI tool. Do NOT search via which, npm list, pip list, or brew list. This file is at <plugin_root>/commands/. All scripts: <plugin_root>/bin/. Read the matching skills/*/SKILL.md for the full flow.

/nyann:record-decision

Wraps bin/record-decision.sh. Flow:

  1. Scan <dir> for existing ADR-NNN-*.md files; pick N+1.
  2. Render templates/docs/decisions/ADR-template.md with number/title/status/date.
  3. Write <dir>/ADR-NNN-<slug>.md (fails if path exists — pick a different slug).

Only MADR format supported in v1. See skills/record-decision/SKILL.md for the full confirmation flow and "don't auto-fill the body" guidance.

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. 3mo ago First seen · 38 lines · 28 tokens per session scan A 1dc7b57bbfdb

Subscribe to this mod's changes

nyann:record-decision is a command published in the GitHub repository thettwe/nyann (7 stars, last pushed 23d ago), licensed MIT. It adds 28 tokens to every session and 376 once invoked, about $0.0001 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

nyann:record-decision compared with commands from other repositories

nyann:record-decision next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nyann:record-decisionthettwe/nyannCommand723d agoMITA28Claude Code
psql-queryoliver-kriska/claude-elixir-phoenixCommand579yesterdayMITA16Claude Code
genshijin-compressInterfaceX-co-jp/genshijinCommand3372d agoMITA17Claude Code
treeAutomateLab-tech/agency-osCommand41mo agoMITA0Claude Code
specclownware/product-devCommand31mo agoApache-2.0A8Claude Code
ledger-commitnunoamorim99/agile-ledgerCommand11mo agoMITA18Claude Code
bugnunoamorim99/agile-ledgerCommand11mo agoMITA19Claude Code