Skip to content

Latest commit

 

History

History
1895 lines (1454 loc) · 78.1 KB

File metadata and controls

1895 lines (1454 loc) · 78.1 KB

Superpowers Release Notes

Release history for the agent-agnostic fork of Superpowers.

About This Fork: This project extends Jesse Vincent's Superpowers for Claude Code to support universal AI coding assistants including GitHub Copilot, Cursor, Gemini, Codex, OpenCode, and Windsurf. Jesse's groundbreaking work introduced systematic, reusable skills for AI agents—this fork makes those workflows accessible across all major AI development tools.


v8.2.0 (March 16, 2026)

Changed

  • Update checking uses npm registrycheckForUpdates and getRemoteVersion now query https://registry.npmjs.org/@complexthings/superpowers-agent/latest instead of fetching from the Git repository. The update command tells users to run npm install -g rather than attempting git pull.
  • getLocalVersion reads from .agents/package.json — Version resolution now reads the CLI tool's own package.json with a 0.0.0 fallback (previously hardcoded 5.4.0).
  • Bootstrap update check simplified — Bootstrap no longer attempts auto-update via git pull; it shows the npm install command when an update is available.

Added

  • Husky pre-commit hook enforces version parity — A pre-commit hook compares version in ./package.json and .agents/package.json. On mismatch, it syncs both to the highest version, updates lockfiles, rebuilds the CLI, and stages all changes.

Removed

  • Git-based update infrastructureisRepoClean, git fetch/pull logic, commit comparison, and determineReinstalls-driven integration reinstall removed from the update flow. isOnMainBranch retained as a deprecated no-op for backward compatibility.

v8.0.0 (March 13, 2026)

Changed

  • Bootstrap no longer installs agent prompt/command files — The six legacy install functions (installCopilotPrompts, installCursorCommands, installCodexPrompts, installGeminiCommands, installClaudeCommands, installOpencodeCommands) have been removed from the bootstrap flow. Skills are now delivered exclusively via symlinks, which are already synced during bootstrap.
  • Bootstrap cleans up legacy files — A new removeLegacyPrompts step runs during bootstrap to delete any prompt/command files previously installed by older versions (across Copilot, Cursor, Codex, Gemini, Claude Code, and OpenCode directories). This is safe to run repeatedly; missing files are silently skipped.
  • Removed install-<agent>-prompts/commands CLI commands — The individual install-copilot-prompts, install-cursor-commands, install-codex-prompts, install-gemini-commands, install-claude-commands, and install-opencode-commands sub-commands have been removed from the CLI. Only install-cursor-hooks, install-aliases, and install-opencode-plugin (internal) remain.
  • OpenCode plugin generates bootstrap content dynamically — The .opencode/plugins/superpowers-agent.js plugin now generates the AGENTS.md bootstrap block at runtime instead of reading a static template file.
  • setup-skills is now a skill — Project initialization is delivered as skills/setup-skills/SKILL.md instead of per-platform command files. The superpowers-agent setup-skills CLI command remains.
  • update command simplified — Removed the plans directory update step from runUpdate; only skill/integration updates are performed.

Removed

  • All per-platform prompt/command files deleted from repo — The following file trees are gone:
    • .codex/prompts/ (brainstorm, create-meta-prompt, setup-skills, skills, use-skill, write-skill)
    • .cursor/commands/ (brainstorm-with-superpowers, create-meta-prompt, setup-skills, skills, use-skill, write-a-skill)
    • .gemini/commands/ (brainstorm-with-superpowers, create-meta-prompt, setup-skills, skills, use-skill, write-a-skill)
    • .github/prompts/ (brainstorming, execute-plan, setup-skills, write-plan)
    • .opencode/command/ (brainstorm, execute-plan, setup-skills, write-plan)
    • commands/ directory (brainstorm, create-meta-prompt, execute-plan, finding-skills, setup-skills, skills, use-skill, using-a-skill, write-plan)
  • Cursor hooks removedhooks/cursor/ (before-submit-prompt.sh, detect-new-conversation.sh, hooks.json, inject-bootstrap.sh) deleted; Cursor integration is now symlink-only.
  • CLAUDE.md and GEMINI.md root files deleted — Agent-specific root instruction files removed in favour of the unified AGENTS.md.
  • .github/copilot-instructions.md template removed — No longer needed now that bootstrap does not install Copilot instructions.
  • skills/meta/writing-skills/ removed — Entire skill directory (SKILL.md, anthropic-best-practices.md, examples/, graphviz-conventions.dot, persuasion-principles.md, render-graphs.js, skill.json) deleted.
  • skills/meta/testing-skills-with-subagents/ removed — Entire skill directory (SKILL.md, examples/, skill.json) deleted.
  • skills/meta/gardening-skills-wiki/ removed — Entire skill directory (SKILL.md, analyze-search-gaps.sh, check-index-coverage.sh, check-links.sh, check-naming.sh, garden.sh, skill.json) deleted.
  • skills/commands/ stub files removed — brainstorm.md, execute-plan.md, write-plan.md deleted.
  • .agents/superpowers-agent-backup.js removed — Legacy backup file deleted.
  • Plan documents removed — Four design/plan documents under .agents/superpowers/specs/ deleted (agents-json-auto-install-design, agents-json-auto-install-plan, bootstrap-force-agent-flags, force-agent-create-missing-dir).

Added

  • skills/setup-skills/ skill — New SKILL.md for project initialization, replacing the deleted per-platform command files.

v7.1.2 (March 5, 2026)

Fixed

  • --force-<agent> creates missing agent directories (binary rebuild) — v7.1.1 documented this fix but the binary was not rebuilt before release. This release ships the rebuilt binary. Running bootstrap --force-copilot (or any --force-<agent>) now correctly creates the agent's parent directory when it does not exist, instead of skipping with a warning.

v7.1.1 (March 5, 2026)

Fixed

  • --force-<agent> creates missing agent directory — Previously, if the agent's parent directory (e.g. ~/.copilot) did not exist, --force-copilot would silently skip skill installation. Now the directory is created automatically before installing skills.

v7.1.0 (March 5, 2026)

Targeted Agent Re-Installation via --force-<agent> Flags

The superpowers-agent bootstrap command now supports --force-<agent> flags to re-run only specific agent integrations without repeating the full bootstrap.

Supported flags:

Flag Re-installs
--force-copilot GitHub Copilot prompts
--force-cursor Cursor slash commands & hooks
--force-codex OpenAI Codex prompts
--force-gemini Gemini CLI commands
--force-claude Claude Code commands
--force-opencode OpenCode commands & plugin symlink

Usage examples:

# Re-install only GitHub Copilot integration
superpowers-agent bootstrap --force-copilot

# Re-install Copilot and Gemini together
superpowers-agent bootstrap --force-copilot --force-gemini

# Standard full bootstrap (no flags)
superpowers-agent bootstrap

Behavior when force flags are used:

  • Only the targeted agent sections run
  • Universal aliases installation is skipped
  • Platform-specific AGENTS.md generation is skipped
  • Skill symlink sync always runs regardless of flags

v7.0.5 (February 9, 2026)

Agent Auto-Installation via agents.json

The superpowers-agent add and superpowers-agent pull commands now automatically detect and install agents from repositories that contain an agents.json manifest file.

How it works:

  • When a repository contains an agents.json file at its root, the system reads the manifest and installs listed agents to the appropriate platform-specific directories via symlinks
  • Supports GitHub Copilot agents (symlinked to VS Code prompts/ directory) and OpenCode agents (symlinked to ~/.config/opencode/agents/)
  • Platform support is extensible — additional platforms can be added in future versions

agents.json manifest format:

{
    "version": "1.0.0",
    "repository": "@my-agents",
    "agents": {
        "github": ["agent-name-1", "agent-name-2"],
        "opencode": ["agent-name-1", "agent-name-2"]
    }
}

Platform path conventions:

  • github agents: Source at .github/agents/<name>.agent.md, installed to VS Code User prompts/ directory
  • opencode agents: Source at .opencode/agents/<name>.md, installed to ~/.config/opencode/agents/

Key features:

  • Automatic detection — no extra flags needed
  • Agent tracking in ~/.agents/config.json under installedAgents (records source repo, version, and install timestamps)
  • Persistent repository storage at ~/.agents/repos/ for git-sourced repositories (ensures symlinks remain valid after temp clones are cleaned up)
  • Schema validation with clear error messages for malformed manifests
  • Existing agents at destination paths are overwritten (symlinks replaced)
  • Works with both add (fresh install) and pull (update) commands

Files Created

.agents/src/agents/platforms.js - Platform path resolution for agent destinations
.agents/src/agents/installer.js - Core agent installation logic

Files Modified

.agents/src/skills/installer.js - Hooked agent installation into add/pull commands
.agents/src/core/config.js - Added agent tracking functions
.agents/package.json - Version 7.0.5

v7.0.0 (February 7, 2026)

Build System Migration to Bun

Migrated the superpowers-agent CLI build toolchain from Node.js/npm to Bun, significantly improving build speed and simplifying the dependency chain.

Build System:

  • Refactored build.js to use Bun's native bundler
  • Replaced package-lock.json with bun.lock
  • Switched packageManager field to bun@1.3.8
  • Added .husky/pre-commit hook for automated package-lock.json regeneration

