Logo di Subagent Driven Writing

Subagent Driven Writing

Community
binbinao
subagent-driven-writing

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

Panoramica

Pubblicato dabinbinao
Repositorydocument-superpowers
Nome della skillsubagent-driven-writing
Stelle
49
Fork
14
File inclusi
Solo istruzioni
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da binbinao su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Subagent Driven Writing in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/binbinao/document-superpowers/tree/main/skills/subagent-driven-writing
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Subagent Driven Writing in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Subagent Driven Writing non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Subagent Driven Writing non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

Domande frequenti

Cosa fa la skill IA Subagent Driven Writing?

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

Perché usare Subagent Driven Writing su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Subagent Driven Writing è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Subagent Driven Writing in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/binbinao/document-superpowers/tree/main/skills/subagent-driven-writing. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Subagent Driven Writing?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Subagent Driven Writing?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Subagent Driven Writing: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Subagent Driven Writing è gratuita?

È pubblicata su GitHub da binbinao. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