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.
git clone --depth 1 https://github.com/lugassawan/swe-workbenchWrote 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.
[](https://agentmods.dev/commands/lugassawan/swe-workbench/converge)<a href="https://agentmods.dev/commands/lugassawan/swe-workbench/converge"><img src="https://agentmods.dev/badge/commands/lugassawan/swe-workbench/converge/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.
<a href="https://agentmods.dev/commands/lugassawan/swe-workbench/converge"><img src="https://agentmods.dev/badge/commands/lugassawan/swe-workbench/converge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00062 | $0.07348 |
| Opus 5.5 | $0.00025 | $0.02939 |
| Sonnet 5.5 | $0.00012 | $0.01470 |
| Haiku 4.5 | $0.00006 | $0.00735 |
Grade A, and why
converge 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 27d 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.
How it starts
The opening of the file, as written. The whole thing — 485 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Run a local, unattended convergence loop on the current branch: review → verify findings → fix →
re-review, until the reviewer has nothing left to say at or above Medium severity, then push once.
No intermediate round is ever posted to GitHub — findings live in a local scratch file under
$RUN_DIR and are deleted the moment they're consumed.
Argument parsing
$ARGUMENTS carries at most one flag: --cap <N>, N in 2..6. Parse it once, up front:
CAP=4
case "$ARGUMENTS" in
*--cap*)
CAP=$(printf '%s\n' "$ARGUMENTS" | grep -oE -- '--cap[= ]([0-9]+)' | grep -oE '[0-9]+' | head -1)
case "$CAP" in
2|3|4|5|6) ;;
*) echo "converge: --cap must be an integer in 2..6 (got: ${CAP:-<empty>})" >&2; exit 1 ;;
esac
;;
esac
echo "Cap: $CAP reviews (default 4 when unset)"
CAP counts reviews, not rounds — see "Cap and the loop invariant" below.
Phase 0 — Preflight
Runtime guard, one representative script (proves the whole bin/ PATH entry is present):
command -v swe-workbench-new-run-dir >/dev/null 2>&1 || {
echo "swe-workbench runtime commands not on PATH — reinstall or update the swe-workbench plugin." >&2
exit 1
}
Refuse on the default branch or a detached HEAD — the loop commits, so it needs a branch to commit onto:
BRANCH=$(git rev-parse --abbrev-ref HEAD)
DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@')
[ -n "$DEFAULT_BRANCH" ] || DEFAULT_BRANCH=main
if [ "$BRANCH" = "$DEFAULT_BRANCH" ] || [ "$BRANCH" = "HEAD" ]; then
echo "converge: refusing to run on '$BRANCH' — check out a feature branch first." >&2
exit 1
fi
BASE="$DEFAULT_BRANCH"
git fetch origin "$BASE" --quiet || true
if [ -z "$(git diff "origin/$BASE"...HEAD)" ]; then
echo "converge: no diff between origin/$BASE and HEAD — nothing to converge." >&2
exit 1
fi
Ownership gate — refuse, do not warn
The loop commits and pushes autonomously, so running it against a PR you don't own is a
destructive-by-default hazard, not a style issue. This is a stronger gate than
swe-workbench:workflow-address-feedback's owner check, which only shapes prompts.
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.
- 27d ago Changed e09c492d825c
- 1mo ago Changed · +2 lines 942021be155c
- 1mo ago First seen · 483 lines · 62 tokens per session scan A 97ba7623fb8e
converge is a command published in the GitHub repository lugassawan/swe-workbench (3 stars, last pushed 2d ago), licensed MIT. It adds 62 tokens to every session and 7,348 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.
Other commands, from other repositories
review
Fast review of staged changes. Critical findings only — no style nits.
pre-push
Run the full review skill on all changes since last push.
local-code-review-tests
Review uncommitted changes, build projects, and run unit tests.
octo-deliver
Delivery phase - Review, validate, and test with multi-AI quality assurance.
ia-test-browser
Run browser tests on pages affected by current PR or branch.
code-review
Review the current branch changes for bugs and style issues.