lorekeeper-dev-self-review

lorekeeper-dev-self-review is a skill for Claude Code, Codex from Jessinra/Lorekeeper. It costs 49 tokens per session (1,355 once invoked), scanned A, original, Apache-2.0.

A required self-review process for Lorekeeper developers before pushing code or opening a pull request. It evaluates the work, identifies failures, and allows up to three improvement cycles.

In plain words
What is it for?
Use it to check completed implementations against set criteria and produce specific fixes when the review score is below the required level.
Why use it?
It catches problems before code reaches reviewers or the shared repository.

Skill for Claude CodeCodex

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

Good fit Use it to check completed implementations against set criteria and produce specific fixes when the review score is below the required level.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jessinra/lorekeeper/lorekeeper-dev-self-review
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 Jessinra/Lorekeeper --skill lorekeeper-dev-self-review
Clone the repo
git clone --depth 1 https://github.com/Jessinra/Lorekeeper

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 lorekeeper-dev-self-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/jessinra/lorekeeper/lorekeeper-dev-self-review.svg)](https://agentmods.dev/skills/jessinra/lorekeeper/lorekeeper-dev-self-review)
Your own site
<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>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,355 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.00049 $0.01355
Opus 5 $0.00024 $0.00678
Sonnet 5 $0.00010 $0.00271
Haiku 4.5 $0.00005 $0.00136

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

Security

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.

.hermes/skills/lorekeeper-dev-self-review/SKILL.md · 161 lines

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]

Read the full file on GitHub · 161 lines

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. 7d ago First seen · 161 lines · 49 tokens per session scan A bf80bc763d4d

Subscribe to this mod's changes

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.