convergence-loop

convergence-loop is a skill for Claude Code, Codex from chrono-meta/forge-harness. It costs 122 tokens per session (2,208 once invoked), scanned A, original, MIT.

A reusable checking method that repeats a verification step until all issues pass. It treats a fix as incomplete if another check finds new failures.

In plain words
What is it for?
It is for reviewing code, documents, or other work through repeated fail, fix, and re-check rounds. It can be applied to gates such as skill checks and session review workflows.
Why use it?
A single check can miss problems or reveal new ones after a fix. Repeated checks provide a clearer stopping point.

Skill for Claude CodeCodex

Part of the fh-commons plugin — 6 skills, 1 agent shipped together

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.

agentmods
npx agentmods add skills/chrono-meta/forge-harness/convergence-loop
Any agent
npx skills add chrono-meta/forge-harness --skill convergence-loop
Clone the repo
git clone --depth 1 https://github.com/chrono-meta/forge-harness

Made for: Claude Code, Codex.

Or install fh-commons, the plugin that ships this one along with the rest of its 6 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 convergence-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/chrono-meta/forge-harness/convergence-loop.svg)](https://agentmods.dev/skills/chrono-meta/forge-harness/convergence-loop)
Your own site
<a href="https://agentmods.dev/skills/chrono-meta/forge-harness/convergence-loop"><img src="https://agentmods.dev/badge/skills/chrono-meta/forge-harness/convergence-loop.svg" alt="Measured on agentmods" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,208 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00122 $0.02208
Opus 5 $0.00061 $0.01104
Sonnet 5 $0.00024 $0.00442
Haiku 4.5 $0.00012 $0.00221

Measured 4d ago against content hash a388832ce871, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

convergence-loop 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.

plugins/fh-commons/skills/convergence-loop/SKILL.md · 197 lines

How it starts

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

convergence-loop — Universal Convergence Loop Gate Reinforcement

A single pass declaration is hard to trust. A fix exposes new FAILs, and round 2 catches what round 1 missed. convergence-loop assigns a "truly passed" criterion to any gate.

Triggers

  • /convergence-loop
  • "convergence-loop", "how many rounds do we need", "not sure if it really passed"
  • "suspicious of single-pass", "run until it passes", "keep verifying until clean"
  • "single pass isn't enough", "need another round", "the fix might have introduced new issues"
  • Auto-proposed: when the same artifact receives a FAIL verdict 2+ times in the same session (observable: 2nd FAIL on identical scope)

Origin

Extracted from a recurring "single-pass gate is hard to trust" pattern observed across multiple hub workflows. The canonical reference is:

  • harvest-loop extract→attack→synthesize cycle: pattern extraction → attack → synthesis → the repeating structure must run until convergence

When the same structure recurs across gates, it is a skill.

Applicable Targets

Applicable Gate Example
Skill diagnostic gate harness-doctor + apex-review
Session harvest loop harvest-loop extract→attack→synthesize cycle
External asset audit steel-quench Wave 1~N
Domain-specific quality gate Plug in any project-defined FAIL→FIX checkpoint
Any FAIL→FIX repeating structure User-defined gate

Pipeline Structure

[Input] gate name + pass criteria + max rounds N (default 3)
    │
    ▼
Round 1
    │  Execute gate
    │  → All items pass: ✅ Round 1 passed → Round 2 (verification)
    │  → FAIL occurs: List FAIL items → Execute FIX → Round 2
    │
    ▼
Round N (N ≥ 2)
    │  Re-execute same gate (with FIX applied + search for new FAILs)
    │  → All items pass AND no FIX was applied in response to THIS round:
    │        ✅ Declare truly passed  ← the only terminating exit
    │  → All items pass BUT you fixed something this round (any severity):
    │        the fix is unverified → Round N+1
    │  → New FAIL: List → FIX → Round N+1
    │
    ▼
    │  → FAILs remain after N rounds: "Structural redesign required" → Escalate
    │  → Rounds clean but each keeps producing fixes: the fixes are manufacturing the
    │    findings → REDUCE THE DESIGN, then re-run (steel-quench §Convergence Criteria 4)
    │
    ▼ (if not converged within N rounds)
Escalation
    → Classify root cause: ambiguous criteria / FIX capability limit / gate design flaw
    → Output recommended action

Read the full file on GitHub · 197 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 First seen · 197 lines · 122 tokens per session scan A a388832ce871

Subscribe to this mod's changes

convergence-loop is a skill published in the GitHub repository chrono-meta/forge-harness (14 stars, last pushed today), licensed MIT. It adds 122 tokens to every session and 2,208 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-30.

Related

Other skills, from other repositories

reconcile

Cross-reference a paper against the collection. Finds which cited papers are already collected, which are new leads, which collection papers cite this one, and reconciles all cross-references bidirectionally. Run on a single paper directory or use --all for the entire collection.

ctoth/research-papers-plugin · 57 tokens

adjudicate

Systematically adjudicate disagreements across a paper collection. Produces ruthless verdicts on who was wrong, what supersedes what, and what the best current understanding is. Organized by topic clusters with actionable replacement values for implementation.

ctoth/research-papers-plugin · 48 tokens

author-context

Create a propstore context for one paper with CEL assumptions, parameters, and perspective. Every claim extracted from the paper will reference this context. Required before extract-claims if the paper does not already have one.

ctoth/research-papers-plugin · 45 tokens

author-rules

Author the DeLP rule artifacts (strict, defeasible, properdefeater, blockingdefeater) encoding a paper's stated argument structure. Runs after register-predicates.

ctoth/research-papers-plugin · 41 tokens

extract-claims

Extract propositional claims from a paper directory into the propstore source branch using pks source propose-claim.

ctoth/research-papers-plugin · 26 tokens

paper-retriever

Retrieve a scientific paper PDF given an arxiv URL, DOI, or paper title. Downloads to papers/ directory. Handles open-access retrieval (arxiv direct, Chrome print-to-pdf for publisher-direct HTML, Unpaywall, title-based open-repository search); for paywalled papers it hands off to whichever paper-retriever- access…

ctoth/research-papers-plugin · 88 tokens