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 lorekeeper-dev-self-reviewgit 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/lorekeeper-dev-self-review)<a href="https://agentmods.dev/skills/jessinra/lorekeeper/lorekeeper-dev-self-review"><img src="https://agentmods.dev/badge/skills/jessinra/lorekeeper/lorekeeper-dev-self-review.svg" alt="Measured on agentmods" 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.00049 | $0.01355 |
| Opus 5 | $0.00024 | $0.00678 |
| Sonnet 5 | $0.00010 | $0.00271 |
| Haiku 4.5 | $0.00005 | $0.00136 |
Grade A, and why
lorekeeper-dev-self-review 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 7d 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 — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lorekeeper Dev — Mandatory Self-Review Loop
When To Use
Every time you finish an implementation and are about to push or open a PR.
This is not optional. Every dev (Diana, future devs) must run this Reflexion loop before any git push or gh pr create. It catches issues before they reach review.
The Reflexion Loop
┌──────────────────────────────────────┐
│ ACTOR: Write/fix implementation │
│ (this is what you already do) │
└──────────────┬───────────────────────┘
↓
┌──────────────────────────────────────┐
│ EVALUATOR: Self-review against │
│ criteria → score 1-10 │
└──────────────┬───────────────────────┘
↓ score ≥ 8?
/ \
YES NO
↓ ↓
┌────────┐ ┌──────────────────────────────┐
│ PUSH! │ │ REFLECTOR: Diagnose failures │
│ │ │ and generate specific fixes │
└────────┘ └──────────────┬───────────────┘
↓
┌──────────────────────────────┐
│ ACTOR: Rewrite with fixes │
│ (iteration 2 or 3) │
└──────────────┬───────────────┘
↓
┌──────────────────────────────┐
│ EVALUATOR: re-score │
└──────────────────────────────┘
Rules:
- Max 3 iterations total (Actor → Evaluator counts as 1)
- If score ≥ 8 on any iteration → push immediately
- If still < 8 after 3 iterations → do not push. Surface blockers to Akane/Jason with a summary of what's failing and why.
The Evaluator Prompt (Step 2)
After writing your implementation, evaluate it against these criteria:
Self-Review Checklist:
1. ACCEPTANCE CRITERIA — does the implementation match every criterion
in the ticket? List which ones are met and which (if any) are not.
2. EDGE CASES — are null, empty, duplicate, error, and boundary cases
handled? If the input/output format changed, are callers accounted for?
3. TEST COVERAGE — do tests cover:
- Happy path (the main success case)
- Error path (what happens when things go wrong)
- Edge cases (boundaries, empty inputs, duplicates)
4. CLEAN CODE — any debug prints, unused imports, dead code,
commented-out blocks, or TODO leftovers?
5. PROJECT PATTERNS — does the code follow the established patterns
for the specific area you're working in? (Naming, structure, style)
Score each criterion 1-10.
Output format:
- Acceptance criteria: [score] — [notes]
- Edge cases: [score] — [notes]
- Test coverage: [score] — [notes]
- Clean code: [score] — [notes]
- Project patterns: [score] — [notes]
- Overall: [score]
- Decision: [PASS if overall >= 8 / FAIL otherwise]
- Critical issues: [list, ordered by severity]
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.
- 7d ago First seen · 161 lines · 49 tokens per session scan A bf80bc763d4d
lorekeeper-dev-self-review is a skill published in the GitHub repository Jessinra/Lorekeeper (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 49 tokens to every session and 1,355 once invoked, about $0.0002 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-08-31.
Other skills, from other repositories
pre-pr
Prepare a Honcho change for a pull request to plastic-labs/honcho. Invoke before opening a PR, when drafting a PR body, when asked if a branch is PR-ready, or when filling the pull request template. Checks the linked issue, required tests and docs, then writes Description / Proofs / Fixes.
github-code-review
Review PRs: diffs, inline comments via gh or REST.
simplify-code
Sequential 3-lens cleanup of recent code changes.
requesting-code-review
Pre-commit review: security scan, quality gates, auto-fix.
requesting-code-review
Self-reviews work against the plan before sign-off.
agentic-preflight
Use when shipping a branch — reviewing, documenting, linting, testing, and pushing work behind a quality gate. Also use when a push is blocked by the agentic-preflight pre-push hook or when the user says agentic-preflight:uninstall to remove this tool from the current project.