story-explanation
Create compelling story-format summaries using UltraThink to find the best narrative framing. Support multiple formats - 3-part narrative, n-length with inline links, abridged 5-line, or comprehensive via Foundry MCP. USE WHEN user says 'create story explanation', 'narrative summary', 'explain as a story', or wants content in Daniel's conversational first-person voice.
What this skill does
# Story Explanation - Narrative Summary with Creative Analysis
## ๐ฏ Load Full PAI Context
**Before starting any task with this skill, load complete PAI context:**
`read ${PAI_DIR}/skills/CORE/SKILL.md`
## Core Philosophy
**Standard approach:** Generate a generic summary of content.
**This skill:** Use UltraThink to analyze multiple narrative framings, then select the BEST one and present it in a compelling story format.
Based on:
- **UltraThink**: Deep content understanding across multiple perspectives and narrative angles
- **Best framing selection**: Choose the most compelling narrative angle from multiple options
- **Daniel Miessler voice**: First person, casual, direct, genuinely curious
**The Problem This Solves:**
- Generic summaries use obvious framing without exploring alternatives
- Mode collapse causes formulaic story explanations
- Best narrative angles get missed in favor of first-thought approaches
- Content needs to be explained in conversational, engaging way
## When to Activate This Skill
- User requests story explanations or narrative summaries
- User says "create a story explanation" or "explain this as a story"
- User says "narrative summary", "tell as story", or "explain in narrative"
- User wants content explained in conversational, engaging format
- Need to find the most compelling narrative hook for content
- User explicitly requests this skill
- Want to present content in Daniel's voice
- Format-specific requests: "story with links", "abridged story", "5-line summary", "CSE", "CSE5"
- Slash commands: `/create-story-explanation`, `/cse`, `/cse5`
**DO NOT use this skill when:**
- User wants comprehensive extraction (use research skill with fabric)
- User wants quick technical summary
- Speed matters more than narrative quality
## ๐ Workflow Routing
This skill contains multiple workflows for different story explanation formats:
### Available Workflows:
1. **`workflows/create.md`** - Main 3-part narrative (default)
- **Use when:** User wants standard story explanation format
- **Triggers:** "create story explanation", "story explanation", default workflow
- **Output:** 3-part format (opening 15-25 words โ body 5-15 sentences โ closing 15-25 words)
2. **`workflows/create-with-links.md`** - N-length format with inline source links
- **Use when:** User wants comprehensive narrative with source attribution
- **Triggers:** "story explanation with links", "narrative with sources", "with inline citations"
- **Output:** N sentences (default 25) with inline links after each sentence
3. **`workflows/create-abridged.md`** - Ultra-concise 5-line format (5-12 words per line)
- **Use when:** User wants abbreviated format from URL, YouTube, or text
- **Triggers:** "create abridged story explanation", "5-line summary", command: `/create-abridged-story-explanation`
- **Output:** 5 lines with strict word limits
4. **`workflows/cse.md`** - Comprehensive explanation using Foundry MCP
- **Use when:** User wants detailed narrative explanation
- **Triggers:** "run CSE", "explain this story", command: `/cse`
- **Output:** Complete narrative explanation via Foundry
5. **`workflows/cse5.md`** - Clean 5-line numbered format using Foundry MCP
- **Use when:** User wants scannable, numbered breakdown
- **Triggers:** "explain in 5 lines", "CSE5", command: `/cse5`
- **Output:** 5 numbered lines, one concept per line
### Routing Decision Tree:
```
User request โ Analyze intent:
โโ "with links" OR "inline sources" OR "with citations"
โ โโ> workflows/create-with-links.md (N-length format with inline links)
โ
โโ "abridged" OR "5-12 words per line"
โ โโ> workflows/create-abridged.md
โ
โโ "CSE5" OR "5 lines" OR "numbered"
โ โโ> workflows/cse5.md
โ
โโ "CSE" OR "comprehensive explanation"
โ โโ> workflows/cse.md
โ
โโ Default OR "story explanation"
โโ> workflows/create.md (3-part narrative)
```
### Command Routing:
- `/create-story-explanation` โ `workflows/create.md`
- `/create-story-output-links` โ `workflows/create-with-links.md`
- `/create-abridged-story-explanation` โ `workflows/create-abridged.md`
- `/cse` โ `workflows/cse.md`
- `/cse5` โ `workflows/cse5.md`
## ๐ Scratchpad โ History Pattern
**Working Directory:** `${PAI_DIR}/scratchpad/YYYY-MM-DD-HHMMSS_story-explanation-[topic]/`
**Process:**
1. **Scratchpad (Working Files):**
- Create timestamped directory for each story explanation project
- Store raw content extraction (transcripts, article text, etc.)
- Keep UltraThink analysis notes
- Save multiple framing explorations (5+ options from deep analysis)
- Draft iterations and refinements
- Example: `${PAI_DIR}/scratchpad/2025-10-26-143000_story-explanation-agi-timeline/`
2. **History (Permanent Archive - Optional):**
- Move to `${PAI_DIR}/history/research/YYYY-MM/YYYY-MM-DD-HHMMSS_AGENT-[agent]_RESEARCH_[slug].md` **ONLY IF:**
- The analysis provides valuable reusable insights about narrative framing
- The content analysis reveals patterns applicable to future work
- The framing exploration demonstrates particularly effective techniques
- You want to reference this analysis methodology later
- Include: Final story explanation + UltraThink analysis notes + framing options explored
- Most story explanations are one-off outputs and can stay in scratchpad
3. **Distinction:**
- **Scratchpad = All working files** (content extraction, drafts, explorations)
- **History = Only valuable analytical insights** (methodology learnings, exceptional framing discoveries)
- **Most story explanations are throwaway content** - only archive exceptional analysis
**File Structure Example:**
```
${PAI_DIR}/scratchpad/2025-10-26-143000_story-explanation-agi-timeline/
โโโ raw-content.txt # Extracted article/transcript
โโโ ultrathink-analysis.md # Deep narrative analysis notes
โโโ framing-explorations.md # 5+ different narrative framings explored
โโโ draft-v1.md # First draft
โโโ draft-v2.md # Refined version
โโโ final-story-explanation.md # Final output
# Only if exceptional:
${PAI_DIR}/history/research/2025-10/2025-10-26-143000_AGENT-default_RESEARCH_agi-timeline-narrative-framing-analysis.md
```
**Guidelines:**
- Always work in scratchpad first
- Only move to history if the analysis itself is valuable for future reference
- Clean up scratchpad after project completion (or leave for periodic cleanup)
- The story explanation output itself goes to the user - not necessarily to history
## The Four-Step Process
### Step 1: Content Extraction
**For YouTube videos:**
```bash
fabric -y "YOUTUBE_URL"
```
**For URLs/articles:**
```typescript
WebFetch(url, "Extract full content of this article")
```
**For other content:**
- Paste text directly
- Read from files
### Step 2: Activate Be Creative Skill
**Load the be-creative skill for deep reasoning enhancement:**
This provides access to:
- **UltraThink**: Deep reasoning and quality analysis
- Enhanced techniques for finding the best narrative framing
### Step 3: Deep UltraThink Analysis (via Be Creative)
Before generating story explanation, engage in extended deep thinking:
**UltraThink Protocol:**
```
ULTRATHINK DEEP STORY ANALYSIS MODE:
Think deeply and extensively about this content:
1. CORE NARRATIVE - What's the fundamental story being told?
2. MULTIPLE FRAMINGS - What are 5-7 different ways to frame this story?
3. AUDIENCE ANGLES - How would different audiences understand this?
4. HOOK VARIETY - What are compelling but different entry points?
5. EMPHASIS OPTIONS - Which elements could be emphasized or de-emphasized?
6. STRUCTURAL APPROACHES - Chronological? Problem-solution? Comparison?
7. IMPACT FOCUS - What's the "wow" factor that makes this significant?
8. CONVERSATIONAL FLOW - How would Daniel explain this to a friend?
9. KEY INSIGHTS - What makes readers think "I get it now!"?
10. BEST FRRelated in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.