Agent skill

Adr Writer

by oxbshw in oxbshw/LLM-Agents-Ecosystem-Handbook

A skill your agent uses when capturing an architecture decision so it survives turnover — produces an ADR-NNNN.md from context, options considered, and the chosen path.

MITAuto-check passedDevelopment

Install Adr Writer

skills CLI
$ npx skills add oxbshw/LLM-Agents-Ecosystem-Handbook --skill adr-writer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install oxbshw/LLM-Agents-Ecosystem-Handbook adr-writer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/oxbshw/LLM-Agents-Ecosystem-Handbook.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/catalog/adr-writer .claude/skills/adr-writer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
adr-writer
GitHub stars
552
Token cost
~476 tokens
SKILL.md length
180 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when capturing an architecture decision so it survives turnover — produces an ADR-NNNN.md from context, options considered, and the chosen path.

  • Works in 5 steps: Find the next ADR number (or use number… → Slugify the decision's main subject → Fill the template → …
  • Capturing an architecture decision so it survives turnover — produces an ADR-NNNN.md from context
  • SKILL.md covers When to use, When NOT to use, Inputs and Outputs, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Adr Writer is an agent skill from oxbshw/LLM-Agents-Ecosystem-Handbook. Use when capturing an architecture decision so it survives turnover — produces an ADR-NNNN.md from context, options considered, and the chosen path.

Its SKILL.md is about 480 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Architecture decision records. The repository describes itself as: One-stop handbook for building, deploying, and understanding LLM agents with 60+ skeletons, tutorials, ecosystem guides, and evaluation tools. The licence is MIT.

When your agent uses it

  • Capturing an architecture decision so it survives turnover — produces an ADR-NNNN.md from context
  • Options considered
  • The chosen path

Example prompts

  • “/adr-writer”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Find the next ADR number (or use number input)
  2. Slugify the decision's main subject
  3. Fill the template
  4. Write to memory/decisions/ADR-NNNN-.md
  5. Add a one-line entry to MEMORY.md#decisions

What it can do on your machine

Read from SKILL.md and the folder at commit 7f8ee3c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Adr Writer loads about 476 tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 180 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~476

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from oxbshw/LLM-Agents-Ecosystem-Handbook at commit 7f8ee3c, republished under its MIT licence (© oxbshw). 180 words, ~476 tokens.

Download SKILL.mdSave it as .claude/skills/adr-writer/SKILL.md (or your agent's skills folder).
name
adr-writer
description
Use when capturing an architecture decision so it survives turnover — produces an ADR-NNNN.md from context, options considered, and the chosen path.
version
0.1.0
status
experimental
risk
low
tags
design, writes-files

ADR Writer

When to use

  • A non-trivial architecture decision was just made
  • Reverse-documenting a decision that wasn't recorded but should have been
  • Preparing for a design review

When NOT to use

  • Trivial choices (naming, formatting)
  • Operational runbooks (those go to runbooks/)
  • Product decisions without architectural impact

Inputs

NameTypeRequiredNotes
contextstringyesThe problem being solved, in 2–4 sentences
optionslistyesAlternatives considered
decisionstringyesChosen path
numberintnoIf omitted, finds next ADR number from memory/decisions/

Outputs

A file at memory/decisions/ADR-NNNN-<slug>.md matching the ADR template.

Workflow

  1. Find the next ADR number (or use number input)
  2. Slugify the decision's main subject
  3. Fill the template:
    • Context, Decision, Alternatives, Consequences (positive + negative)
    • Status: accepted (default), proposed, superseded by ADR-XXXX
  4. Write to memory/decisions/ADR-NNNN-<slug>.md
  5. Add a one-line entry to MEMORY.md#decisions

References

Success criteria

  • Each alternative has a one-line "why not"
  • Consequences include at least one negative
  • File name matches ADR-\d{4}-[a-z0-9-]+\.md

Failure modes

  • Decision is actually a bundle of decisions → split into multiple ADRs
  • Context is unclear → ask user for clarification, don't fabricate

© oxbshw, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/catalog/adr-writer of oxbshw/LLM-Agents-Ecosystem-Handbook.

Open the folder on GitHubat commit 7f8ee3c

Compare with similar skills

Adr Writer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Adr Writer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Adr Writer this skilloxbshw/LLM-Agents-Ecosystem-Handbook552—~476Automated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT
Cto AdvisorIbrahim-3d/orchestrator-supaconductor3814 repos~2.4kAutomated safety check: PassMIT
Architecture DecisionDonchitos/Claude-Code-Game-Studios26k—~1.7kAutomated safety check: PassMIT
Improve Codebase Architectureywwynm/EverythingDone14415 repos~1.3kAutomated safety check: PassGPL-3.0
Domain Modelingbrim-borium/spotify_sdk1665 repos~806Automated safety check: PassApache-2.0

Similar skills

  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Cto Advisor

    Ibrahim-3d/orchestrator-supaconductor

    Technical leadership guidance for engineering teams, architecture decisions, and technology strategy.

    381 GitHub starsUsed in 4 repos~2.4k tokens
    DevelopmentAuto-check passed
  • Architecture Decision

    Donchitos/Claude-Code-Game-Studios

    Create an ADR documenting a technical decision: context, alternatives considered, consequences.

    26k GitHub stars~1.7k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Improve Codebase Architecture

    ywwynm/EverythingDone

    Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/.

    144 GitHub starsUsed in 15 repos~1.3k tokens
    DevelopmentAuto-check passed
  • Domain Modeling

    brim-borium/spotify_sdk

    Build and sharpen a project's domain model. An agent skill from brim-borium/spotify_sdk.

    166 GitHub starsUsed in 5 repos~806 tokens
    DevelopmentAuto-check passed
  • Design Doc Mermaid

    SpillwaveSolutions/design-doc-mermaid

    Create Mermaid diagrams (flowchart, sequence, class, ER, state, C4, architecture) from text or source code.

    176 GitHub starsUsed in 1 repo~5.6k tokens
    DevelopmentAuto-check passed

More from oxbshw/LLM-Agents-Ecosystem-Handbook

  • API Design Reviewer

    oxbshw/LLM-Agents-Ecosystem-Handbook

    A skill your agent uses when reviewing a proposed REST or GraphQL API change before merge — checks contract clarity, backwards compatibility, errors, pagination, auth, and naming.

    552 GitHub stars~553 tokensUpdated 3 mo ago
    Auto-check passed
  • Dataset Profiler

    oxbshw/LLM-Agents-Ecosystem-Handbook

    A skill your agent uses when first encountering a new dataset — produces a structured profile (schema, missingness, distributions, outliers, gotchas) before any analysis.

    552 GitHub stars~492 tokensUpdated 3 mo ago
    Auto-check passed
  • PR Summarizer

    oxbshw/LLM-Agents-Ecosystem-Handbook

    A skill your agent uses when opening a PR — produces a clean PR description (what / why / how to verify / risks) from a branch diff against base.

    552 GitHub stars~441 tokensUpdated 3 mo ago
    Auto-check: notes
  • Sprint Planner

    oxbshw/LLM-Agents-Ecosystem-Handbook

    A skill your agent uses when planning the next sprint — turns ticket intake + team capacity into a planned sprint with explicit non-goals.

    552 GitHub stars~429 tokensUpdated 3 mo ago
    Auto-check passed
  • Incident Postmortem

    oxbshw/LLM-Agents-Ecosystem-Handbook

    Use after an incident is resolved — drafts a blameless postmortem from timeline notes, alerts, and chat threads.

    552 GitHub stars~461 tokensUpdated 3 mo ago
    Auto-check passed

Categories

Questions about Adr Writer

What does Adr Writer do?

A skill your agent uses when capturing an architecture decision so it survives turnover — produces an ADR-NNNN.md from context, options considered, and the chosen path. Adr Writer is an agent skill from oxbshw/LLM-Agents-Ecosystem-Handbook.md from context, options considered, and the chosen path.

When should I use Adr Writer?

Adr Writer fits situations like: capturing an architecture decision so it survives turnover — produces an ADR-NNNN.md from context; options considered; the chosen path.

How do I install Adr Writer in Claude Code?

Run `npx skills add oxbshw/LLM-Agents-Ecosystem-Handbook --skill adr-writer -a claude-code`. Or copy the skill folder (skills/catalog/adr-writer in oxbshw/LLM-Agents-Ecosystem-Handbook) into .claude/skills/adr-writer in your project. Claude Code loads it when a task matches its description.

How do I install Adr Writer in Codex?

Run `npx skills add oxbshw/LLM-Agents-Ecosystem-Handbook --skill adr-writer -a codex`. Or copy the skill folder (skills/catalog/adr-writer in oxbshw/LLM-Agents-Ecosystem-Handbook) into .agents/skills/adr-writer in your project. Codex loads it when a task matches its description.

Can I use Adr Writer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add oxbshw/LLM-Agents-Ecosystem-Handbook --skill adr-writer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/adr-writer, .gemini/skills/adr-writer, .github/skills/adr-writer and .opencode/skills/adr-writer in your project.

What does Adr Writer need to run?

SKILL.md names no scripts, command-line tools or credentials: Adr Writer is instructions for the agent only.

Does Adr Writer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Adr Writer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Adr Writer use?

Adr Writer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Adr Writer use?

About 476 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Adr Writer?

Skills that share tags, products or a category with Adr Writer: PR Design Doc (OpenHands/OpenHands, 90k stars), Cto Advisor (Ibrahim-3d/orchestrator-supaconductor, 381 stars), Architecture Decision (Donchitos/Claude-Code-Game-Studios, 26k stars) and Improve Codebase Architecture (ywwynm/EverythingDone, 144 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Adr Writer?

oxbshw (a GitHub user) maintains it in oxbshw/LLM-Agents-Ecosystem-Handbook, which has 552 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on June 30, 2026.

Source: oxbshw/LLM-Agents-Ecosystem-Handbook on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.