generate-adrs

generate-adrs is a skill for Claude Code from traviswye/ContextAtlas. It costs 111 tokens per session (2,657 once invoked), scanned A, original, MIT.

A codebase review that finds important architectural choices and records them as Architectural Decision Records, or ADRs. ADRs are short documents explaining why a system was designed a certain way.

In plain words
What is it for?
Use it to inspect a repository and create ContextAtlas-format ADR files in its docs/adr/ directory.
Why use it?
It captures decisions that may otherwise be hard to discover later by reading source code alone.

Skill for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it to inspect a repository and create ContextAtlas-format ADR files in its docs/adr/ directory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/traviswye/contextatlas/generate-adrs
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 traviswye/ContextAtlas --skill generate-adrs
Clone the repo
git clone --depth 1 https://github.com/traviswye/ContextAtlas

Made for: Claude Code.

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 generate-adrs

README.md
[![agentmods](https://agentmods.dev/badge/skills/traviswye/contextatlas/generate-adrs/github.svg)](https://agentmods.dev/skills/traviswye/contextatlas/generate-adrs)
Your own site
<a href="https://agentmods.dev/skills/traviswye/contextatlas/generate-adrs"><img src="https://agentmods.dev/badge/skills/traviswye/contextatlas/generate-adrs/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 generate-adrs

Your own site · 80×15
<a href="https://agentmods.dev/skills/traviswye/contextatlas/generate-adrs"><img src="https://agentmods.dev/badge/skills/traviswye/contextatlas/generate-adrs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,657 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.00111 $0.02657
Opus 5 $0.00056 $0.01328
Sonnet 5 $0.00022 $0.00531
Haiku 4.5 $0.00011 $0.00266

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

Security

Grade A, and why

generate-adrs 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 9d 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.

.claude/skills/generate-adrs/SKILL.md · 260 lines

How it starts

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

generate-adrs — ContextAtlas ADR generation via Claude Code session

When to use this skill

You're running ContextAtlas ADR generation inside your Claude Code session. User invoked you via /generate-adrs slash command, OR via contextatlas project context surfacing in their session.

This is THE canonical entry point for subscription-bounded ADR generation. The contextatlas generate-adrs CLI binary uses Anthropic API direct generation (different cost model; not this skill's concern). Per ADR-02 v0.7 amendment §Decision: generation has two entry points; each entry point uses the appropriate cost model for its invocation context.

If user is asking how to generate ADRs:

  • They're working in Claude Code session right now → invoke this skill
  • They want CLI / CI/CD / scripting workflow → tell them to use contextatlas generate-adrs from terminal (uses Anthropic API direct; requires ANTHROPIC_API_KEY env var)

What this skill does

Walks the codebase, identifies non-obvious architectural decisions, and writes canonical ContextAtlas-format ADRs to docs/adr/ in the configured repo. Supports optional reference-context input (the user's existing architectural documentation in any format — Markdown ADRs, reStructuredText DEPs, Confluence exports, architectural commentary) which informs ADR generation as PROMPT INPUT (not direct extraction substrate).

The workflow has three MANDATORY phases (A → B → C). Each phase has explicit completion criteria; do not advance until the prior phase is substantively complete.

Step 1 — Load the canonical generate-adrs prompt via Read tool

Read tool against: .contextatlas/prompts/generate-adrs.md (cwd-relative).

This file is generated by contextatlas init from the canonical GENERATE_ADRS_PROMPT constant at src/generation/prompt.ts. The user repo must have run contextatlas init before invoking this skill. If the file does not exist at this path, instruct the user to run contextatlas init before retrying.

Read the full file on GitHub · 260 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. 9d ago First seen · 260 lines · 111 tokens per session scan A 692376ce33db

Subscribe to this mod's changes

generate-adrs is a skill published in the GitHub repository traviswye/ContextAtlas (7 stars, last pushed 3mo ago), licensed MIT. It adds 111 tokens to every session and 2,657 once invoked, about $0.0006 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

plan

Structured technical planning before implementation — architecture and task breakdown.

furkangonel/cowrangler · 13 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

mpm-adr

Architecture Decision Records (ADRs) — opt-in convention for documenting significant, hard-to-reverse architectural decisions using the Nygard template.

bobmatnyc/claude-mpm · 33 tokens

architecture-paradigms

Selects and routes to the right architecture paradigm. Use when choosing patterns for a new system or comparing trade-offs before making architecture decisions.

athola/claude-night-market · 33 tokens

design-first

Guides the creation of technical design documents before writing code, producing architecture diagrams, data models, API interface definitions, implementation plans, and multi-option trade-off analyses. Use when the user asks to plan a feature, architect a system, design an API, explore implementation approaches, or…

rohitg00/skillkit · 84 tokens

omm-scan

Scan codebase architecture and generate/update .omm/ documentation. Use when the user says "omm scan", "scan architecture", "update architecture", "refresh diagrams".

oh-my-mermaid/oh-my-mermaid · 37 tokens