Skill497 repo starsupdated 13d ago
provenance
Preview the provenance receipt (prompts, est. spend, tests run, agent-authored lines) for the current session ledger
Install in Claude Code
Copygit clone --depth 1 https://github.com/karanb192/claude-code-hooks /tmp/provenance && cp -r /tmp/provenance/plugins/pr-provenance-stamp/skills/provenance ~/.claude/skills/provenanceThen start a new Claude Code session; the skill loads automatically.
Definition
SKILL.md
# 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.More from this repository
boardSkill
Show the wanted-poster bounty board: this repo's TODO/FIXME/HACK debt priced as aging XP bounties
leaderboardSkill
Show this repo's context-cost leaderboard: the files that pulled the most tokens into context
dead-endsSkill
List this repo's recorded dead ends: approaches already tried and abandoned, with reasons and cost
scorecardSkill
Show the CLAUDE.md compliance scorecard: which rules Claude actually follows vs ignores
receiptsSkill
Show your personal model-quality trend card (failure rate, edit churn, tokens/task by model version)
standupSkill
Render today's standup card from what your agents actually did across repos