pr-provenance-stamp

pr-provenance-stamp is a plugin for Claude Code from karanb192/claude-code-hooks. Its manifest loads nothing; the 1 skill it bundles cost 29 tokens per session together, scanned A, original, MIT.

A Claude Code plugin that adds a provenance receipt to pull requests created with GitHub's or GitLab's command-line tools. The receipt records tool calls, authored lines, and test or type-check results.

In plain words
What is it for?
Use it when creating pull requests or merge requests with `gh pr create` or `glab mr create`, and to preview the current session's receipt.
Why use it?
It gives reviewers a concise record of how the change was produced and whether verification commands passed.

Plugin for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Claude Code
/plugin marketplace add karanb192/claude-code-hooks
agentmods
npx agentmods add plugins/karanb192/claude-code-hooks/pr-provenance-stamp
Clone the repo
git clone --depth 1 https://github.com/karanb192/claude-code-hooks

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pr-provenance-stamp

README.md
[![agentmods](https://agentmods.dev/badge/plugins/karanb192/claude-code-hooks/pr-provenance-stamp.svg)](https://agentmods.dev/plugins/karanb192/claude-code-hooks/pr-provenance-stamp)
Your own site
<a href="https://agentmods.dev/plugins/karanb192/claude-code-hooks/pr-provenance-stamp"><img src="https://agentmods.dev/badge/plugins/karanb192/claude-code-hooks/pr-provenance-stamp.svg" alt="Measured on agentmods" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 1 skill cost 29 tokens a session between them.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

pr-provenance-stamp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/pr-provenance-stamp/.claude-plugin/plugin.json · 22 lines

What it actually says

{
  "name": "pr-provenance-stamp",
  "description": "Embeds a reviewer-facing provenance receipt into your PR body when Claude runs `gh pr create` (or `glab mr create`). A PostToolUse hook (async, zero added latency) records a per-session ledger: tool calls, agent-authored lines, and every test/typecheck command with its real exit code; a PreToolUse (Bash) hook then rewrites the --body on `gh pr create` with the real prompt count, estimated spend, test tally, and a truthful agent-vs-human authored-line split. Preview it anytime via /pr-provenance-stamp:provenance.",
  "version": "1.0.2",
  "author": {
    "name": "Karan Bansal",
    "url": "https://github.com/karanb192"
  },
  "homepage": "https://github.com/karanb192/claude-code-hooks",
  "license": "MIT",
  "keywords": [
    "claude-code",
    "hooks",
    "pr",
    "provenance",
    "github",
    "receipt",
    "pretooluse",
    "posttooluse"
  ]
}
Contents

What it installs

The manifest is a name and a version. 1 skill travel with it, and installing the plugin installs all of them — 29 tokens a session between them. Each is measured on its own page, and each can be installed alone.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 22 lines scan A 6c9375ee84eb

Subscribe to this mod's changes

pr-provenance-stamp is a plugin published in the GitHub repository karanb192/claude-code-hooks (494 stars, last pushed 11d ago), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other plugins, from other repositories

memory-kit

Persistent memory for Claude Code agents: a hot cache injected every session and held under three size caps, per-session handoffs, and agent-audited promotion into knowledge articles and rules. Carries the builder's layers too — executor/recon/idea-validator agents, session review, second opinion, agent QA and a…

awrshift/claude-memory-kit · not measured

promptly-prompt

Clarity gate for prompts: intercepts unclear requests and forces AI to restate intent to align with the user, then diagnose the root cause and reuse the domain's mature, established practices before proceeding.

ViryaZheng/promptly-prompt · not measured

time-sense

Claude always knows the real date and time. A tiny hook stamps every message with the current clock, so it stops guessing 'tonight' at noon.

gyozanisonline/air-powerups · not measured

voiceprint

Capture anyone's writing voice from real samples, then draft anything in it. No more generic AI drafts.

gyozanisonline/air-powerups · not measured

rad-a11y

WCAG 2.2 AA accessibility toolkit for Claude Code. Six skills covering semantic HTML, ARIA patterns, keyboard/focus, forms, automated testing setup, and a static-analysis review pass; one autonomous reviewer agent. Four pure-stdlib Python validators (scan-jsx-patterns, check-tailwind-contrast with real WCAG sRGB ma.

RadOrigin-LLC/RAD-Claude-Skills · not measured

clipboard-mcp-server

Read, write, and inspect the system clipboard across macOS, Linux (X11/Wayland), and Windows via MCP. STDIO or Streamable HTTP.

cyanheads/clipboard-mcp-server · not measured