Deck Rescue logo

Deck Rescue

Organization
ai-analyst-lab
deck-rescue

Take a failing deck end-to-end and produce a complete rewrite with proper narrative structure (Context-Tension-Resolution arc, action headlines, a specific ask). Use when a deck scores D or F on /deck-critique, or the user says "rescue", "rewrite", "redo", or "fix" an entire deck, "this deck is a mess", "completely rebuild these slides", "salvage this presentation". For minor fixes to a few slides use /slide-transform instead.

Overview

Publisherai-analyst-lab
Repositoryai-analyst-plugin
Skill namedeck-rescue
Stars
34
Forks
13
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ai-analyst-lab on GitHub. Read the source before you install it.

Installation

Install the Deck Rescue AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/deck-rescue
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst-plugin.git /tmp/ai-analyst-plugin
mkdir -p .claude/skills
cp -r /tmp/ai-analyst-plugin/ai-analyst-plus/skills/deck-rescue .claude/skills/deck-rescue
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Deck Rescue in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Deck Rescue on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Deck Rescue is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Skill: Deck Rescue

Purpose

Take a bad deck end-to-end and produce a complete rewrite: new narrative arc, new action headlines, decluttered evidence, and clear asks. Outputs a new Marp deck plus a before/after comparison document.

When to Use

Apply this skill when:

  1. A deck scores D or F on /deck-critique — needs a complete rewrite, not slide-level fixes
  2. The user asks to "rescue", "rewrite", or "redo" an entire deck from scratch
  3. The presentation-doctor agent prescribes a full rescue based on diagnosis severity

This skill can be invoked directly as /deck-rescue or called by the presentation-doctor orchestrator agent.

Inputs

  • {{DECK_SOURCE}}: Path to original Marp .marp.md file OR Google Slides presentation ID/URL
  • {{AUDIENCE}}: Who the presentation is for (required for rescue — cannot rewrite without knowing the audience)
  • {{CONTEXT}} (optional): What decision or meeting this deck supports
  • {{CRITIQUE}} (optional): Path to the deck critique from /deck-critique — saves re-diagnosis time
  • {{STORY}} (optional): Path to story extraction from the story-extractor agent — if provided, skips Step 2
  • {{THEME}} (optional): theme to apply — defaults to analytics per the auto-selection table in reference/presentation-standards.md (Marp-format analyst deliverables default light); pass analytics-dark for workshop/talk contexts

Instructions

Rescue Pipeline

The full rescue is a 7-step pipeline. If {{CRITIQUE}} or {{STORY}} are provided, the corresponding steps are shortened or skipped.

Step 1: Diagnose (or load critique)

If {{CRITIQUE}} is provided: Read the critique file and extract the per-slide scores, anti-patterns, and prescription. Skip to Step 2.

If not: Run the /deck-critique skill on {{DECK_SOURCE}}. Save to working/deck_critique_{{DATE}}.md.

Confirm the grade is D or F. If the grade is B or C, suggest /slide-transform instead — a full rescue may be overkill.

Step 2: Extract raw content and validate match

Parse every slide yourself. For a Marp file: strip the YAML frontmatter, split on --- slide separators, and for each slide record the title (first heading), the body text, the bullets (lines starting with - or *), whether it contains a chart (image reference) or a data table, and the word count. For Google Slides: fetch each slide's text through the Google Slides connector and record the same fields. Then extract ALL data, findings, and claims from the original deck — separate signal from noise:

Signal (keep):

  • Specific numbers, percentages, rates
  • Named segments, cohorts, time periods
  • Charts with data (note what the chart shows, not just that a chart exists)
  • Any finding, even if poorly stated

Noise (discard):

  • Generic filler ("as you can see", "in summary")
  • Redundant data points (same finding stated 3 ways)
  • Decorative elements that add no information
  • Appendix data that wasn't referenced in the main deck

CRITICAL VALIDATION: After extraction, check if the deck content matches the user's stated problem. For example:

  • User says "decide whether to invest in onboarding flow" but deck is about bugs → MISMATCH
  • User says "Q3 conversion dropped 12%" but deck shows Q1 churn data → MISMATCH

If mismatch found: Inform the user immediately: "The deck content doesn't match your stated problem. The deck contains [X] but you mentioned [Y]. Should I: (A) Rescue using the deck's actual content, or (B) Wait while you provide the correct deck?" Do NOT proceed until clarified.

Save the extracted content inventory to working/content_inventory_{{DATE}}.md.

