correction-analyser

correction-analyser is an agent for Claude Code from robinslange/learning-loop. It costs 49 tokens per session (1,746 once invoked), scanned A, original, Apache-2.0.

An impact-analysis agent for an Obsidian Zettelkasten with a database that records which notes justify others. When a belief changes or is withdrawn, it finds dependent notes and classifies how they rely on it.

In plain words
What is it for?
Use it to analyse a retracted, updated, or weakened claim, trace notes that depend on it, and classify the kinds of argument affected.
Why use it?
It shows the possible consequences of changing one idea before any notes are rewritten. The user can review the impact report and decide which downstream notes need attention.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the learning-loop plugin — 24 skills, 20 agents, 7 hooks shipped together

Good fit Use it to analyse a retracted, updated, or weakened claim, trace notes that depend on it, and classify the kinds of argument affected.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/robinslange/learning-loop/correction-analyser
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/robinslange/learning-loop

Made for: Claude Code.

Or install learning-loop, the plugin that ships this one along with the rest of its 24 skills, 20 agents, 7 hooks.

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 correction-analyser

README.md
[![agentmods](https://agentmods.dev/badge/agents/robinslange/learning-loop/correction-analyser/github.svg)](https://agentmods.dev/agents/robinslange/learning-loop/correction-analyser)
Your own site
<a href="https://agentmods.dev/agents/robinslange/learning-loop/correction-analyser"><img src="https://agentmods.dev/badge/agents/robinslange/learning-loop/correction-analyser/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 correction-analyser

Your own site · 80×15
<a href="https://agentmods.dev/agents/robinslange/learning-loop/correction-analyser"><img src="https://agentmods.dev/badge/agents/robinslange/learning-loop/correction-analyser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,746 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.01746
Opus 5.5 $0.00020 $0.00698
Sonnet 5.5 $0.00010 $0.00349
Haiku 4.5 $0.00005 $0.00175

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

Security

Grade A, and why

correction-analyser 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 4d 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.

plugin/agents/correction-analyser.md · 155 lines

How it starts

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

Correction Analyser

Only run when dispatched by learning-loop:rewrite; if invoked otherwise, stop and report that this agent requires the /rewrite skill's triage context.

You are an impact analysis agent for an Obsidian Zettelkasten vault that maintains a SQLite-backed justification index. When the user retracts or updates a belief, your job is to surface every downstream note that depends on that belief: and classify how each one depends, so the user can decide what to do.

You never modify notes. You produce a structured report. The /rewrite skill consumes your output and executes changes only after the user triages.

Output contract: the /rewrite skill parses this report's section headers and severity counts verbatim. Do not rename headers, reorder severity tiers, or invent new severity labels.

Input

You will receive:

  • note_path: vault-relative path to the note being retracted or updated (required)
  • change_type: retraction (claim is wrong, remove it) | update (claim refined, replace it) | weakening (claim narrower than thought)
  • new_claim (optional): if change_type is update, the replacement claim text

Tools you call

You do not read the SQLite edge database directly. Instead, you call the edges CLI with Bash:

ll-run edges-cli.mjs list <note_path>
ll-run edges-cli.mjs sole-dependents <note_path>
ll-run edges-cli.mjs downstream <note_path> --max-depth 5

Which way the edges run. sole-dependents and downstream return dependencies: in each row, a change to from_path reaches to_path. They work that out from how the link was written. "[[X]] confirms this" makes X the evidence and this note the claim, and "this builds on [[X]]" makes this note depend on X, so retracting X reaches it.

  • sole-dependents returns the notes whose only evidence-typed support is note_path. Use it for the "if note_path collapses, what loses its only support?" query.
  • downstream walks those dependencies outward from note_path, up to --max-depth. Use it for the broader ripple.
  • list <note_path> returns the rows as stored. outgoing holds the edges from links in note_path, and incoming the edges from links in other notes. When direction_flipped is 1, the linked note is the one doing the arguing.

Read the full file on GitHub · 155 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. 4d ago Changed 3da7dab7c08e
  2. 1mo ago Changed · -2 lines 15aeb1c15611
  3. 1mo ago Changed 99222ac0460b
  4. 2mo ago First seen · 157 lines · 49 tokens per session scan A c48f00e09f52

Subscribe to this mod's changes

correction-analyser is an agent published in the GitHub repository robinslange/learning-loop (13 stars, last pushed 4d ago), licensed Apache-2.0. It adds 49 tokens to every session and 1,746 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-30.

Related

correction-analyser compared with agents from other repositories

correction-analyser next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
correction-analyserrobinslange/learning-loopAgent134d agoApache-2.0A49Claude Code
context-finderfuturegerald/futuregerald-claude-pluginAgent72d agononeA107Claude Code
wiki-ingestkarlorz/llm-wikiAgent5yesterdaynoneA64Claude Code
memory-curatorwbind-core/termpipe-mcpAgent04d agononeA45Claude Code
data scientistkhalilbenaz/MDANAgent023d agoMITA8Claude Code
playwright-test-generatormicrosoft/playwrightAgent99kyesterdayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent79k4d agoMITA33Claude Code