Skip to content
Agentmart
Submit a tool
This entry duplicates provenance-tracking, which is the one we list in search.

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

IndexedApache-2.0
Write a review

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.

We use your email only for this newsletter. Privacy

About

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.

Use cases: security

No 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 exists

From kvithayathil/agent-resources, Apache-2.0.

More from kvithayathil/agent-resources

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
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from kvithayathil

Cite this page

provenance-tracking skill. Agent Mart. https://agentmart.dev/skills/kvithayathil-provenance-tracking-da6592 (last updated 2026-10-24)