opencode-power-pack

Eleven Claude Code workflows, adapted for modern OpenCode.
Code review, security audit, feature development, frontend design, project memory, and authoring tools.

<<<<<<< HEAD License: MIT and Apache-2.0 ======= License: MIT and Apache-2.0 >>>>>>> origin/main GitHub stars Last commit GitHub issues Skills: 11 OpenCode 1.18.7+

Install · Skills · Commands · Architecture · Credits

<<<<<<< HEAD

Why This Exists

=======

Built on top of anthropics/claude-plugins-official, anthropics/skills, anthropics/claude-code-security-review, and obra/superpowers. See Acknowledgments.

>>>>>>> origin/main

OpenCode reads SKILL.md natively, but many valuable Claude Code workflows originated as Claude-specific commands and agents. Copying those artifacts directly does not preserve their orchestration, permissions, or subagent behavior.

This package adapts the portable methodology into OpenCode skills, registers the feature-development specialist roles as real read-only subagents, and ships immutable provenance for every upstream work.

It complements obra/superpowers, which provides process skills such as brainstorming, TDD, debugging, and plan execution.

What's Inside

Category Skill Purpose
Review code-review Multi-agent PR review with confidence filtering and reproduction scenarios
Review security-review Security-focused review with category coverage and exploit-path validation
Feature development feature-dev Seven-phase workflow from discovery through implementation and review
Feature development code-explorer Trace a feature across entry points, layers, state, and dependencies
Feature development code-architect Produce a file-level architecture and implementation blueprint
Feature development code-reviewer Adversarial review of a focused local change set
Design frontend-design Create distinctive interfaces with an accessibility and craft rubric
Authoring mcp-builder Design and build MCP servers in TypeScript or Python
Authoring skill-creator Create, test, and improve reusable SKILL.md workflows
Project memory agents-md-improver Audit project rules and propose targeted improvements
Project memory agents-md-revise Capture durable session learnings in project rules

<<<<<<< HEAD code-explorer, code-architect, and code-reviewer are available both as standalone skills and as least-privilege subagents used by feature-dev.


What's inside

Category Skill Source Purpose
Review code-review adapted · claude-plugins-official/code-review Multi-agent PR review with confidence-filtered cross-checks and reproduction scenarios
security-review adapted · claude-code-security-review OWASP-bucketed, three-stage filtering, requires concrete attack PoC per finding
Feature dev feature-dev ported · claude-plugins-official/feature-dev Seven-phase guided workflow: discovery → exploration → questions → architecture → impl → review → summary
code-explorer ported · claude-plugins-official/feature-dev Deep codebase analysis sub-task — traces a feature end-to-end
code-architect ported · claude-plugins-official/feature-dev Decisive architecture blueprint sub-task with file-level implementation map
code-reviewer ported · claude-plugins-official/feature-dev Two-pass adversarial review sub-task with explicit edge-case checklist
Design frontend-design adapted · claude-plugins-official/frontend-design Distinctive, production-grade UI generation that avoids generic AI aesthetics
Authoring mcp-builder adapted · anthropics/skills/mcp-builder Build high-quality MCP servers (Python or TypeScript)
skill-creator adapted · skills/skill-creator Author new SKILL.md files with progressive-disclosure structure
Project memory agents-md-improver adapted · plugins/claude-md-management Audit and update AGENTS.md / CLAUDE.md against the current codebase
agents-md-revise translated · claude-md-management/commands Capture session learnings into project rules — complement to improver

origin/main

Installation

Prerequisites

  • OpenCode 1.18.7 or newer: https://opencode.ai
  • Git, used by OpenCode to fetch Git-based plugins

Install From GitHub

opencode plugin --global "opencode-power-pack@git+https://github.com/waybarrios/opencode-power-pack.git"

Restart OpenCode after installation. OpenCode discovers each skill and creates its same-named slash command automatically.

To pin a published release, append its tag:

opencode plugin --global "opencode-power-pack@git+https://github.com/waybarrios/opencode-power-pack.git#<tag>"

<<<<<<< HEAD

Install From A Local Clone

======= To pin a specific published tag:

"opencode-power-pack@git+https://github.com/waybarrios/opencode-power-pack.git#<tag>"

You still need a local copy of the repo for step 2 (the slash command files live there). Clone it next to wherever you keep code:

