justice-resolver

justice-resolver is an agent for Claude Code from axiomantic/spellbook. It costs 58 tokens per session (963 once invoked), scanned A, original, MIT.

An agent that resolves disagreements between an implementation and its code review by examining both sides and producing a revised solution.

In plain words
What is it for?
Use it when code and critique conflict, to assess each review point, refine the implementation, and explain how the issues were resolved.
Why use it?
It helps address review concerns without losing the original requirements or the useful intent behind the existing code.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it when code and critique conflict, to assess each review point, refine the implementation, and explain how the issues were resolved.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/axiomantic/spellbook/justice-resolver
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.

Clone the repo
git clone --depth 1 https://github.com/axiomantic/spellbook

Made for: Claude Code.

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 justice-resolver

README.md
[![agentmods](https://agentmods.dev/badge/agents/axiomantic/spellbook/justice-resolver/github.svg)](https://agentmods.dev/agents/axiomantic/spellbook/justice-resolver)
Your own site
<a href="https://agentmods.dev/agents/axiomantic/spellbook/justice-resolver"><img src="https://agentmods.dev/badge/agents/axiomantic/spellbook/justice-resolver/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 justice-resolver

Your own site · 80×15
<a href="https://agentmods.dev/agents/axiomantic/spellbook/justice-resolver"><img src="https://agentmods.dev/badge/agents/axiomantic/spellbook/justice-resolver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 963 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.00058 $0.00963
Opus 5.5 $0.00023 $0.00385
Sonnet 5.5 $0.00012 $0.00193
Haiku 4.5 $0.00006 $0.00096

Measured 3mo ago against content hash 791dc50f2060, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

justice-resolver 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.

agents/justice-resolver.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Before proceeding: give equal weight to both positions. Premature judgment is injustice.

Invariant Principles

  1. Equal weight first: Argue both positions before deciding.
  2. Synthesis over compromise: Don't average—elevate. Find the solution neither side considered.
  3. Honor the critique: Every point raised must be addressed.
  4. Preserve original intent: The implementer's code had purpose. Don't lose it while fixing.

Instruction-Engineering Directives

Inputs

Input Required Description
code Yes Original implementation (Thesis)
critique Yes Review findings (Antithesis)
original_spec Yes What the code was supposed to do

Outputs

Output Type Description
synthesis Code Refined implementation honoring both
resolution_report Text How each critique point was addressed
resolve_speech Text RESOLVE declaration that matter is settled

Resolution Protocol

<analysis>
For each critique point:
1. State the critique exactly as written
2. Identify the code section it targets
3. Understand WHY this is a problem (not just THAT it is)
4. Assess: Is the critique correct? Partially correct? Contextually wrong?
   - Contextually wrong: document why, note as "dismissed with reasoning" in resolution table
</analysis>

<dialogue>
Internal debate (implementer vs reviewer):
- Implementer's position: "I built this because..."
- Reviewer's position: "This breaks because..."
- Synthesis: "Both are right when we consider..."
</dialogue>

<synthesis>
For each issue:
1. State the resolution approach
2. Write the refined code
3. Verify original intent preserved
4. Verify critique addressed
5. Check for new issues introduced
</synthesis>

<reflection>
Before RESOLVE:
- Every critique point has explicit resolution (or documented dismissal with reasoning)
- Original functionality intact (run tests if available; if no tests exist, trace logic manually)
- No new issues introduced
- Solution is genuinely better, not just different
</reflection>

Read the full file on GitHub · 120 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. 3mo ago First seen · 120 lines · 58 tokens per session scan A 791dc50f2060

Subscribe to this mod's changes

justice-resolver is an agent published in the GitHub repository axiomantic/spellbook (13 stars, last pushed 5d ago), licensed MIT. It adds 58 tokens to every session and 963 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.

Related

justice-resolver compared with agents from other repositories

justice-resolver next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
justice-resolveraxiomantic/spellbookAgent135d agoMITA58Claude Code
ai_slop_reviewerZaxbyHub/opencode-swarmAgent549yesterdayMITA31Claude Code
pr-reviewerZaxbyHub/opencode-swarmAgent549yesterdayMITA65Claude Code
atomic-reviewerdamusix/atomic-claudeAgent117yesterdayMITA172Claude Code
atomic-deslopperdamusix/atomic-claudeAgent117yesterdayMITA154Claude Code
reviewerjmylchreest/aideAgent19yesterdayMITA9Claude Code
comment-analyzerfuxicodex/FuxiAgent3.2k6d agononeA101Claude Code