aws-spec

aws-spec is a command for Claude Code from odere-pro/claude-aws-architect. It costs 53 tokens per session (967 once invoked), scanned A, original, MIT.

A command-line checker for feature specifications stored in .claude/specs/. These specifications describe requirements, design, implementation tasks, interfaces, and diagrams.

In plain words
What is it for?
Use it to list features, inspect a feature's specification files, or validate its requirements, design, tasks, contracts, and diagrams.
Why use it?
It helps catch incomplete, inconsistent, or unsupported specifications before development begins. It can also show which specification documents exist and what remains open.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claude-aws-architect plugin — 15 skills, 4 commands, 5 agents, 6 MCP servers shipped together

Good fit Use it to list features, inspect a feature's specification files, or validate its requirements, design, tasks, contracts, and diagrams.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add odere-pro/claude-aws-architect
Claude Code
/plugin install claude-aws-architect

Made for: Claude Code.

Or install claude-aws-architect, the plugin that ships this one along with the rest of its 15 skills, 4 commands, 5 agents, 6 MCP servers.

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 aws-spec

README.md
[![agentmods](https://agentmods.dev/badge/commands/odere-pro/claude-aws-architect/aws-spec.svg)](https://agentmods.dev/commands/odere-pro/claude-aws-architect/aws-spec)
Your own site
<a href="https://agentmods.dev/commands/odere-pro/claude-aws-architect/aws-spec"><img src="https://agentmods.dev/badge/commands/odere-pro/claude-aws-architect/aws-spec.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 967 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.00053 $0.00967
Opus 5 $0.00026 $0.00483
Sonnet 5 $0.00011 $0.00193
Haiku 4.5 $0.00005 $0.00097

Measured 7d ago against content hash 62272818d801, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

aws-spec 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 7d 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.

commands/aws-spec.md · 70 lines

How it starts

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

You are running the claude-aws-architect spec validator against a per-feature spec folder.

Inputs

  • Arguments: $ARGUMENTS
  • Spec root: .claude/specs/
  • Plugin root: ${CLAUDE_PLUGIN_ROOT} (provides tests/gates/run-all.sh and tests/run-transcripts.sh).

Modes

The first argument is one of:

  • --list — list every feature folder under .claude/specs/ with the status pulled from each requirements.md frontmatter.
  • --show <feature> — print the artefact inventory for one feature: which of requirements.md, design.md, tasks.md, contracts/<slug>.md, and diagrams.d2 exist; the status of each spec doc; the citation count per artefact; the open-question count.
  • --validate <feature> — run the deterministic and runtime gates that apply to the feature folder.

If the first argument is a feature slug with no flag, default to --show.

Validate mode — actions

When --validate is passed:

  1. Frontmatter and citation gates. For each of requirements.md, design.md, tasks.md under .claude/specs/<feature>/, verify the spec-frontmatter rule: required keys (feature, created, updated, status, grounded-by), grounded-by minimum count (≥1 on requirements.md), status values from the closed set (draft | review | accepted | implemented), and inline <server>:<short-key> citations resolving to entries in .grounding-ledger.json.
  2. Component-contract gates. For every component named in design.md, verify a matching contracts/<slug>.md exists; the component-contract rule's required frontmatter (component, kind, version, status, talks-to, grounded-by) and seven canonical body sections (Purpose, Interface, Sequence, Component view, Acceptance criteria, Observability, Integration points) are present and in order; the observability triple records a concrete metric, log, and trace; integration links resolve to sibling slugs.
  3. Diagram gates. Verify diagrams.d2 carries every required layer tag (c4-l1, c4-l2, one c4-l3-<container> per L2 container, seq-system, seq-component, seq-error). Verify no untagged top-level nodes; no orphan nodes.
  4. Plugin gates. Run ${CLAUDE_PLUGIN_ROOT}/tests/gates/run-all.sh and report PASS/WARN/FAIL per gate.
  5. Transcript-replay schema gates. Run ${CLAUDE_PLUGIN_ROOT}/tests/run-transcripts.sh (validate-only) so the per-feature run does not regress the harness contract.

Read the full file on GitHub · 70 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. 7d ago First seen · 70 lines · 53 tokens per session scan A 62272818d801

Subscribe to this mod's changes

aws-spec is a command published in the GitHub repository odere-pro/claude-aws-architect (1 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 967 once invoked, about $0.0003 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.