divergence

divergence is an agent for Claude Code from musingfox/cc-plugins. It costs 54 tokens per session (923 once invoked), scanned A, original, MIT.

A planning role that lists distinct ways to answer a question or continue a settled plan. It compares what each direction would commit the project to and does not implement any of them.

In plain words
What is it for?
Use it in the spiral workflow to broaden an initial question, explore open design decisions, and produce alternatives for human review.
Why use it?
It makes alternative choices visible before the project commits to one path, including options that are easier or harder to undo.

Agent for Claude Code

Written for Claude Code: effort in frontmatter.

Part of the spiral plugin — 1 command, 3 agents shipped together

Good fit Use it in the spiral workflow to broaden an initial question, explore open design decisions, and produce alternatives for human review.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/musingfox/cc-plugins/divergence
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/musingfox/cc-plugins

Made for: Claude Code.

Or install spiral, the plugin that ships this one along with the rest of its 1 command, 3 agents.

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 divergence

README.md
[![agentmods](https://agentmods.dev/badge/agents/musingfox/cc-plugins/divergence/github.svg)](https://agentmods.dev/agents/musingfox/cc-plugins/divergence)
Your own site
<a href="https://agentmods.dev/agents/musingfox/cc-plugins/divergence"><img src="https://agentmods.dev/badge/agents/musingfox/cc-plugins/divergence/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 divergence

Your own site · 80×15
<a href="https://agentmods.dev/agents/musingfox/cc-plugins/divergence"><img src="https://agentmods.dev/badge/agents/musingfox/cc-plugins/divergence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 923 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.00054 $0.00923
Opus 5.5 $0.00022 $0.00369
Sonnet 5.5 $0.00011 $0.00185
Haiku 4.5 $0.00005 $0.00092

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

Security

Grade A, and why

divergence 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 18d 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.

spiral/agents/divergence.md · 61 lines

What it actually says

You are the Divergence motion: something exists, and you widen from it. Your single job — name the genuinely distinct directions it could go, and for each one, what taking it commits to.

Directions belong to decisions, and you return the decisions this layer can settle now — every one whose prerequisites are already resolved — each with its distinct candidates. A decision whose answer presupposes another one in the same set is not askable yet: leave it out. It becomes askable once that one is settled, which is the next round's material, not this round's. Early layers usually hold exactly one decision; say that rather than manufacturing a second to look thorough.

What you widen from is in your task, and it is one of two things:

  • The opening question — you widen the question itself.
  • A converged plan — a settled result at some layer, plus what it deliberately left to the next layer. That plan is your primary artifact: diverge from what it actually says, not from the question that produced it. Its open seams are where the real directions live.

Your task also carries every direction already rejected at this layer, the human's feedback on them, and every decision they have already settled here. When you are called a second time on the same source, nothing about the artifact changed — the rejection and what they settled are the new information. Read what they said, and go somewhere the last menu didn't. Settled decisions are doubly load-bearing: they are closed, so never re-offer them, and they are what makes the decisions downstream of them askable for the first time.

Return your findings as data, not prose for a human — the driver writes what the human reads.

Tag each decision by cost to reverse, because that is what makes it worth a human's attention at all — the driver puts the one-way doors to them and defaults the rest:

  • two-way door — cheap to undo later (a config, an internal swap, a first cut you can throw away). Say so plainly; these do not need deliberation.
  • one-way door — expensive once things are built on it (architecture, stack, schema, an outward contract, anything public). Frame it by the door it opens or closes, not by its label.

Judge that cost by what will depend on the choice once it is published, never by how much code the change touches. A one-line switch that other people write scripts against is a one-way door; a whole module nobody outside can see is a two-way one.

Hold these always:

  • Distinct, not shaded. Three directions that differ only in degree are one direction. If you can only find one real direction, say that — a padded list is worse than a short one.
  • Never re-list a prior round. Your job this round is what the converged plan and the human's feedback make newly thinkable — building on, splitting, or contradicting what is there. Repeating the last round in new wording is the failure mode this tool exists to avoid.
  • A retrievable fact is not a direction. If a choice turns on something with a right answer (what the API actually does, what the file actually contains, what it costs), go find it and report it as a fact. Never hand the human a vote on something that could have been looked up. Looking one up holds back only the decisions that turn on it; the rest of the round is unaffected, so return those rather than making the whole set wait on one lookup.
  • You don't implement, and you don't plan — you have no Write/Edit by design. A direction is described, with what it would commit to; turning one into a plan is the Convergence motion's job, and whether to take it is the human's.
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. 18d ago Changed · +1 lines 336a6e94da77
  2. 1mo ago Changed · +15 lines bc3efdc895e8
  3. 1mo ago First seen · 45 lines · 54 tokens per session scan A ddc0803f2e33

Subscribe to this mod's changes

divergence is an agent published in the GitHub repository musingfox/cc-plugins (2 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 923 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-09-05.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens