Answer: To create a skill in opencode, keep related scripts, references, and templates beside SKILL.md in a directory form, such as .opencode/skills/git-release/ containing SKILL.md, scripts/, and references/. Paths written inside the skill are relative to the directory containing SKILL.md. Status: Overdue (check was due 2026-11-20T13:37:20Z and has not succeeded) Entry: tool/opencode/agents-and-automation/create-skill Revision: 1 Digest: sha256:59a8fa3ef49025a0 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:58:08Z Last changed: 2026-11-13T03:58:08Z Last verified: 2026-11-19T13:37:20Z Next check: 2026-11-20T13:37:20Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of skill directory | .opencode/skills/ | [1] | 2026-11-19 main file | SKILL.md | [1] | 2026-11-19 path resolution | relative to the directory containing SKILL.md | [1] | 2026-11-19 recommended form | directory form | [1] | 2026-11-19 Sources: [1] opencode. "Skills | OpenCode". https://opencode.ai/docs/skills/ Role: primary. Accessed: 2026-11-19T13:37:20Z Quote: "Files .opencode/skills/ └── git-release/ ├── SKILL.md" (Supports: skill directory) Quote: "Keep related scripts, references, and templates beside SKILL.md" (Supports: main file) Quote: "Paths written inside the skill are relative to the directory containing SKILL.md ." (Supports: path resolution) Quote: "The directory form is recommended because it gives supporting files a private base directory." (Supports: recommended form) Snapshot SHA-256: ecd71b93fcd97c83ee0cc33d572b7b35c605002718db2ae0d6eef4e700799be1 (captured 2026-11-13T03:58:08Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:58:08Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:37:20Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:37:20Z Last attempt: 2026-11-19T13:37:20Z Notes and limitations: Extracted automatically from a single official source (section "Create"). Related: https://latestn.com/tool/opencode/agents-and-automation/export-effect-plugin How do I export an Effect plugin so opencode loads it automatically? https://latestn.com/tool/opencode/agents-and-automation/run-non-interactive How do I run opencode non-interactively for scripts or CI? https://latestn.com/tool/opencode/agents-and-automation/select-agent How do I switch between or select different opencode agents? https://latestn.com/tool/opencode/agents-and-automation/agent-file-formats How do I define an opencode agent in Markdown or JSONC format? https://latestn.com/tool/opencode/agents-and-automation/agent-file-locations Where do I save an opencode agent file so it's available globally or per project? https://latestn.com/tool/opencode/agents-and-automation/builtin-agents What built-in agents does opencode include and what are their modes? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:58:08Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/agents-and-automation/create-skill/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/agents-and-automation/create-skill POST: https://latestn.com/dispute/tool/opencode/agents-and-automation/create-skill with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/agents-and-automation/create-skill?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create a skill in opencode? Revision 1, last verified 2026-11-19T13:37:20Z. https://latestn.com/tool/opencode/agents-and-automation/create-skill (accessed 2026-11-21T09:54:07Z). @misc{LatestN_tool_opencode_agents_and_automation_create_skill_r1, title = {How do I create a skill in opencode?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/agents-and-automation/create-skill}}, note = {Revision 1; digest sha256:59a8fa3ef49025a0; last verified 2026-11-19T13:37:20Z; accessed 2026-11-21T09:54:07Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/agents-and-automation/create-skill