Machine-readable output

July 16, 2026 · View on GitHub

Spellbook

94 Cross-Runtime Skills | 7 Claude Code Agents | One Command Install

A cross-runtime skill library for Claude Code, Codex, and multi-agent workflows.

Stars License Skills Agents

Quick StartRuntime TargetsPick a WorkflowSkillsAgentsChangelogRelease StatusContributing中文


Rename notice: Spellbook was formerly Claude Arsenal. Claude Code remains a first-class target; the new name reflects the broader roadmap for Claude Code, Codex, and cross-runtime agent skills. See the migration note for details.


Quick Start

One-Line Install (All Skills)

curl -fsSL https://raw.githubusercontent.com/majiayu000/spellbook/main/install.sh | bash -s -- --target all

Manual Install (Selective)

# Clone the repository
git clone https://github.com/majiayu000/spellbook.git
cd spellbook

# Install specific skills for Claude Code and Codex
./install.sh --target all --skills typescript-project,python-project,devops-excellence

# Or install everything for one runtime
./install.sh --target claude --all
./install.sh --target codex --all

Verify Installation

  • Claude Code: type / to see your installed skills.
  • Codex: restart Codex so it reloads ~/.agents/skills.

Runtime Targets

Spellbook keeps the skill source in one place and installs it into the runtime you use.

TargetInstalled ToStatus
Claude Code~/.claude/skills plus ~/.claude/agentsSkills and agents supported
Codex~/.agents/skillsSkills supported; agents skipped
AllBoth Claude Code and Codex pathsRecommended for multi-tool users

Claude Code remains a first-class target and search entry. The project was formerly known as Claude Arsenal; the new Spellbook name reflects the broader goal: reusable skills that can travel across coding agents. Older Spellbook versions installed Codex skills under ~/.codex/skills; reinstall with the current installer to use the documented Codex user-level skill path.


Pick a Workflow

Start with a small bundle that matches the job, then add more skills when the workflow sticks.

WorkflowInstallGood for
Frontend and UI./install.sh --target all --skills frontend-design,app-ui-design,ui-design-system,figma-to-reactProduct UI, landing pages, design systems, Figma handoff
Code quality./install.sh --target all --skills codebase-audit,flowguard,systematic-debugging,review-gateAudits, guarded delivery, root-cause debugging, pre-landing review
Ops and release./install.sh --target all --skills release-engineering,server-security,clash-doctor,system-doctorRelease planning, server hardening, and local or network diagnosis
Product and docs./install.sh --target all --skills product-discovery,prd-master,technical-spec,product-analyticsDiscovery, PRDs, technical specs, metrics plans
Agent workflows./install.sh --target all --skills codex-agent,multi-ai-research,flowguard,vibeguardCross-review, multi-AI research, context handoff, anti-hallucination checks

High-signal individual skills to try first: github-trending, harmonyos-app, app-ui-design, product-discovery, xiaohongshu, codebase-audit, and server-security.

See Showcase for copy-paste prompts and expected outputs. Release history lives in Changelog.


Why Spellbook

  • Cross-runtime install: one source tree can install into Claude Code and Codex.
  • Validated registry: every installable skill is checked by python3 scripts/validate_skills.py --check.
  • Progressive disclosure: larger skills use references/, templates/, scripts/, and eval files instead of one giant prompt.
  • Practical coverage: engineering, operations, product, UI, content, and agent workflows live in one catalog.

Skills

The generated full skill inventory lives in Skill Registry. Skill layout rules live in Skill Format Policy. Skill authoring quality rules live in Skill Quality Playbook.

Search the Registry

# Free-text query (AND semantics across name, description, category, tags)
python3 scripts/validate_skills.py search rust testing

# Filter by tag
python3 scripts/validate_skills.py search --tag agent

# Restrict to a description language
python3 scripts/validate_skills.py search --language zh deploy

# Machine-readable output
python3 scripts/validate_skills.py search --tag react --json

The tag index lives in registry/tags.json for tooling and dashboards. Curated overrides for skills the keyword heuristic cannot infer live in registry/tag_overrides.yml.

Audit non-blocking skill quality signals:

python3 scripts/audit_skill_quality.py
python3 scripts/audit_skill_quality.py skill-creator

AI & Agent Workflow

Skills for orchestrating, guarding, and maintaining AI agent workflows — the core of Spellbook's cross-runtime mission.

