85a7284fba
A model stage may declare a skills block (name or name@N per line). Drafts and publications are validated against the server skill library; human/ntfy stages reject the block. Each run resolves unpinned names to the latest version at admission and records name@N per stage (run stage_skills, step skills); retry reuses the recorded versions. Every visit gets a private read-only copy of exactly those bundles under the run's artifact tree, and the harness loads only them: Claude via a session plugin (--plugin-dir, Skill tool with per-skill allow rules, bundled skills off, ambient loads fail the visit), Pi via --skill under --no-skills, and OpenCode via per-session instruction entries (V2 only). The app shows the block in the stage definition and the resolved versions on each visit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
1.4 KiB
Markdown
25 lines
1.4 KiB
Markdown
# Skills
|
|
|
|
`pipelines skills import FOLDER` validates a skill locally and, after confirmation,
|
|
sends its bytes to the server. A bundle contains one root `SKILL.md` with YAML
|
|
frontmatter (`name` and `description`) and may contain only `references/`,
|
|
`scripts/`, and `assets/`. Symlinks, traversal paths, nested `SKILL.md` files,
|
|
executables outside `scripts/`, and oversized bundles are rejected. Files are
|
|
fingerprinted in sorted path order with SHA-256; importing the same digest is
|
|
idempotent. The server keeps immutable versions in SQLite metadata and stores
|
|
their files below its data directory. Chats do not load library skills.
|
|
|
|
A model stage turns skills on with a `skills` block, one `name` (latest at run
|
|
start) or `name@N` (pinned) per line; drafts and publications are validated
|
|
against this library. A run records the resolved `name@N` per stage when it
|
|
starts (`stage_skills` on the run, `skills` on each step) and `retry` reuses
|
|
those versions, so importing a newer version never changes a run or its
|
|
retries. Each visit copies exactly the resolved bundles, read-only, into
|
|
`<artifacts>/<run>/skills/<NN>-<stage>/skills/<name>/` (outside the workspace
|
|
and the inventoried turn directory) and gives the harness only those skills:
|
|
see the Skills section of `internal/author/skill/references/format.md` and the
|
|
per-harness notes in [harnesses.md](harnesses.md).
|
|
|
|
Use `pipelines skills list` and `pipelines skills show NAME [--version N]` to
|
|
inspect imported versions.
|