Where each harness finds skills and what the model is told about them before one is used. Exact directories for every scope are on the Locations page.
| Question | OpenCodechecked at 2.0.29 |
|---|---|
| Where it looks for skills | OpenCode reads The docs say the project walk stops at the project root, but 2.0.28 keeps going up to the filesystem root. There is no switch to turn off the |
| Nested folders and scan limits | Partly The built-in config skill scanner in v2.1.1 discovers nested SKILL.md files through directory depth 6 (root = 0), accepts loose .md files only at the root, skips hidden and ignored directories, and stops descending when a directory contains SKILL.md. It stats symlinks to classify files/directories. These bounds apply to this filesystem scanner, not arbitrary plugin-provided skills. OpenCode 1.x scan rules don't carry over to 2.x. At v2.1.1 the built-in config skill scanner starts at depth 0 and descends through depth 6, skips hidden/ignored directories, and stops below a directory containing SKILL.md. This is the built-in filesystem source, not a bound on every plugin-provided skill. |
| Stop scanning below a folder containing SKILL.md? | Not documented Yes for the built-in config filesystem scanner in v2.1.1: once SKILL.md is found in a directory, it records that file and does not descend beneath that directory. Other plugin-provided skill sources are separate. Whether the scan continues below a folder that is already a skill is unknown. |
| What the model sees before using one | At each model step, OpenCode adds an |
| Many skills or long descriptions | Nothing is truncated or dropped. All eligible skills are listed with their full descriptions, and V2 enforces no limit on ID length or description length. When the set changes during a session, only additions and removals are sent, and the full list is resent whenever a skill's name or description changes. |
| Two skills with the same name | Skills are keyed by an ID taken from the path (the folder name for Inside one folder, Two skills can share a display |
| New or edited skills mid-session | Yes. Skill folders are watched, and about 100 ms after an edit settles the skills are rescanned. Config changes also trigger a rescan. On the next model step, the model is told about added or removed skills, or gets a fresh list if a name or description changed. No restart is needed. v2.1.1 serializes config-skill refreshes, deduplicates directory/file watches and debounces changes by 100 ms before reloading. |
| Disable or hide a skill | Partly Set |