Step 3: Find the story (or load story extraction)

If {{STORY}} is provided: Read the story extraction and use the #1 story as the narrative spine. Skip to Step 4.

If not: Do the story extraction yourself on the content inventory, in five moves:

  1. Catalog every discrete finding, claim, or data point as a numbered flat list (numbers, comparisons, trends, anomalies, claims, recommendations). Don't interpret yet.
  2. Score each finding on four 1-5 dimensions (Surprise, Business Impact, Audience Relevance, Evidence Strength) and sum to a composite out of 20. If no audience was given, score relevance for a general executive audience.
  3. Pick Story #1 (highest composite), then a non-redundant Story #2 and #3. Check that Story #1 has a twist: the gap between what the audience expects and what the data shows. A story without surprise is just a report.
  4. Write the lead-story brief: HEADLINE (one sentence), THE TWIST, THE STAKES (quantified), THE EVIDENCE (2-3 specific data points), THE ASK.
  5. List what to CUT (off-story, redundant, too granular, unsurprising) with a one-line rationale each. An empty cut list means no editorial judgment was applied.

Save the extraction to working/story_extraction_{{DATE}}.md. This identifies the 1-3 stories worth telling and the #1 story to lead with.

The #1 story becomes the narrative spine for the new deck.

Step 4: Build the narrative arc

Using the extracted story, build a new narrative following Context → Tension → Resolution:

NARRATIVE ARC
━━━━━━━━━━━━
CONTEXT:    What's the baseline? What does the audience already know?
TENSION:    What changed? What's the surprising finding? What's at risk?
RESOLUTION: What should we do? What's the ask? What's the expected impact?

Map the narrative arc to slides:

SlideRoleChecklist Target
Slide 1Title + SO-WHAT — The main finding IS the titleSO-WHAT: 3/3
Slide 2STAKES — Why should the audience care? Quantify the impactSTAKES: 3/3
Slide 3EVIDENCE (pattern) — The key evidence supporting the findingEVIDENCE: 3/3
Slide 4EVIDENCE (cause) — Root cause or deeper explanationEVIDENCE: 3/3
Slide 5RESOLUTION — Recommendation with expected impactASK: 3/3
Slide 6ASK — Specific decision request with timeline and riskASK: 3/3

This is the default 6-slide structure. Adjust based on content:

  • Simple story (1 evidence point): 4-5 slides
  • Complex story (multiple evidence threads): 6-8 slides
  • HARD LIMIT: 8 slides maximum for any rescue — the original was already too long, don't make it long again

Slide count discipline: If you find yourself creating 10+ slides, the story is not focused. Go back to Step 3 (story extraction) and pick a narrower narrative. A rescue should SHORTEN and FOCUS, not just reorganize.

Step 5: Generate the new deck

Write each slide as Marp markdown following these rules:

Title rules:

  • Every slide title is an action headline (SO-WHAT score ≥ 2)
  • Read all titles top-to-bottom — they must tell the complete story
  • No label titles ("Overview", "Analysis", "Results")

Evidence rules:

  • Maximum 3 bullet points per slide
  • Maximum 1 chart per slide
  • Bold key numbers: **67%**, **$2.3M ARR**
  • If data was in the original deck, reference it specifically

Ask rules:

  • Final slide must have a specific ask with: action, owner (if known), timeline, risk mitigation
  • "Questions?" is never the final slide — it can follow the ask slide

Marp formatting:

  • Use the {{THEME}} theme (default: analytics); the theme is a styling spec in reference/presentation-standards.md, applied through the deck's frontmatter and inline styles (no CSS file ships with this plugin)
  • Apply appropriate slide classes from the theme spec
  • Use <!-- _class: lead --> for the title slide
  • Use <!-- _class: impact --> for single-statement emphasis slides
  • Reference charts as ![](outputs/charts/...) — describe what chart should be created but do NOT generate charts (Chart Maker handles that)

Save the new deck to working/deck_rescue_{{DATE}}.marp.md.

Step 6: Build the before/after comparison

For each original slide, show what replaced it and why:

markdown
## Before/After Comparison

### Original Slide 1 → New Slide 1
**Before:** "Q3 Churn Analysis" (label title, no finding)
**After:** "Incomplete Onboarding Drives 67% of Enterprise Churn" (action headline)
**Why:** The original title told the audience nothing. The new title IS the finding.
**Score change:** 2/12 → 11/12

[Repeat for each slide mapping]