origin/main

git clone https://github.com/waybarrios/opencode-power-pack.git ~/code/opencode-power-pack
opencode plugin --global "opencode-power-pack@git+file:///home/you/code/opencode-power-pack"

Use an absolute file:// URL adjusted for your operating system. The target directory must be a Git repository.

Verify

opencode debug skill
opencode debug agent code-explorer

The first command should include all eleven unprefixed skill names. The second should report a subagent with editing denied. In the TUI, ctrl+p should list /code-review, /feature-dev, /frontend-design, and the other skill-derived commands.

Updating

For a GitHub installation:

opencode plugin --global --force "opencode-power-pack@git+https://github.com/waybarrios/opencode-power-pack.git"

<<<<<<< HEAD Restart OpenCode after the command finishes. For a pinned installation, update the tag first. Local-clone users should run git pull in the clone and reinstall with the same git+file:// spec.

If you pinned a version in opencode.json, bump the tag in the JSON before restarting, otherwise OpenCode keeps using the pinned commit.


origin/main

Uninstalling

Remove the opencode-power-pack@... entry from the plugin array in the config where it was installed, then restart OpenCode. There are no command symlinks or copied command files to remove.

Troubleshooting

Symptom Cause Fix
Skills or commands do not appear OpenCode is older than 1.18.7 Upgrade OpenCode, restart, and run opencode debug skill
Skills are missing from debug output Plugin installation failed or its config entry is absent Re-run opencode plugin --global --force <module-spec> and inspect the reported error
Specialist agents are missing Stale plugin checkout Force reinstall, restart, and run opencode debug agent code-explorer
Installation reports a Git error Invalid URL, network failure, or inaccessible repository Validate the source with git ls-remote <url>
A workflow is rushed or incomplete The backing model skipped multi-stage instructions Use a stronger model and inspect whether required subagent tools are available

Slash Commands

OpenCode 1.18.7+ automatically exposes every discovered skill as a same-named slash command:

/code-review
/security-review
/feature-dev
/code-explorer
/code-architect
/code-reviewer
/frontend-design
/mcp-builder
/skill-creator
/agents-md-improver
/agents-md-revise

Examples:

/code-review --comment
/code-review review https://github.com/owner/repo/pull/449
/feature-dev add a logout button to the topbar
/security-review
/frontend-design pricing page, brutalist tone, single-screen

An explicit command with the same name takes precedence over a skill-derived command.

How It Works

opencode-power-pack
|
+-- .opencode/plugins/opencode-power-pack.js
|   +-- registers skills/ in config.skills.paths
|   +-- registers code-explorer as a read-only subagent
|   +-- registers code-architect as a read-only subagent
|   +-- registers code-reviewer with read-only Git commands
|
+-- skills/<name>/SKILL.md
|   +-- native skill-tool entry
|   +-- native same-named slash command
|   +-- immutable source and license metadata
|
+-- UPSTREAMS.json
    +-- repository, commit, path, blob, date, and adaptation type

Each SKILL.md is the single source for its workflow. The plugin derives specialist-agent prompts from those files at startup, so the agent and standalone skill cannot drift apart. Existing user-defined agents with the same names take precedence.

The packaged agents deny edits, external network access, and nested tasks. code-reviewer additionally allows a narrow set of read-only Git commands.

Scope And Non-Goals

In scope Out of scope
<<<<<<< HEAD
Portable Claude Code workflow methodology Claude Code hook contracts
OpenCode-native skills, commands, and subagents Proprietary or non-redistributable plugins
Licensed adaptations with immutable provenance Automatic trust of third-party skill catalogs
Explicit permission boundaries and regression tests Supporting OpenCode versions older than 1.18.7

======= | Porting Claude Code skills where the methodology is portable | Claude Code slash commands ported as Claude-Code-style commands | | Translating commands and agents into SKILL.md format | Claude Code hooks | | Licensed adaptations of upstream skills with immutable provenance | Claude Code output styles | | OpenCode-native slash commands generated from skills | Anything that breaks if you also use Claude Code |


origin/main

Contributing

Contributions are welcome for:

  • Improvements based on reproducible workflow failures
  • Behavioral evaluations and adversarial fixtures
  • Portable references and deterministic helper scripts
  • New ports with a verified license and immutable upstream source

