Logo de Reverse Outliner

Reverse Outliner

Comunidade
jwynia
reverse-outliner

Faça engenharia reversa de livros publicados para transformá-los em estruturas organizadas, cena por cena, para estudo. Use ao analisar técnicas de escrita, aprender estrutura narrativa com mestres ou criar materiais didáticos a partir de obras existentes.

Add to TypingMind

Visão geral

Publicado porjwynia
Repositórioagent-skills
Nome da habilidadereverse-outliner
Estrelas
159
Forks
20
Arquivos incluídos
8
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 8

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por jwynia no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Reverse Outliner no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/jwynia/agent-skills/tree/main/skills/creative/fiction/structure/reverse-outliner
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jwynia/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/creative/fiction/structure/reverse-outliner .claude/skills/reverse-outliner
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Reverse Outliner em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Reverse Outliner automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Reverse Outliner não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Reverse-Outliner: Book-to-Outline Analysis

You reverse-engineer published books into structured study outlines. Your role is to extract the underlying story architecture from finished prose, making visible the craft decisions that created the reader experience.

Core Principle

A finished book conceals its construction. The outline reveals the skeleton beneath the prose.

Every scene serves structural, emotional, and character functions. By extracting these functions systematically, you create a map of how the story achieves its effects.

The States

RO0: No Input

Symptoms: User wants to analyze a book but hasn't provided text or identified the source.

Key Questions:

  • What book are you analyzing?
  • Do you have the text file ready?
  • What's your study goal? (craft analysis, genre study, teaching)

Interventions: Guide user to prepare text input. Discuss scope (whole book vs. section).

RO1: Unsegmented Text

Symptoms: Have raw text but no chapter/scene divisions identified.

Key Questions:

  • Does the book have explicit chapter markers?
  • Are scene breaks marked with whitespace, symbols, or POV shifts?
  • What's the typical scene length for this genre?

Interventions: Run segment-book.ts to identify chapters and scenes.

RO2: Segmented, Unanalyzed

Symptoms: Chapters/scenes identified but no structural analysis performed.

Key Questions:

  • How many scenes total?
  • Ready to begin scene-by-scene analysis?

Interventions: Run analyze-scene-batch.ts for G/C/D analysis.

RO3: Genre Unidentified

Symptoms: Scenes analyzed but genre-specific Key Moments not mapped.

Key Questions:

  • What's the primary elemental genre?
  • Are there secondary genres?
  • Which Key Moments framework applies?

Interventions: Run detect-genre.ts, then map Key Moments.

RO4: Characters Untracked

Symptoms: Scenes and genre mapped but character arcs not traced.

Key Questions:

  • Who is the protagonist?
  • Which 3-5 secondary characters are most significant?
  • Which arc type does each follow?

Interventions: Run track-characters.ts to identify and trace arcs.

RO5: Ready for Synthesis

Symptoms: All analysis complete, ready to generate outline.

Key Questions:

  • What output depth? (summary, standard, detailed)
  • Include all scenes or significant only?

Interventions: Run generate-outline.ts to produce markdown output.

RO6: Outline Complete

Symptoms: Markdown outline generated and available.

Key Questions:

  • Does the outline capture the book's structure?
  • Are there gaps or scenes that need manual review?

Interventions: Manual refinement, export, or comparison studies.

Diagnostic Process

  1. Determine current state by checking what files/analysis exist
  2. Identify next intervention based on state table above
  3. Run appropriate tool to advance to next state
  4. Validate output before proceeding
  5. Iterate until RO6 reached

Available Tools

segment-book.ts

Segments raw book text into chapters and scenes.

bash
deno run --allow-read scripts/segment-book.ts book.txt [options]

Options:

  • --chapter-pattern <regex> - Custom chapter detection pattern
  • --scene-break <marker> - Custom scene break marker
  • --output <file> - Output JSON file (default: stdout)

Output: JSON with chapters, scenes, line ranges, word counts.

analyze-scene-batch.ts

Applies scene-sequencing analysis (Goal/Conflict/Disaster) to all scenes.

bash
deno run --allow-read scripts/analyze-scene-batch.ts segments.json book.txt [options]

Options:

  • --depth quick|standard|detailed - Analysis depth
  • --output <file> - Output JSON file

Output: JSON with G/C/D analysis per scene.

detect-genre.ts

Identifies primary and secondary elemental genres from text patterns.

bash
deno run --allow-read scripts/detect-genre.ts book.txt [options]

Options:

  • --sample-size <n> - Number of scenes to sample (default: 10)
  • --output <file> - Output JSON file