Note: Not every original slide maps 1:1 to a new slide. Some original slides are merged, some are cut entirely. Document this.

Save to working/before_after_{{DATE}}.md.

Step 7: Generate speaker notes (REQUIRED)

This step is NOT optional. Every rescued deck must include speaker notes for presentation readiness.

For each new slide, write brief speaker notes covering:

  • The talking track — what to say when this slide is on screen (2-3 sentences)
  • The transition — how to bridge to the next slide
  • Anticipated question — one question the audience might ask, with a prepared answer

Add speaker notes as Marp comments below each slide in the deck_rescue_{{DATE}}.marp.md file:

markdown
<!--
TALKING TRACK: [what to say]
TRANSITION: [bridge to next slide]
ANTICIPATED Q: [question] → [answer]
-->

Quality check: After writing all speaker notes, verify that EVERY slide (including the final ask slide) has complete notes. Speaker notes are what make a rescued deck presentation-ready, not just readable.

Output Format

The rescue produces 3 files:

  1. working/deck_rescue_{{DATE}}.marp.md — The complete new Marp deck
  2. working/before_after_{{DATE}}.md — Slide-by-slide comparison with score changes
  3. working/content_inventory_{{DATE}}.md — Raw content extraction (signal vs noise)

Plus a summary printed to the user:

markdown
# Deck Rescue Complete

**Original:** [N] slides, grade [X], avg score [Y/12]
**Rescued:** [M] slides, projected grade [A/B], avg score [Z/12]

## Story
[1-sentence summary of the narrative spine]

## Slide Map
| New Slide | Title | From Original | Score |
|-----------|-------|--------------|-------|
| 1 | "[action headline]" | Slides 1,4 (merged) | 11/12 |
| 2 | "[action headline]" | Slide 2 (rewritten) | 10/12 |
| ... | ... | ... | ... |

## Files Created
- New deck: `working/deck_rescue_{{DATE}}.marp.md`
- Comparison: `working/before_after_{{DATE}}.md`
- Content inventory: `working/content_inventory_{{DATE}}.md`

## Next Steps
1. Review the new deck and comparison doc
2. Run `/deck-critique` on the rescue to verify all slides score 9+/12
3. Run Chart Maker for any chart placeholders
4. Deliver the deck as the `.marp.md` file (it is readable markdown as-is). If the user wants a rendered file and Marp CLI is available: `npx @marp-team/marp-cli working/deck_rescue_{{DATE}}.marp.md --pdf` (or `--html`), using Marp's built-in styling; add `--theme <path>` only if the user supplies their own Marp CSS file. No CSS theme files ship with this plugin.

Handoff

After the rescue:

  • Verify quality: Run /deck-critique on the new deck to confirm all slides score 9+/12
  • Generate charts: If the new deck references chart placeholders, invoke Chart Maker for each
  • Render: Use Marp CLI to produce the PDF or HTML when the user wants a rendered file; the .marp.md itself is the core deliverable
  • The presentation-doctor orchestrator handles all of this automatically

Anti-Patterns

  1. Never rescue a B/C deck — suggest /slide-transform instead. A rescue means starting over.
  2. Never keep the original structure — the whole point is a new narrative arc. If the original order was right, it wouldn't need rescuing.
  3. Never add new data — rescue uses ONLY what was in the original deck. The story was there; it was just buried.
  4. Never exceed 8 slides — if you need more, the story isn't focused enough
  5. Never end without an ask — the final slide must request a specific decision or action

Skills Used

  • /deck-critique — for initial diagnosis (Step 1)
  • reference/presentation-standards.md (in this skill) — for Marp theme application
  • Story extraction (Step 3) and deck parsing (Step 2) are done inline by this skill

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Deck Rescue AI skill do?

Take a failing deck end-to-end and produce a complete rewrite with proper narrative structure (Context-Tension-Resolution arc, action headlines, a specific ask). Use when a deck scores D or F on /deck-critique, or the user says "rescue", "rewrite", "redo", or "fix" an entire deck, "this deck is a mess", "completely rebuild these slides", "salvage this presentation". For minor fixes to a few slides use /slide-transform instead.

Why use Deck Rescue on TypingMind?

Because you install it once and use it with any model. Deck Rescue is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Deck Rescue in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/deck-rescue. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Deck Rescue?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Deck Rescue?

As many as you like. As long as a model supports skills, you can use Deck Rescue with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Deck Rescue AI skill free?

Yes. It is published on GitHub by ai-analyst-lab under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