SkillDescription
multi-model-orchestratorCoordinate multi-agent tasks via a centralized handoff document
flowguardGuard long, ambiguous, or stateful agent tasks from drift
skill-lifeguardAdd reliable-skill contracts, checkpoints, smoke hooks, and drift signals
review-gateProduce review packs and require human approval before landing agent changes
skill-auditAudit, design, categorize, and measure agent skills
skill-ecosystem-doctorGovern canonical sources, projections, retirement, quarantine, and cross-runtime verification
threadsCodex-native subagents and parallel GitHub queue lanes
codex-fluentCodex session hygiene, archive strategy, and handoff discipline
codex-retrospectiveCodex self-review of recent history to improve behavior
brainstormingSocratic dialogue for design refinement and architecture exploration

See docs/agent-reliability-trio.md for the Reliable Skill + Context Engineering + Review Gate workflow.

Development Architecture

Build production-ready projects with language-specific best practices.

SkillLanguageKey Features
typescript-projectTypeScriptESM, Zod, Biome, Clean Architecture
python-projectPythonuv, Pydantic, Ruff, FastAPI
rust-projectRustCargo workspace, error handling, async
golang-webGoChi/Echo, sqlc, structured logging
zig-projectZigBuild system, memory management
architecture-foundationCross-languageRuntime, state ownership, adapters, and convergence specs
elegant-architectureCross-languageClean architecture with strict 200-line file limits

Product Lifecycle

End-to-end product development from discovery to deployment.

SkillPhaseWhat You Get
product-discoveryDiscoveryJTBD, user interviews, market research
prd-masterDefinitionPRD writing, user stories, RICE prioritization
technical-specDesignDesign docs, ADR, C4 diagrams
product-analyticsGrowthEvent tracking, A/B testing, AARRR
devops-excellenceDeploymentCI/CD, Docker, Kubernetes, GitOps
observability-sreOperationsMonitoring, logging, tracing, SLO/SLI
product-manager-toolkitDefinitionRICE, customer interviews, PRD templates, discovery frameworks

API & Backend

SkillDescription
api-designREST/GraphQL/gRPC patterns, OpenAPI 3.2
auth-securityOAuth 2.1, JWT, security best practices
database-patternsPostgreSQL, Redis, migrations, optimization
codebase-auditDeep adaptive repository audit with severity-ranked findings and repair roadmap
structured-logging-liteCentralized logging, field standards, and distributed tracing

Development Practices

SkillDescriptionOrigin
contributorEnd-to-end open source contribution workflow from issue discovery to PR submissionCustom
repo-agent-context-auditAudit and scaffold repo agent context across AGENTS, skills, and specsCustom
skill-creatorCreate, improve, and benchmark reusable skillsCustom
humanizerRemove obvious AI writing patterns from user-facing textExternal guide + custom adaptation

Delivery Workflow

Disciplined end-to-end delivery: testing, commits, health checks, and contribution flow.

SkillDescription
app-user-story-qaEnd-to-end app feature inventory, canonical tracker, user-story testing, fixes, and retest loop
test-driven-developmentEnforce RED-GREEN-REFACTOR TDD discipline
comprehensive-testingTest pyramid, unit/integration/E2E/property testing, framework best practices
git-commit-smartGenerate meaningful conventional commit messages from diff
push-allStage, commit, and push all changes after safety checks
project-health-auditorCodebase health, tech debt, dependency, and project risk analysis
contribution-architectMove from bug fixes to architectural improvements and debt discovery

Cross-Tool Interop

Skills for using multiple coding agents and CLI tools together.

SkillDescription
codexInvoke Codex CLI sessions from another agent workflow
codex-agentOptional second-opinion review, cross-verification, and alternatives through Codex CLI
ask-opencliAsk Grok or Gemini through opencli and an existing browser session
multi-ai-researchParallel research across multiple AI tools and internal agents

UI/UX & Design

SkillDescription
app-ui-designiOS/Android UI design, Material Design 3, HIG
product-ux-expertUX evaluation, heuristics, accessibility
frontend-designWeb frontend design patterns
ui-designerExtract design systems from UI screenshots and references
ui-design-systemDesign system toolkit and design-dev handoff support
web-artifacts-builderClaude.ai HTML artifacts
react-best-practicesReact and Next.js performance patterns distilled from Vercel guidance
react-hooks-best-practicesReact hooks, effects, refs, and component design patterns
slidesSpeech-friendly slide deck and background slide generation
ui-ux-pro-maxCompact UI/UX tables for product patterns, landing pages, charts, and 9 stacks
figma-to-codeFigma designs to production React/Next.js with TypeScript and Tailwind
css-debugDiagnose CSS/layout issues, Tailwind conflicts, z-index stacking
playwright-automationBrowser automation and testing with Playwright

Tooling & Automation

