Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/JimmyPaolini/codebasenpx agentmods add skills/jimmypaolini/codebase/sign-commitsWrote 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.
[](https://agentmods.dev/skills/jimmypaolini/codebase/sign-commits)<a href="https://agentmods.dev/skills/jimmypaolini/codebase/sign-commits"><img src="https://agentmods.dev/badge/skills/jimmypaolini/codebase/sign-commits/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.
<a href="https://agentmods.dev/skills/jimmypaolini/codebase/sign-commits"><img src="https://agentmods.dev/badge/skills/jimmypaolini/codebase/sign-commits.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00107 | $0.01887 |
| Opus 5.5 | $0.00043 | $0.00755 |
| Sonnet 5.5 | $0.00021 | $0.00377 |
| Haiku 4.5 | $0.00011 | $0.00189 |
Grade A, and why
sign-commits 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 259 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sign Existing Commits
Re-sign unsigned branch commits while preserving commit messages and file content.
When to Use This Skill
- When a branch or pull request has several unsigned commits
- When a repository or branch protection rule requires signed commits
- When you need to re-sign history without changing the code snapshots
- When you want a backup branch before rewriting commit history
Keywords: sign commits, GPG sign branch, re-sign PR commits, verified commits, signed history.
Prerequisites
- Run from the repository root
gitis available and authenticated to the remote- The wrapper script is available at
scripts/sign-commits.sh - The signing configuration check script is available at
scripts/git/check-commit-signing-configuration.sh - The branch contains only commits that are safe to rewrite
Safety Model
- Create a backup branch before rewriting history
- Rewrite on a temporary branch so the original branch stays untouched until verification passes
- Fail fast on any errors or obstacles
- Stop immediately on any rebase conflict or GPG failure
- Skip commit hooks during
--amendso hooks cannot block a metadata-only rewrite - Preserve commit messages and the exact final tree of the original branch tip
Scripted Workflow
Use the wrapper script for the normal path:
bash scripts/sign-commits.sh
The script performs the same workflow documented below:
- checks for a clean working tree and a checked-out branch
- fetches
origin/main - validates Git and GPG signing configuration
- verifies the branch already contains the latest
origin/main - creates a backup branch
- creates a temporary rewrite branch
- finds the first unsigned branch commit and rewrites only that suffix of history
- re-signs each rewritten commit with
--no-verify --allow-empty - suppresses rebase todo and commit-message editors for non-interactive execution
- verifies the rewritten final tree exactly matches the original branch tip before updating the real branch ref
- verifies signatures and checks for zero content drift after switching the real branch to the verified rewrite
- pushes with
--force-with-lease
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.
- 3mo ago First seen · 259 lines · 107 tokens per session scan A dbd1774dbb1a
sign-commits is a skill published in the GitHub repository JimmyPaolini/codebase (0 stars, last pushed 2mo ago), licensed MIT. It adds 107 tokens to every session and 1,887 once invoked, about $0.0004 per session on Opus 5.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-01.
sign-commits compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sign-commitsJimmyPaolini/codebase | Skill | 0 | 2mo ago | MIT | A | 107 | Claude Code, Codex |
| create-prprisma/orm | Skill | 48k | today | Apache-2.0 | A | 47 | Claude Code, Codex |
| git-commitThinkInAIXYZ/deepchat | Skill | 6.4k | yesterday | Apache-2.0 | A | 15 | Claude Code, Codex |
| engineer-bot-opsmakecindy/cindy | Skill | 11k | today | Apache-2.0 | A | 57 | Claude Code, Codex |
| mcore-split-prNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 25 | Claude Code |
| contributingHugoRCD/evlog | Skill | 2.0k | yesterday | MIT | A | 68 | Claude Code, Codex |
| git-commit-writermergisi/awesome-openclaw-agents | Skill | 4.1k | 26d ago | MIT | A | 53 | Claude Code, Codex |