gitpin

gitpin is a skill for Claude Code, Codex from shmindmaster/gitpin. It costs 61 tokens per session (365 once invoked), scanned A, original, MIT.

A read-only tool for proving that claims about code or documentation match the exact commit currently at Git HEAD. Git HEAD is the commit a repository currently points to.

In plain words
What is it for?
Cataloguing repositories, finding candidate passages, verifying claims, and checking evidence citations across one or more repositories.
Why use it?
It prevents dirty files, untracked files, or search results from being treated as reliable evidence. It produces citations tied to file paths, lines, and commit identifiers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Cataloguing repositories, finding candidate passages, verifying claims, and checking evidence citations across one or more repositories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shmindmaster/gitpin/gitpin
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.

Any agent
npx skills add shmindmaster/gitpin --skill gitpin
Clone the repo
git clone --depth 1 https://github.com/shmindmaster/gitpin

Made for: Claude Code, Codex.

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 gitpin

README.md
[![agentmods](https://agentmods.dev/badge/skills/shmindmaster/gitpin/gitpin/github.svg)](https://agentmods.dev/skills/shmindmaster/gitpin/gitpin)
Your own site
<a href="https://agentmods.dev/skills/shmindmaster/gitpin/gitpin"><img src="https://agentmods.dev/badge/skills/shmindmaster/gitpin/gitpin/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gitpin

Your own site · 80×15
<a href="https://agentmods.dev/skills/shmindmaster/gitpin/gitpin"><img src="https://agentmods.dev/badge/skills/shmindmaster/gitpin/gitpin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 365 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00061 $0.00365
Opus 5 $0.00030 $0.00182
Sonnet 5 $0.00012 $0.00073
Haiku 4.5 $0.00006 $0.00036

Measured 5d ago against content hash 3363415a5d7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

gitpin 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 5d 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.

templates/gitpin-skill.md · 41 lines

What it actually says

GitPin skill

Product contract

  • Index-free, read-only, Git HEAD only
  • Dirty / untracked files are not evidence
  • Job: prove and verify claims with path + line + full SHA

Required loop

  1. pin.catalog — discover registry roots and HEAD SHAs
  2. pin.search_docs / pin.search_codecandidates only
  3. pin.prove (one path) or pin.prove_set (1–8 multi-cite)
  4. pin.verify or pin.verify_set — close the loop
  5. Multi-repo decisions → pin.analyze with operation: "brief"

Citation rules

  • Copy citation.cite or citation.handle exactly into answers
  • Prefer mustContain on verify when asserting a quote or keyword
  • If status is missing, blocked, or contradicted, say so — do not invent content

CLI (same contract)

gitpin doctor
gitpin verify --repository <n> --path <p> --sha <hex> [--line <n>] [--must-contain <text>]
gitpin verify --from-pack pack.json
gitpin verify-cites --file notes.md

See docs/cite-spec.md and docs/tools.md.

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. 5d ago First seen · 41 lines · 61 tokens per session scan A 3363415a5d7d

Subscribe to this mod's changes

gitpin is a skill published in the GitHub repository shmindmaster/gitpin (0 stars, last pushed 7d ago), licensed MIT. It adds 61 tokens to every session and 365 once invoked, about $0.0003 per session on Opus 5. 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-09-04.

Related

Other skills, from other repositories

orbit-github

Open Orbit briefing skill — selected by the Orbit pipeline when GitHub is the user's only connected connector, or when the user explicitly scopes their daily digest to GitHub. Pulls the past 24 hours of PRs, review requests, issues, CI runs, and merges from the user's authenticated GitHub connection and renders them…

nexu-io/open-design · 117 tokens

diff-review

Render the patch-edit run's accumulated changes as a reviewable diff, surface it through a GenUI choice surface, and persist the user's accept / reject decision into the artifact manifest.

nexu-io/open-design · 39 tokens

agentplane-task-closure-recovery

Use when Agentplane task completion, direct finish, branchpr integration, hosted-close, close-tail PRs, PR metadata, dirty task artifacts, or remote branch divergence need diagnosis or recovery.

basilisk-labs/agentplane · 46 tokens

code-quality-review

Checklist and method for reviewing code quality — readability, maintainability, SOLID, DRY, performance, and backward compatibility. Use when asked to review code, a diff, a branch, or a merge request for quality, or before finalizing significant changes. For GitHub PR review use the built-in /review; for…

thixpin/pitway · 79 tokens

repo-audit

Audit a repository or prepare it for an open-source release. Audit mode reports whether the README matches the code and whether stated rules are actually enforced; launch mode walks a repo to release-ready with opt-in checklist packs and README templates. Use when asked to "audit this repo," "is this repo ready to go…

conorbronsdon/repo-audit · 112 tokens

changes-report

Report all repository changes that entered a target branch during one required date or period, grouped by product change and written as plain English for a broad audience. Use for daily, weekly, date-range, or relative-period change summaries rather than explaining one known diff.

yarlson/yarstack · 54 tokens