provenance-tracking
Ensures every remote-installed skill has a references/ folder citing its upstream source and can be checked for updates against that source.
Skill by kvithayathil
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/kvithayathil-provenance-tracking-da6592
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
provenance-tracking- Description
- Ensures every remote-installed skill has a references/ folder citing its upstream source and can be checked for updates against that source. Runs as a post-install gate and on-demand freshness check. Triggers on: skill install, skill add, provenance, source tracking, update check, freshness, skill audit, sync, lock file, remote skill.
- License
- Apache-2.0
- Metadata
- author: kvithayathil · version: 1.1.0
- Instructions
- 425 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- files: referenced but missing: scripts/check-upstream.sh, references/SOURCE.md, assets/upstream.md, assets/upstream-SKILL.md
Files (4)
- SKILL.md
- CHANGELOG.md · references/
- SOURCE-TEMPLATE.md · references/
- provenance-check.sh · scripts/
SKILL.md (first lines)
# Provenance Tracking
## Overview
Every skill installed from a remote source must carry **source provenance** so the agent can
trace where it came from, detect when upstream changes, and decide how to integrate those
changes. This skill enforces three invariants:
1. **references/SOURCE.md exists** — cites the upstream source, ref, and install date.
2. **Freshness is checkable** — a `scripts/check-upstream.sh` can compare local vs upstream.
3. **Upstream content is preserved** — an `assets/` folder holds the canonical upstream source.
## When to Use
- Immediately after installing a skill from a remote repo (`just install`, `npx skills add`)
- When adapting a public methodology/gist into a local skill (like VDD/VSDD)
- During `just sync` to audit all remote skills for provenance compliance
- When the user asks "are any skills out of date?" or "check for updates"
- During periodic maintenance / skill audits
- When reviewing or modifying a skill that was installed from elsewhere
**Don't use when:**
- Authoring a new skill from scratch (no upstream source)
- Editing a skill that already has valid provenance and is up-to-date
## Skill Categories
Remote skills fall into two categories, each with different provenance requirements:
### Category A: Modified Third-Party Skills
The local skill **adapts** an upstream source (gist, repo, blog post) with local
modifications — additional instructions, project-specific patterns, self-learning protocol,
etc. The upstream is the methodology reference; the local SKILL.md is the working skill.
**Examples:** `vdd/` (adapts gist `45c95ebf...`), `vsdd/` (adapts gist `d8d3bc3e...`)
**Required structure:**
```
skill-name/
├── SKILL.md # Modified skill with local adaptations
├── assets/
│ └── upstream.md # Raw upstream source (canonical reference)
├── scripts/
│ └── check-upstream.sh # Fetches upstream, compares, updates assets/
└── references/
├── SOURCE.md # Provenance metadata
├── CHANGELOG.md # Skill update history
└── LESSONS_LEARNED.md # Evolving patterns (if self-learning)
```
**Source frontmatter pattern:**
```yaml
source:
gist: https://gist.github.com/user/id
gist_id: id
fetched_at: "2026-01-01T00:00:00Z"
```
Or for a repo-based upstream:
```yaml
source:
repo: https://github.com/org/repo
ref: main
path: subpath
fetched_at: "2026-01-01T00:00:00Z"
```
### Category B: Unmodified Third-Party Skills
Skills installed verbatim from a remote repo via `npx skills add`, `just install`, or
manual copy. No local modifications — the SKILL.md is the upstream SKILL.md.
**Examples:** `qa/`, `write-a-prd/`, `grill-me/` (installed from mattpocock/skills)
**Required structure:**
```
skill-name/
├── SKILL.md # Unmodified upstream skill
├── assets/
│ └── upstream-SKILL.md # Latest upstream SKILL.md for diff comparison
├── scripts/
│ └── check-upstream.sh # Fetches upstream, compares, offers pull
└── references/
└── SOURCE.md # Provenance metadata
```
**Source frontmatter pattern:**
```yaml
source:
repo: https://github.com/org/repo
ref: main
path: skill-name
```
## Instructions
### Step 1: Post-Install Provenance Gate
After any remote skill install, verify and create provenance metadata:
```
GIVEN: A skill directory exists at skills/<name>/
AND: An entry exists in skills-lock.json for <name>
VERIFY:
□ skills/<name>/references/ directory exists
□ skills/<name>/references/SOURCE.md exists and is non-empty
□ SOURCE.md contains: source URL, ref/branch, remote path, install date
□ SKILL.md frontmatter has `source:` block
□ skills/<name>/scripts/check-upstream.sh exists
□ skills/<name>/assets/ directory existsFrom kvithayathil/agent-resources, Apache-2.0.
More from kvithayathil/agent-resources
- 0.544score
design-an-interface
mattpocock
Generate multiple radically different interface designs for a module using parallel sub-agents.
SkillAFreshness: AClaude Code +9 - 0.539score
grill-me
mattpocock
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillAFreshness: AClaude Code +9 - 0.479score
modern-git-patterns
kvithayathil
Use when working with git commands, planning git workflows, advising on git best practices, or needing version-aware git guidance.
SkillCFreshness: CClaude Code +9 - 0.414score
android-layouts
kvithayathil
Android layout best practices for XML/Views and Jetpack Compose.
SkillDFreshness: DClaude Code +9 - 0.414score
design-md
kvithayathil
Create, consume, and validate DESIGN.md files — the open format for describing visual identity to coding agents.
SkillDFreshness: DClaude Code +9 - 0.410score
provenance-tracking
kvithayathil
Ensures every remote-installed skill has a references/ folder citing its upstream source and can be checked for updates against that source.
SkillDFreshness: DClaude Code +9 - 0.409score
android-di-koin
kvithayathil
Koin dependency injection setup for Android/KMP - module definitions per layer, ViewModel injection, assembling modules in :app, and koinViewModel() in…
SkillDFreshness: DClaude Code +9 - 0.409score
android-error-handling
kvithayathil
Generic Result wrapper, error types, and extension helpers for Android/KMP - Result<T, E>, DataError, EmptyResult, map, onSuccess, onFailure.
SkillDFreshness: DClaude Code +9 - 0.409score
android-module-structure
kvithayathil
Module layout, dependency rules, and Gradle convention plugins for Android and Kotlin Multiplatform (KMP) projects.
SkillDFreshness: DClaude Code +9 - 0.409score
android-navigation
kvithayathil
Type-safe Compose Navigation for Android/KMP - route objects, feature nav graphs, cross-feature callbacks, and wiring in :app.
SkillDFreshness: DClaude Code +9 - 0.409score
android-presentation-mvi
kvithayathil
MVI presentation layer for Android/KMP - State, Action, Event, ViewModel, Root/Screen composable split, UI models, UiText error mapping, and process death…
SkillDFreshness: DClaude Code +9 - 0.409score
android-data-layer
kvithayathil
Data layer patterns for Android/KMP - data sources, repositories, DTOs, mappers, Room entities, Ktor HttpClient, safe call helpers, token storage, and…
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Oct 22, 2026 (7 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.1.0
- License
- Apache-2.0
- Repository
- github.com/kvithayathil/agent-resources
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from kvithayathil
- 0.479score
modern-git-patterns
kvithayathil
Use when working with git commands, planning git workflows, advising on git best practices, or needing version-aware git guidance.
SkillCFreshness: CClaude Code +9 - 0.414score
design-md
kvithayathil
Create, consume, and validate DESIGN.md files — the open format for describing visual identity to coding agents.
SkillDFreshness: DClaude Code +9 - 0.414score
android-layouts
kvithayathil
Android layout best practices for XML/Views and Jetpack Compose.
SkillDFreshness: DClaude Code +9 - 0.410score
provenance-tracking
kvithayathil
Ensures every remote-installed skill has a references/ folder citing its upstream source and can be checked for updates against that source.
SkillDFreshness: DClaude Code +9 - 0.409score
android-data-layer
kvithayathil
Data layer patterns for Android/KMP - data sources, repositories, DTOs, mappers, Room entities, Ktor HttpClient, safe call helpers, token storage, and…
SkillDFreshness: DClaude Code +9 - 0.409score
android-di-koin
kvithayathil
Koin dependency injection setup for Android/KMP - module definitions per layer, ViewModel injection, assembling modules in :app, and koinViewModel() in…
SkillDFreshness: DClaude Code +9
Cite this page
provenance-tracking skill. Agent Mart. https://agentmart.dev/skills/kvithayathil-provenance-tracking-da6592 (last updated 2026-10-24)