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.
npx skills add Jessinra/Lorekeeper --skill fix-pr-commit-titlesgit clone --depth 1 https://github.com/Jessinra/LorekeeperWrote 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/jessinra/lorekeeper/fix-pr-commit-titles)<a href="https://agentmods.dev/skills/jessinra/lorekeeper/fix-pr-commit-titles"><img src="https://agentmods.dev/badge/skills/jessinra/lorekeeper/fix-pr-commit-titles/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/jessinra/lorekeeper/fix-pr-commit-titles"><img src="https://agentmods.dev/badge/skills/jessinra/lorekeeper/fix-pr-commit-titles.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.00038 | $0.01008 |
| Opus 5.5 | $0.00015 | $0.00403 |
| Sonnet 5.5 | $0.00008 | $0.00202 |
| Haiku 4.5 | $0.00004 | $0.00101 |
Grade A, and why
fix-pr-commit-titles 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 — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Fix PR Commit Titles
Use when a PR has commits with the wrong title format (e.g. feat(lkpr-38): instead of [LKPR-38] feat:).
When to use
- Commits on a PR branch don't match
[LKPR-N] type: description - Interactive rebase (
git rebase -i --reword) is impractical because the pre-commit hook fires on every commit and may abort on pre-existing lint violations
Approach: filter-branch --msg-filter
Rewrites all commit messages in a range in one pass. Does NOT trigger pre-commit or commit-msg hooks — avoids the hook-per-commit problem that breaks interactive rebase.
Trade-off: every SHA in the range changes, even commits whose messages weren't touched. Force-push to the PR branch is required.
Steps
1. Identify bad commits
cd ~/.hermes/profiles/diana/projects/lorekeeper
# Get PR head branch + commits
gh pr view <N> --json headRefName,commits \
| python3 -c "import sys,json; d=json.load(sys.stdin); print('Branch:', d['headRefName']); [print(f\"{c['oid'][:8]} {c['messageHeadline']}\") for c in d['commits']]"
Or just inspect the local log:
git log --oneline -15
Look for commits with feat(lkpr-N):, fix(lkpr-N):, etc. instead of [LKPR-N] feat:.
2. Check out the PR branch
git checkout feat/lkpr-N-branch-name
# or, if not yet local:
git checkout -b feat/lkpr-N-branch-name origin/feat/lkpr-N-branch-name
3. Run filter-branch
Replace each wrong pattern with the correct [LKPR-N] type: form. The sed expressions are ANDed — each -e handles one pattern. Unmatched commits pass through unchanged.
FILTER_BRANCH_SQUELCH_WARNING=1 git filter-branch -f --msg-filter '
sed \
-e "s/^feat(lkpr-38): /[LKPR-38] feat: /" \
-e "s/^fix(lkpr-38): /[LKPR-38] fix: /" \
-e "s/^chore(lkpr-38): /[LKPR-38] chore: /"
' <base-sha>..HEAD
<base-sha> is the last commit on main before the PR branch diverged. Get it with:
git merge-base HEAD origin/main
4. Verify
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 · 107 lines · 38 tokens per session scan A dc0b7a955a19
fix-pr-commit-titles is a skill published in the GitHub repository Jessinra/Lorekeeper (5 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 38 tokens to every session and 1,008 once invoked, about $0.0002 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-08-31.
fix-pr-commit-titles compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| fix-pr-commit-titlesJessinra/Lorekeeper | Skill | 5 | 4mo ago | Apache-2.0 | A | 38 | Claude Code, Codex |
| commitlore-commitsMongLong0214/commitlore | Skill | 18 | 2d ago | MIT | A | 235 | Claude Code |
| commitlore-setupMongLong0214/commitlore | Skill | 18 | 2d ago | MIT | A | 129 | Claude Code |
| commitlore-commitsMongLong0214/commitlore | Skill | 18 | 2d ago | MIT | A | 21 | Claude Code |
| commitcongchuanling-dot/Cohort | Skill | 179 | 3mo ago | MIT | A | 59 | Claude Code |
| fresh-eyes-review2389-research/fresh-eyes-review | Skill | 6 | 1mo ago | MIT | A | 93 | Claude Code |
| kibi-commit-reviewLooted/kibi | Skill | 14 | yesterday | AGPL-3.0 | A | 138 | Claude Code, Codex |