Borrowing it
Nothing to install: this file belongs to basher83/lunar-claude. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/basher83/lunar-claude/main/.claude/commands/design-validation/adr-alternatives-analysis.mdgit clone --depth 1 https://github.com/basher83/lunar-claudeWrote 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.
[](https://agentmods.dev/commands/basher83/lunar-claude/adr-alternatives-analysis)<a href="https://agentmods.dev/commands/basher83/lunar-claude/adr-alternatives-analysis"><img src="https://agentmods.dev/badge/commands/basher83/lunar-claude/adr-alternatives-analysis/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.
<a href="https://agentmods.dev/commands/basher83/lunar-claude/adr-alternatives-analysis"><img src="https://agentmods.dev/badge/commands/basher83/lunar-claude/adr-alternatives-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01533 |
| Opus 5 | $0.00000 | $0.00766 |
| Sonnet 5 | $0.00000 | $0.00307 |
| Haiku 4.5 | $0.00000 | $0.00153 |
Grade A, and why
adr-alternatives-analysis 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.
How it starts
The opening of the file, as written. The whole thing — 310 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
Create a formal Architecture Decision Record (ADR) with rigorous alternatives analysis. This ensures architectural decisions are documented with context, alternatives considered, and rationale preserved for future reference.
Use this command when making significant architectural decisions that need to be documented and justified with evidence.
Variables
DECISION_TITLE: $1 (e.g., "API Gateway Selection", "Database Migration Strategy")
CONTEXT: $2 (file path to context doc OR brief description)
OUTPUT_DIR: docs/reviews/design-validation/adr/
FILE_NAME: adr-<decision-title-slug>.md
Instructions
- IMPORTANT: If no
DECISION_TITLEis provided, stop and ask the user to provide it. - If
CONTEXTis a file path, read it first. - Verify
OUTPUT_DIRexists, create it if it doesn't. - Save ADR to
OUTPUT_DIR/FILE_NAME. - CRITICAL: Evaluate minimum 3 alternatives, including "do nothing" and existing solutions.
- Be specific with evidence - links, benchmarks, case studies. Generic pros/cons are worthless.
Workflow
Step 1: Define Decision Context
Document:
- What decision needs to be made
- Business and technical context
- Decision drivers (requirements, constraints, forces)
Step 2: Research Alternatives
For EACH alternative (minimum 3):
- Description: What it is, technologies involved
- Examples: Real implementations, tools, or patterns
- Pros: Specific technical benefits with evidence
- Cons: Specific limitations with evidence
- Evidence: Links, benchmarks, case studies
Required alternatives:
- "Do nothing" / status quo
- At least one existing solution (OSS or commercial)
- The proposed custom approach (if any)
Step 3: Landscape Research
Summarize research across:
- Open-source solutions
- Commercial/SaaS options
- Academic/research findings
- Key insights learned
Step 4: Decision Rationale
Document:
- Why chosen approach over alternatives
- Specific trade-offs being made
- What you're NOT building (reusing instead)
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.
- 9d ago First seen · 310 lines · 0 tokens per session scan A a9da4bfb4d96
adr-alternatives-analysis is a command published in the GitHub repository basher83/lunar-claude (23 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,533 tokens. 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.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.