Doc

From peteromallet/Arnold · View interactive version

Doc is an AI agent skill from the GitHub repository peteromallet/Arnold. **Driver**: `subprocess_isolated`<br>

How to use this skill

Skill file

doc pipeline — skill reference

Driver: subprocess_isolated<br>

Arnold API version: 1.0<br>

Supported modes: (none — invoked directly, not via megaplan run)

Purpose

Linear document-production pipeline. Takes a topic and produces a structured

multi-section document via outline-then-draft-then-refine.

Topology

outline → section_drafts (dynamic fanout) → critique → revise → assembly

sub-turn per section, joins via concat_sections_join.

returns next='halt' directly (no outgoing edge needed).

Verdict semantics

The doc pipeline is single-pass — there is no gate stage and no

iterate/proceed split. The only routing decisions are:

| Label | Meaning |

|-------|---------|

| section_drafts | outline passes → begin per-section fanout |

| critique | section drafts complete → critique the full draft |

| revise | critique complete → apply revisions |

| assembly | revise complete → assemble final document |

| (halt) | assembly complete → pipeline done |

Robustness levels

The doc pipeline does not implement robustness levels. Depth is

controlled by the number of sections in the outline artifact.

Prompt keys

| Key | Stage |

|-----|-------|

| outline_doc | outline |

| execute_doc | per-section draft (inside fanout) |

| critique_doc | critique |

| revise_doc | revise |

| assemble_doc | assembly |

Prompt files live under megaplan/pipelines/doc/prompts/.

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.