Copilot Instructions: Smart Template Processing

The installCopilotInstructions() function now performs template processing instead of a simple file copy, injecting the using-superpowers skill content directly into ~/.github/copilot-instructions.md.

Key improvements:

  • ${content} replacement - The .github/copilot-instructions.md template's ${content} placeholder is replaced with the full contents of skills/meta/using-superpowers/SKILL.md at install time
  • Marker-based idempotent updates - Uses <!-- SUPERPOWERS_-_INSTRUCTIONS_START --> / <!-- SUPERPOWERS_-_INSTRUCTIONS_END --> markers to update content in-place on subsequent runs
  • Preserves user content - Existing ~/.github/copilot-instructions.md files are never overwritten; superpowers content is appended or updated between markers
  • Automatic backups - Creates timestamped backups (e.g., copilot-instructions.md.backup-2026-02-07T...) before any modification
  • Update trigger on skill changes - Changes to skills/meta/using-superpowers/ now trigger a copilot-instructions reinstall during superpowers-agent update

Skill Flowchart Migration: DOT → Mermaid

Replaced all DOT-format flowcharts with Mermaid syntax across 8 skills for better rendering compatibility in GitHub, VS Code, and agent contexts.

Skills updated:

  • dispatching-parallel-agents v1.2.0
  • subagent-driven-development v2.1.0
  • root-cause-tracing v1.2.0
  • using-superpowers v1.1.0
  • writing-skills v5.2.0
  • when-stuck v1.2.0
  • condition-based-waiting v1.2.0
  • test-driven-development v3.2.0

Version Bumps

  • skill.json7.0.0
  • package.json7.0.0

Files Modified

.agents/build.js - Bun build system
.agents/bun.lock - NEW: Bun lockfile
.agents/package.json - Version 7.0.0, Bun packageManager
.agents/superpowers-agent - Rebuilt bundle
.agents/src/integrations/copilot.js - Smart template processing
.agents/src/core/git.js - Skill change triggers copilot-instructions reinstall
.github/copilot-instructions.md - NEW: Copilot instructions template
.husky/pre-commit - NEW: Pre-commit hook
skill.json - Version 7.0.0
skills/collaboration/dispatching-parallel-agents/SKILL.md - DOT→Mermaid, v1.2.0
skills/collaboration/subagent-driven-development/SKILL.md - DOT→Mermaid, v2.1.0
skills/debugging/root-cause-tracing/SKILL.md - DOT→Mermaid, v1.2.0
skills/meta/using-superpowers/SKILL.md - DOT→Mermaid, v1.1.0
skills/meta/writing-skills/SKILL.md - DOT→Mermaid, v5.2.0
skills/problem-solving/when-stuck/SKILL.md - DOT→Mermaid, v1.2.0
skills/testing/condition-based-waiting/SKILL.md - DOT→Mermaid, v1.2.0
skills/testing/test-driven-development/SKILL.md - DOT→Mermaid, v3.2.0

Files Deleted

.agents/package-lock.json - Replaced by bun.lock

v6.5.0 (January 24, 2026)

Upstream Sync: Advanced Features from obra/superpowers

Ported key features from Jesse Vincent's original obra/superpowers repository (v4.1.1), adapting them for the agent-agnostic architecture of this fork.

High Priority Features

OpenCode Plugin (.opencode/plugins/superpowers-agent.js)

  • Uses experimental.chat.system.transform hook for session bootstrap injection
  • Loads using-superpowers skill content at every session start
  • Fixes the "agent reset" issue from older approaches
  • Seamless integration with OpenCode's plugin system

using-superpowers Skill (skills/meta/using-superpowers/)

  • Behavioral enforcement skill that ensures agents follow Superpowers patterns
  • Red Flags rationalization table with 12 anti-patterns and counters
  • DOT flowchart for skill invocation decision-making
  • Agent-agnostic "How to Access Skills" section
  • Prevents common mistakes like skipping skill loading or inventing workflows

Two-Stage Code Review Process (skills/collaboration/subagent-driven-development/)

  • Stage 1: Spec Reviewer - Validates implementation matches plan/spec requirements
  • Stage 2: Code Quality Reviewer - Checks code quality, patterns, and maintainability
  • New helper prompts: spec-reviewer-prompt.md, code-quality-reviewer-prompt.md, implementer-prompt.md
  • Updated SKILL.md with complete two-stage flow and DOT flowcharts
  • Bumped skill to v2.0.0

CSO Description Trap Warning (skills/meta/writing-skills/)

  • Added warning about Claude Skill Objects where description overrides skill content
  • Correct vs incorrect description examples
  • Prevents accidental behavior changes through metadata

Medium Priority Features

Test Infrastructure (tests/)

  • tests/skill-triggering/ - Tests for implicit skill triggering scenarios
  • tests/explicit-skill-requests/ - Tests for explicit skill request handling
  • Agent-agnostic test scripts with environment variable configuration
  • Comprehensive README with usage instructions

Helper Scripts

  • skills/debugging/root-cause-tracing/find-polluter.sh - Bisection script for finding test pollution

Low Priority Features

Analysis Scripts (.agents/scripts/)

  • render-graphs.js - Extracts DOT diagrams from skills and renders to SVG
  • analyze-token-usage.py - Analyzes token usage from conversation logs

Files Created

