openspec-superpowers

openspec-superpowers is a skill for Claude Code, Codex from kxdds/sdd-tdd. It costs 45 tokens per session (1,801 once invoked), scanned A, original, MIT.

A bridge connecting OpenSpec's specification workflow with Superpowers' test-driven development skills. Test-driven development (TDD) means writing tests as part of planning and implementation, often before the code.

In plain words
What is it for?
Planning, running, verifying, and archiving OpenSpec changes from an initial proposal through implementation and tests.
Why use it?
It keeps requirements, implementation plans, execution, checks, and completed changes connected in one process.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/kxdds/sdd-tdd/openspec-superpowers
Any agent
npx skills add kxdds/sdd-tdd --skill openspec-superpowers
Clone the repo
git clone --depth 1 https://github.com/kxdds/sdd-tdd

Made for: Claude Code, Codex.

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 openspec-superpowers

README.md
[![agentmods](https://agentmods.dev/badge/skills/kxdds/sdd-tdd/openspec-superpowers.svg)](https://agentmods.dev/skills/kxdds/sdd-tdd/openspec-superpowers)
Your own site
<a href="https://agentmods.dev/skills/kxdds/sdd-tdd/openspec-superpowers"><img src="https://agentmods.dev/badge/skills/kxdds/sdd-tdd/openspec-superpowers.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,801 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00045 $0.01801
Opus 5 $0.00023 $0.00901
Sonnet 5 $0.00009 $0.00360
Haiku 4.5 $0.00005 $0.00180

Measured 5d ago against content hash 61f03363283a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

openspec-superpowers 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 5d 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.

skills/openspec-superpowers/SKILL.md · 165 lines

How it starts

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

OpenSpec <-> Superpowers Bridge

This skill orchestrates the SDD-TDD workflow by connecting OpenSpec's artifact pipeline to Superpowers' execution skills. It supports four modes: plan, run, verify, and archive.


Mode: plan

Purpose: Create implementation-plan.md from the sdd-tdd schema template.

Skill dependency: superpowers:writing-plans

Instructions

  1. Read the current change's tasks.md via openspec instructions implementation-plan --change <change>.
  2. Activate the superpowers:writing-plans skill.
  3. Investigate the codebase before writing anything. Read the modules the change touches, confirm build/test/lint commands, note conventions (naming, base classes, route prefixes, DTO patterns) and missing prerequisites (dependencies, config). Record these under "Key facts for implementers" in the plan. A plan written without reading the code is fiction.
  4. Generate implementation-plan.md in the change directory, following the schema template structure exactly -- including its embedded generation rules.
  5. Map every unchecked OpenSpec task ID from tasks.md to exactly one plan step. If any task is unmapped, the plan is incomplete -- do not proceed.
  6. Do NOT check off tasks.md checkboxes during planning. Task completion happens only in run mode.

Quality bar (from superpowers:writing-plans)

The plan must be executable by an engineer with zero context for this codebase who cannot ask questions. Concretely, every step contains:

  • Complete, copy-pasteable code -- the actual test and the actual implementation, with imports. Never a description of code.
  • Exact file paths from the repo root, marked (create) or (modify).
  • Exact commands with expected output -- the RED command with the exact expected failure (assertion message or error type), the GREEN command expecting pass, and a commit command.

Anti-patterns that mean the step must be rewritten, not patched:

  • Prose standing in for code: "add validation logic", "wire up the controller", "handle the error case"
  • Placeholders: // TODO, // implement here, ..., "similar to Step N"
  • Commands without expected outcomes: "run the tests" with no stated failure/pass criteria

Read the full file on GitHub · 165 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. 5d ago First seen · 165 lines · 45 tokens per session scan A 61f03363283a

Subscribe to this mod's changes

openspec-superpowers is a skill published in the GitHub repository kxdds/sdd-tdd (1 stars, last pushed 1mo ago), licensed MIT. It adds 45 tokens to every session and 1,801 once invoked, about $0.0002 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.