Skip to content

snapsynapse/skill-provenance

Repository files navigation

Validate bundle License: MIT Latest release ClawHub

Skill Provenance

Version identity that travels with your skill bundle.

Approach Tracks versions Detects staleness Cross-session Cross-platform Tracks intent
Git tags Yes No No (requires repo access) No No
Filename suffixes (_v5) Poorly No No No No
Skillman Pins versions No Consumer-side only No No
Skills API (/v1/skills) Upload timestamps No Single surface only No No
Skill Provenance Yes (semver) Yes Yes (manifest travels) Yes Yes (recent changelog + repo archive)

Git tags work when everyone has repo access. Filename suffixes break as soon as you rename. Skillman pins versions for consumers. The Skills API tracks which upload is active on a single surface but doesn't track what changed or detect staleness. Skill Provenance fills the gap for authors: it tracks version identity, staleness, and intent inside the bundle so it survives session boundaries, surface transitions, and platform changes.

Before                              After
------                              -----
SKILL_v4.md                         SKILL.md          (version lives inside)
SKILL_v5.md                         MANIFEST.yaml     (what's in the bundle)
evals_old.json                      CHANGELOG.md      (what changed and why)
evals.json
"which one is current?"             "bundle is at 4.7.3, evals are stale"

Quick install

Claude Code (Plugin):

/plugin marketplace add snapsynapse/skill-provenance
/plugin install skill-provenance@snapsynapse-skill-provenance

Claude (Settings UI): Download skill-provenance.skill from the latest release and install: claude.ai -> Profile icon -> Settings -> Skills -> Add Skill -> select the file.

If your loader only accepts .zip or .md uploads, rename skill-provenance.skill to skill-provenance.zip before uploading. This is the tested path for Perplexity Computer. The archive contents stay the same.

Claude Code / Codex / Gemini CLI (manual): Use the canonical skill-provenance/ directory for Claude-compatible tools. For Codex, Gemini CLI, or other strict loaders, generate a derived minimal-frontmatter copy with ./skill-provenance/package.sh strict, which writes to build/strict/skill-provenance/ by default.

Some cross-client tooling also recognizes .agents/skills/. The same directory bundle can be placed there when you want a neutral install path.

ClawHub: clawhub install skill-provenance

Then tell the agent:

"Use the skill-provenance skill to bootstrap this bundle."

What it does

When you open a session, it reads the manifest, checks that all files are present, verifies hashes, flags anything stale, and tells you what needs attention.

When you close a session, it updates internal version headers where applicable, recomputes manifest hashes, appends to the changelog, and flags any files that should have been updated but weren't.

When you hand off between sessions, it can generate a handoff note with current state, accomplishments, stale files, and next steps when you're crossing a stateless boundary like Chat. In filesystem-native workflows, the manifest and changelog are usually enough.

When you need a commit message, it can produce one inline by default, with a git_commit.txt file only when you explicitly want that convenience.

When you have deployed copies, it can record optional deployment metadata in the manifest so API uploads, settings installs, and local directory copies can be traced without replacing platform-native version systems.

Platform support

Platform Status Frontmatter Notes
Claude (Chat, Code, Cowork) Pass name + description, or with metadata block Full support. Settings UI imports/exports .skill ZIP.
Claude API Compatible name + description + metadata Skills uploaded via /v1/skills with epoch-timestamp versioning. Manifest maps to API versions.
Claude Agent SDK Compatible Same as Claude Code Filesystem-based. Skills loaded via setting_sources config.
Codex (OpenAI) Pass name + description only Extra frontmatter fields rejected.
Gemini CLI (Google) Partial name + description only Skill loading works. Gems workflow untested.
Perplexity Computer Partial name + description only Tested with .zip upload flow. Trigger-rich descriptions help discovery; .skill must be renamed to .zip.
GitHub Copilot / VS Code Compatible Follows agentskills.io spec Skills in .github/skills/.
Cursor Compatible Follows agentskills.io spec Skills in .cursor/skills/.

The agentskills.io spec is now adopted by 30+ agent tools. All use the same SKILL.md directory format. Provenance artifacts (MANIFEST.yaml, CHANGELOG.md) are invisible to platforms that don't know about them -- they never break compatibility. See agentskills.io for the full adopter list.

This bundle ships in frontmatter_mode: metadata, which adds author and source attribution to SKILL.md via the spec's metadata field. For strict platforms (Codex, Gemini CLI, Perplexity), strip the metadata block from SKILL.md before installing. The repo now treats that as a derived strict-platform copy, not an edit to the canonical source bundle.

When not to use this

Single-file skills that don't change often, or skills that live entirely within one git repo and are never exported to Chat, Obsidian, or other surfaces. If git is your only workflow and you never leave it, git tags are enough.

Trust and audit

Modern skill workflows increasingly involve downloaded bundles, shared org installs, and multiple local copies. The manifest, changelog, and hashes give agents and humans an audit trail: what files belong to the bundle, what changed, and whether a copied bundle still matches its recorded state. This is especially useful before reinstalling a skill, moving it between tools, or checking whether a deployed surface is behind local changes.

What's in this repo

.claude-plugin/plugin.json       <- Claude Code plugin manifest
skills/skill-provenance/         <- Symlink to skill-provenance/ (plugin discovery)
skill-provenance.skill           <- Install this in Claude Settings -> Skills
skill-provenance/                <- Canonical source bundle (metadata mode)
  SKILL.md                       <- The skill definition (what the agent reads)
  README.md                      <- User guide: workflows, worked example, troubleshooting
  MANIFEST.yaml                  <- File inventory with roles, versions, hashes
  CHANGELOG.md                   <- Recent in-bundle history (last 5 entries)
  evals.json                     <- 22 core evaluation scenarios
  evals-distribution.json        <- 4 supplemental packaging/deployment evals
  validate.sh                    <- Local hash verification script
  package.sh                     <- Zero-dependency helper for derived copies
CHANGELOG.md                     <- Full append-only repo history
AGENTS.md                        <- Guide for agents working on this repo
CONTRIBUTING.md                  <- How to contribute

The directory is the canonical cross-platform source bundle. The .skill file is a Claude-compatible ZIP wrapper around it. The .claude-plugin/ directory and skills/ symlink make this repo double as a Claude Code plugin without restructuring the existing bundle.

Evals

26 evaluation scenarios across two files: 22 core workflow evals in evals.json and 4 supplemental distribution/package evals in evals-distribution.json.

Generated install and publish artifacts now live in build/ at the repo root by default. The ClawHub upload folder is build/clawhub/skill-provenance/, and .gitignore excludes build/ unless you explicitly want to track generated outputs.

Usage guide

See the full README.md inside the skill bundle for:

  • Step-by-step bootstrap walkthrough with a worked example
  • Surface-to-surface porting workflows (Chat -> Code, Code -> Chat, etc.)
  • Troubleshooting common issues
  • Reference links to Agent Skills documentation and ecosystem

Related projects

  • Skillman -- JS/TS skill manager (npx skillman add). Installs, updates, and organizes agent skills from npm and GitHub. Consumer-side; skill-provenance is author-side.
  • Skillman (Python) -- Python CLI that installs and locks agent skills from GitHub repos (skills.toml + skills.lock). Consumer-side package manager for Python toolchains.
  • Graceful Boundaries -- A specification for how services communicate operational limits to humans and autonomous agents. Also a PAICE.work project.

License

MIT

About

Skill Provenance is a PAICE.work project. PAICE.work PBC is a public benefit corporation building infrastructure for productive collaboration between humans and autonomous agents. Trustworthy agent infrastructure requires knowing what you're running, where it came from, and whether it's current -- that's what this skill provides.

Contributing

See CONTRIBUTING.md. Compatibility reports for untested platforms are especially valuable.

About

Finally a source of truth for agent skill bundles! Use this metaskill for version tracking across sessions, surfaces, and platforms. Tracks identity, staleness, and intent inside the bundle.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Contributors

Languages