adr-plan

adr-plan is a skill for Claude Code from NikiforovAll/claude-code-rules. It costs 16 tokens per session (621 once invoked), scanned A, original, Apache-2.0.

A planning command that analyzes a task and writes an Architecture Decision Record with implementation steps. An Architecture Decision Record is a document that records a technical choice, its reasons, and the alternatives considered.

In plain words
What is it for?
Use it when a task requires an architectural decision, such as choosing between approaches or changing shared code and its users.
Why use it?
It creates a lasting explanation of an important design choice instead of leaving the reasoning only in a conversation. It also maps affected code and possible alternatives before implementation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the handbook-team-stack plugin — 2 skills shipped together

Good fit Use it when a task requires an architectural decision, such as choosing between approaches or changing shared code and its users.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nikiforovall/claude-code-rules/adr-plan
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 NikiforovAll/claude-code-rules --skill adr-plan
Clone the repo
git clone --depth 1 https://github.com/NikiforovAll/claude-code-rules

Made for: Claude Code.

Or install handbook-team-stack, the plugin that ships this one along with the rest of its 2 skills.

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 adr-plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/nikiforovall/claude-code-rules/adr-plan/github.svg)](https://agentmods.dev/skills/nikiforovall/claude-code-rules/adr-plan)
Your own site
<a href="https://agentmods.dev/skills/nikiforovall/claude-code-rules/adr-plan"><img src="https://agentmods.dev/badge/skills/nikiforovall/claude-code-rules/adr-plan/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 adr-plan

Your own site · 80×15
<a href="https://agentmods.dev/skills/nikiforovall/claude-code-rules/adr-plan"><img src="https://agentmods.dev/badge/skills/nikiforovall/claude-code-rules/adr-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 621 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.00016 $0.00621
Opus 5.5 $0.00006 $0.00248
Sonnet 5.5 $0.00003 $0.00124
Haiku 4.5 $0.00002 $0.00062

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

Security

Grade A, and why

adr-plan 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 2mo 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.

plugins/handbook-team-stack/skills/adr-plan/SKILL.md · 87 lines

How it starts

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

ADR Plan: Task Analysis → Architecture Decision Record

Analyze a task, explore the codebase, and produce an ADR with concrete implementation steps.

Phase 1: Analyze

  1. Read the task description, active plan, or task list
  2. Explore affected areas of the codebase — do it concurrently for independent modules
  3. Map blast radius — search for consumers of functions/types/routes being changed
  4. Identify alternatives worth considering (at least 2)

Do this silently.

Phase 2: Detect ADR Setup

Check if the project has an ADR directory:

ls docs/adr/ || ls adr/ || ls doc/adr/
  • Found → use existing directory, detect next number from existing files
  • Not found → run npx adr init en, then proceed

Phase 3: Produce ADR Content

Write the ADR using npx adr new "<title>", then edit the generated file with the following structure:

# ADR-NNNN: [Title]

## Status
Proposed

## Context
[What problem are we solving? What constraints exist?]

## Decision
[What we chose and why]

## Alternatives Considered
| Option | Pros | Cons |
|--------|------|------|
| ... | ... | ... |

## Implementation Steps

### Step 1: [Description]
- **Files:** [files to create/modify]
- **Depends on:** [previous step or "none"]
- **Done when:** [concrete acceptance criteria]

### Step 2: [Description]
...

## Consequences
- [Positive and negative outcomes, tradeoffs accepted]

Guidelines

  • Steps are ordered by dependency — each step lists what it depends on
  • Steps are parallelizable when independent — note which steps can run concurrently
  • Each step has concrete "done when" criteria — no vague outcomes
  • Alternatives table is honest — include the option you chose and why others lost
  • Keep it short. 1-2 pages max. No padding.

Phase 4: Present to User

Show the ADR content and the file path. The user may:

  • Approve → ADR stays as-is
  • Adjust → edit and re-present
  • Cancel → delete the file

Important

  • The ADR is a planning artifact, not documentation for posterity
  • Steps should map naturally to work units (a team member could own one or more steps)
  • If the task is too simple for an ADR (single file, obvious fix), say so and skip
  • Do not write implementation code — this is planning only

Read the full file on GitHub · 87 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. 2mo ago First seen · 87 lines · 16 tokens per session scan A 3d4fa365e9a3

Subscribe to this mod's changes

adr-plan is a skill published in the GitHub repository NikiforovAll/claude-code-rules (143 stars, last pushed 28d ago), licensed Apache-2.0. It adds 16 tokens to every session and 621 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-09-21.

Related

adr-plan compared with skills from other repositories

adr-plan next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adr-planNikiforovAll/claude-code-rulesSkill14328d agoApache-2.0A16Claude Code
review-prjontsai/claude-pluginsSkill61mo agoMITA139Claude Code
researcherjontsai/claude-pluginsSkill61mo agoMITA68Claude Code
mem-rescuejontsai/claude-pluginsSkill61mo agoMITA143Claude Code
svg-masterylukaskellerstein/claude-my-marketplaceSkill311d agononeA276Claude Code
demo-graphicslukaskellerstein/claude-my-marketplaceSkill311d agononeA171Claude Code
demo-videolukaskellerstein/claude-my-marketplaceSkill311d agononeA144Claude Code