skill-provenance
Skill2 starsChanged 6 months agoApache-2.0View on GitHub
Use when creating or updating a skill-source.json provenance sidecar for a new, copied, or modified skill, checking whether upstream sources have changed, or folding external guidance into a local skill.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- starshard-ai/skill-provenancetheir own version, first seen Jun 21, 2026
- snapsynapse/turnfiletheir own version, first seen Jun 19, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- snapsynapse/turnfile★ 9same name
- starshard-ai/skill-provenance★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. About 0 are common, 10 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Use skill-source.json for durable provenance: source material, attribution, licenses, pinned versions, and cheap update-check hints.
- Very specific: line 27
If you need the sidecar format, read references/skill-source-json.md.
- Distinctive: line 28
Run the report-only checker from the repository or project that contains the skills:
- Distinctive: line 40
Treat the report as a triage signal, not as an update decision.
- Very specific: line 52
If you fold in new material, update skill-source.json:
- Very specific: line 53
add a sources entry for every new upstream or supporting reference.
- Distinctive: line 54
keep canonical repository or documentation URLs as provenance.
- Very specific: line 55
use localCheckoutHint only as an optional inspection aid, not as provenance.
- Very specific: line 56
add or revise top-level attribution whenever external material exists.
- Distinctive: line 57
keep reconstruction-only evidence out of the JSON.
- Distinctive: line 58
Run validation before finalizing:
- Distinctive: line 65
If the checker has changed, run its tests:
- Very specific: line 73
Read references/skill-source-json.md for the full contract and references/skill-source.schema.json for a JSON Schema representation.
- Very specific: line 95
use the source skill's metadata.version frontmatter field (agentskills.io spec) — the checker reads this directly and falls back to a …
- Very specific: line 100
When the upstream skill has metadata.author in its frontmatter, the checker includes it as upstreamAuthor in the report row — use it to …
- Distinctive: line 105
Do not treat a local checkout path as provenance.
- Very specific: line 106
Do not place attribution inside a source entry.
- Distinctive: line 108
Do not let transitive sources disappear.
- Very specific: line 110
Do not include gitEvidence, commit subjects, review notes, diagnostics, or confidence labels in skill-source.json.
- Distinctive: line 111
Do not let the checker modify files, create branches, commit, push, open pull requests, or publish anything.
- Distinctive: line 112
Do not accept source material that conflicts with the target skill's environment or audience.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Update Skills
Core rule
Skill source metadata travels with the skill. When you update a skill from upstream material, or fold in new guidance,
examples, scripts, references, or policy from another source, update that skill's skill-source.json in the same
change.
Use skill-source.json for durable provenance: source material, attribution, licenses, pinned versions, and cheap
update-check hints. Do not use it for reconstruction notes, review opinions, confidence labels, or temporary
diagnostics.
Workflow
- Inspect the skill and its
skill-source.jsonsidecar. - If you need the sidecar format, read
references/skill-source-json.md. - Run the report-only checker from the repository or project that contains the skills:
python3 SKILL_PATH/scripts/check_skill_updates.py --skills-root SKILLS_ROOTExample when this skill is installed at .agents/skills/skill-provenance:
python3 .agents/skills/skill-provenance/scripts/check_skill_updates.py --skills-root .agents/skills- Treat the report as a triage signal, not as an update decision.
up-to-datemeans a commit-pinned, frontmatter-pinned, or fetch-date source matches the latest cheap signal.candidatemeans the source appears to have changed and needs manual upstream diff review.local-originalmeans original local material, not an upstream update candidate.skippedmeans the source is intentionally manual, uncheckable, or pinned by a non-comparable signal.unknownmeans the check could not reach a conclusion. Causes include: GitHub and local checkout fallback both failed (retry if transient); a date-onlyfetchedAtcannot disambiguate a same-day upstream change (use a full ISO timestamp to resolve); or a local checkout fallback found the latest commit but could not determine its date (switch togitCommitversionSource or provide network access).errormeans the sidecar violates the required shape and should be fixed before update decisions.
- For each candidate update, inspect the source material directly. Never import upstream guidance wholesale just because the cheap checker reported a newer version.
- If you fold in new material, update
skill-source.json:- add a
sourcesentry for every new upstream or supporting reference; - keep canonical repository or documentation URLs as provenance;
- use
localCheckoutHintonly as an optional inspection aid, not as provenance; - add or revise top-level
attributionwhenever external material exists; - keep reconstruction-only evidence out of the JSON.
- add a
- Run validation before finalizing:
python3 -m json.tool SKILL_PATH/skill-source.json
python3 SKILL_PATH/scripts/check_skill_updates.py --skills-root SKILLS_ROOT --validate-onlyIf the checker has changed, run its tests:
python3 SKILL_PATH/scripts/test_check_skill_updates.pyskill-source.json essentials
Read references/skill-source-json.md for the full contract and references/skill-source.schema.json for a JSON
Schema representation.
Required top-level fields:
schemaVersion: currently1.skill: the directory name of the skill this sidecar describes.sources: non-empty array of source entries.attribution: required when any source has roleupstream-sourceorsupporting-reference.
Required source fields:
type: one ofupstream-skill,upstream-reference,local-original-content.role: one ofupstream-source,supporting-reference,original-content.label: short human-readable source name.version: pinned source version.versionSource: one offrontmatter,gitCommit,fetchDate.fetchedAt: ISO date or timestamp for when the source was inspected.license: source license orunknown.
Recommended version choice:
- use the source skill's
metadata.versionfrontmatter field (agentskills.io spec) — the checker reads this directly and falls back to a top-levelversion:key; - otherwise use the git commit hash that was fetched or inspected;
- otherwise use the ISO fetch date.
When the upstream skill has metadata.author in its frontmatter, the checker includes it as upstreamAuthor in the
report row — use it to write the top-level attribution field.
Gotchas
- Do not treat a local checkout path as provenance. Record the canonical upstream URL instead.
- Do not place
attributioninside a source entry. It is a required top-level field alongsideskillandschemaVersion, not a per-source field. - Do not let transitive sources disappear. If a derivative source itself came from another source, and you closely adapt that material, record both sources.
- Do not include
gitEvidence, commit subjects, review notes, diagnostics, or confidence labels inskill-source.json. - Do not let the checker modify files, create branches, commit, push, open pull requests, or publish anything.
- Do not accept source material that conflicts with the target skill's environment or audience; adapt deliberately.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

