recursive-development

recursive-development is a skill for Claude Code, Codex from Jartan-LLC/grimoire. It costs 25 tokens per session (752 once invoked), scanned A, original, MIT.

A multi-agent development guide describes how to divide software work among nested coding agents in separate waves. It also covers TDD, or Test-Driven Development, where tests are written before the implementation and guide the code.

In plain words
What is it for?
Use it to split projects by domain or algorithm, assign ownership, plan parallel work, manage context flow, and apply test-first development practices.
Why use it?
It helps keep each agent focused on a small area while passing the right context between agents and controlling duplicated work and token use.

Skill for Claude CodeCodex

Part of the recursio plugin — 4 skills, 4 agents 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/jartan-llc/grimoire/recursive-development
Any agent
npx skills add Jartan-LLC/grimoire --skill recursive-development
Clone the repo
git clone --depth 1 https://github.com/Jartan-LLC/grimoire

Made for: Claude Code, Codex.

Or install recursio, the plugin that ships this one along with the rest of its 4 skills, 4 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 recursive-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/jartan-llc/grimoire/recursive-development.svg)](https://agentmods.dev/skills/jartan-llc/grimoire/recursive-development)
Your own site
<a href="https://agentmods.dev/skills/jartan-llc/grimoire/recursive-development"><img src="https://agentmods.dev/badge/skills/jartan-llc/grimoire/recursive-development.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 752 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.00025 $0.00752
Opus 5 $0.00013 $0.00376
Sonnet 5 $0.00005 $0.00150
Haiku 4.5 $0.00003 $0.00075

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

Security

Grade A, and why

recursive-development 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 3d 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/recursio/skills/recursive-development/SKILL.md · 87 lines

How it starts

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

Recursive Development

Decompose work into waves of parallel nested subagents. Works for greenfield and existing codebases. Each wave completes before the next starts. Within a wave, independent modules run in parallel. No depth limit on nesting.

For existing projects, Wave 0 extends established patterns rather than creating from scratch.

Nesting

Default to nesting. Each nested agent has smaller context -- faster and cheaper per-agent. A flat agent juggling 7 files costs more than 3 focused agents each handling 2-3 files.

Nest when a module contains distinct algorithms or domains. Stop when atomic (single concern, single file). Split by algorithm or domain, not by testability alone.

When to split -- examples

The same principle applies at every level of recursion:

Split (distinct algorithms or domains):

  • Parsers + filters + aggregation + formatters -- different domains
  • Cycle detection + topological sort -- different graph algorithms
  • JSONL parser + CLF parser + CSV parser -- different parsing algorithms
  • Expression parser + predicate evaluator -- syntax parsing vs logic evaluation

Don't split (steps in one operation, or trivial wrappers):

  • File discovery + file reading + format detection -- one operation ("load config")
  • A parser that just delegates to a validator -- no distinct logic
  • Output capture separate from execution -- capturing is part of executing
Role Scope Spawns when...
Orchestrator Shared files + wave sequencing Always
Module agent Directory scope 2+ testable concerns
Component agent File set scope Separable sub-concerns
Leaf agent Single file pair Never -- implements directly

Model selection

Level Recommended model
Orchestrator opus -- decomposition, contract design
Module/component sonnet -- focused, contract-constrained

Scope-Based Ownership

No two parallel subagents may touch the same file.

Read the full file on GitHub · 87 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. 3d ago First seen · 87 lines · 25 tokens per session scan A ecbd7676e488

Subscribe to this mod's changes

recursive-development is a skill published in the GitHub repository Jartan-LLC/grimoire (2 stars, last pushed 16d ago), licensed MIT. It adds 25 tokens to every session and 752 once invoked, about $0.0001 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

request-to-spec-issues

Use after a grill-change session is complete to turn the agreement record into an intent-first spec candidate and vertical TDD-ready issue briefs.

jsuvic/agent-profile · 33 tokens

tdd-change

Use when changing behavior where a focused failing test or golden fixture must prove RED before implementation and GREEN after the minimal fix.

jsuvic/agent-profile · 28 tokens

loop-sdd-cycle

Use to run a bounded spec, tests, implementation, and verify cycle that stops on green, on no diff, or on a repeated identical failure.

jsuvic/agent-profile · 35 tokens

tdd-loop

Implement a known feature, behavior change, or diagnosed bug with a red-green-refactor loop. Use when the user asks to add, build, implement, or fix behavior and automated tests exist or should exist. For an unknown failure cause use debug-protocol first; for model, prompt, RAG, or agent quality use…

adityaarakeri/senior-agent-skills · 77 tokens

tdd

Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

GreyDGL/PentestGPT · 33 tokens

codex-autoresearch

Run autonomous, measurable experiments in a Git repository: change one hypothesis, verify a numeric metric, keep improvements, and revert failures. Use when the user wants Codex to keep iterating toward a numeric target in the foreground or as a detached background run. Do not use for ordinary one-shot coding…

leo-lilinxiao/codex-autoresearch · 80 tokens