fastapi-adr-generator

fastapi-adr-generator is a skill for Claude Code from steph-dove/klaussy-agents. It costs 86 tokens per session (1,854 once invoked), scanned A, original, MIT.

A workflow for writing an Architecture Decision Record (ADR), a document explaining a software design choice, its context, and its consequences.

In plain words
What is it for?
Use it to create ADRs or RFCs by finding the repository's decision-record conventions and guiding the missing information.
Why use it?
It helps record why a technical decision was made while matching the repository's existing document format and numbering.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the klaussy plugin — 79 skills, 3 hooks, 1 MCP server shipped together

Good fit Use it to create ADRs or RFCs by finding the repository's decision-record conventions and guiding the missing information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/steph-dove/klaussy-agents/fastapi-adr-generator
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 steph-dove/klaussy-agents --skill fastapi-adr-generator
Clone the repo
git clone --depth 1 https://github.com/steph-dove/klaussy-agents

Made for: Claude Code.

Or install klaussy, the plugin that ships this one along with the rest of its 79 skills, 3 hooks, 1 MCP server.

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 fastapi-adr-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/steph-dove/klaussy-agents/fastapi-adr-generator/github.svg)](https://agentmods.dev/skills/steph-dove/klaussy-agents/fastapi-adr-generator)
Your own site
<a href="https://agentmods.dev/skills/steph-dove/klaussy-agents/fastapi-adr-generator"><img src="https://agentmods.dev/badge/skills/steph-dove/klaussy-agents/fastapi-adr-generator/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 fastapi-adr-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/steph-dove/klaussy-agents/fastapi-adr-generator"><img src="https://agentmods.dev/badge/skills/steph-dove/klaussy-agents/fastapi-adr-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,854 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00086 $0.01854
Opus 5 $0.00043 $0.00927
Sonnet 5 $0.00017 $0.00371
Haiku 4.5 $0.00009 $0.00185

Measured 12d ago against content hash 04bbf518877e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

fastapi-adr-generator 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 12d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

examples/fastapi/.agents/skills/fastapi-adr-generator/SKILL.md · 97 lines

How it starts

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

You are drafting an Architecture Decision Record. An ADR captures one decision: the context that forced it, the choice made, and the consequences accepted. Follow these phases.


Phase 1: Find the existing convention

Before writing anything, learn how this repo already records decisions so the new one matches.

  • Look for an ADR directory: docs/adr/, docs/decisions/, docs/architecture/decisions/, adr/, or rfcs/. Use Glob/Grep.
  • If records exist, read the two most recent. Match their template (MADR vs Nygard), heading style, status vocabulary, and filename scheme (NNNN-title.md is the common one).
  • Determine the next sequence number from the highest existing file.
  • If no ADR directory exists, default to docs/adr/ with the MADR template below and start at 0001. Tell the user you're establishing the convention.

Do not invent a second competing format when one is already in use.

Phase 2: Gather the decision

You need enough to write each section truthfully. If the user's request already supplies it, don't re-ask — proceed. Otherwise ask only for what's missing:

  • Title — the decision in a short noun phrase ("Use Postgres for the event store").
  • Context — the forces in play: the problem, constraints, and what made a decision necessary now.
  • Options considered — the alternatives and why each was or wasn't chosen.
  • Decision — the option taken.
  • Consequences — what this makes easier, what it makes harder, and any follow-up work or risk accepted.

Ground the context in the codebase where you can: cite the modules, dependencies, or git log history that motivated the decision rather than writing in the abstract.

Phase 3: Write the record

Use the repo's established template if you found one. Otherwise use this MADR-style skeleton:

# NNNN. <title>

- Status: proposed
- Date: <YYYY-MM-DD>
- Deciders: <who>

## Context and problem statement

<the forces and the problem, in a few sentences>

## Considered options

- <option 1>
- <option 2>

## Decision outcome

Chosen: **<option>**, because <justification>.

### Consequences

- Good: <what improves>
- Bad: <what we accept or take on>

## More information

<links to related ADRs, issues, or discussion>

Read the full file on GitHub · 97 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. 12d ago First seen · 97 lines · 86 tokens per session scan A 04bbf518877e

Subscribe to this mod's changes

fastapi-adr-generator is a skill published in the GitHub repository steph-dove/klaussy-agents (16 stars, last pushed 15d ago), licensed MIT. It adds 86 tokens to every session and 1,854 once invoked, about $0.0004 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-30.