SKILL.md, README.md, per-skill helper files) that are copied into ${configDir}/skills at install timeCUSTOM_SKILLS in src/cli/custom-skills-registry.ts is the authoritative skill manifest for bundled skillssourcePath to an install-time consumer| Skill | Type | Purpose |
|---|---|---|
codemap/ |
General-purpose | Repository mapping and codebase documentation skill |
clonedeps/ |
General-purpose | Workflow skill for dependency source mirroring and inspection |
simplify/ |
General-purpose | Readability and maintainability guidance skill |
deepwork/ |
Orchestrator-only | Heavy coding sessions, multi-phase implementation, and risky refactors |
verification-planning/ |
Orchestrator-only | Project-specific evidence planning and verification affordances before non-trivial implementation |
reflect/ |
Orchestrator-only | Learning from repeated work and suggesting reusable improvements |
worktrees/ |
Orchestrator-only | Safe Git worktree lanes for parallel, risky, or isolated work |
oh-my-opencode-slim/ |
Orchestrator-only | Plugin configuration and self-improvement guidance |
install.ts runs installCustomSkill() which recursively copies bundled skill directories into the OpenCode skills directoryfiles whitelist in package.json must include src/skills so src/skills/** survive npm packSKILL.md as a prompt-level contractsrc/ imports these files directlysrc/cli/custom-skills-registry.ts defines CUSTOM_SKILLS array with skill metadatabun run install delegates to src/cli/install.ts, where installCustomSkills() gates copying of each CUSTOM_SKILLS entryinstallCustomSkill() computes packageRoot, validates sourcePath, then performs a recursive directory copy via copyDirRecursive()package.json files whitelist ensures src/skills/** are included in the published tarballSKILL.md as a prompt-level contractsrc/cli/custom-skills-registry.ts: Source-of-truth registry consumed by installer and permission helperssrc/cli/install.ts: Contains installCustomSkills() and installCustomSkill() functionsverify-release-artifact.ts: Enforces artifact completeness by asserting key bundled skill payloads are present in the tarball:
src/skills/simplify/SKILL.mdsrc/skills/codemap/SKILL.mdsrc/skills/clonedeps/SKILL.mdsrc/skills/deepwork/SKILL.mdsrc/skills/verification-planning/SKILL.mdsrc/skills/reflect/SKILL.mdsrc/skills/worktrees/SKILL.mdsrc/skills/oh-my-opencode-slim/SKILL.mdpackage.json scripts (verify:release, build) rely on these assets to ensure install-time skill availabilitysrc/cli/skills.ts:getSkillPermissionsForAgent() auto-populates permission rules for bundled skills when agent policy is derived from built-in recommendationsEach skill directory contains:
SKILL.md: Skill contract defining name, description, and usage contractREADME.md: Documentation and examples for the skillThese artifacts are copied verbatim to the OpenCode skills directory during installation and serve as the skill's interface definition.