Logo: Subagent Driven Writing

Subagent Driven Writing

Communautéit
binbinao
subagent-driven-writing

Fast iterative writing using fresh subagent per section with two-stage review. Alternative to batch execution.

Iwwersiicht

Editeurbinbinao
Repositorydocument-superpowers
Skill-Nummsubagent-driven-writing
Stären
49
Forks
14
Matgeliwwert Dateien
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    binbinao huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Subagent Driven Writing an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/binbinao/document-superpowers/tree/main/skills/subagent-driven-writing
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/binbinao/document-superpowers.git /tmp/document-superpowers
mkdir -p .claude/skills
cp -r /tmp/document-superpowers/skills/subagent-driven-writing .claude/skills/subagent-driven-writing
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Subagent Driven Writing an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Subagent Driven Writing automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Subagent Driven Writing net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Subagent-Driven Writing

Overview

Dispatch a fresh subagent for each article section, review their output, iterate if needed, then continue. Faster than batch execution when you want tight feedback loops.

Announce at start: "I'm using subagent-driven-writing for fast iterative writing."

Context: Should follow an approved plan from writing-article-plan.

Two-stage review per section:

  1. Spec compliance - Does it follow the plan?
  2. Content quality - Is the writing good?

When to Use This

Use subagent-driven-writing when:

  • You want tight control over each section
  • The article is complex or high-stakes
  • You want to iterate quickly on feedback
  • Sections are interdependent (later sections depend on earlier ones)

Use executing-article-plan instead when:

  • You want to write in focused batches
  • The article is straightforward
  • Sections are largely independent
  • You prefer fewer but longer review sessions

The Process

dot
digraph subagent {
    "Read plan" [shape=box];
    "Spawn subagent for section N" [shape=box];
    "Subagent writes section" [shape=box];
    "Review 1: Spec compliance" [shape=diamond];
    "Review 2: Content quality" [shape=diamond];
    "Save section" [shape=box];
    "More sections?" [shape=diamond];
    "Merge into full draft" [shape=box];
    "Invoke reviewing-article" [shape=doublecircle];

    "Read plan" -> "Spawn subagent for section N";
    "Spawn subagent for section N" -> "Subagent writes section";
    "Subagent writes section" -> "Review 1: Spec compliance";
    "Review 1: Spec compliance" -> "Spawn subagent for section N" [label="fail, retry"];
    "Review 1: Spec compliance" -> "Review 2: Content quality" [label="pass"];
    "Review 2: Content quality" -> "Spawn subagent for section N" [label="needs revision"];
    "Review 2: Content quality" -> "Save section" [label="pass"];
    "Save section" -> "More sections?";
    "More sections?" -> "Spawn subagent for section N" [label="yes"];
    "More sections?" -> "Merge into full draft" [label="no"];
    "Merge into full draft" -> "Invoke reviewing-article";
}

Spawning Subagents

For each section in the plan:

markdown
**Spawning subagent for Section N: [Title]**

Task brief:
- Read plan from: docs/writing/YYYY-MM-DD-<topic>-plan.md
- Focus on: Section N ([Title])
- Write section following plan specifications
- Target word count: XXX
- Maintain tone: [from plan]
- Include all key points
- Save to: docs/writing/drafts/YYYY-MM-DD-<topic>/section-N-<title>.md

Use sessions_spawn:

Write Section N ([Title]) for article [Topic].
Read the plan from docs/writing/YYYY-MM-DD-<topic>-plan.md.
Follow the specifications for Section N exactly:
- Purpose: [from plan]
- Key points: [list]
- Target word count: XXX
- Tone: [style]
Include smooth transition from Section N-1.
Save output to docs/writing/drafts/YYYY-MM-DD-<topic>/section-N-<title>.md with metadata header.

Review Stage 1: Spec Compliance

Check against plan:

  • All key points covered?
  • Word count within range (±10%)?
  • Supporting evidence included?
  • Tone matches guidelines?
  • Transition from previous section present?
  • Transition to next section present?

If fails:

  • Identify specific gaps
  • Spawn new subagent with clarified requirements
  • Include what was missing in new task brief

Example failure:

markdown
**Review failed: Spec compliance**

**Missing:**
- Key point 2 (example of enterprise use case)
- Transition to next section

**Retrying with updated brief...**

Review Stage 2: Content Quality

