A comprehensive skills library of proven techniques, patterns, and workflows for AI coding assistants.
This is a fork and extension of Jesse Vincent's incredible Superpowers for Claude Code. Jesse's groundbreaking work and his amazing blog post introduced the concept of systematic, reusable skills for AI agents. This fork extends that vision to support agent-agnostic workflows across GitHub Copilot, Claude Code, OpenCode, Pi, and OpenAI Codex.
v10.0.2 (July 12, 2026):
- Claude Code skill discovery fixed —
bootstrapnow mirrors the repo's skills into~/.claude/skills(Claude ignores~/.agents/skills), gated on~/.claudeexisting, so Claude Code actually finds the bundled skills. updateis now print-only and package-manager–aware — it no longer runs a global install for you. It detects how the CLI was installed (npm/pnpm/yarn/bun/deno) and prints the exact command plusbootstrap && setup-skills.- Retired-skill cleanup extended to
~/.claude/skills— the stale-skill cleaner prunes retired skills there too, proving ownership per-link so your own skills are untouched. - Node.js versions refreshed — Node 20 (EOL) dropped, Node 26 added. Supported engines are now
^22 || ^24 || ^26.
v10.0.0 (July 12, 2026):
⚠️ Leaner bundled surface — most bundled skills were retired. The package now ships only four:brainstorming,leveraging-cli-tools,create-skill-json, andsetup-skills. Install anything else withsuperpowers-agent add.⚠️ Retired CLI commands removed — the skill discovery/execution commandsdir,execute,find-skills,get-helpers,path, anduse-skillare gone. Skills are discovered and loaded through each harness's native skill tool, not the CLI.⚠️ brainstormingdeprecated — it now announces its deprecation and redirects to thegrillingskill, handing over the same context.- Pi & OpenAI Codex supported —
superpowers-agentnow detects and targets Pi (.pi) and OpenAI Codex (.codex) alongside GitHub Copilot, Claude Code, and OpenCode — five supported harnesses. Detection works whether a harness is installed as a binary or a project folder. - RTK + ponytail integration —
setup-rtk.sh(harness-aware RTK config) andsetup-ponytail.shwire token-optimized CLI output and minimal-solution guidance into each harness.leveraging-cli-toolswas rewritten aroundrtkandponytail, with RTK Python guidance. SUPERPOWERS.mdlinked from generatedAGENTS.md,CLAUDE.md, andcopilot-instructions.md;setup-skillsdedupes the backups it creates and replaces thecopilot-instructions.mdmarker idempotently.
v9.2.1 (June 1, 2026):
- GitHub agents now reach the Copilot CLI —
addandpullnow also symlink GitHub agents (.github/agents/<name>.agent.md) into~/.copilot/agents/, alongside the existing VS Codeprompts/install, so the same agents are usable by the GitHub Copilot CLI.rmcleans up both locations. - npm-based version monitoring — the
using-superpowersskill andAGENTS.mdtemplate now check for updates by querying the npm registry (npm view @complexthings/superpowers-agent version) and comparing by semver precedence, prompting you to update only when npm is actually newer (replaces the old bundled-version-string comparison). - Smarter skill-priority guidance —
using-superpowersnow tells agents to load domain/context skills first, then process skills (brainstorming, planning, debugging, TDD), then implementation skills, so the domain skill can shape which process fits. leveraging-cli-toolsnudge broadened — the session-start context now also points agents at the skill whenever a task involves using Bash.- Template cleanup — removed
TOOLS.md.templateand the{{TOOL_MAPPINGS}}bootstrap placeholder; tool-equivalence guidance now lives inline in the refreshedAGENTS.md/SUPERPOWERS.mdtemplates.AGENTS.mdskill priority simplified to Project → Personal.
v9.1.0 (May 30, 2026):
- Session-start hooks installed by
bootstrap—bootstrapnow installs a Claude CodeSessionStarthook into~/.claude/settings.jsonand a GitHub Copilot CLIsessionStarthook at~/.copilot/hooks/superpowers.json, so the Superpowers context is injected at the start of every session. The Claude merge is idempotent and preserves your other hooks/settings. (This replaces the old Claude Code plugin hook, which has been removed.) leveraging-cli-toolsin the injected prompt — the session-start context now also tells agents to use theleveraging-cli-toolsskill for code search, parsing, file finding, refactors, and verbose output to cut token cost and latency.- New
session-contextcommand —superpowers-agent session-context [--format=claude|copilot|raw]is the single source of truth for the injected prompt, shared by the Claude hook, the Copilot hook, and the OpenCode plugin so they never drift.
v9.0.0 (May 28, 2026):
- Claude persona installation —
.claude/agents/<name>.mdpersonas now install into~/.claude/agents/viaadd/pull(previously silently skipped) ⚠️ No morepostinstall— the npmpostinstallscript was removed for supply-chain hardening. Fresh installs now require a one-time manualsuperpowers-agent bootstrap;superpowers-agent updateself-runs bootstrap thereafter⚠️ Removed Cursor, Codex & Gemini support — supported platforms are now GitHub Copilot, Claude Code, and OpenCode only. Integration modules, detection, theinstall-cursor-hookscommand, andGEMINI.mdgeneration were removed⚠️ Skills live only in~/.agents/skills— per-platform skill symlinking has been removed. A one-timeskill.json-gated cleaner runs duringbootstrapto scrub deprecated symlink directories (including legacy Cursor/Codex/Gemini) without touching agent personas- Fixed
copilot-instructions.md—setup-skillsnow correctly creates and idempotently updates.github/copilot-instructions.md bun testharness — added a Bun test runner, smoke test, andtestscript following the.agents/tests/<feature>.test.jsconvention
v8.4.0 (April 6, 2026):
superpowers-agent rmcommand — new CLI command for removing installed skills and agents from your system
v8.2.0 (March 16, 2026):
- npm registry update checking —
updateandcheck-updatesnow query the npm registry instead of the Git repo. Runnpm install -g @complexthings/superpowers-agentto update. - Version parity hook — A Husky pre-commit hook ensures
./package.jsonand.agents/package.jsonstay in sync, auto-syncing to the highest version and rebuilding the CLI on mismatch.
v8.0.0 (March 13, 2026):
- Skills-only delivery — All per-platform prompt/command files (
.opencode/command/,.cursor/commands/,.gemini/commands/,.github/prompts/,.codex/prompts/,commands/) have been removed. - Bootstrap cleanup — Bootstrap now runs a
removeLegacyPromptsstep that deletes any prompt/command files previously installed by older versions. setup-skillsis now a skill — Project initialization is delivered asskills/setup-skills/SKILL.md. Thesuperpowers-agent setup-skillsCLI command remains.- Cursor integration is symlink-only — Cursor hooks (
hooks/cursor/) have been removed. Cursor now discovers skills through its native skill tool via symlinks. - Removed skills:
writing-skills,testing-skills-with-subagents,gardening-skills-wikideleted fromskills/meta/mostly in favor of Claude's Skills 2.0skill-creatorskill. - Removed CLI commands:
install-copilot-prompts,install-cursor-commands,install-codex-prompts,install-gemini-commands,install-claude-commands,install-opencode-commands.
v7.0.5 (February 9, 2026):
- Agent Auto-Installation -
addandpullcommands now automatically detect and install agents from repositories with anagents.jsonmanifest, supporting GitHub Copilot and OpenCode platforms with extensible platform support - Agent Tracking - Installed agents are tracked in
~/.agents/config.jsonwith source repository, version, and install timestamps - Persistent Repo Storage - Git-sourced agent repositories are persisted at
~/.agents/repos/to maintain valid symlinks
v7.0.0 (February 7, 2026):
- 🔧 Bun Build System - Migrated CLI build toolchain from Node.js/npm to Bun for faster builds and simpler dependency management
- 📋 Smart Copilot Instructions -
bootstrapandupdatenow process~/.github/copilot-instructions.mdas a template, injecting theusing-superpowersskill content and supporting marker-based idempotent updates with automatic backups - 📊 Mermaid Flowcharts - Replaced DOT-format flowcharts with Mermaid syntax across 8 skills for better rendering in GitHub, VS Code, and agent contexts
Key Features:
- 🎯 Native Skill Discovery - Your AI platform discovers and loads skills directly
- 🚀 One-Line Installer -
npm install -g @complexthings/superpowers-agent - 📦 Skill Installation -
addandadd-repositorycommands for Git/local skill installation - 📝 Setup Skills -
setup-skillsinitializes projects with agent instruction files and skill symlinks
- Requirement Grilling - Interrogate a plan into a clear, reviewed design (the
grillingskill;brainstormingnow redirects here) - Efficient CLI Workflows - Search, inspect, and shape command output with less noise
- Skill Metadata - Generate consistent
skill.jsonfiles from existing skills - Skill Setup - Initialize project skill infrastructure
- Native Skill Tools - Skills are discovered and loaded by your AI platform
Plus:
- Universal Skills - Work across GitHub Copilot, Claude Code, OpenCode, Pi, and OpenAI Codex
- Automatic Integration - Skills activate automatically when relevant
- Consistent Workflows - Systematic approaches to common engineering tasks
Install Superpowers globally and run the required one-time bootstrap step:
npm install -g @complexthings/superpowers-agent
superpowers-agent bootstrapNote:
superpowers-agent bootstrapis a required one-time step after every fresh install. It is no longer run automatically by npm'spostinstallhook — you must run it manually. Subsequentsuperpowers-agent updatecalls will run bootstrap for you automatically.
rm -rf ~/.local/bin/superpowers-agent ~/.local/bin/superpowers ~/.agents/superpowers
npm install -g @complexthings/superpowers-agent
superpowers-agent bootstrapAfter installation, your AI platform can discover Superpowers skills automatically.
If your platform has no native skill tool, open the relevant SKILL.md from its configured skill directories with your file-read tool.
If you prefer manual installation or need project-specific setup, see .agents/INSTALL.md.
Learn more: Superpowers for Claude Code by Jesse Vincent
Use your AI platform's native skill tool to view available skills and load the one relevant to your task. If no native skill tool is available, inspect the configured project or personal skill directories and open the relevant SKILL.md with your file-read tool.
Priority order: Project skills → Home skills → Global Superpowers skills
This release bundles four skills:
brainstorming— deprecated; redirects to thegrillingskillleveraging-cli-toolscreate-skill-jsonsetup-skills
Superpowers supports project-level and global configuration via .agents/config.json.
Default locations:
- Prompts:
.agents/prompts/ - Plans:
.agents/plans/ - Skills:
.agents/skills/
Override globally:
// ~/.agents/config.json
{
"prompts_dir": "custom/prompts",
"plans_dir": "custom/plans",
"installLocation": "global"
}Override per-project:
// .agents/config.json (in project root)
{
"prompts_dir": ".my-prompts",
"plans_dir": ".my-plans",
"installLocation": "project"
}Priority: Project config > Global config > Defaults
Read config from CLI:
superpowers-agent config-get # prints the resolved configuration, including prompts_dir and plans_dirSuperpowers allows you to create shortcuts for frequently used skill repositories using repository aliases.
Add a repository alias:
# Automatic alias detection from skill.json
superpowers-agent add-repository https://github.com/example/skills.git
# Custom alias
superpowers-agent add-repository https://github.com/example/skills.git --as=@myskills
# Add to project config
superpowers-agent add-repository https://github.com/example/skills.git --projectUse repository aliases to install skills:
# Install all skills from repository
superpowers-agent add @myskills
# Install specific skill path
superpowers-agent add @myskills path/to/skill
# Install to project
superpowers-agent add @myskills path/to/skill --projectConfiguration format:
// ~/.agents/config.json or .agents/config.json
{
"installLocation": "global",
"repositories": {
"@myskills": "https://github.com/example/skills.git",
"@internal": "https://github.com/myorg/internal-skills.git"
}
}Repository aliases make it easy to:
- Install skills from multiple sources
- Share skill repositories across teams
- Quickly access frequently used skill collections
- Support both Git URLs and local paths
Repositories can include an agents.json manifest to automatically install AI agents alongside skills. When you run superpowers-agent add or superpowers-agent pull on a repository containing agents.json, agents are automatically symlinked to the appropriate platform directories.
agents.json format:
{
"version": "1.0.0",
"repository": "@my-agents",
"agents": {
"github": ["agent-name-1", "agent-name-2"],
"opencode": ["agent-name-1", "agent-name-2"]
}
}Supported platforms and paths:
| Platform | Source Directory | Destination |
|---|---|---|
github |
.github/agents/<name>.agent.md |
VS Code prompts/ directory and ~/.copilot/agents/ (GitHub Copilot CLI) |
opencode |
.opencode/agents/<name>.md |
~/.config/opencode/agents/ |
claude |
.claude/agents/<name>.md |
~/.claude/agents/ |
How it works:
- After skills are installed, the system checks for
agents.jsonat the repository root - For each platform listed, agents are symlinked from the repository to the platform destination
- For git-sourced repositories, a persistent copy is stored at
~/.agents/repos/so symlinks remain valid - Installed agents are tracked in
~/.agents/config.jsonunderinstalledAgents
Examples:
# Install skills and agents from a repository
superpowers-agent add https://github.com/example/agents-repo.git
# Update agents from a repository alias
superpowers-agent pull @my-agentsSkills live in a small set of canonical locations and the supported agents discover them there directly:
- Global skills — bundled Superpowers skills in
~/.agents/superpowers/skills/and personal skills in~/.agents/skills/ - Project skills —
.agents/skills/inside a project (created/managed bysetup-skills) - Claude Code mirror — because Claude Code ignores
~/.agents/skills,bootstrapalso mirrors the repo's skills into~/.claude/skills(only when~/.claudeexists) so Claude can find them.
Stale symlink cleanup:
A one-time, skill.json-gated cleaner runs during superpowers-agent bootstrap. It scrubs deprecated per-platform skill symlink directories left behind by older versions — including legacy Cursor, Codex, and Gemini directories — and reconciles ~/.claude/skills so retired skills are pruned there too. Ownership is proved per-link from the raw target, so agent personas in ~/.claude/agents/ and your own skills are never touched.
Each supported agent discovers and loads skills using its native skill tool. No separate prompt/command files are installed.
Skill priority pipeline (first match wins):
.agents/skills/inside the workspace (project-specific overrides).claude/skills/inside the repo if present (repo-wide Claude overrides)- Personal skills in
~/.agents/skills/(user-level customizations) - Bundled Superpowers skills in
~/.agents/superpowers/skills/(system defaults)
When any agent invokes a skill — no matter which supported tool it originates from — the CLI enforces the ordering above. Add a brainstorming skill under .agents/skills/ and every supported tool immediately picks it up.
Skills are available via OpenCode's native skill tool. The .opencode/plugins/superpowers-agent.js plugin injects bootstrap context at session start. Docs: OpenCode Plugins
Skills are available via the native skill tool. bootstrap installs a sessionStart hook at ~/.copilot/hooks/superpowers.json (honoring $COPILOT_HOME) that injects the Superpowers context — including the leveraging-cli-tools directive — at the start of every Copilot CLI session via the hook's additionalContext output.
Skills are available via the native skill tool. Claude agent personas defined in .claude/agents/<name>.md are installed into ~/.claude/agents/ via add/pull. bootstrap also installs a SessionStart hook into ~/.claude/settings.json that injects the Superpowers context every session (idempotent; preserves your other hooks and settings).
The package contains only the four skills listed in Quick Start. Install additional skills with superpowers-agent add.
Run the automated suite from .agents:
cd .agents
bun testThe superpowers-agent CLI provides commands for managing installed skills. Skill discovery and loading use your AI platform's native skill tool.
Skill Installation:
superpowers-agent add <url-or-path> # Install skill(s) from Git or local
superpowers-agent add @alias path/to/skill # Install from repository alias
superpowers-agent rm <skill-name> # Remove an installed skill or agentRepository Management:
superpowers-agent list-repositories # List all configured repository aliases
superpowers-agent add-repository <git-url> # Add repository aliasConfiguration:
superpowers-agent config-get # Show current configuration
superpowers-agent config-set <key> <value> # Update configurationProject Setup:
superpowers-agent setup-skills # Initialize project with skills docs
superpowers-agent bootstrap # Run complete bootstrap (installs Claude + Copilot session hooks)
superpowers-agent update # Update to latest versionSession Hooks:
superpowers-agent session-context # Print session-start context (raw)
superpowers-agent session-context --format=claude # Emit Claude Code SessionStart hook JSON
superpowers-agent session-context --format=copilot # Emit GitHub Copilot sessionStart hook JSONThe platform hooks installed by bootstrap call this command; it is the single source of truth for the injected CLI-tool nudge.
Skills can include a skill.json file to define installation metadata for the superpowers-agent CLI and multi-skill repositories.
For a single skill, skill.json defines its identity:
{
"version": "1.0.0",
"name": "aem/block-collection-and-party",
"title": "AEM Block Collection and Party"
}Fields:
name: Canonical skill name (used for installation path)title: Human-readable display nameversion: Skill version for tracking updates
For repositories containing multiple skills, the root skill.json lists all skills and defines a repository alias:
{
"version": "1.0.0",
"repository": "@baici",
"skills": [
"aem/authoring-analysis",
"aem/block-collection-and-party",
"aem/block-inventory",
"aem/building-blocks",
"aem/content-driven-development"
]
}Fields:
repository: Default alias for this repository (used withadd-repository)skills: Array of skill paths within the repositoryversion: Repository version
Each skill then has its own skill.json:
repository/
├── skill.json # Repository manifest
├── aem/
│ ├── authoring-analysis/
│ │ ├── SKILL.md
│ │ └── skill.json # Individual skill metadata
│ └── block-inventory/
│ ├── SKILL.md
│ └── skill.json
Usage with multi-skill repositories:
# Add repository with automatic alias detection
superpowers-agent add-repository https://github.com/example/skills.git
# Detects @baici alias from skill.json
# Install specific skill from repository
superpowers-agent add @baici aem/building-blocks
# Install all skills from repository
superpowers-agent add @baici- Repository Management: Organize and share multi-skill collections
- Automatic Detection: CLI reads metadata for installation defaults
- Installation Paths: Control where skills install with
namefield - Version Tracking: Each skill tracks its version independently
For Agent-Agnostic Installation:
- Bootstrap Process - Installs agent integrations and syncs skill symlinks globally
- Skill Discovery - Finds skills across system, personal, and project locations
- Priority Resolution - Project skills override personal skills override system skills
- Universal Integration - Works with GitHub Copilot, Claude Code, OpenCode, Pi, and OpenAI Codex
For OpenCode:
- Plugin System - The
.opencode/plugins/superpowers-agent.jsplugin injects bootstrap context dynamically at session start - System Transform Hook - Uses
experimental.chat.system.transformfor reliable session injection - Native Skills - Skills are accessible via OpenCode's native
skilltool through symlinks
For Claude Code:
- Skills System - Uses Claude Code's first-party skills system
- Automatic Discovery - Claude finds and uses relevant skills for your task
- Mandatory Workflows - When a skill exists for your task, using it becomes required
- Test-Driven Development - Write tests first, always
- Systematic over ad-hoc - Process over guessing
- Complexity reduction - Simplicity as primary goal
- Evidence over claims - Verify before declaring success
- Domain over implementation - Work at problem level, not solution level
Skills live directly in this repository. To contribute:
- Fork the repository
- Create a branch for your skill
- Follow the skill-creator skill for creating new skills
- Submit a PR
Superpowers automatically checks for and applies updates during bootstrap by default:
superpowers-agent bootstrapAuto-update behavior:
- ✓ Fetches latest changes from GitHub main branch
- ✓ Only updates if repository is clean (no local modifications)
- ✓ Intelligently reinstalls only changed integrations (opencode plugin, etc.)
- ✓ Skips update if not on main branch or network unavailable
Skip auto-update for a single run:
superpowers-agent bootstrap --no-updateRe-install only specific agent integrations:
Use --force-<agent> flags to target individual agents without running the full bootstrap. Useful when you've updated a single agent's tools or want to repair a specific integration.
# Re-install only GitHub Copilot integration
superpowers-agent bootstrap --force-copilot
# Re-install Copilot and Claude together
superpowers-agent bootstrap --force-copilot --force-claudeSupported flags: --force-copilot, --force-claude, --force-opencode
When
--force-<agent>flags are used, universal alias installation andAGENTS.mdplatform generation are skipped. Skill symlink sync still runs. If the agent's directory does not exist (e.g.~/.copilot), it will be created automatically.
Check for updates anytime with the dedicated update command:
superpowers-agent updateThis command is print-only — it never runs a global install for you (that can need sudo/permissions and should be your explicit call). It:
- Checks the npm registry for a newer version
- Detects how the CLI was installed (npm/pnpm/yarn/bun/deno) from its install path
- Prints the exact install command for your package manager, followed by
superpowers-agent bootstrap && superpowers-agent setup-skills
For example, with an npm install it prints:
npm install -g @complexthings/superpowers-agent
superpowers-agent bootstrap && superpowers-agent setup-skillsDisable auto-update permanently:
superpowers-agent config-set auto_update falseWhen disabled, bootstrap will show an "Update Available" message instead of auto-updating.
Re-enable auto-update:
superpowers config-set auto_update trueView current configuration:
superpowers config-getConfiguration is stored in ~/.agents/superpowers/.config.json and persists across updates.
This project builds on Jesse Vincent's Superpowers for Claude Code. Jesse's pioneering work introduced the concept of systematic, reusable skills for AI agents. Read his excellent blog post: Superpowers for Claude Code
Inspired by obra/superpowers (v7.0.0):
- Reusable skill workflows
- OpenCode plugin architecture pattern
- Test infrastructure for skill validation
This fork extends that vision to support agent-agnostic workflows across GitHub Copilot, Claude Code, OpenCode, Pi, and OpenAI Codex.
MIT License - see LICENSE file for details
- Issues: https://github.com/complexthings/superpowers/issues
- Original Project: https://github.com/obra/superpowers