Superpowers¶
What it is¶
Superpowers is a comprehensive software development workflow and agentic skills framework designed for next-generation coding agents like Claude Code, Cursor, and Aider. It builds on top of composable "skills" to enforce a rigorous engineering process, optimized for frontier models like Claude 5.1 and GPT-5.5 while utilizing Gemini 4.0 Pro visual reasoning and FastMCP 3.1 for complex UI tasks and agentic tool orchestration.
What problem it solves¶
It addresses the lack of discipline and engineering rigor in standard AI coding interactions by providing a structured, skills-based workflow for design, planning, and implementation. This prevents common failure modes like "hallucinating" file paths, circular refactoring, and code rot, ensuring high performance on benchmarks like SWE-bench.
Where it fits in the stack¶
Agents / Workflow Framework. It sits on top of coding agents to provide process-level guardrails and skills. It is often used in conjunction with the Desktop Commander MCP for direct filesystem and terminal control.
Typical use cases¶
- Enforcing Test-Driven Development (TDD) and plan-first development in agentic workflows.
- Breaking down complex engineering tasks into verifiable sub-tasks.
- Managing long-running autonomous coding sessions that span multiple files.
- Maintaining code quality in large, complex repositories.
- Standardizing agent behavior across a distributed engineering team.
Strengths¶
- FastMCP 3.1 Task Protocol: Native implementation of the standardized task protocol for multi-agent handoffs, state serialization, and verifiable progress across Llama 4, Gemma 3, and Qwen 3.8.
- Visual Reasoning: Integration with Gemini 4.0 Pro for automated UI/UX verification and visual regression testing.
- Process Rigor: Enforces high-quality engineering standards (TDD, YAGNI, DRY).
- Agent Autonomy: Increases reliability through explicit verification steps and self-correction loops.
- Context Handling: Optimized for Claude 5.1 and GPT-5.5 reasoning capabilities.
Limitations¶
- Higher process overhead for trivial tasks.
- Requires an agent environment that supports the skills framework or MCP.
- May require significant prompt tokens for complex planning cycles (addressed by Everything Claude Code optimizations).
- Learning curve for developers to define custom skill YAMLs.
When to use it¶
- To enforce high-quality engineering standards (TDD, YAGNI, DRY) in agent-driven development.
- When you want agents to work autonomously for extended periods (hours) without deviating from a plan.
- For complex projects that require a systematic approach to design, planning, and implementation, as described in the AI-Assisted Dev Workflow.
When not to use it¶
- For trivial code changes or simple questions.
- If you prefer an ad-hoc, conversational approach to coding without structured planning.
- In environments where agents lack terminal or filesystem access (though remote MCP can bridge this).
Getting started¶
Installation (Claude Code Plugin)¶
Superpowers is typically installed as a plugin or set of skills using the MCP 3.1 protocol:
/plugin marketplace add obra/superpowers-marketplace
/plugin install superpowers@superpowers-marketplace
Enabling Visual Reasoning¶
To enable visual verification with Gemini 4.0 Pro:
superpowers config set vision_provider gemini-4.0-pro
Creating custom skills¶
Create a simple hello_world.yaml skill file:
name: "hello_world"
description: "Prints a greeting to the console."
implementation: |
echo "Hello from Superpowers!"
Configuring Task Guardrails¶
Add a superpowers.json to your project root to enforce verification:
{
"enforce_tdd": true,
"required_reviewers": 1,
"max_subtasks": 5
}
CLI examples¶
# List all active Superpowers skills
superpowers list --active
# Initialize a new engineering plan for a task
superpowers plan "Refactor authentication logic to use JWT"
# Execute verification steps for a specific sub-task
superpowers verify --task-id 123 --file tests/auth_test.py
API examples¶
Python Task Verification (with Pydantic v2 Validation)¶
You can define custom verification schema payloads for Superpowers skill execution using FastMCP 3.1 tooling context and Pydantic v2 validation.
import sys
from typing import List, Optional
from pydantic import BaseModel, Field, field_validator
class SkillExecutionConfig(BaseModel):
skill_name: str = Field(..., description="Name of the Superpowers skill (e.g., 'verify_coverage')")
threshold_percent: int = Field(default=80, ge=0, le=100)
target_files: List[str] = Field(default_factory=list)
vision_provider: str = Field(default="gemini-4.0-pro")
@field_validator("skill_name")
@classmethod
def validate_skill_name(cls, v: str) -> str:
clean = v.strip().lower()
if not clean:
raise ValueError("skill_name cannot be empty")
return clean
class SkillVerificationResult(BaseModel):
task_id: str = Field(..., description="Unique task identifier")
passed: bool = Field(...)
coverage_achieved: float = Field(..., ge=0.0, le=100.0)
details: Optional[str] = Field(default=None)
def execute_superpowers_verification(config: SkillExecutionConfig) -> SkillVerificationResult:
# Simulated execution loop under FastMCP 3.1
print(f"Executing Superpowers skill '{config.skill_name}' on files {config.target_files}")
return SkillVerificationResult(
task_id="task-2027-auth-01",
passed=True,
coverage_achieved=88.5,
details="All tests passed under TDD guardrails with Gemini 4.0 Pro vision verification."
)
if __name__ == "__main__":
cfg = SkillExecutionConfig(
skill_name="verify_coverage",
threshold_percent=85,
target_files=["src/auth/middleware.py", "tests/test_auth.py"]
)
res = execute_superpowers_verification(cfg)
print("Verification Result (Pydantic v2 dump):", res.model_dump())
Related tools / concepts¶
- Agency-Agents
- Claude Code
- Model Context Protocol (MCP)
- Desktop Commander MCP
- Aider
- Plandex
- Mentat
- SWE-bench
Sources / references¶
- Official GitHub Repository
- Superpowers for Claude Code (Blog Post)
- Anthropic Agent Skills Specification
- awesome-skills.com
Contribution Metadata¶
- Last reviewed: 2027-01-07
- Confidence: high