Check writing quality:

  • Logic clear and sound?
  • Evidence supports claims?
  • Paragraphs well-structured (2-4 sentences)?
  • Sentence variety (not all same length/structure)?
  • Active voice used where appropriate?
  • No jargon without explanation?
  • Smooth reading experience?

If needs revision:

  • Identify specific issues
  • Spawn new subagent with feedback
  • Include what needs improvement

Example revision:

markdown
**Review: Content quality needs improvement**

**Issues:**
1. Paragraph 2 uses passive voice heavily
2. Example in paragraph 3 doesn't clearly support the point
3. Transition to next section is abrupt

**Revising...**

If passes:

  • Save section with approval note
  • Continue to next section

Section Approval Format

markdown
## Section N Review: ✅ APPROVED

**Spec Compliance:** PASS
- All key points covered ✓
- Word count: XXX (target: XXX, within range) ✓
- Evidence included ✓
- Tone matches ✓
- Transitions present ✓

**Content Quality:** PASS
- Logic clear ✓
- Evidence strong ✓
- Well-structured ✓
- Smooth reading ✓

**Saved to:** docs/writing/drafts/YYYY-MM-DD-<topic>/section-N-<title>.md

**Continuing to Section N+1...**

Handling Interdependencies

When sections depend on each other:

markdown
**Note:** Section 4 references the example from Section 2.

**Subagent task includes:**
- Read Section 2 draft before writing
- Reference the [specific example] when discussing [topic]
- Maintain consistency with terminology used in Section 2

Context passing:

  • Each subagent gets the plan + all completed sections
  • Explicitly note dependencies in task brief
  • Include specific cross-references needed

Progress Tracking

After each section:

markdown
## Progress: Section N/M Complete

**Completed:**
- ✅ Section 1: Introduction (152 words)
- ✅ Section 2: First Argument (298 words)
- ✅ Section 3: Second Argument (305 words)

**Current:**
- 🔄 Section 4: Third Argument (in progress)

**Remaining:**
- ⏳ Section 5: Conclusion

**Stats:**
- Current word count: 755
- Target word count: 1200
- Progress: 63%

After All Sections

Merge and transition:

markdown
**All sections complete! 🎉**

**Section Summary:**
- Section 1: ✅ (152 words)
- Section 2: ✅ (298 words)
- Section 3: ✅ (305 words)
- Section 4: ✅ (289 words)
- Section 5: ✅ (163 words)

**Total:** 1207 words (target: 1200)

**Merging into full draft...**

Saved to: docs/writing/YYYY-MM-DD-<topic>-draft.md

**Next:** Invoke reviewing-article for systematic review

Then:

  • REQUIRED SUB-SKILL: Use document-superpowers:reviewing-article

Key Differences from Batch Execution

Subagent-DrivenBatch Execution
Fresh subagent per sectionOne agent writes all sections
Review after each sectionReview every 2-3 sections
Tight feedback loopFewer interruptions
Better for complex articlesBetter for simple articles
More overhead (spawning)Less overhead
Easier to course-correctMore focused flow state

Troubleshooting

If subagent consistently fails spec compliance:

  • Plan may be unclear - revise plan
  • Requirements may be contradictory - clarify plan
  • Word count may be unrealistic - adjust target

If subagent produces low-quality content:

  • Add more specific tone/style examples
  • Include writing samples in task brief
  • Specify common pitfalls to avoid

If reviews take too long:

  • Create review checklist template
  • Focus on critical issues only
  • Consider switching to batch execution

Key Principles

  • Fresh subagent = fresh perspective - Each section gets unbiased writing
  • Two-stage review = quality control - Spec first, then quality
  • Pass context explicitly - Don't assume subagent knows prior sections
  • Iterate quickly - Fast feedback beats batch-and-hope
  • Track progress visibly - Know where you are in the process
  • Don't over-review - Good enough to move forward is good enough

Heefeg gestallte Froen

Wat mécht de KI-Skill Subagent Driven Writing?

Fast iterative writing using fresh subagent per section with two-stage review. Alternative to batch execution.

Firwat Subagent Driven Writing op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Subagent Driven Writing besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Subagent Driven Writing an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/binbinao/document-superpowers/tree/main/skills/subagent-driven-writing an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Subagent Driven Writing benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Subagent Driven Writing benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Subagent Driven Writing domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Subagent Driven Writing gratis?

binbinao huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