speq-adr-rules

speq-adr-rules is a skill for Claude Code from marconae/speq-skill. It costs 76 tokens per session (1,458 once invoked), scanned A, original, MIT.

A set of rules for deciding when to record an Architecture Decision Record (ADR). An ADR is a durable note explaining an important technical choice and why it was made.

In plain words
What is it for?
Use it when planning or reviewing work to decide whether a decision deserves an ADR and what evidence the record should include.
Why use it?
It prevents teams from creating unnecessary decision records for routine plans, while highlighting choices that will affect future work.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it when planning or reviewing work to decide whether a decision deserves an ADR and what evidence the record should include.

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

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 speq-adr-rules

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/marconae/speq-skill/speq-adr-rules"><img src="https://agentmods.dev/badge/skills/marconae/speq-skill/speq-adr-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,458 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.00076 $0.01458
Opus 5.5 $0.00030 $0.00583
Sonnet 5.5 $0.00015 $0.00292
Haiku 4.5 $0.00008 $0.00146

Measured 3d ago against content hash 4a7cd9653956, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

speq-adr-rules 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 3d 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/speq-adr-rules/SKILL.md · 100 lines

How it starts

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

ADR Rules

An ADR is a rare record of a durable decision. Most plans produce none. This skill is the single owner of the rules. Other skills and agents cite it and do not restate it.

1. Default No

  • The expected number of Promotes to ADR: yes entries per plan is zero.
  • Set yes only when a criterion in rule 2 applies and you can name it.
  • Two or more yes entries in one plan get re-judged. Re-read each one against rule 2 and rule 3 before you keep it.
  • A plan with many Design Decisions entries or many resolved review findings does not owe an ADR for each. Most decisions are local and stay no.

2. Criteria for Yes

A decision qualifies only when at least one of these holds:

  • It affects multiple components or teams.
  • It sets a long-lived constraint that binds future work.
  • It is a major technology, API, persistence, security, or deployment choice.
  • It rejects a plausible alternative, and the reason will matter to a later reader.

The entry's Rationale names the criterion that applies and states the result of the search in rule 5.

3. Never an ADR

  • Naming, file placement, and folder layout.
  • A one-off bug fix.
  • A scope trim or a task ordering choice.
  • Implementation detail: function signatures, file paths, flags, data layout inside one module.
  • A workaround specific to one plan's own mechanics, such as a spec-merge gap or a review-loop correction.
  • A corollary of another decision. Record it as a bullet in the parent entry's Consequences line.
  • A statement that already lives in a feature spec scenario.

4. Where It Goes Instead

Content Destination
Conventions that bind contributors or agents CLAUDE.md, AGENTS.md, a .speq/*-hook.md file, or specs/mission.md Constraints
WHAT the system is: components and boundaries specs/architecture.md, changed through an architecture delta
HOW this plan builds it A phrase in the plan.md task line. Only a choice with a rejected alternative gets a decision-log.md ## Design Decisions entry with Promotes to ADR: no
Execution steps plan.md ## Implementation Tasks

Read the full file on GitHub · 100 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. 3d ago Changed · +10 tokens per session 4a7cd9653956
  2. 10d ago Changed · +14 lines 520eb1c3e76a
  3. 13d ago First seen · 86 lines · 66 tokens per session scan A 6dc35cd5dc0c

Subscribe to this mod's changes

speq-adr-rules is a skill published in the GitHub repository marconae/speq-skill (55 stars, last pushed 4d ago), licensed MIT. It adds 76 tokens to every session and 1,458 once invoked, about $0.0003 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-10-03.

Related

Other skills, from other repositories