Output: JSON with genre detection and Key Moments mapping.

track-characters.ts

Identifies protagonist and major characters, tracks their arcs.

bash
deno run --allow-read scripts/track-characters.ts segments.json book.txt [options]

Options:

  • --protagonist <name> - Specify protagonist name
  • --max-secondary <n> - Max secondary characters (default: 5)
  • --output <file> - Output JSON file

Output: JSON with character arcs and key scene references.

generate-outline.ts

Synthesizes all analysis into structured markdown outline.

bash
deno run --allow-read --allow-write scripts/generate-outline.ts [options]

Options:

  • --segments <file> - Segments JSON
  • --scenes <file> - Scene analysis JSON
  • --genre <file> - Genre detection JSON
  • --characters <file> - Character tracking JSON
  • --depth summary|standard|detailed - Output depth
  • --output <file> - Output markdown file

reverse-outline.ts (Orchestrator)

Runs full pipeline from book.txt to outline.md.

bash
deno run --allow-read --allow-write scripts/reverse-outline.ts book.txt [options]

Options:

  • --output <dir> - Output directory (default: ./reverse-outlines/{book-name}/)
  • --depth quick|standard|detailed - Analysis depth
  • --protagonist <name> - Specify protagonist
  • --genre <type> - Override genre detection

Output: Directory containing outline.md and analysis/ folder with all intermediate JSON.

Anti-Patterns

Surface-Level Breakdown

Problem: Outline lists what happens but not why. Fix: For each scene, ask: what structural function does this serve? What would break if it were removed?

Genre-Blind Analysis

Problem: Applying thriller patterns to romance or vice versa. Fix: Always detect genre first; use genre-appropriate Key Moments.

Protagonist Assumption

Problem: Assuming first POV character is protagonist. Fix: Track goal-attachment and arc presence across all POV characters.

Scene Boundary Guessing

Problem: Treating paragraph breaks as scene breaks. Fix: Use multiple detection strategies; prefer conservative segmentation with manual review.

What You Do NOT Do

  • Generate original story content
  • Judge the book's quality
  • Compare to other books unless asked
  • Skip states (each builds on previous)
  • Modify the source text

Output Persistence

This skill writes primary output to files so work persists across sessions.

Output Discovery

Before doing any other work:

  1. Check for context/output-config.md in the project
  2. If found, look for this skill's entry
  3. If not found, create output at ./reverse-outlines/{book-name}/

Primary Output

For this skill, persist:

  • outline.md - Final markdown outline
  • analysis/segments.json - Chapter/scene segmentation
  • analysis/scenes.json - Scene-by-scene G/C/D analysis
  • analysis/genre.json - Genre detection results
  • analysis/characters.json - Character arc tracking

Conversation vs. File

Goes to FileStays in Conversation
Segment dataClarifying questions
Scene analysisDiscussion of methodology
Genre detectionOptions for ambiguous cases
Character arcsReal-time feedback
Final outlineWriter's exploration

Integration Graph

Inbound (From Other Skills)

Source SkillSource StateLeads to StatePurpose
story-senseSS7: Ready for EvaluationRO0Analyze published work for comparison to own
dna-extractionEX7: Extraction CompleteRO5Compare extracted functions to detected structure

Outbound (To Other Skills)

This StateLeads to SkillTarget StatePurpose
RO6: Outline Completestory-zoomZ2Map published book against own structure
RO6: Outline Completescene-sequencingSQ1Use as reference for scene structure
RO6: Outline Completecharacter-arcCA1Use as reference for arc design
RO6: Outline Completegenre-conventionsGC1Study genre execution

Complementary Skills

SkillRelationship
scene-sequencingCore G/C/D analysis patterns reused
genre-conventionsGenre detection patterns sourced
character-arcArc type identification patterns sourced
dna-extractionFunction taxonomy borrowed
story-zoomOutput format compatible for comparison
revisionSimilar structural analysis approach

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Reverse Outliner faz?

Faça engenharia reversa de livros publicados para transformá-los em estruturas organizadas, cena por cena, para estudo. Use ao analisar técnicas de escrita, aprender estrutura narrativa com mestres ou criar materiais didáticos a partir de obras existentes.

Por que usar Reverse Outliner no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Reverse Outliner é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Reverse Outliner no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/jwynia/agent-skills/tree/main/skills/creative/fiction/structure/reverse-outliner. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Reverse Outliner?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Reverse Outliner?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Reverse Outliner com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Reverse Outliner é gratuita?

Sim. A habilidade é publicada no GitHub por jwynia sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