Skip to content
Development
Skill

/provenance

Preview the provenance receipt (prompts, est. spend, tests run, agent-authored lines) for the current session ledger

From plugin
claude-code-hooks
5818 skills

Claude Code

$ npx -y skills add karanb192/claude-code-hooks --skill provenance --agent claude-code

SKILL.md

provenance.SKILL.md
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
Ships withclaude-code-hooks

๐Ÿช Ready-to-use hooks for Claude Code, shipped as a 22-plugin installable marketplace: safety, automation, notifications, and more. ๐ŸŒ Live site & catalog Claude Code and agents like it run shell commands, edit files, and install packages on their own.

Stars on GitHub

Momentum

stars in total
581
Star history of karanb192/claude-code-hooks on GitHub, a chart by star-history.com

Other skills on claude-code-hooks.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, orโ€ฆ

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills12d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android โ€” semantic ARIA roles and labels,โ€ฆ

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commitsโ€ฆ

react2d252k
@facebook@facebookInstall Skill

Questions about provenance.

Which coding agents can use provenance?
provenance installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.