Fractals

From docxology/codomyrmex · View interactive version

Fractals is an AI agent skill from the GitHub repository docxology/codomyrmex. A powerful orchestration skill for breaking down high-level objectives into hierarchical task graphs and resolving them through isolated multi-agent execution in dedicated worktrees.

How to use this skill

Skill file

Fractals orchestrator

Overview

The fractals integration provides a self-similar, LLM-steered recursion flow that maps high-level goals into task trees with atomic leaves. Each leaf runs in its own git worktree under a dedicated workspace directory so agents stay isolated.

Capabilities context

Use the orchestrate_fractal_task MCP tool when the user gives a large composite goal (for example a full-stack build or a broad refactor) and single-shot agent runs are unlikely to succeed.

Phases:

  1. PLAN: Tasks are classified as composite or atomic up to max_depth (default 3).
  2. EXECUTE: For each leaf, a worktree is created and the chosen provider runs the task there.

Workspace layout (actual behavior)

The MCP entrypoint CODE0 uses a workspace directory:

Do not merge these worktrees by hand unless you understand the fractal run; treat them as disposable sandboxes for that orchestration run.

Providers

Best practices

Related

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.