Логотип Subagent Driven Writing

Subagent Driven Writing

Сообщество
binbinao
subagent-driven-writing

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

Обзор

Издательbinbinao
Репозиторийdocument-superpowers
Название навыкаsubagent-driven-writing
Звёзды
49
Форки
14
Файлы в комплекте
Только инструкции
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — binbinao. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Subagent Driven Writing в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/binbinao/document-superpowers/tree/main/skills/subagent-driven-writing
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Subagent Driven Writing в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Subagent Driven Writing, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Subagent Driven Writing не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

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

Часто задаваемые вопросы

Что делает навык ИИ Subagent Driven Writing?

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

Зачем использовать Subagent Driven Writing в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Subagent Driven Writing — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Subagent Driven Writing в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/binbinao/document-superpowers/tree/main/skills/subagent-driven-writing. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Subagent Driven Writing?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Subagent Driven Writing?

С любым количеством. В TypingMind вы можете использовать Subagent Driven Writing с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Subagent Driven Writing?

Навык опубликован на GitHub. Издатель — binbinao. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