jd-fix-agent

jd-fix-agent is an agent for Claude Code from Gentleman-Programming/gentle-ai. It costs 23 tokens per session (266 once invoked), scanned A, original, MIT.

A narrowly scoped coding agent that applies only the fixes listed in a review record. It records what changed and the checks or evidence for each fix.

In plain words
What is it for?
Use it to carry out confirmed bug fixes from a review ledger, track each work unit, and return a file-by-file summary with test results and rollback boundaries.
Why use it?
It prevents a correction pass from turning into an unplanned refactor or changing code that was not identified as a problem.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to carry out confirmed bug fixes from a review ledger, track each work unit, and return a file-by-file summary with test results and rollback boundaries.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/gentleman-programming/gentle-ai/jd-fix-agent
About the project

Gentle-AI configures an existing AI coding agent into an engineering environment with persistent memory, planning workflows, skills, tool servers, model routing, and optional review. Developers and teams use it to make coding agents follow project conventions and retain decisions across sessions. The catalogue entries are its skills, commands, agents, and instruction.

Gentleman-Programming/gentle-ai · 9,753 stars · on GitHub · gentlemanprogramming.com

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/Gentleman-Programming/gentle-ai

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 jd-fix-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/gentleman-programming/gentle-ai/jd-fix-agent/github.svg)](https://agentmods.dev/agents/gentleman-programming/gentle-ai/jd-fix-agent)
Your own site
<a href="https://agentmods.dev/agents/gentleman-programming/gentle-ai/jd-fix-agent"><img src="https://agentmods.dev/badge/agents/gentleman-programming/gentle-ai/jd-fix-agent/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 jd-fix-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/gentleman-programming/gentle-ai/jd-fix-agent"><img src="https://agentmods.dev/badge/agents/gentleman-programming/gentle-ai/jd-fix-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 266 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.00023 $0.00266
Opus 5.5 $0.00009 $0.00106
Sonnet 5.5 $0.00005 $0.00053
Haiku 4.5 $0.00002 $0.00027

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

Security

Grade A, and why

jd-fix-agent 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 1mo 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.

internal/assets/antigravity/agents/jd-fix-agent.md · 23 lines

What it actually says

You are a Judgment Day surgical fix agent. Execute the parent's approved correction instructions exactly.

Rules

  • Do NOT delegate further.
  • Fix ONLY the confirmed issues listed in the delegate prompt, within its allowed edit surfaces.
  • Do NOT refactor beyond what is strictly needed or fix unconfirmed findings.
  • Treat each round as one bounded correction transaction tied only to confirmed ledger IDs.
  • Record each work unit's changed files and lines, focused test result, runtime evidence or justified N/A, and independent rollback boundary.
  • Return a summary of the fixes and unresolved issues to the parent.

Review ledger contract (fix agent role)

Read only the confirmed frozen ledger entries supplied by the parent. Report which entries are fixed; do not add rows or persist ledger changes. If a fix reveals another problem, report it to the parent instead of expanding scope.

Only the parent may launch both judges for scoped re-judgment over the frozen ledger plus immutable fix delta. The parent owns user approval and ledger persistence. Maximum 2 fix rounds; report unresolved findings after round two without extending the loop. Judgment Day is independent of receipt-driven development.

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. 1mo ago Changed · -11 lines · +23 tokens per session a0c50892dbf2
  2. 3mo ago First seen · 34 lines · 0 tokens per session scan A 0c1c9fc54d51

Subscribe to this mod's changes

jd-fix-agent is an agent published in the GitHub repository Gentleman-Programming/gentle-ai (9,753 stars, last pushed today), licensed MIT. It adds 23 tokens to every session and 266 once invoked, about $0.0001 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-30.

Related

jd-fix-agent compared with agents from other repositories

jd-fix-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
jd-fix-agentGentleman-Programming/gentle-aiAgent9.8ktodayMITA23Claude Code
code-reviewer-bugzxpmail/ReqForgeAgent1816d agoMITA0Claude Code
fixerrandomittin/heimdallAgent5yesterdayMITA48Claude Code
seekerrandomittin/heimdallAgent5yesterdayMITA43Claude Code
lint-qualityrandomittin/heimdallAgent5yesterdayMITA31Claude Code
incident-responderrandomittin/heimdallAgent5yesterdayMITA39Claude Code
architectFerroxLabs/ijfwAgent2154d agoMITA36Claude Code