diverge

diverge is a skill for Claude Code, Codex from Kshitijpalsinghtomar/depth-skills. It costs 40 tokens per session (4,023 once invoked), scanned A, original, MIT.

A reasoning aid that makes the coding agent develop several genuinely different ways to solve a problem before choosing one.

In plain words
What is it for?
Use it to compare different architectures, problem definitions, or strategies before committing to an implementation.
Why use it?
It reduces the risk of settling on the first familiar answer and mistaking small variations for real alternatives.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to compare different architectures, problem definitions, or strategies before committing to an implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kshitijpalsinghtomar/depth-skills/ds-diverge
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 Kshitijpalsinghtomar/depth-skills --skill ds-diverge
Clone the repo
git clone --depth 1 https://github.com/Kshitijpalsinghtomar/depth-skills

Made for: Claude Code, Codex.

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 diverge

README.md
[![agentmods](https://agentmods.dev/badge/skills/kshitijpalsinghtomar/depth-skills/ds-diverge/github.svg)](https://agentmods.dev/skills/kshitijpalsinghtomar/depth-skills/ds-diverge)
Your own site
<a href="https://agentmods.dev/skills/kshitijpalsinghtomar/depth-skills/ds-diverge"><img src="https://agentmods.dev/badge/skills/kshitijpalsinghtomar/depth-skills/ds-diverge/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 diverge

Your own site · 80×15
<a href="https://agentmods.dev/skills/kshitijpalsinghtomar/depth-skills/ds-diverge"><img src="https://agentmods.dev/badge/skills/kshitijpalsinghtomar/depth-skills/ds-diverge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,023 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.00040 $0.04023
Opus 5.5 $0.00016 $0.01609
Sonnet 5.5 $0.00008 $0.00805
Haiku 4.5 $0.00004 $0.00402

Measured 1mo ago against content hash b319c58bf621, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

diverge 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 1mo 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/ds-diverge/SKILL.md · 458 lines

How it starts

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

DIVERGE v2.0 — Path Divergence (Premium)

Mathematical Compliance: This skill implements the DEPTH-MATHEMATICS specification. It computes and outputs ADS phase activation, CEI components, SI components, cognitive traces (decision landscape, MCTS exploration log), and verifies Gates V2, V4. It uses MCTS for exploration and CIM for independence verification.

Best used after DEEP-THINK. DEEP-THINK explores the solution space. DIVERGE stress-tests specific paths with MCTS-guided exploration.

The first solution you think of has the highest pattern gravity — most frequently activated, most consistently rewarded. It surfaces before search begins. It was retrieved from memory, not discovered through exploration.

It might be correct. But you cannot know that without seeing what else exists. And you cannot see what else exists if you've already committed.

New in v2.0: MCTS-guided exploration finds paths human intuition misses. CIM (Compositional Independence Metric) mathematically verifies paths are genuinely different. Transfer testing proves paths generalize.


The Failure Mode You Must Recognize

You are about to present "three options" that are:

  • The same architecture with different libraries (React vs Vue vs Svelte)
  • The same strategy with different timelines (do it now vs later vs incrementally)
  • The same approach with different parameters (cache TTL of 5min vs 10min vs 30min)

This is convergence wearing a costume. Three flavors of one answer is not three approaches. Real divergence requires paths that disagree about what the problem IS, not just how to implement one interpretation of it.

Cargo cult divergence produces path cards that look different but have CIM < 0.3. This skill rejects them.


The Protocol

0 — PARAMETERIZE: Read Thinking Parameters

Read thinking_parameters:

  • min_branches (default 3) — minimum paths to generate
  • min_contrarian (default 1) — minimum contrarian paths
  • mcts_simulations (default 10) — MCTS exploration depth
  • min_cim (default 0.5) — minimum Compositional Independence Metric
  • require_transfer_test (default true) — test on held-out tasks
  • require_mcts (default true) — use MCTS for exploration

Read the full file on GitHub · 458 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. 1mo ago Changed · +325 lines · +20 tokens per session b319c58bf621
  2. 3mo ago First seen · 133 lines · 20 tokens per session scan A ee65ccbaa601

Subscribe to this mod's changes

diverge is a skill published in the GitHub repository Kshitijpalsinghtomar/depth-skills (6 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 4,023 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.

Related

diverge compared with skills from other repositories

diverge next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
divergeKshitijpalsinghtomar/depth-skillsSkill61mo agoMITA40Claude Code, Codex
self-liberationkangarooking/cangjie-skillSkill13k2mo agoMITA140Claude Code, Codex
genin-skillandycungkrinx91/konohaSkill162yesterdayApache-2.0A41Codex
plugin-systemellmos-ai/skillsSkill10todayMITA99Claude Code, Codex
arm-mcp-mcpFriz-zy/ai-capability-registrySkill123d agoMITA48Claude Code, Codex
adhdoyi77/1ai-skillsSkill19yesterdayMITA69Claude Code
sec-hardeningellmos-ai/skillsSkill10todayMITA119Claude Code, Codex