adr-draft

adr-draft is a skill for Claude Code, Codex from actual-software/actual-skill. It costs 211 tokens per session (4,651 once invoked), scanned A, original, Apache-2.0.

A guided tool for creating, changing, or deleting one Architecture Decision Record, or ADR. An ADR is a document that records a technical choice and the reason for it.

In plain words
What is it for?
Use it when the project has a new technical decision, an observation that should become a rule, or an old decision that must be updated or removed.
Why use it?
It separates drafting from approval, so a decision is not written or changed before the person agrees. It can store decisions in repository files or in Actual AI, depending on the setup.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Part of the actual-cli plugin — 3 skills, 1 command, 7 hooks shipped together

Good fit Use it when the project has a new technical decision, an observation that should become a rule, or an old decision that must be updated or removed.

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

Made for: Claude Code, Codex.

Or install actual-cli, the plugin that ships this one along with the rest of its 3 skills, 1 command, 7 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 adr-draft

README.md
[![agentmods](https://agentmods.dev/badge/skills/actual-software/actual-skill/adr-draft/github.svg)](https://agentmods.dev/skills/actual-software/actual-skill/adr-draft)
Your own site
<a href="https://agentmods.dev/skills/actual-software/actual-skill/adr-draft"><img src="https://agentmods.dev/badge/skills/actual-software/actual-skill/adr-draft/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-draft

Your own site · 80×15
<a href="https://agentmods.dev/skills/actual-software/actual-skill/adr-draft"><img src="https://agentmods.dev/badge/skills/actual-software/actual-skill/adr-draft.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 211 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,651 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.00211 $0.04651
Opus 5.5 $0.00084 $0.01860
Sonnet 5.5 $0.00042 $0.00930
Haiku 4.5 $0.00021 $0.00465

Measured today against content hash 8d6adfa3d472, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

adr-draft 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 today.

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/adr-draft/SKILL.md · 256 lines

How it starts

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

Draft an ADR

Create, change or remove one ADR with actual adr create, update or delete. Where an ADR lives depends on the sign-in. Signed out, it's an accepted decision doc in docs/adr/ with the rule file that plan-check and impl-check read in .actual/rules/, so the checks enforce it at once. Signed in, it's a decision in Actual AI, where drafts and publishing live, and no file goes into docs/adr/. Draft only what warrants an ADR, and change nothing the person didn't agree to.

Check the CLI

command -v actual && actual --version
  • No actual on PATH. Offer to install it (npm install -g @actualai/actual, or brew install actual-software/actual/actual) with an interactive question tool such as AskUserQuestion, and wait for the answer before going on.
  • A version below 0.17.0. From 0.17.0, create, update and delete work on docs/adr/ signed out. In 0.14.0 through 0.16.0 they need a sign-in, and an older CLI answers actual adr with unrecognized subcommand 'adr' and suggests adr-bot, a different command that writes agent guidance files. Offer the upgrade the same way: npm install -g @actualai/actual@latest or brew upgrade actual-software/actual/actual.

Without actual 0.17.0 or later you can still draft an ADR and show it, but don't create, change or remove one: only the CLI writes them in the layout the checks read.

What the person wants

Read the request as one of three:

  • Create. An intent, a decision the person made or wants ("services reach the database through the repository layer", "we retry webhooks with backoff"), or an observation about the code, theirs or your own, such as a way of doing something the code follows throughout or a choice the work in this session settled.
  • Update. A change to an ADR the repository has: its title, its context, a policy or its level, or the paths it covers.
  • Delete. Removing one.

This skill handles one ADR at a time. When the request holds several decisions, draft the one it centres on and name the others, which the person can draft next. To survey a repository, its recent commits or this session for several decisions, use the adr-bootstrap skill.

Read the full file on GitHub · 256 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed 8d6adfa3d472
  2. 5d ago Changed 903ecff5ca3e
  3. 6d ago First seen · 256 lines · 211 tokens per session scan A 21e834d7a041

Subscribe to this mod's changes

adr-draft is a skill published in the GitHub repository actual-software/actual-skill (9 stars, last pushed today), licensed Apache-2.0. It adds 211 tokens to every session and 4,651 once invoked, about $0.0008 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-11-24.

Related

adr-draft compared with skills from other repositories

adr-draft next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adr-draftactual-software/actual-skillSkill9todayApache-2.0A211Claude Code, Codex
decision-backfillmbeacom/adrkitSkill262d agoApache-2.0A46Claude Code
decision-memorymbeacom/adrkitSkill262d agoApache-2.0A71Claude Code
civitai-comfycivitai/civitai-gen-skillSkill196d agoMITA125Claude Code, Codex
browser-relayreliefeai/browser-relaySkill1382mo agoMITA52Claude Code
historyay-bh/chat-historySkill1517d agoMITA92Claude Code, Codex
hyalo-skillsractive/hyaloSkill312d agoMITA26Codex