Personal skills library for daily workflows, packaged as Claude Code, GitHub Copilot CLI, and Codex plugins.
Spellbook Skills is a collection of agent skills for daily development workflows — covering test-driven development, git worktrees, code review, API querying, DDD architecture guidance, and more. It also ships a Project Context Hook that injects framework-agnostic project-memory conventions into the agent at session and subagent start (see the Project Context Hook section below).
- Claude Code v1.0.33+
- GitHub Copilot CLI for Copilot plugin, skill, and agent usage
- Codex CLI for Codex plugin and Codex agent role usage
Interactive Claude Code commands:
/plugin marketplace add yyykf/spellbook-skills
/plugin install spellbook-skills@spellbook-marketplace
/reload-plugins
Shell commands:
claude plugin marketplace add yyykf/spellbook-skills
claude plugin install spellbook-skills@spellbook-marketplace --scope userThe marketplace name is spellbook-marketplace, as declared by .claude-plugin/marketplace.json.
GitHub Copilot CLI can install the same remote marketplace and uses the Claude-compatible .claude-plugin/plugin.json, including both skills/ and agents/.
copilot plugin marketplace add yyykf/spellbook-skills
copilot plugin install spellbook-skills@spellbook-marketplaceTo update later:
copilot plugin marketplace update spellbook-marketplace
copilot plugin update spellbook-skills@spellbook-marketplaceThe plugin provides the shared skills plus the reviewer agents declared in .claude-plugin/plugin.json.
Install the Codex plugin marketplace and plugin:
codex plugin marketplace add yyykf/spellbook-skills
codex plugin add spellbook-skills@spellbook-marketplaceCodex loads this plugin's skills through the plugin system, but custom reviewer agents must be installed separately as Codex agent role TOML files.
The installer uses only shell/PowerShell plus curl or Invoke-WebRequest; no Python runtime is required.
Project-scoped install, recommended for a single repository:
script="$(mktemp)"
trap 'rm -f "$script"' EXIT
curl -fsSLo "$script" https://raw.githubusercontent.com/yyykf/spellbook-skills/main/scripts/install-codex-agents.sh
bash "$script"User-scoped install, available across repositories:
script="$(mktemp)"
trap 'rm -f "$script"' EXIT
curl -fsSLo "$script" https://raw.githubusercontent.com/yyykf/spellbook-skills/main/scripts/install-codex-agents.sh
bash "$script" --scope userFrom a local checkout:
./scripts/install-codex-agents.sh --scope projectWindows PowerShell:
$script = Join-Path $env:TEMP "install-codex-agents.ps1"
Invoke-WebRequest https://raw.githubusercontent.com/yyykf/spellbook-skills/main/scripts/install-codex-agents.ps1 -OutFile $script
powershell -NoProfile -ExecutionPolicy Bypass -File $script -Scope projectFrom a local checkout on Windows, scripts/install-codex-agents.cmd and scripts/install-codex-agents.bat are thin PowerShell wrappers.
The installer writes namespaced Codex roles under agents/spellbook:
- Project scope:
./.codex/agents/spellbook/*.toml - User scope:
${CODEX_HOME:-$HOME/.codex}/agents/spellbook/*.toml
It does not overwrite existing files unless --force or -Force is provided.
After installation, skills are namespaced by the plugin name:
/spellbook-skills:<skill-name>
| Skill | Description |
|---|---|
using-git-worktrees-lite |
Create a worktree from the current branch with build/compile verification only (no tests) |
finishing-a-development-branch-lite |
Use build/compile verification as the completion gate, then merge/PR/keep/discard and clean up the worktree |
reviewing-gitlab-mr-comments |
Review GitLab MR comments via glab, summarize feedback, and propose a checklist or plan before execution |
yapi-skill |
Read and write YApi without running an MCP server: search interfaces, fetch interface details, and sync (upsert) one interface's docs from an OpenAPI contract via Python scripts (dry-run by default) |
simplify |
Review changed code for reuse, quality, and efficiency with three parallel review passes, then fix issues found. Codex uses the optional namespaced reviewer agents installed above. |
ddd-best-practices |
DDD architecture best practices for Java/Spring Boot — layering decisions, domain modeling, code templates, test strategy, review checklists, and MVC-to-DDD migration |
test-driven-development |
Red-green-refactor TDD discipline with Kent Beck's Tidy First (structural vs behavioral changes) and a Canon test list; language-agnostic core, with per-language notes for Java/TS/Python/Go/Rust |
git-commit |
Prepare Git commits from the real diff: read repo rules first, choose atomic splits, run lightweight checks, and generate Conventional Commit messages. Emoji is opt-in via --emoji after type(scope): |
git-merge-request |
One-shot commit + push + create merge request, supporting both GitHub Pull Requests and GitLab Merge Requests with auto-detected platform and repo-template-aware descriptions |
agents-md-improver |
Maintain concise AGENTS.md-based project instructions: audit current guidance, capture session learnings, and migrate useful CLAUDE.md rules into shared agent instructions |
An optional SessionStart/SubagentStart hook that injects framework-agnostic .project_context/ "project memory" conventions into the agent at the start of every main session and subagent. It is an enhancement — not a required step for using the plugin skills.
-
Claude Code: works automatically once the plugin is enabled, including subagent starts — nothing to install.
-
Codex 0.137.0+: auto-loads this plugin's
hooks/hooks.jsononce the plugin is enabled, including subagent starts. Run/hooksonce in Codex to trust it. -
Copilot / older Codex fallback: the installer defaults to Copilot personal instructions only; older Codex releases, or setups that explicitly want
~/.codex/hooks.json, should opt into the fallback target. No clone required:script="$(mktemp)" trap 'rm -f "$script"' EXIT curl -fsSLo "$script" https://raw.githubusercontent.com/yyykf/spellbook-skills/main/scripts/install-project-context-hook.sh bash "$script" install # Copilot (default) bash "$script" install --target auto # auto-detect older Codex fallback bash "$script" install --target codex-fallback # older Codex fallback
On Windows, use the
install-project-context-hook.ps1installer instead (see the guide below). From a local checkout you can runpython3 hooks/install.py install; for older Codex fallback you can first trypython3 hooks/install.py install --target auto, or use--target codex-fallbackwhen confirmed. For Codex fallback installs, start Codex afterward and run/hooksonce to trust the hook.
See docs/project-context-hook.md for the full guide — install / uninstall, per-platform differences, and design notes.
- Add more workflow skills as they mature
MIT. See LICENSE.
Issues and PRs are welcome. Keep changes small and focused.
- This repository is adapted from superpowers. Thanks to the original project for the skill framework and workflow design.
- The
ddd-best-practicesskill draws on ideas and practices from xfg-ddd-skills. Thanks for the inspiration. - The
agents-md-improverskill is inspired by Anthropic's claude-md-management, adapted for AGENTS.md-compatible coding agents. - The
test-driven-developmentskill combines superpowers' TDD skill with Kent Beck's Tidy First and Canon TDD (from his Augmented Coding: Beyond the Vibes and Canon TDD posts). Thanks to both.