SkillDescription
web-asset-generatorFavicons, app icons, OG images
github-trendingGitHub trending analysis
vibeguardTask contracts, finding scoring, and lightweight anti-hallucination reviews
clash-doctorClash proxy & network diagnostics
clash-routesInspect active proxy routes for specific processes via Mihomo API
optimize-networkSafe local network speed, latency, DNS, Wi-Fi, and bufferbloat diagnostics with VPN/proxy guardrails
disk-cleanerScan and reclaim disk space with interactive cleanup guidance
system-doctorDiagnose CPU, memory, and process-level system slowdowns
codex-log-guardDiagnose and mitigate excessive Codex local SQLite diagnostic log writes
server-securityAudit and harden Linux server SSH, firewall, and exposed services
cliproxy-newapi-stackAdd a loopback-first NewAPI metering layer to an independently verified CLIProxyAPI upstream

Operations & Deploy

Deploy models and diagnose local and remote environments.

SkillDescription
gemma4-local-deployDeploy Gemma 4 12B locally on Mac/Apple Silicon via llama.cpp or Ollama
gpu-useInspect remote server GPU usage (per-card VRAM, processes, containers)
rustdesk-doctorDiagnose RustDesk connection issues
vscode-doctorDiagnose slow or freezing VS Code-compatible editors

Content & Social Media

SkillDescription
xiaohongshuXiaohongshu content creation & publishing
trip-plannerTravel itinerary planning
weeklyWeekly report from Git, Claude Code, and Codex sessions
xiaohongshu-netfeel-guardianRemove translation-tone from Claude's Chinese content for native readability

Mobile & Cross-Platform

SkillDescription
harmonyos-appHarmonyOS with ArkTS, ArkUI, Stage Model

Rust Specific

SkillDescription
rust-best-practicesMicrosoft Rust guidelines, error handling

Agents

Specialized agents for complex tasks.

AgentExpertiseUse Case
tech-lead-orchestratorCoordinationMulti-step tasks, delegation
code-archaeologistExplorationLegacy codebase documentation
backend-typescript-architectArchitectureBun/Node.js, API design
senior-code-reviewerReviewSecurity, performance, architecture
kubernetes-specialistInfrastructureK8s, Helm, GitOps
security-auditorSecurityOWASP Top 10, SAST
opensource-contributorContributionOpen source workflow

Skill Design Philosophy

Every skill in Spellbook follows these principles:

  1. Hard Rules - Mandatory constraints with FORBIDDEN / REQUIRED markers
  2. Practical Examples - Real code, not just theory
  3. Verification Checklists - Actionable validation steps
  4. Battle-Tested - Used in production environments

Documentation

DocumentDescription
ChangelogRelease history and current release status
Installation GuideDetailed setup instructions
Runtime TargetsClaude Code and Codex installation targets
ShowcaseCopy-paste workflow demos
Spellbook Operating ContractAgent behavior rules for autonomy, escalation, pushback, feedback loops, and done-when checks
Skill Format PolicyDirectory vs file skill layout rules
Skill Quality PlaybookTrigger descriptions, gotchas, progressive disclosure, and verification
Skill Testing GuideHow to validate skills work
Creating PluginsBuild your own skills
Product Lifecycle (EN)Full lifecycle coverage
Product Lifecycle (中文)产品生命周期覆盖

Release Status

Spellbook is in pre-1.0 release-readiness mode. No numbered GitHub release tag has been cut yet; the current install path uses the repository main branch. See Changelog for release history.

Current limitations:

  • Codex installs skills only; Claude Code agents are skipped for Codex targets.
  • Some skills depend on external CLIs, accounts, credentials, or platform access that are not bundled by the installer.
  • The registry validator checks installable skill structure, not every external workflow end to end.

Support paths:


Credits

Built on the shoulders of giants:


Contributing

Contributions welcome! Please read our Contributing Guide first.


The Agent Infra Stack

This project is one layer of an open-source stack for running coding agents (Claude Code, Codex) as serious infrastructure. Every piece works standalone; together they close the loop:

spellbook sits in the Extend layer — the authoring side of the skill story: write once, run on Claude Code and Codex. Discovery and distribution live in claude-skill-registry.

LayerProjectWhat it does
Extendclaude-skill-registryDiscover and search community Claude Code skills
Extendspellbook ◀ you are hereCross-runtime skills for Claude Code, Codex, and multi-agent workflows
TrustargusStatic install-time scanner for supply-chain attacks (npm / PyPI / crates.io)
TrustvibeguardRules, hooks, and guards against hallucinated or unverified agent changes
RememberrememLocal-first persistent memory for Claude Code and Codex sessions
OrchestrateharnessRust agent orchestration platform — rules, skills, GC, observability
Routelitellm-rsHigh-performance Rust AI gateway — 100+ LLM APIs via OpenAI format
KeepkeeplineSession command center — monitor, recover, never lose agent work

License

MIT License - Use freely in your projects.


If this helps you, consider giving it a ⭐

Made for builders using Claude Code, Codex, and multi-agent workflows