Agent skill

Provenance

by karanb192 in karanb192/claude-code-hooks

Preview the provenance receipt (prompts, est. An agent skill from karanb192/claude-code-hooks.

MITAuto-check passed

Install Provenance

skills CLI
$ npx skills add karanb192/claude-code-hooks --skill provenance -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install karanb192/claude-code-hooks provenance --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/karanb192/claude-code-hooks.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/pr-provenance-stamp/skills/provenance .claude/skills/provenance && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
provenance
GitHub stars
533
Token cost
~245 tokens
SKILL.md length
113 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

Preview the provenance receipt (prompts, est. An agent skill from karanb192/claude-code-hooks.

  • Calls node and gh

What it does

Provenance is an agent skill from karanb192/claude-code-hooks. Preview the provenance receipt (prompts, est. spend, tests run, agent-authored lines) for the current session ledger

Its SKILL.md is about 250 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: 🪝 Claude Code hooks + an installable plugin marketplace: safety, cost, observability, productivity. The licence is MIT.

Example prompts

  • “/provenance”

What it can do on your machine

Read from SKILL.md and the folder at commit 3c9c90a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Provenance loads about 245 tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 113 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~245

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from karanb192/claude-code-hooks at commit 3c9c90a, republished under its MIT licence (© karanb192). 113 words, ~245 tokens.

Download SKILL.mdSave it as .claude/skills/provenance/SKILL.md (or your agent's skills folder).
name
provenance
description
Preview the provenance receipt (prompts, est. spend, tests run, agent-authored lines) for the current session ledger
disable-model-invocation
true

Provenance receipt

!node "${CLAUDE_SKILL_DIR}/../../pr-provenance-stamp.js" --render 2>/dev/null || node "${CLAUDE_PLUGIN_ROOT}/pr-provenance-stamp.js" --render

The block above is the provenance receipt exactly as it would be stamped into a PR body when you run gh pr create, built from the most recent session ledger the pr-provenance-stamp hook has been recording (tool calls, test/typecheck commands with real exit codes, and the agent-vs-human authored-line split). Prompt and spend figures come from the transcript at PR-create time, so they may be absent in this preview.

Briefly summarize the receipt for the user: how many tests ran and whether they are green, and the agent-authored line count or percentage. Keep it to a sentence or two and do not re-run any commands.

© karanb192, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/pr-provenance-stamp/skills/provenance of karanb192/claude-code-hooks.

Open the folder on GitHubat commit 3c9c90a

Compare with similar skills

Provenance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Provenance compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Provenance this skillkaranb192/claude-code-hooks533—~245Automated safety check: PassMIT
Langfuse Previewslangfuse/langfuse36k—~2.8kAutomated safety check: NotesCustom licence
Upload Element Previewsremotion-dev/remotion63k—~265Automated safety check: PassCustom licence
Receipt Accountingsickn33/agentic-awesome-skills47k1 repos~5.5kAutomated safety check: PassMIT
Windmill Dev Page Previewwindmill-labs/windmill18k—~1.8kAutomated safety check: PassCustom licence
Bug Receiptgithub/awesome-copilot40k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Langfuse Previews

    langfuse/langfuse

    Use Langfuse's disposable per-PR previews at pr-N.preview.langfuse.com (synthetic data only).

    36k GitHub stars~2.8k tokensUpdated today
    AI & LLM EngineeringAuto-check: notes
  • Upload Element Previews

    remotion-dev/remotion

    Official

    Upload a Remotion Element's preview assets to remotion.media and replace local preview URLs.

    63k GitHub stars~265 tokensUpdated today
    Media & CreativeAuto-check passed
  • Receipt Accounting

    sickn33/agentic-awesome-skills

    Receipt register: payer, mode, gross amount received, invoice allocation, unapplied amount and TDS collected.

    47k GitHub starsUsed in 1 repo~5.5k tokens
    Business, Finance & HRAuto-check passed
  • Windmill Dev Page Preview

    windmill-labs/windmill

    Opens the Windmill dev page to preview a flow, script or app, choosing between proxy and direct mode and deciding whether the agent or the runtime starts the wmill dev server.

    18k GitHub stars~1.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Bug Receipt

    github/awesome-copilot

    Official

    Close defects and incidents with a BUG RECEIPT and VERIFIED, PARTIAL, or BLOCKED status after diagnosis, repair, or recovery.

    40k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Provenance

    anbeime/skill

    收集系统全链路操作日志,生成可追溯的执行证据链与向量索引,是多智能体系统可观测性与安全审计的底座. An agent skill from anbeime/skill.

    7.7k GitHub stars~301 tokensUpdated yesterday
    Auto-check passed

More from karanb192/claude-code-hooks

All 8 skills in this repo
  • Board

    karanb192/claude-code-hooks

    Show the wanted-poster bounty board: this repo's TODO/FIXME/HACK debt priced as aging XP bounties

    533 GitHub stars~199 tokensUpdated 5 days ago
    Auto-check passed
  • Dead Ends

    karanb192/claude-code-hooks

    List this repo's recorded dead ends: approaches already tried and abandoned, with reasons and cost

    533 GitHub stars~220 tokensUpdated 5 days ago
    Auto-check passed
  • Leaderboard

    karanb192/claude-code-hooks

    Show this repo's context-cost leaderboard: the files that pulled the most tokens into context

    533 GitHub stars~208 tokensUpdated 5 days ago
    Auto-check passed
  • Receipts

    karanb192/claude-code-hooks

    Show your personal model-quality trend card (failure rate, edit churn, tokens/task by model version)

    533 GitHub stars~263 tokensUpdated 5 days ago
    Auto-check passed
  • Scorecard

    karanb192/claude-code-hooks

    Show the CLAUDE.md compliance scorecard: which rules Claude actually follows vs ignores

    533 GitHub stars~231 tokensUpdated 5 days ago
    Auto-check passed
  • Standup

    karanb192/claude-code-hooks

    Render today's standup card from what your agents actually did across repos

    533 GitHub stars~205 tokensUpdated 5 days ago
    Auto-check passed

Questions about Provenance

What does Provenance do?

Preview the provenance receipt (prompts, est. An agent skill from karanb192/claude-code-hooks. Provenance is an agent skill from karanb192/claude-code-hooks. Preview the provenance receipt (prompts, est.

How do I install Provenance in Claude Code?

Run `npx skills add karanb192/claude-code-hooks --skill provenance -a claude-code`. Or copy the skill folder (plugins/pr-provenance-stamp/skills/provenance in karanb192/claude-code-hooks) into .claude/skills/provenance in your project. Claude Code loads it when a task matches its description.

How do I install Provenance in Codex?

Run `npx skills add karanb192/claude-code-hooks --skill provenance -a codex`. Or copy the skill folder (plugins/pr-provenance-stamp/skills/provenance in karanb192/claude-code-hooks) into .agents/skills/provenance in your project. Codex loads it when a task matches its description.

Can I use Provenance in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add karanb192/claude-code-hooks --skill provenance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/provenance, .gemini/skills/provenance, .github/skills/provenance and .opencode/skills/provenance in your project.

What does Provenance need to run?

Going by SKILL.md and its folder, Provenance needs the command-line tools its instructions call (node and gh).

Does Provenance access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Provenance safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Provenance use?

Provenance is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Provenance use?

About 245 tokens (SKILL.md is roughly 980 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Provenance?

Skills that share tags, products or a category with Provenance: Langfuse Previews (langfuse/langfuse, 36k stars), Upload Element Previews (remotion-dev/remotion, 63k stars), Receipt Accounting (sickn33/agentic-awesome-skills, 47k stars) and Windmill Dev Page Preview (windmill-labs/windmill, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Provenance?

karanb192 (a GitHub user) maintains it in karanb192/claude-code-hooks, which has 533 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 4, 2026.

Source: karanb192/claude-code-hooks on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.