create-adr

create-adr is a skill for Claude Code, Codex from Karthick-Ramachandran/persist-os. It costs 41 tokens per session (349 once invoked), scanned A, original, MIT.

A template and process for recording an important architecture decision in an Architecture Decision Record, or ADR. An ADR explains the context, chosen option, alternatives, consequences, and links to related project documents.

In plain words
What is it for?
Use it when deciding on architecture, dependencies, security, file-writing rules, external tool connections, or development workflows, especially when the decision needs human approval.
Why use it?
It preserves the reasoning behind decisions so future developers and coding agents do not unknowingly reverse or contradict them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when deciding on architecture, dependencies, security, file-writing rules, external tool connections, or development workflows, especially when the decision needs human approval.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/karthick-ramachandran/persist-os/create-adr
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 Karthick-Ramachandran/persist-os --skill create-adr
Clone the repo
git clone --depth 1 https://github.com/Karthick-Ramachandran/persist-os

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/karthick-ramachandran/persist-os/create-adr/github.svg)](https://agentmods.dev/skills/karthick-ramachandran/persist-os/create-adr)
Your own site
<a href="https://agentmods.dev/skills/karthick-ramachandran/persist-os/create-adr"><img src="https://agentmods.dev/badge/skills/karthick-ramachandran/persist-os/create-adr/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 create-adr

Your own site · 80×15
<a href="https://agentmods.dev/skills/karthick-ramachandran/persist-os/create-adr"><img src="https://agentmods.dev/badge/skills/karthick-ramachandran/persist-os/create-adr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 349 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.00041 $0.00349
Opus 5 $0.00020 $0.00175
Sonnet 5 $0.00008 $0.00070
Haiku 4.5 $0.00004 $0.00035

Measured 10d ago against content hash 557bc289d04c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

create-adr 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 10d 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.

.agents/skills/create-adr/SKILL.md · 57 lines

What it actually says

Skill: Create ADR

Purpose

Record durable architecture decisions so future humans and agents do not rediscover or contradict them.

Inputs

  • Decision topic.
  • Context and constraints.
  • Options considered.
  • Recommended or selected decision.

Required Reading

  • docs/10-architecture/ARCHITECTURE.md
  • docs/10-architecture/FILE_WRITE_POLICY.md
  • docs/20-security/SECURITY_MODEL.md
  • Relevant existing ADRs in docs/adrs/

Output Files

  • docs/adrs/ADR-####-<slug>.md

Process

  1. Determine whether the change needs an ADR.
  2. Find the next ADR number without reusing existing numbers.
  3. Write context, decision, alternatives, consequences, and related docs.
  4. Mark the status as Proposed unless the human has accepted the decision.
  5. Link to affected PRDs, architecture docs, feature docs, and security docs.

Stop Conditions

Stop and request human decision if:

  • The decision changes security posture, network behavior, telemetry, file writes, auth, secrets, cloud, or runtime MCP.
  • The requested decision conflicts with an accepted ADR.
  • The decision is not actually made yet and should remain a proposal.

Quality Bar

  • The ADR explains why the decision exists, not just what changed.
  • Alternatives and consequences are honest.
  • Status is clear.
  • Related documents are linked.
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. 10d ago First seen · 57 lines · 41 tokens per session scan A 557bc289d04c

Subscribe to this mod's changes

create-adr is a skill published in the GitHub repository Karthick-Ramachandran/persist-os (8 stars, last pushed 2mo ago), licensed MIT. It adds 41 tokens to every session and 349 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

actual

Feature-complete companion for the actual CLI, an ADR-powered CLAUDE.md/AGENTS.md generator. Runs and troubleshoots actual adr-bot, status, auth, config, runners, and models, plus the Actual AI platform surface: login, logout, whoami, and advisor (org-scoped architecture Q&A). Covers all 5 runners (claude-cli…

actual-software/actual-skill · 157 tokens

architecture-governance

Keep code changes conformant to a repo's real, declared architecture using ArchSteer. Use when starting work in an unfamiliar repo, before finishing/committing an architecturally significant change (new dependency, new data access, new external call, new layer), or when asked about a codebase's architecture, layers…

einvoice-dev1/archsteer · 73 tokens

work

Execute an approved wish plan — orchestrate subagents per task group with fix loops, validation, and review handoff.

automagik-dev/genie · 26 tokens

openlore-brainstorm

Transform a feature idea into an annotated story using a Domain Sketch or Constrained Option Tree. Use when asked to brainstorm, explore, or shape a feature before implementation.

clay-good/OpenLore · 40 tokens

trace

Dispatch trace subagent to investigate unknown issues — reproduces, traces, and reports root cause for fix handoff.

automagik-dev/genie · 25 tokens

preview-design

Render a real artifact through this branch's local MERIDIAN design code (not the published npm package) so the team can test the new Design Convention on the document / handoff / platform surfaces before it ships. Use for /preview-design, "preview the design convention", "render this with the new design", or Design…

egregore-labs/egregore · 71 tokens