shared
Installation
SKILL.md
Shared library
Load only the reference or script needed by the current skill. This marker keeps the library discoverable as one installation unit; it does not guarantee identical loading behavior across hosts.
Resolve shared resources
A path such as shared/references/model-roster.md is relative to the skill collection, not the user's project directory.
- Use the loaded
sharedskill's directory when available. - For a source checkout, use
skills/shared/under this repository. - For a flat installation, find
shared/beside the installed skills. If it is missing, report the missing library dependency instead of guessing a path or silently skipping a contract.
Before a shell command, set SHARED_DIR to that resolved absolute directory in the same command. Other skills resolve their own scripts from their loaded skill directory. The scripts/skill_paths.py helper supports repository scripts that must find skills in both nested and flat layouts.
Contents
references/: workflow stages, model routing, runner behavior, evidence, handoffs, and run state.scripts/: runner discovery, jobs, output handling, and validation.tests/, schemas, and hooks: executable checks and shared formats.