finite-recursum

finite-recursum is a skill for Claude Code from Totes-MickGOATs/opus-pocus. It costs 119 tokens per session (1,253 once invoked), scanned A, original, MIT.

A checker for endless self-review loops in coding-agent instructions, hooks, and skills. Hooks are automatic actions that run at events such as finishing a session or using a tool.

In plain words
What is it for?
Use it to find overlapping review instructions, hooks that re-trigger checks, and completion requirements that cannot be satisfied.
Why use it?
Repeated verification rules can make an agent keep checking unchanged work instead of finishing.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the opus-pocus plugin — 21 skills, 1 agent shipped together

Good fit Use it to find overlapping review instructions, hooks that re-trigger checks, and completion requirements that cannot be satisfied.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/totes-mickgoats/opus-pocus/finite-recursum
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 Totes-MickGOATs/opus-pocus --skill finite-recursum
Clone the repo
git clone --depth 1 https://github.com/Totes-MickGOATs/opus-pocus

Made for: Claude Code.

Or install opus-pocus, the plugin that ships this one along with the rest of its 21 skills, 1 agent.

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 finite-recursum

README.md
[![agentmods](https://agentmods.dev/badge/skills/totes-mickgoats/opus-pocus/finite-recursum/github.svg)](https://agentmods.dev/skills/totes-mickgoats/opus-pocus/finite-recursum)
Your own site
<a href="https://agentmods.dev/skills/totes-mickgoats/opus-pocus/finite-recursum"><img src="https://agentmods.dev/badge/skills/totes-mickgoats/opus-pocus/finite-recursum/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 finite-recursum

Your own site · 80×15
<a href="https://agentmods.dev/skills/totes-mickgoats/opus-pocus/finite-recursum"><img src="https://agentmods.dev/badge/skills/totes-mickgoats/opus-pocus/finite-recursum.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,253 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.00119 $0.01253
Opus 5 $0.00060 $0.00626
Sonnet 5 $0.00024 $0.00251
Haiku 4.5 $0.00012 $0.00125

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

Security

Grade A, and why

finite-recursum 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 11d 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.

skills/finite-recursum/SKILL.md · 75 lines

How it starts

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

🛡 Finite Recursum

"The robot was checking its work checking its work checking its—"

The 5-family verifies its own work without being told. Instructions and hooks written to force verification on older models now stack on top of that and produce spirals: the model re-checks, finds nothing new, and the instruction layer demands it re-check again.

What to scan

  • Every memory file the repo carries — CLAUDE.md, AGENTS.md, nested, user-level if opted in
  • Every hook that fires on Stop / session-end / post-tool events
  • Every skill or agent definition containing review, verification, or completion procedures
  • Output styles and system-prompt fragments

Anti-patterns to find

  1. Verify-your-work incantations that have a loop partner. "Double-check your work", "verify before finishing", "always confirm correctness", "re-read your changes" — as standing prose rules where something re-raises the obligation: a Stop or session-end hook, a re-firing advisory, or a second copy of the rule elsewhere. That combination is loop fuel.

    Not a finding on its own. A rule naming a concrete, non-inferable artifact checkrun npm test before claiming done, run terraform plan and paste the output — is load-bearing and stays. The model self-verifies its reasoning; it does not know your commands. In a repo with no Stop or advisory hooks this class has no instances: say so, rather than flagging the prose.

  2. Re-firing advisories with no state fingerprint. A Stop/advisory hook that emits the same warning every time it runs, regardless of whether the underlying state changed. The model answers, stops, the hook fires again on identical state: wake→answer→stop→wake.

  3. Unbounded review loops. A review→fix→re-review procedure with no round cap and no exit criterion besides "no findings". Reviewers on the 5-family will always find something; minor findings extend the loop forever.

  4. Undischargeable obligations. A rule demanding a condition the agent cannot always satisfy ("all tests must pass before you stop" when the suite needs approval to run; "verify in the editor" when the agent has no editor). The obligation can't be discharged, so it re-surfaces every turn.

  5. Staleness-free verification demands. "Verify X before claiming done" with no allowance for evidence already gathered this session — forcing re-verification of unchanged subjects per message instead of per change.

  6. Advisory text that reads as blocking. A warning phrased like a wall ("BLOCKED", "not landable") on a condition that is actually advisory — agents stop doing legitimate work.

Read the full file on GitHub · 75 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. 11d ago First seen · 75 lines · 119 tokens per session scan A d7ac399830f3

Subscribe to this mod's changes

finite-recursum is a skill published in the GitHub repository Totes-MickGOATs/opus-pocus (10 stars, last pushed 1mo ago), licensed MIT. It adds 119 tokens to every session and 1,253 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

error-translator

A Chinese-language assistant that translates English programming errors and explains what they mean. It covers common errors from languages and frameworks including Python, JavaScript, TypeScript, Java, and others.

laolaoshiren/claude-code-skills-zh · 28 tokens

manage-skills

A maintenance workflow for checking whether project verification skills still cover the code and rules that changed during a session.

sangrokjung/claude-forge · 54 tokens

eslint-fix

A project-aware assistant for finding and fixing ESLint errors, warnings, and configuration compatibility problems. ESLint is a tool that checks JavaScript and TypeScript code for style and common mistakes.

laolaoshiren/claude-code-skills-zh · 79 tokens

perf-profiler

A performance investigation guide that uses repeatable measurements and profiling evidence to find where software spends time or resources. Profiling records runtime activity such as CPU use, memory use, database work, or network delays.

laolaoshiren/claude-code-skills-zh · 78 tokens

log-analyzer

A log-analysis helper that reads application and system logs to find unusual patterns and likely causes. Logs are records of events such as errors, requests, warnings, and service activity.

laolaoshiren/claude-code-skills-zh · 24 tokens

systematic-debugging

Structured debugging methodology — use before proposing fixes for any error or failure. Covers: code bugs, build errors, deploy failures, config conflicts, dependency issues, infra problems. Also use when previous fix attempts failed or root cause is unclear.

sangrokjung/claude-forge · 53 tokens