Skill Provenance: Open
Verify a skill bundle when opening a session. This ensures you start from a known-good state before making any changes.
When to use
Run /skill-provenance:open at the start of any session where you'll work
on a skill bundle — a directory containing SKILL.md and optionally
MANIFEST.yaml, CHANGELOG.md, evals, scripts, and other tracked files.
Protocol
Read MANIFEST.yaml first. It is the single source of truth for what the bundle contains. If no manifest exists, tell the user and suggest running
/skill-provenance:bootstrapinstead.Verify all listed files are present. Report any files listed in the manifest but missing from disk.
Verify structure and hashes. Prefer the bundle's
validate.shwhen available so constrained path grammar, duplicate inventory entries, symlink components, missing or malformed hashes, and explicithash: nullopt-outs are handled consistently. Otherwise compute SHA-256 manually for every manifest-listed pinned file and report reduced assurance.Read CHANGELOG.md. Summarize the most recent 2-3 entries so the user knows what changed recently.
Check for staleness. Use hash drift, recent changelog dependency notes, internal-header conflicts,
validated_against, and deployment records. Never compare per-file revision integers numerically with bundle semver; they are separate version domains.Check deployment drift. If the manifest has a
deploymentssection, note any deployed copies whose version appears behind the current bundle version. Don't alarm — just surface the information.Resolve conflicts if found. If a file's internal version header disagrees with the manifest's version for that file, or two files claim different bundle versions:
- Present the specific discrepancy to the user.
- Show what each version claims via its
change_summary. - Default recommendation: trust the most recent
version_date. - Always ask the user for explicit confirmation. Never silently resolve a version conflict.
Report. Give the user a concise summary:
- Bundle name and version
- File count: present / expected
- Hash check: pass / N mismatches
- Structural errors and explicit hash opt-outs
- Matching, stale, or malformed attestation records when present
- Stale files (if any)
- Deployment drift (if any)
- Recommended first action for this session
Conventions referenced
This skill follows the Skill Provenance open standard. Key conventions:
- Version identity lives inside files (via YAML frontmatter
metadatablock) and inMANIFEST.yaml, never in filenames. - MANIFEST.yaml is not self-listed. It tracks other files but does not contain its own hash.
- Per-file versions are integers counting revisions. Bundle version
(
bundle_version) is semver. - Hashes are SHA-256 of file contents, computed on save, verified on load.
For the full spec: https://skillprovenance.dev