Before opening a PR:

npm test
npm run smoke:opencode
npm pack --dry-run

Live behavioral evaluation is opt-in, needs OPENCODE_EVAL_MODEL, and runs only from a source checkout:

OPENCODE_EVAL_MODEL=provider/model npm run eval:behavioral

See evals/behavioral/README.md for the replay, review, and acceptance workflow. Snapshots are content-addressed evidence from one reviewed model execution, not universal guarantees.

Every skill must use a lowercase hyphenated directory/name, provide a trigger-specific description, remain under 500 lines where practical, and record its exact upstream in UPSTREAMS.json.

Acknowledgments

<<<<<<< HEAD The bundled skills are modified upstream works. This repository contributes their OpenCode adaptation, packaging, additional workflow guidance, tests, and compatibility layer.

The bundled skills are modified upstream works. Most content in skills/ is adapted from skills, commands, or agent definitions written by Anthropic, plus an adaptation of the OpenCode plugin pattern from Jesse Vincent (obra). This repository contributes the OpenCode port, packaging, and additional workflow guidance. Exact sources and Git blobs are recorded in UPSTREAMS.json.

origin/main

Upstream Pinned source Used for
<<<<<<< HEAD
Anthropic claude-plugins-official@bdca23e8 Code review, feature development, frontend design, and project memory
Anthropic skills@5128e186 MCP Builder and Skill Creator
Anthropic claude-code-security-review@0c6a49f1 Security Review
Jesse Vincent superpowers@6efe32c9 OpenCode plugin registration pattern

See UPSTREAMS.json for exact source paths and Git blobs. See THIRD_PARTY_NOTICES.md for attribution and modification notices.

License

The wrapper code and original project material are MIT-licensed under LICENSE. Modified skills derived from Anthropic's official plugins and skills are Apache-2.0, except security-review, whose upstream is MIT. See THIRD_PARTY_NOTICES.md, UPSTREAMS.json, and LICENSES/ for exact terms.

| Anthropic | claude-plugins-official/code-review | The confidence-filtered parallel-review methodology adapted as code-review | | Anthropic | claude-plugins-official/feature-dev | The seven-phase workflow and three specialist roles | | Anthropic | claude-plugins-official/frontend-design | The base frontend-design methodology, substantially extended here | | Anthropic | claude-code-security-review | The MIT security-review command, translated and extended | | Anthropic | anthropics/skills/mcp-builder | The base mcp-builder workflow, adapted without its original resources | | Anthropic | anthropics/skills/skill-creator | The skill-creator workflow, adapted without its original eval tooling | | Anthropic | claude-plugins-official/claude-md-management | The base project-memory workflows, expanded to cover AGENTS.md | | Jesse Vincent (obra) | obra/superpowers | The OpenCode plugin pattern (config.skills.paths.push(...)) used in .opencode/plugins/opencode-power-pack.js |

What this repo actually contributes

  • The translation of Claude-Code-only artifacts (commands and agents) into the SKILL.md format OpenCode reads natively
  • Renaming and adapting claude-md-improver / revise-claude-md to cover both AGENTS.md (OpenCode-native) and CLAUDE.md (compatibility)
  • Deepening the review skills (code-review, code-reviewer, security-review) with extra reviewers, multi-pass adversarial analysis, mandatory category coverage, and concrete-PoC requirements — the originals were already strong; the ports try to compensate for the smaller models people sometimes run under OpenCode by being more directive
  • Bundling everything as a one-line OpenCode plugin, plus generating physical slash command files that inline each skill's full content

Each SKILL.md and generated command marks itself as modified and names its license. See THIRD_PARTY_NOTICES.md for attribution and UPSTREAMS.json for immutable provenance.

If you are one of the upstream authors and you'd like the attribution worded differently — or removed — open an issue and we'll fix it.

License

The wrapper code and original project material are MIT-licensed under LICENSE. Modified skills and command prompts derived from Anthropic's official plugins and skills are Apache-2.0, except security-review, whose upstream is MIT. See THIRD_PARTY_NOTICES.md, UPSTREAMS.json, and LICENSES/ for exact terms and sources.

origin/main

Languages
Python 53.5%
JavaScript 42.3%
Shell 2.5%
CodeQL 1.5%
TypeScript 0.2%