.opencode/plugins/superpowers-agent.js
skills/meta/using-superpowers/SKILL.md
skills/meta/using-superpowers/skill.json
skills/collaboration/subagent-driven-development/implementer-prompt.md
skills/collaboration/subagent-driven-development/spec-reviewer-prompt.md
skills/collaboration/subagent-driven-development/code-quality-reviewer-prompt.md
skills/debugging/root-cause-tracing/find-polluter.sh
.agents/scripts/render-graphs.js
.agents/scripts/analyze-token-usage.py
tests/README.md
tests/skill-triggering/run-test.sh
tests/skill-triggering/run-all.sh
tests/skill-triggering/prompts/*.txt
tests/explicit-skill-requests/run-test.sh
tests/explicit-skill-requests/prompts/*.txt

Files Modified

skills/collaboration/subagent-driven-development/SKILL.md - Two-stage review flow
skills/collaboration/subagent-driven-development/skill.json - Bumped to v2.0.0
skills/meta/writing-skills/SKILL.md - CSO description trap warning

What Was NOT Ported (By Design)

  • Claude Code Plugin Infrastructure - Fork is a CLI tool, not IDE plugin
  • Skills Repository Separation - Fork's integrated approach is preferred
  • Codex CLI Script - Already integrated into main CLI

Credits

These features were adapted from Jesse Vincent's obra/superpowers v4.1.1 with gratitude for his pioneering work on systematic AI agent skills.


v6.4.1 (January 24, 2026)

AGENTS.md Template Context Optimization

Reduced the context size of AGENTS.md by ~60-70% to improve agent performance and reduce token usage. Detailed reference material is now separated into a dedicated SUPERPOWERS.md file, and agent-specific tool mappings are replaced with generic guidance.

Key Changes:

  • New SUPERPOWERS.md.template (108 lines) - Contains detailed reference documentation:

    • Installation instructions
    • Version detection details
    • Skill locations reference
    • Skill naming conventions
    • Creating new skills workflow
    • Common mistakes to avoid
  • New TOOLS.md.template (21 lines) - Generic tool guidance replacing 6 agent-specific files:

    • Native skill tool usage
    • Symlinked skills locations
    • Tool equivalence guidance for cross-platform compatibility
  • Streamlined AGENTS.md.template (40 lines, down from 168 - 76% reduction):

    • Clarified two-step skill workflow: Discover first, then Load JIT
    • Kept essential: skill discovery, JIT principle, version monitoring, why skills matter
    • Moved detailed reference to SUPERPOWERS.md
    • Replaced agent-specific tool mappings with generic TOOLS.md content
  • setup-skills now creates .agents/docs/SUPERPOWERS.md:

    • Creates .agents/docs/ directory
    • Copies SUPERPOWERS.md.template with placeholder substitution
    • Provides detailed reference without loading into agent context

Deleted Files (replaced by TOOLS.md.template):

  • TOOLS-GITHUB-COPILOT.md.template (53 lines)
  • TOOLS-CLAUDE-CODE.md.template (35 lines)
  • TOOLS-CURSOR.md.template (31 lines)
  • TOOLS-GEMINI.md.template (27 lines)
  • TOOLS-OPENCODE.md.template (28 lines)
  • TOOLS-CODEX.md.template (25 lines)

Context Size Comparison:

Metric Before After Improvement
AGENTS.md.template 168 lines 40 lines 76% smaller
Tool mappings per agent 25-53 lines 21 lines (shared) ~60% smaller
Superpowers section in output ~120+ lines ~57 lines ~52% smaller

Files Modified:

  • .agents/templates/AGENTS.md.template - Streamlined content
  • .agents/templates/SUPERPOWERS.md.template - NEW: detailed reference
  • .agents/templates/TOOLS.md.template - NEW: generic tool guidance
  • .agents/src/commands/bootstrap.js - Updated generateToolMappings() and runSetupSkills()

Benefits:

  • Faster agent startup with smaller context
  • Reduced token usage per conversation
  • Cleaner, more focused skill instructions
  • Detailed reference available on-demand in .agents/docs/SUPERPOWERS.md

v6.4.0 (January 23, 2026)

Project-Level Skill Symlinks in setup-skills

The setup-skills command now automatically creates symlinks from agent-specific directories to .agents/skills, enabling native skill discovery for all major AI coding assistants at the project level.

Key Features:

  • Detects agent-specific directories in the project root
  • Creates symlinks from agent directories TO .agents/skills
  • Supports all major AI coding platforms
  • Idempotent - safe to run multiple times

Platform Detection Rules:

Agent Detection Condition Symlink Target
Claude .claude/ exists .claude/skills
GitHub Copilot .github/ + AGENTS.md exists .github/skills
OpenCode .opencode/ + AGENTS.md exists .opencode/skill (singular)
Cursor .cursor/ exists .cursor/skills
Gemini .gemini/ + GEMINI.md exists .gemini/skills
Codex .codex/ + AGENTS.md exists .codex/skills

Note: For platforms requiring AGENTS.md, the detection also checks .agents/AGENTS.md as a fallback location.

Usage:

# In your project directory
superpowers-agent setup-skills

Example Output:

## Syncing Project Skill Symlinks

  ✓ Created ./.claude/skills -> .agents/skills
  ✓ Created ./.github/skills -> .agents/skills
  ✓ Created ./.opencode/skill -> .agents/skills
  ✓ Created ./.cursor/skills -> .agents/skills

✓ Created 4 project skill symlink(s)

Symlink Behavior:

  • Symlinks point FROM agent directories TO .agents/skills
  • Skills added to .agents/skills/ become available in all agent-specific directories
  • Running setup-skills again reports "Project skill symlinks already exist"
  • Existing non-symlink directories are not overwritten (error reported instead)

Files Modified:

  • .agents/src/utils/symlinks.js - Added PROJECT_SKILL_PLATFORMS config and syncProjectSkillSymlinks() function
  • .agents/src/commands/bootstrap.js - Integrated symlink sync into runSetupSkills()

v6.3.4 (January 17, 2026)

SKILLS.md Updates for agentskills.io Compatibility

Updated SKILLS.md files and agent instructions to follow the specifications from agentskills.io for improved cross-platform skill compatibility.

Changes:

  • Updated SKILLS.md files to align with agentskills.io specifications
  • Updated agent instructions for the repository

Files Modified:

  • Various SKILLS.md files updated for specification compliance
  • Repository agent instructions updated

v6.3.3 (January 14, 2026)

Codex Platform Support & Updated TOOLS Templates

Added full Codex platform support for skill symlinks and rewrote all TOOLS template files with accurate, up-to-date tool information from official documentation.

Codex Skills Symlink Support:

  • Added Codex to SKILL_PLATFORMS array in symlinks.js
  • Skills from ~/.agents/skills/ and ~/.agents/superpowers/skills/ now symlinked to ~/.codex/skills/
  • Added projectCodexSkills and homeCodexSkills path getters in paths.js
  • Updated AGENTS.md.template with Codex in Native Skill Tools table and Skill Locations

Symlink Mapping (after bootstrap):

Source Codex Target
~/.agents/superpowers/skills/ ~/.codex/skills/superpowers
~/.agents/skills/<name> ~/.codex/skills/<name>

Updated TOOLS Templates: All 6 TOOLS-*.md.template files were rewritten with accurate tool information from official documentation:

Template Source Documentation Key Updates
TOOLS-CODEX.md.template developers.openai.com Rewrote with #### format, added $skill-name native skill invocation, documented shell_command, apply_patch, update_plan, web_search_request
TOOLS-CURSOR.md.template cursor.com/docs Added browser, fetch_rules, codebase_search tools
TOOLS-GEMINI.md.template geminicli.com/docs Added memory, write_todos, /skills management commands
TOOLS-OPENCODE.md.template opencode.ai/docs Added LSP tool (experimental), patch tool
TOOLS-CLAUDE-CODE.md.template code.claude.com/docs Added ExitPlanMode, BashOutput, KillShell, GetDiagnostics, ExecuteCode, plugin/enterprise skill locations
TOOLS-GITHUB-COPILOT.md.template code.visualstudio.com/docs Fixed markdown hierarchy (####), comprehensive VS Code chat tools

Files Modified:

  • .agents/src/utils/symlinks.js - Added Codex to SKILL_PLATFORMS
  • .agents/src/core/paths.js - Added Codex path getters
  • .agents/templates/AGENTS.md.template - Added Codex to skill tables
  • .agents/templates/TOOLS-CODEX.md.template - Rewrote with accurate tools
  • .agents/templates/TOOLS-CURSOR.md.template - Updated tools
  • .agents/templates/TOOLS-GEMINI.md.template - Updated tools
  • .agents/templates/TOOLS-OPENCODE.md.template - Updated tools
  • .agents/templates/TOOLS-CLAUDE-CODE.md.template - Updated tools
  • .agents/templates/TOOLS-GITHUB-COPILOT.md.template - Fixed format, updated tools

v6.3.2 (January 14, 2026)

Native Skill Tools & Extended Platform Symlinks

Enhanced agent instructions to leverage native skill tools and extended symlink support to all major AI coding platforms.

Native Skill Tools Section:

  • Added new "NATIVE SKILL TOOLS" section to AGENTS.md.template
  • Instructs agents to attempt native skill tools first, fallback to superpowers-agent execute
  • Documents native tool names for each platform:
    • GitHub Copilot: Skill tool
    • Claude Code: Skill tool
    • OpenCode: skill tool
    • Cursor: Automatic discovery
    • Gemini: activate_skill tool

Extended Symlink Support:

  • Added OpenCode, Cursor, and Gemini to automatic skill symlink sync
  • Skills from ~/.agents/skills/ and ~/.agents/superpowers/skills/ now symlinked to:
    • ~/.config/opencode/skill/ (OpenCode)
    • ~/.cursor/skills/ (Cursor)
    • ~/.gemini/skills/ (Gemini)
  • Follows existing behavior: only creates symlinks if parent directory exists
  • Use --force flag to create directories if needed

OpenCode Path Corrections:

  • Fixed OpenCode skill paths to match OpenCode conventions:
    • Project: .opencode/skill/ (singular)
    • Personal: ~/.config/opencode/skill/ (under .config, singular)
  • Updated all references in paths.js, finder.js, parser.js, and AGENTS.md.template

Added Full Cursor Support:

  • Added cursor: prefix for Cursor-specific skills
  • Added Cursor to skillTypes in parser.js
  • Added Cursor paths to paths.js
  • Added Cursor source labels to finder.js

Files Modified:

  • .agents/templates/AGENTS.md.template - Native skill tools section, fixed paths, added Cursor
  • .agents/src/utils/symlinks.js - Added OpenCode, Cursor, Gemini platforms
  • .agents/src/core/paths.js - Fixed OpenCode paths, added Cursor paths
  • .agents/src/skills/finder.js - Updated source labels
  • .agents/src/skills/parser.js - Added Cursor prefix and skillTypes

Symlink Mapping (after bootstrap):

Source OpenCode Target Cursor Target Gemini Target
~/.agents/superpowers/skills/ ~/.config/opencode/skill/superpowers ~/.cursor/skills/superpowers ~/.gemini/skills/superpowers
~/.agents/skills/<name> ~/.config/opencode/skill/<name> ~/.cursor/skills/<name> ~/.gemini/skills/<name>

v6.3.1 (January 14, 2026)

Multi-Agent Skill Discovery

Extended superpowers-agent find-skills and execute commands to discover skills from multiple agent-specific directories at both project and user-home levels.

New Skill Locations:

Level Directories Added
Project .copilot/skills/, .opencode/skills/, .gemini/skills/
Personal ~/.claude/skills/, ~/.copilot/skills/, ~/.opencode/skills/, ~/.gemini/skills/

New Prefixes:

  • copilot:skill-name - Target Copilot skill directories
  • opencode:skill-name - Target OpenCode skill directories
  • gemini:skill-name - Target Gemini skill directories

Priority Order:

Project Tier (highest):
  .agents/skills/ > .claude/skills/ > .copilot/skills/ > .opencode/skills/ > .gemini/skills/

Personal Tier:
  ~/.agents/skills/ > ~/.claude/skills/ > ~/.copilot/skills/ > ~/.opencode/skills/ > ~/.gemini/skills/

Superpowers Tier (lowest):
  ~/.agents/superpowers/skills/

Key Features:

  • Flat priority within tiers - first match wins
  • Symlinks resolved to targets automatically
  • Duplicates shown only once (highest priority wins)
  • Same prefix for project and personal levels (claude:foo finds project first, falls back to personal)

Files Modified:

  • .agents/src/core/paths.js - Added 7 new path getters
  • .agents/src/skills/parser.js - Added new prefixes and expanded skillTypes
  • .agents/src/skills/locator.js - Updated search order in both locate functions
  • .agents/src/commands/simple-commands.js - Updated discovery order
  • .agents/src/skills/finder.js - Added source labels for error messages
  • .agents/templates/AGENTS.md.template - Updated Skill Locations and Skill Naming sections

Usage:

# Find all skills across all agent directories
superpowers-agent find-skills

# Execute skill from specific agent directory
superpowers-agent execute copilot:my-skill
superpowers-agent execute opencode:my-skill

# Priority-based resolution (no prefix needed)
superpowers-agent execute my-skill  # Finds highest priority match

v6.3.0 (January 14, 2026)

Automatic Skill Symlinks for Claude Code and GitHub Copilot

Superpowers now automatically creates symlinks to make skills available in Claude Code's ~/.claude/skills/ and GitHub Copilot's ~/.copilot/skills/ directories, enabling native skill discovery in both IDEs.

Key Features:

  • Superpowers skills symlinked to ~/.claude/skills/superpowers and ~/.copilot/skills/superpowers
  • Personal skills (from ~/.agents/skills/) symlinked individually to both platforms
  • Automatic sync on bootstrap, update, add, and pull commands
  • Config tracking in ~/.agents/config.json for symlink management
  • Cross-platform support for Unix/macOS and Windows (with Developer Mode)
  • --force flag to create parent directories if they don't exist

Usage:

# Standard bootstrap (only creates symlinks if ~/.claude/ or ~/.copilot/ exist)
superpowers-agent bootstrap

# Force creation of parent directories
superpowers-agent bootstrap --force

# Symlinks auto-sync after adding skills
superpowers-agent add @myrepo path/to/skill

Symlink Mapping:

Source Claude Target Copilot Target
~/.agents/superpowers/skills/ ~/.claude/skills/superpowers ~/.copilot/skills/superpowers
~/.agents/skills/<name> ~/.claude/skills/<name> ~/.copilot/skills/<name>

Config Tracking:

{
  "symlinks": {
    "claude": {
      "superpowers": "~/.claude/skills/superpowers",
      "skills": ["~/.claude/skills/acs", "~/.claude/skills/aem"]
    },
    "copilot": {
      "superpowers": "~/.copilot/skills/superpowers",
      "skills": ["~/.copilot/skills/acs"]
    }
  }
}

Windows Notes: On Windows, symlinks require Developer Mode enabled or administrator privileges. If symlink creation fails, a warning with instructions is displayed.

Files Created/Modified:

  • .agents/src/utils/symlinks.js - New centralized symlink management module
  • .agents/src/commands/bootstrap.js - Added symlink sync with --force flag
  • .agents/src/commands/update.js - Added symlink sync after updates
  • .agents/src/skills/installer.js - Added symlink sync after add/pull
  • .agents/src/cli.js - Updated help text with --force flag
  • README.md - Added "Skill Symlinks for IDE Integration" documentation
  • docs/plans/2026-01-14-skill-symlinks-design.md - Design document

v6.2.0 (December 16, 2025)

✨ New Features

Enhanced Setup-Skills Tool Mappings

The superpowers-agent setup-skills command now properly populates tool mappings from platform-specific template files, ensuring each agent instruction file gets the correct tool mappings for its platform.

Key Changes:

  • generateToolMappings() function now reads actual content from .agents/templates/TOOLS-*.md.template files instead of generating stub headers
  • Added conditional update logic for .github/copilot-instructions.md

File Update Logic:

File Tool Mappings Condition
AGENTS.md GitHub Copilot, Cursor, OpenCode, Codex Always updated
CLAUDE.md Claude Code Only if file exists
GEMINI.md Gemini Only if file exists
.github/copilot-instructions.md GitHub Copilot Only if file exists AND AGENTS.md does NOT exist

Template File Mapping:

  • github-copilotTOOLS-GITHUB-COPILOT.md.template
  • cursorTOOLS-CURSOR.md.template
  • claude-codeTOOLS-CLAUDE-CODE.md.template
  • geminiTOOLS-GEMINI.md.template
  • opencodeTOOLS-OPENCODE.md.template
  • codexTOOLS-CODEX.md.template

Usage:

superpowers-agent setup-skills

Output:

✓ Updated AGENTS.md with platform tool mappings (root)
✓ Updated CLAUDE.md with Claude Code tool mappings (root)
✓ Updated GEMINI.md with Gemini tool mappings (root)
ℹ️  Skipped .github/copilot-instructions.md (AGENTS.md exists, using that instead)

Files Modified:

  • .agents/src/commands/bootstrap.js - Updated generateToolMappings() to read template files, added .github/copilot-instructions.md conditional logic

v6.1.1 (December 9, 2024)

🐛 Bug Fixes

Fixed installUnixAliases Not Creating Symlinks

Fixed critical bug where the installation script would not create the required symlinks for superpowers and superpowers-agent commands, preventing global access to the tools.

Root Cause:

  • The installUnixAliases() function was only checking if the executable existed but wasn't actually creating the symlinks in ~/.local/bin/
  • Users running the install script would complete successfully but the commands wouldn't be available globally

Changes:

  • Updated installUnixAliases() to create ~/.local/bin directory if it doesn't exist
  • Creates symlinks for both superpowers and superpowers-agent commands pointing to ~/.agents/superpowers/.agents/superpowers-agent
  • Properly handles existing symlinks by removing them before creating new ones
  • Added PATH check with warning and instructions if ~/.local/bin is not in PATH
  • Added new install-aliases command for users to manually recreate symlinks if needed

Usage:

# Automatically runs during bootstrap
superpowers-agent bootstrap

# Or manually install/repair symlinks
superpowers-agent install-aliases

Files Modified:

  • .agents/src/commands/bootstrap.js - Rewrote installUnixAliases() function (lines 148-208)
  • .agents/src/cli.js - Added install-aliases command to CLI router

v6.1.0 (December 3, 2025)

✨ New Features

Added superpowers pull Command

Implemented a new pull command that updates or adds skills from remote Git repositories or local file paths, providing a semantic way to refresh existing skills.

Key Features:

  • Update existing skills or add new skills from any source
  • Full URL support: HTTPS, SSH, GitHub tree URLs, and local paths
  • Repository alias support with @alias syntax
  • Installation flags: --global, --project
  • Comprehensive progress messages and error handling
  • Automatic cleanup of temporary directories

Usage Examples:

# Update from repository alias
superpowers pull @baici

# Update from HTTPS URL
superpowers pull https://github.com/example/skills.git

# Update from SSH URL
superpowers pull git@github.com:example/skills.git

# Update with flags
superpowers pull @myrepo path/to/skill --project
superpowers pull ~/my-local-skills --global

Implementation Details:

  • Reuses 100% of existing helper functions for consistency
  • Minimal code changes: ~210 lines added (207 in installer.js, 3 in cli.js)
  • Update behavior achieved through skill replacement
  • Follows same patterns as add command for maintainability

Semantic Difference from add:

  • add: Emphasizes installation of new skills
  • pull: Emphasizes updating/refreshing existing skills
  • Functionally identical (both update if exists, add if doesn't)
  • Different messaging ("Updating" vs "Installing", "Updated" vs "Installed")

Files Modified:

  • .agents/src/skills/installer.js - Added runPull() function
  • .agents/src/cli.js - Imported and registered pull command, updated help text

Created with Superpowers: This feature was implemented using the superpowers:creating-prompts skill, demonstrating the meta-prompt workflow for structured development.


v6.0.2 (December 3, 2025)

🐛 Bug Fixes

Added Support for SSH Git URLs in add Command

Fixed bug where superpowers add @alias would fail when the repository was configured with an SSH URL (e.g., git@github.com:org/repo.git).

Root Cause:

  • The parseGitUrl() function only recognized HTTPS GitHub URLs
  • SSH-style Git URLs would return null, causing "Invalid URL or path not found" error

Changes:

  • Added SSH Git URL pattern matching to parseGitUrl() function
  • Now supports both HTTPS (https://github.com/org/repo.git) and SSH (git@github.com:org/repo.git) formats
  • SSH URLs are preserved in their original format for cloning

Files Modified:

  • .agents/src/skills/installer.js - Added SSH URL regex pattern on line 16-25

v6.0.1 (December 2, 2025)

🐛 Bug Fixes

Fixed Dynamic Require Error in add-repository Command

Fixed critical bug where superpowers add-repository command would fail with error: Error: Dynamic require of "os" is not supported

Root Cause:

  • The src/skills/installer.js file used require() calls for importing modules instead of ES6 imports
  • When esbuild bundles the code with format: 'esm', it cannot handle dynamic require() calls for built-in Node.js modules

Changes:

  • Converted all require() statements to ES6 import statements at the top of the file
  • Moved imports for os, path.parse(), and config.js to static imports
  • Affected functions: runAdd() and runAddRepository()

Files Modified:

  • .agents/src/skills/installer.js - Fixed imports on lines 1-5, 187, 392-393

v6.0.0 (November 29, 2025)

🏗️ Complete Codebase Modernization

Total Architectural Rewrite

The superpowers-agent has undergone a complete modernization, transforming from a monolithic 3,406-line executable into a clean, maintainable, modular architecture. This is not a refactor—it's a complete rewrite that positions Superpowers for long-term growth and contribution.

The Numbers:

  • Before: 3,406 lines in single monolithic file
  • After: 3,169 lines across 22 organized modules
  • Output: 324 lines (minified bundle via esbuild)
  • Reduction: ~90% smaller final executable
  • Files Changed: 32 files, 7,711 insertions, 3,244 deletions

📦 New Modular Architecture

6 Logical Layers, 22 Specialized Modules:

CLI Layer (src/cli.js)

  • Clean entry point with command routing
  • Import-based module loading
  • Unified command interface

Commands Layer (src/commands/)

  • bootstrap.js - Installation and setup logic (445 lines)
  • simple-commands.js - Core commands: find-skills, execute, path, dir, get-helpers, config (341 lines)
  • update.js - Auto-update system and version management (206 lines)

Core Infrastructure (src/core/)

  • config.js - Configuration management with priority resolution (108 lines)
  • git.js - Git operations and repository detection (142 lines)
  • paths.js - Path resolution and directory location (74 lines)
  • platform-detection.js - AI assistant detection and platform identification (63 lines)

Platform Integrations (src/integrations/)

  • claude.js - Claude Code command installation (60 lines)
  • codex.js - Codex prompt installation (60 lines)
  • copilot.js - GitHub Copilot prompts and instructions (92 lines)
  • cursor.js - Cursor commands and hooks (128 lines)
  • gemini.js - Gemini command installation (60 lines)
  • opencode.js - OpenCode command installation (60 lines)

Skills Management (src/skills/)

  • executor.js - Skill execution and loading (79 lines)
  • finder.js - Skill discovery across directories (187 lines)
  • installer.js - Git-based skill installation (494 lines)
  • locator.js - Skill path resolution and matching (140 lines)
  • parser.js - Frontmatter and metadata parsing (108 lines)

Utility Functions (src/utils/)

  • file-ops.js - Safe file operations (18 lines)
  • frontmatter.js - YAML frontmatter extraction (81 lines)
  • output.js - Colored console output and formatting (86 lines)

🔧 Modern Build System

esbuild Integration

  • Fast, modern JavaScript bundler
  • ES module support throughout codebase
  • Minification and optimization for production
  • Source maps for debugging (optional)

New Build Scripts (package.json)

{
  "scripts": {
    "build": "node build.js",              // Production build
    "dev": "node src/cli.js",              // Run unbundled for development
    "watch": "node build.js --watch",      // Auto-rebuild on changes
    "dev:link": "node scripts/link.cjs dev",           // Development symlink
    "production:link": "node scripts/link.cjs production"  // Production symlink
  }
}

Build Process (build.js)

  • Bundles all modules into single executable
  • Adds shebang for command-line execution
  • Sets proper file permissions automatically
  • Configurable minification and source maps
  • Target: Node.js 18+ with ES modules

Development Tools

  • scripts/extract-modules.py - Python tool for extracting modules from monolith
  • scripts/finish-extraction.sh - Finalization script for module extraction
  • scripts/link.cjs - Symlink management for development/production modes

💡 Benefits of Modular Architecture

For Contributors:

  • Clear separation of concerns—easy to find relevant code
  • Smaller files (60-494 lines) instead of 3,406-line monolith
  • Focused modules with single responsibilities
  • Easier to write tests for individual components
  • Safe to modify without fear of breaking unrelated features

For Maintainers:

  • Logical organization by function (CLI, Commands, Core, Integrations, Skills, Utils)
  • Dependencies explicit through imports
  • Easy to add new platforms (just add integration module)
  • Easy to add new commands (just add to commands layer)
  • Clear patterns for new contributions

For Future Development:

  • Foundation for unit testing infrastructure
  • Enables tree-shaking and dead code elimination
  • Supports incremental improvements without cascading changes
  • Clear extension points for new features
  • Modern JavaScript patterns (ES modules, async/await)

For End Users:

  • Faster startup with optimized bundle
  • Smaller disk footprint (90% reduction)
  • Same powerful features, zero breaking changes
  • Improved reliability through better code organization

🚀 Technical Improvements

Code Organization:

  • ES modules (import/export) replace CommonJS
  • Async/await patterns for all I/O operations
  • Functional decomposition with clear module boundaries
  • Consistent error handling across modules
  • Shared utilities eliminate code duplication

Development Workflow:

  • Run unbundled code directly with npm run dev
  • Auto-rebuild on changes with npm run watch
  • Development mode preserves file paths for debugging
  • Production mode creates optimized executable

Package Management:

  • Added package.json with proper metadata
  • esbuild as only dev dependency
  • Node.js 18+ target (native fetch, ES modules)
  • Git repository links and bug tracking URLs

🔄 Migration and Compatibility

Zero Breaking Changes:

  • All command-line interfaces unchanged
  • All flags and arguments work identically
  • All configuration files remain compatible
  • All skills continue working without modification
  • All platform integrations unaffected

Automatic Migration:

  • No user action required
  • Update via superpowers-agent update or git pull
  • Build happens automatically on first run
  • Original preserved as superpowers-agent-backup.js

Backward Compatibility:

  • Old monolithic version backed up
  • Can revert if needed (though no issues expected)
  • All existing workflows continue functioning
  • Script compatibility maintained

📚 Documentation Updates

Updated Files:

  • package.json - Version bumped to 6.0.0, added build scripts
  • superpowers-agent - Now 324-line optimized bundle
  • superpowers-agent-backup.js - Original 3,406-line version preserved
  • .agents/templates/AGENTS.md.template - Added updates monitoring section
  • This release notes section

New Files:

  • build.js - Build configuration and process
  • All 22 modular source files in src/ directory
  • scripts/extract-modules.py - Module extraction tooling
  • scripts/finish-extraction.sh - Extraction finalization
  • scripts/link.cjs - Symlink management

🎯 What This Means

v6.0.0 represents a major milestone:

  1. Maintainability: Code is now easily understood and modified
  2. Extensibility: Adding features is straightforward and safe
  3. Performance: Faster execution with optimized bundle
  4. Quality: Better organization leads to fewer bugs
  5. Community: Lower barrier to contribution
  6. Future: Foundation for continued innovation

The major version bump (5.x → 6.x) reflects the internal transformation, not breaking API changes. Users experience zero disruption while gaining all the benefits of modern architecture.

💭 Philosophy

This rewrite embodies Superpowers' core principles:

  • Systematic over ad-hoc: Organized structure beats sprawling monolith
  • Complexity reduction: 22 focused modules simpler than one giant file
  • Evidence over claims: Bundle size reduction is measurable
  • Domain over implementation: Clear layers match mental models

The v6.0.0 modernization ensures Superpowers can grow and evolve for years to come.


v5.4.0 (November 25, 2025)

🎯 Dynamic Tool Mappings System

Platform-Specific Tool Mapping Templates

  • Created modular tool mapping template files for each platform in .agents/templates/:
    • TOOLS-GITHUB-COPILOT.md.template - Comprehensive GitHub Copilot tool mappings (20+ tools)
    • TOOLS-CURSOR.md.template - Complete Cursor tool mappings including MCP support
    • TOOLS-CLAUDE-CODE.md.template - Full Claude Code tool mappings with subagents
    • TOOLS-GEMINI.md.template - Gemini CLI tool mappings
    • TOOLS-OPENCODE.md.template - OpenCode tool mappings with subagent support
    • TOOLS-CODEX.md.template - Codex tool mappings
  • Updated AGENTS.md.template to use {{TOOL_MAPPINGS}} placeholder for dynamic injection
  • Updated superpowers-bootstrap.md to reference platform-specific files instead of inline mappings

Automated Platform Detection and File Generation

  • New detectPlatforms() function automatically detects installed AI coding assistants
  • New generateToolMappings(platforms) creates combined tool mappings for multiple platforms
  • New updatePlatformFile() creates/updates platform-specific files with proper markers
  • Files wrapped in <!-- SUPERPOWERS_SKILLS_START --> / <!-- SUPERPOWERS_SKILLS_END --> markers for safe updates

Bootstrap Command Enhancement

  • superpowers-agent bootstrap now generates platform-specific configuration files:
    • ~/.agents/AGENTS.md - Universal file with all detected platform mappings
    • ~/.github/copilot-instructions.md - GitHub Copilot specific (if detected)
    • ~/.claude/CLAUDE.md - Claude Code specific (if detected)
    • ~/.gemini/GEMINI.md - Gemini specific (if detected)
    • ~/.config/opencode/AGENTS.md - OpenCode specific (if detected)
    • ~/.codex/AGENTS.md - Codex specific (if detected)
  • Each file includes only the relevant tool mappings for that platform
  • Automatic heading generation for new files (e.g., # CLAUDE.MD, # GEMINI.MD)
  • Backup protection for existing files before updates

Setup-Skills Command Enhancement

  • superpowers-agent setup-skills detects project platforms and generates appropriate mappings
  • Updates project AGENTS.md with detected platform tool mappings
  • Updates platform-specific files (copilot-instructions.md, CLAUDE.md, GEMINI.md) if they exist
  • Only includes relevant platforms per file type (e.g., Cursor/OpenCode in AGENTS.md, not in CLAUDE.md)

🔄 Cursor Hook Optimization

New beforeSubmitPrompt Hook

  • Created hooks/cursor/before-submit-prompt.sh for prompt injection before submission
  • Checks if project AGENTS.md has proper superpowers content with Cursor mappings
  • If not found, instructs agent to read ~/.agents/AGENTS.md before processing prompt
  • Replaces old afterAgentResponse and stop hooks for better performance

Updated Hooks Configuration

  • hooks/cursor/hooks.json now uses beforeSubmitPrompt instead of afterAgentResponse/stop
  • More efficient: injects context once per prompt instead of post-response
  • Reduces conversation overhead and improves response times
  • Old hook files (detect-new-conversation.sh, inject-bootstrap.sh) kept for reference but no longer used

Bootstrap Integration

  • installCursorHooks() automatically installs new hook system
  • Success message updated to reflect new behavior
  • Restart Cursor for hooks to take effect

📝 Enhanced Tool Mappings

GitHub Copilot (20+ tools documented)

  • Task management: manage_todo_list, runSubagent
  • File operations: read_file, create_file, replace_string_in_file, multi_replace_string_in_file
  • Search: grep_search, file_search, semantic_search
  • Terminal: run_in_terminal, get_terminal_output
  • Notebooks: edit_notebook_file, run_notebook_cell, copilot_getNotebookSummary
  • Diagnostics: get_errors
  • Git: get_changed_files
  • Web: fetch_webpage

Cursor (15+ tools documented)

  • Task management: todo_write
  • File operations: read_file, write, search_replace, delete_file
  • Search: grep, glob_file_search, codebase_search
  • Terminal: run_terminal_cmd
  • Notebooks: edit_notebook
  • Diagnostics: read_lints
  • MCP: Various MCP server tools (Playwright, Context7)
  • Web: web_search

Claude Code (20+ tools documented)

  • Full tool suite including TodoWrite, Task, Skill, SlashCommand
  • Comprehensive file operations and search tools
  • Background process management: BashOutput, KillShell
  • Interactive features: AskUserQuestion
  • MCP integration: mcp__ide__getDiagnostics, mcp__ide__executeCode

Gemini, OpenCode, Codex

  • Complete tool mappings with platform-specific details
  • Clear explanations of capabilities and limitations
  • Proper tool name mappings for each platform

🛠️ Technical Improvements

Helper Functions

  • loadToolMappingTemplate(platform) - Loads individual platform templates
  • generateToolMappings(platforms) - Combines multiple platform mappings
  • detectPlatforms() - Auto-detects installed AI coding tools
  • updatePlatformFile(filePath, templateContent, platforms, createIfMissing) - Unified file update logic

File Management

  • Automatic directory creation for platform-specific files
  • Proper heading generation for new markdown files
  • Marker-based content updates preserve custom content
  • Timestamp-based backups before overwriting files

Code Organization

  • Separated tool mappings from main template for maintainability
  • Centralized platform detection logic
  • Reusable file update function for bootstrap and setup-skills commands

📚 Documentation Updates

  • Updated AGENTS.md.template with dynamic tool mapping system
  • Updated superpowers-bootstrap.md to reference platform-specific files
  • This release notes section

🔧 Breaking Changes

None - Backward Compatible

  • Existing AGENTS.md, CLAUDE.md, and GEMINI.md files continue to work
  • New marker-based system only activates on next update
  • Old tool mappings in existing files remain functional
  • No action required for existing installations

💡 Benefits

For Users:

  • Always up-to-date tool mappings for your specific platforms
  • No more outdated or irrelevant tool documentation
  • Cleaner, more focused tool references
  • Automatic updates when new platforms are installed

For Maintainers:

  • Single source of truth for each platform's tool mappings
  • Easy to update individual platform templates
  • Reduced duplication across multiple files
  • Automated synchronization across global and project files

For AI Agents:

  • More accurate tool usage guidance
  • Platform-specific instructions always available
  • Reduced confusion from irrelevant tool mappings
  • Better skill execution with correct tool names

v5.3.0 (November 24, 2025)

🔄 Command Refactoring

Renamed: use-skillexecute

  • More intuitive command name for loading and running skills
  • Updated all documentation, examples, and slash commands
  • Backward compatibility note: Old use-skill command still works but is deprecated

Command Updates Across All Platforms:

  • OpenCode: /execute (was /use-skill)
  • Claude Code: Updated commands/using-a-skill.md
  • GitHub Copilot: /execute via superpowers-execute.prompt.md
  • Cursor: /execute command
  • Gemini: /execute via execute.toml
  • Codex: /execute prompt file

🆕 New Commands

path Command

  • Returns the file system path to a skill's SKILL.md file
  • Supports aliases and smart matching
  • Enables programmatic access to skill content
  • Usage: superpowers-agent path <skill-name-or-alias>

Examples:

superpowers-agent path brainstorming
# Output: /Users/username/.agents/superpowers/skills/collaboration/brainstorming/SKILL.md

superpowers-agent path superpowers:collaboration/brainstorming
superpowers-agent path block-collection  # Using alias

Complementary Commands:

  • dir - Returns skill directory path
  • path - Returns SKILL.md file path
  • get-helpers - Returns specific helper file path
  • execute - Loads and executes a skill

🛠️ Enhanced create-skill-json Skill

Strict 5-Field Enforcement

  • Added CRITICAL note that skill.json must have EXACTLY 5 fields
  • Comprehensive FORBIDDEN FIELDS section with 40+ banned fields organized by category
  • Rationalization Table with 10 common excuses and counters
  • Updated verification checklist with field count requirement (jq 'keys | length' must equal 5)
  • Created test-scenarios.md for testing with subagents

Forbidden Field Categories:

  • Documentation fields (description, keyConcepts, overview) → Use SKILL.md
  • Discovery fields (tags, keywords, triggers) → Use find-skills
  • Capability fields (capabilities, features, functions) → Document in SKILL.md
  • Reference fields (references, resources, links) → Use helper files
  • Structure fields (components, modules, apis) → Use SKILL.md or helpers
  • Metadata fields (author, contributors, license) → Track in git
  • Usage fields (examples, userLevels, quickStart) → Use helpers
  • Statistics fields (stats, metrics, counts) → Not used by tooling
  • Update fields (updateInstructions, changelog) → Track in git
  • Configuration fields (config, settings, options) → Use helper files

The Only 5 Allowed Fields:

  1. version - Version tracking
  2. name - Skill path identifier
  3. title - Human-readable name
  4. helpers - Array of helper file paths
  5. aliases - Array of alternative names

📚 Documentation Updates

Updated Files:

  • README.md - All use-skill references changed to execute, added path command documentation
  • INSTALL.md - Updated command reference
  • RELEASE-NOTES.md - This section
  • All slash command files updated for command rename
  • .github/copilot-instructions.md - Updated with execute command

Command Comparison:

Old Command New Command Purpose
use-skill <name> execute <name> Load and run a skill
N/A path <name> Get SKILL.md file path
dir <name> dir <name> Get skill directory (unchanged)

🔧 Breaking Changes

None - Backward Compatible

  • Old use-skill command still works (deprecated but functional)
  • Existing scripts and workflows continue to function
  • Gradual migration recommended but not required

💡 Migration Guide

For Users:

  • Replace superpowers-agent use-skill with superpowers-agent execute in scripts
  • Update slash command usage from /use-skill to /execute
  • No immediate action required - both commands work

For Skill Authors:

  • When creating new skill.json files, strictly follow the 5-field structure
  • Use enhanced create-skill-json skill to prevent field bloat
  • Verify with jq 'keys | length' skill.json (must output 5)

v5.2.3 (November 23, 2025)

🐛 Bug Fixes

Symlink Support for Nested Skills

  • Fixed find-skills to discover skills in symlinked directories
  • Fixed execute to load skills from symlinked nested directories
  • Both functions now detect and follow symlinks using statSync()
  • Gracefully handles broken symlinks with try/catch
  • Enables personal skill organization with symlinked category directories

Technical Details:

  • Node.js readdirSync() with withFileTypes returns isDirectory()=false for symlinks
  • Solution: Check entry.isSymbolicLink() and use statSync() to verify target is directory
  • Applied to both findSkillsInDir() and findMatchingSkills() functions

Example Use Case:

# Personal skills organized with symlinks
~/.agents/skills/
  aem/ -> /Users/username/sites/ai/skills/aem/  # Symlinked directory
    authoring-analysis/SKILL.md
    block-collection-and-party/SKILL.md
    # ... 14+ more AEM skills

# Now discovered correctly by find-skills
superpowers-agent find-skills | grep aem
superpowers-agent execute aem/authoring-analysis  # Works!
superpowers-agent execute authoring-analysis       # Smart matching works too!

v5.2.2 (November 23, 2025)

🎯 New Skills

create-skill-json Skill (meta/create-skill-json)

  • Generate skill.json metadata files from SKILL.md frontmatter and directory structure
  • Ensures consistent metadata across repositories
  • Automatically extracts version, title, and helpers from existing files
  • Generates standard aliases (full path + skill name)
  • Validates JSON syntax with jq (if available)
  • TDD-tested with baseline and pressure scenarios

verification-before-completion Skill (testing/verification-before-completion)

  • Ported from Jesse Vincent's original Superpowers repository
  • Enforces evidence-based completion claims
  • Prevents "should work" or "looks correct" without verification
  • Requires running verification commands before success claims
  • Comprehensive rationalization prevention
  • Critical for maintaining trust and quality

🔧 Infrastructure Updates

Hook Modernization

  • Updated hooks/session-start.sh to use superpowers-agent CLI
  • Updated hooks/cursor/inject-bootstrap.sh for superpowers-agent detection
  • Removed direct filesystem references in favor of CLI commands
  • Better error handling when superpowers-agent not installed
  • Installation instructions displayed when CLI tool missing

📚 Documentation

Skill Documentation

  • create-skill-json includes complete process with validation steps
  • verification-before-completion maintains original iron law philosophy
  • Both skills include frontmatter for proper metadata extraction

💡 Usage Examples

Generate skill.json:

# Load the skill (if superpowers-agent indexed)
superpowers-agent use-skill create-skill-json

# Follow the process to generate skill.json
# Input: path to SKILL.md or directory containing SKILL.md
# Output: skill.json in same directory as SKILL.md

Verification before completion:

# Automatically activates when claiming work is complete
# Enforces: Evidence before claims, always
# Prevents premature success declarations

🎓 Credits

  • create-skill-json: Created using writing-skills and testing-skills-with-subagents methodology
  • verification-before-completion: Ported from @obra/superpowers with gratitude to Jesse Vincent

v5.2.1 (November 23, 2025)

📋 Metadata Management

Complete skill.json Coverage

  • Added skill.json files for all 35 skills in the repository
  • Automated extraction of metadata from SKILL.md frontmatter
  • Version tracking synced with individual skill versions (1.0.0 to 5.1.0)
  • Helper file discovery for all skills with scripts and resources

Version Distribution

  • v5.1.0 (2 skills): creating-prompts, writing-skills - Most mature skills
  • v3.1.0 (1 skill): test-driven-development
  • v2.2.0 (2 skills): brainstorming, executing-plans
  • v2.1.0 (3 skills): sharing-skills, writing-plans, systematic-debugging
  • v1.1.0 (20 skills): Most collaboration, debugging, and problem-solving skills
  • v1.0.0 (6 skills): Skills without explicit versions in frontmatter

skill.json Structure

  • version: Extracted from SKILL.md frontmatter or defaults to 1.0.0
  • name: Full skill path with superpowers: prefix (e.g., superpowers:collaboration/brainstorming)
  • title: Human-readable name from SKILL.md frontmatter
  • helpers: Auto-detected scripts, examples, templates, and resources
  • aliases: Short names and full paths for flexible skill loading

Helper File Detection

  • Automatically scans: scripts, tools, resources, references, examples, helpers, utils, utilities, templates
  • Includes root-level helper files (excluding SKILL.md and skill.json)
  • 9 skills with helper files identified and cataloged

🎯 Skills with Helper Files

  • creating-prompts (v5.1.0): 9 helpers including scripts, examples, templates
  • gardening-skills-wiki (v1.1.0): 7 analysis and maintenance scripts
  • playwright-skill (v1.0.0): 3 helpers including scripts and API reference
  • context-7 (v1.0.0): 3 helpers including search and docs scripts
  • writing-skills (v5.1.0): 2 helpers (graphviz conventions, persuasion principles)
  • root-cause-tracing (v1.1.0): find-polluter.sh script
  • testing-skills-with-subagents (v1.1.0): example test file
  • requesting-code-review (v1.1.0): code-reviewer agent definition
  • condition-based-waiting (v1.1.0): TypeScript example

📚 Documentation Updates

README.md

  • Added note about complete skill.json coverage across all 35 skills
  • Documented version tracking and distribution
  • Added examples of using skill.json features
  • Listed most mature skills and their versions

Benefits

  • Helper file discovery via superpowers-agent get-helpers
  • Skill alias support for convenient loading
  • Version tracking for skill evolution monitoring
  • Foundation for future skill marketplace and sharing features

💡 Usage Examples

# Use skill with aliases
superpowers-agent use-skill brainstorming
superpowers-agent use-skill tdd  # Works with test-driven-development

# Find helper files
superpowers-agent get-helpers creating-prompts template
superpowers-agent get-helpers root-cause-tracing polluter

# Get skill directory for direct file access
SKILL_DIR=$(superpowers-agent dir writing-skills)
ls -la "$SKILL_DIR"

v5.2.0 (November 23, 2025)

🎯 Major New Features

Skill Installation System

  • add command - Install skills from Git repositories, local directories, or repository aliases

    • Supports GitHub repositories (including tree URLs with branches)
    • Supports local file system paths
    • Automatic multi-skill detection from skill.json
    • Global (~/.agents/skills/) or project (.agents/skills/) installation
    • Smart directory structure creation based on skill name field
    • Example: superpowers-agent add https://github.com/example/skills.git
  • add-repository command - Create shortcuts for frequently used skill repositories

    • Automatic alias detection from repository's skill.json
    • Custom aliases with --as=@alias flag
    • Stores aliases in config files for easy reuse
    • Project or global alias registration
    • Example: superpowers-agent add-repository https://github.com/example/skills.git --as=@myskills
  • Repository alias support - Install skills using short, memorable aliases

    • Configure aliases in config.json under repositories object
    • Use aliases with paths: superpowers-agent add @myskills path/to/skill
    • Install entire repositories: superpowers-agent add @myskills
    • Priority resolution: project repositories > global repositories
    • Lists available aliases when unknown alias is used

Skill Metadata with skill.json

  • helpers field - Define helper scripts for easy discovery

    • Smart substring matching for finding helpers
    • Used by get-helpers command
    • Example: "helpers": ["scripts/search.js", "scripts/parse.js"]
  • aliases field - Define short names for skills

    • Multiple aliases per skill supported
    • Used by use-skill and get-helpers commands
    • Example: "aliases": ["block-party", "block-collection"]
  • repository field - Set default repository alias

    • Automatic detection during add-repository
    • Example: "repository": "@myskills"
  • skills array - Define multi-skill repositories

    • Lists all skills in the repository
    • Each skill has its own skill.json
    • Example: "skills": ["skill-one", "skill-two"]
  • name field - Control installation paths

    • Determines directory structure when installing
    • Supports nested paths like category/skill-name
    • Example: "name": "aem/building-blocks"
  • title field - Human-readable skill name

    • Used in installation success messages
    • Example: "title": "Building Blocks for AEM"

Helper File Discovery

  • get-helpers command - Find helper files within skills
    • Reads helpers array from skill's skill.json
    • Smart substring matching to find best match
    • Supports skill aliases for convenience
    • Returns full path to helper file
    • Example: superpowers-agent get-helpers block-collection search

Skill Directory Navigation

  • dir command - Get the directory path of any skill
    • Supports all skill name formats (short names, aliases, full paths)
    • Useful for scripting and automation
    • Works with skill aliases
    • Example: superpowers-agent dir brainstorming

🔧 Configuration Enhancements

Repository Management

  • New repositories object in config.json for repository aliases
  • Global configuration: ~/.agents/config.json
  • Project configuration: .agents/config.json
  • Repository URLs can be Git URLs or local paths
  • Example configuration:
    {
      "installLocation": "global",
      "repositories": {
        "@myskills": "https://github.com/example/skills.git",
        "@internal": "/path/to/local/skills"
      }
    }

Installation Location Control

  • New installLocation config option ("global" or "project")
  • Controls default behavior for add and add-repository commands
  • Can be overridden with --global or --project flags
  • Project config takes precedence over global config

📚 Documentation Updates

README.md

  • Added comprehensive skill.json documentation
    • Single skill configuration
    • Multi-skill repository configuration
    • Field descriptions and usage examples
  • Added CLI commands section
    • Skill discovery commands
    • Skill installation commands
    • Configuration commands
    • Project setup commands
  • Enhanced repository aliases section
    • Configuration format examples
    • Usage examples with aliases
    • Benefits of using repository aliases
  • Added detailed examples for new commands

Command Reference

  • add <url-or-path|@alias> [path] [options] - Install skills
  • add-repository <git-url> [--as=@alias] [options] - Add repository alias
  • dir <skill-name> - Get skill directory path
  • get-helpers <skill> <search-term> - Find helper files

🚀 Improvements

Skill Installation

  • Automatic cleanup of temporary directories
  • Detailed success/error reporting
  • Support for nested directory structures
  • Handles both single skills and multi-skill repositories
  • Validates skill.json presence and format

Error Handling

  • Clear error messages when skills not found
  • Lists available aliases when unknown alias used
  • Validates repository URLs and local paths
  • Helpful suggestions for fixing errors

User Experience

  • Progressive output during installation
  • Clear indication of install location
  • Lists all installed skills with paths and titles
  • Confirms repository alias registration

🐛 Bug Fixes

  • Fixed skill installation from local paths
  • Corrected handling of tree URLs with branches
  • Improved directory creation for nested skill paths
  • Fixed config file creation when directories don't exist

💡 Usage Examples

Install skills from Git repository:

superpowers-agent add https://github.com/example/skills.git

Add repository alias and use it:

superpowers-agent add-repository https://github.com/example/skills.git --as=@myskills
superpowers-agent add @myskills path/to/skill

Find helper files:

superpowers-agent get-helpers block-collection search-block

Get skill directory:

SKILL_DIR=$(superpowers-agent dir brainstorming)
ls -la "$SKILL_DIR"

v5.1.1 (November 21, 2025)

New Features

Meta-Prompt Slash Command

  • Added /meta-prompt (or /create-meta-prompt) command to all supported platforms
  • Provides quick access to the creating-prompts skill for structured prompt creation
  • Consistent command syntax across OpenCode, Claude Code, GitHub Copilot, Cursor, Gemini, and Codex
  • Commands automatically installed via bootstrap/update processes
  • Makes the creating-prompts skill more discoverable and easy to invoke

Improvements

Command Discoverability

  • All platform command tables in README.md now include /meta-prompt command
  • Clear descriptions help users understand when to use the command
  • Platform-specific naming follows existing conventions (e.g., /meta-prompt for OpenCode, /create-meta-prompt for others)

Documentation

README Updates

  • Added /meta-prompt to all platform command tables
  • Updated documentation for OpenCode, Claude Code, GitHub Copilot, Cursor, Gemini, and Codex
  • Consistent command descriptions across all platforms

RELEASE-NOTES Updates

  • Added v5.1.1 release section with comprehensive changelog
  • Documented all new command files and their locations

v5.1.0 (November 21, 2025)

New Features

Creating Prompts Skill (adapted from TÂCHES)

  • Agent-agnostic prompt creation workflow for Do/Plan/Research/Refine patterns
  • Structured templates with examples for each prompt type
  • Dependency detection via file references for chaining prompts
  • Integration with brainstorming, writing-plans, and testing-skills-with-subagents
  • Checklist-driven workflow ensures completeness
  • SUMMARY.md template for executive summaries
  • Credit to TÂCHES for pioneering meta-prompt patterns

Configuration System

  • New .agents/config.json for project and global settings
  • Configure output directories: prompts_dir, plans_dir, skills_dir
  • Priority resolution: project config > global config > defaults
  • CLI command: superpowers-agent get-config <key>
  • Enables customization without modifying core skills

Improvements

Writing Plans Skill Update

  • Now uses .agents/plans/ directory (configurable via config.json)
  • Respects .agents/config.json settings for output location
  • Consistent with new configuration system
  • Added documentation comparing prompts vs plans

Documentation

README Updates

  • Added creating-prompts to Meta skills section
  • New Configuration section explaining config system
  • Examples of global and project-level configuration

RELEASE-NOTES Updates

  • Comprehensive changelog for v5.1.0 features
  • Attribution to TÂCHES for create-meta-prompts inspiration

Credits

Special thanks to TÂCHES (@glittercowboy) for the innovative create-meta-prompts skill that inspired our creating-prompts skill. TÂCHES pioneered structured prompt-to-prompt workflows with dependency management—this adaptation makes those patterns work across all AI coding assistants.


v5.0.0 (November 19, 2025)

New Features

One-Liner Global Installer

  • Homebrew-style installation script for quick setup
  • Automatically installs to ~/.agents/superpowers (works from anywhere)
  • Sets up universal CLI aliases during installation
  • Optional project file integration with interactive prompts
  • Cross-platform support (macOS, Linux, Windows via Git Bash)

Universal CLI Aliases

  • superpowers and superpowers-agent commands available globally after installation
  • No need to type full paths or remember installation location
  • Shell integration for zsh, bash, and Windows PowerShell
  • Aliases persist across terminal sessions

Smart Skill Matching

  • Suffix-based skill lookup for easier access
  • Type superpowers use-skill brainstorming instead of full path superpowers:collaboration/brainstorming
  • Multi-level suffix matching: both brainstorming and collaboration/brainstorming work
  • Priority resolution: project skills → home skills → global superpowers skills
  • Helpful error messages with descriptions when multiple skills match at same priority level
  • Full paths still supported for explicit selection

Improvements

Enhanced Setup Skills Command

  • /setup-skills now properly initializes AGENTS.md, CLAUDE.md, and GEMINI.md in projects
  • Template-based generation ensures consistent instruction files
  • Fixed context detection when adding skills to existing projects
  • Improved project root detection for accurate file placement

Installation Documentation

  • New comprehensive INSTALL.md with step-by-step instructions
  • Troubleshooting section for common issues
  • Manual installation options for users preferring project-specific setup
  • Platform-specific guidance for macOS, Linux, and Windows

README Updates

  • Added "What's New" section highlighting November 2025 improvements
  • Updated Quick Start section with smart skill matching examples
  • Documented priority order for skill resolution
  • Enhanced installation instructions with security notes

Breaking Changes

Global Installation Model

  • Default installation location changed from project-specific .agents/superpowers to global ~/.agents/superpowers
  • Enables "install once, use everywhere" workflow
  • Manual installations can still use project-specific locations if preferred
  • Existing installations continue to work; global installation is optional

Bug Fixes

  • Fixed setup-skills command incorrectly referencing skill usage in generated files
  • Resolved context detection issues when adding skills to projects
  • Fixed CLAUDE.md and GEMINI.md update inconsistencies during setup
  • Corrected template generation to avoid duplicate skill listings

v4.0.0 (October-November 2025)

This release marks the fork of Jesse Vincent's Superpowers for Claude Code, extending it to support agent-agnostic workflows across GitHub Copilot, Cursor, Gemini, Codex, OpenCode, and other AI coding assistants.

New Features

Multi-Platform Support

  • Added slash commands and prompts for GitHub Copilot (.github/prompts/)
  • Added slash commands for Cursor (.cursor/commands/)
  • Added slash commands for Gemini (.gemini/commands/)
  • Added prompts for Codex (.codex/prompts/)
  • Added commands for OpenCode (.opencode/command/)
  • Added commands for Claude Code (.claude/commands/)
  • All platforms use same skill definitions via unified superpowers-agent CLI
  • Consistent command syntax across all tools: /brainstorm, /write-plan, /execute-plan, /skills, /use-skill, /setup-skills

MCP Replacement Skills

  • Added context-7 skill for library documentation search via Context-7 API
  • Added playwright-skill for browser automation without MCP overhead
  • Achieves ~98% context reduction compared to MCP integrations
  • Progressive disclosure: load full API references only when needed
  • Node.js-based scripts for cross-platform compatibility
  • In-environment filtering processes data before hitting model context

Setup Skills Command

  • New /setup-skills command initializes projects with instruction files
  • Automatically creates AGENTS.md, CLAUDE.md, and GEMINI.md
  • Template-based generation ensures consistency
  • Available across all supported platforms

Leveraging CLI Tools Skill

  • New skill teaching agents to use high-performance CLI tools
  • Covers rg (ripgrep), jq, fd, bat, ast-grep
  • Provides 5-50x speedups over standard tools
  • Includes verification patterns and fallback strategies

Writing Prompts Skill

  • Guides creation of custom slash commands for GitHub Copilot, Cursor, and Claude
  • Platform-specific syntax and file location guidance
  • Best practices for effective prompt engineering
  • Covers when to create commands vs when to use existing skills

Testing Skills with Subagents

  • RED-GREEN-REFACTOR methodology for testing process documentation
  • Baseline testing without skill, then iterate to close loopholes
  • Verify skills work under pressure and resist rationalization
  • Systematic validation before deployment

Improvements

Skill Reorganization

  • Restructured skills directory with clearer categories
  • Categories: collaboration, testing, debugging, meta, mcp-replacement, problem-solving, research, architecture
  • Improved discoverability with consistent naming conventions
  • Better separation of concerns between skill types

Auto-Update System

  • Bootstrap process checks for updates intelligently
  • Only reinstalls integrations that have changed
  • Respects local modifications and branch state
  • Clear status messages about update success or pending changes

Conditional Tool Detection

  • Bootstrap detects available platforms automatically
  • Installs only relevant slash commands for detected tools
  • Reduces clutter and setup time
  • Smart detection for VS Code, Cursor, Gemini CLI, etc.

Breaking Changes

Agent-Agnostic Architecture

  • Moved from Claude Code-specific plugin to universal CLI tool
  • obra's original Claude Code plugin still available separately at github.com/obra/superpowers
  • New architecture supports any AI assistant that can run shell commands
  • Slash commands now thin wrappers around superpowers-agent CLI

Skill Priority System

  • New resolution order: project skills → home skills → global superpowers skills
  • Project-specific skills (.agents/skills/) have highest priority
  • Personal skills (~/.agents/skills/) override global superpowers skills
  • Enables local customization without modifying core installation

Documentation

Installation Guides

  • Created platform-specific installation documentation
  • Added troubleshooting sections for common issues
  • Documented manual installation options
  • Clear explanations of global vs project-specific installation

README Overhaul

  • Added "What You Get" section summarizing features
  • Updated installation instructions for multi-platform support
  • Documented slash commands for each platform
  • Added skill library overview with categories

Contributing

Found a bug or have a feature request? Open an issue.

Want to contribute? See our skills in skills/ and follow the patterns in skills/meta/writing-skills/.

Original Project

This is a fork of obra/superpowers. For Claude Code-specific features, see Jesse Vincent's original implementation and blog post.