deck-refresh — Claude Code skill: update numbers across a deck
Swaps figures across an existing presentation without rebuilding slides. For quarterly refreshes, earnings updates, comp rolls and rebased market data.
npx skills add anthropics/financial-services --skill deck-refresh -a claude-codeWhat deck-refresh does
The skill treats the deck as the source of truth for formatting: it changes values and leaves fonts, colors and layout alone. It works in the PowerPoint add-in with a live deck and in chat with an uploaded file. In chat, affected slides get regenerated with new values and written back.
The workflow has four phases with an approval gate before any edit. First the skill asks how new numbers arrive: a pasted mapping like "revenue $485M → $512M", an Excel file with old and new columns, or just fresh values that need mapping. It also asks about derived numbers, because a stale growth rate next to a new revenue figure is easy to miss.
Then it reads every slide and finds each old value in every variant: scale, precision, unit style, embedded in sentences and axis labels. The full change list is shown for approval. After that, edits are minimal, and the skill runs visual checks on edited slides — a number that got longer might overflow its text box.
What it helps with
- find every instance of an old number, including chart axes and footnotes
- update table cells and chart source data without touching formatting
- flag derived values that went stale after a swap
- get approval on the change list before editing a single thing
- verify edited slides for text overflow after longer numbers
Example prompts for the agent
- update the deck with Q4 numbers: revenue $485M → $512M, EBITDA $120M → $135M
- read this Excel and swap the old values in the deck for the new ones
- refresh the comps in this deck, leave derived numbers alone
How to install deck-refresh
1Skills CLI (Vercel)
npx skills add anthropics/financial-services --skill deck-refresh -a claude-code2Manually: put the files in place
~/.claude/skills/deck-refresh/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/deck-refresh/
1Skills CLI (Vercel)
npx skills add anthropics/financial-services --skill deck-refresh -a codex2Manually: put the files in place
.agents/skills/deck-refresh/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add anthropics/financial-services --skill deck-refresh -a cursor2Manually: put the files in place
.cursor/skills/deck-refresh/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install anthropics/financial-services deck-refresh2Manually: put the files in place
.github/skills/deck-refresh/SKILL.md1Skills CLI (Vercel)
npx skills add anthropics/financial-services --skill deck-refresh -a gemini-cli2Platform CLI
gemini skills install https://github.com/anthropics/financial-services --path plugins/agent-plugins/pitch-agent/skills/deck-refreshManually: put the files in place
.devin/skills/deck-refresh/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add anthropics/financial-services --skill deck-refresh -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set25
The whole set →Similar
Questions about deck-refresh
How do I install deck-refresh in Claude Code?
Run npx skills add anthropics/financial-services --skill deck-refresh -a claude-code. The skill file lands at ~/.claude/skills/deck-refresh/SKILL.md.
What does deck-refresh do?
It locates every instance of an old number across the deck — including variants like $485M, $0.485B and 485 on a chart axis — and swaps them for new values. Slide formatting stays intact.
Does it recalculate growth rates and market share?
No. The skill asks upfront whether derived numbers should be recalculated, and the change plan lists suspicious values in a FLAGGED section. It does not touch them without approval.
Source text
SKILL.md · Apache-2.0
---
name: deck-refresh
description: Updates a presentation with new numbers — quarterly refreshes, earnings updates, comp rolls, rebased market data. Use whenever the user asks to "update the deck with Q4 numbers", "refresh the comps", "roll this forward", "swap in the new earnings", "change all the $485M to $512M", or any request to swap figures across an existing deck without rebuilding it.
---
# Deck Refresh
Update numbers across the deck. The deck is the source of truth for formatting; you're only changing values.
## Environment check
This skill works in both the PowerPoint add-in and chat. Identify which you're in before starting — the edit mechanism differs, the intent doesn't:
- **Add-in** — the deck is open live; edit text runs, table cells, and chart data directly.
- **Chat** — the deck is an uploaded file; edit it by regenerating the affected slides with the new values and writing the result back.
Either way: smallest possible change, existing formatting stays intact.
This is a four-phase process and the third phase is an approval gate. Don't edit until the user has seen the plan.
## Phase 1 — Get the data
Use `ask_user_question` to find out how the new numbers are arriving:
- **Pasted mapping** — user types or pastes "revenue $485M → $512M, EBITDA $120M → $135M." The clearest case.
- **Uploaded Excel** — old/new columns, or a fresh output sheet the user wants pulled from. Read it, confirm which column is which before you trust it.
- **Just the new values** — "Q4 revenue was $512M, margins were 22%." You figure out what each one replaces. Workable, but confirm the mapping before you touch anything — a "$512M" that you map to revenue but the user meant for gross profit is a quiet disaster.
Also ask about **derived numbers**: if revenue moves, does the user want growth rates and share percentages recalculated, or left alone? Most decks have "+15% YoY" baked in somewhere that's now stale. Whether to touch those is a judgment call the user should make, not you.
## Phase 2 — Read everything, find everything
Read every slide. For each old value, find every instance — including the ones that don't look the same:
| Variant | Example |
|---|---|
| Scale | `$485M`, `$0.485B`, `$485,000,000` |
| Precision | `$485M`, `$485.0M`, `~$485M` |
| Unit style | `$485M`, `$485MM`, `$485 million`, `485M` |
| Embedded | "revenue grew to $485M", "a $485M business", axis labels |
A deck that says `$485M` on slide 3, `485` on slide 8's chart axis, and `$485.0 million` in a footnote on slide 15 has three instances of the same number. Find-replace misses two of them. You shouldn't.
**Where numbers hide:**
- Text boxes (obvious)
- Table cells
- Chart data labels and axis labels
- Chart source data — the numbers driving the bars, not just the labels on them
- Footnotes, source lines, small print
- Speaker notes, if the user cares about those
Build a list: for each old value, every location it appears, the exact text it appears as, and what it'll become. This list is the plan.
## Phase 3 — Present the plan, get approval
**This is a destructive operation on a deck someone spent time on.** Show the full change list before editing a single thing. Format it so it's scannable:
```
$485M → $512M (Revenue)
Slide 3 — Title box: "Revenue grew to $485M"
Slide 8 — Chart axis label: "485"
Slide 15 — Footnote: "$485.0 million in FY24 revenue"
$120M → $135M (Adj. EBITDA)
Slide 3 — Table cell
Slide 11 — Body text: "$120M of Adj. EBITDA"
FLAGGED — possibly derived, not in your mapping:
Slide 3 — "+15% YoY" (growth rate — stale if base year didn't change?)
Slide 7 — "12% market share" (was this computed from $485M / market size?)
```
The flagged section matters. You're not just executing a find-replace — you're catching the second-order effects the user would've missed at 11pm. If the mapping says `$485M → $512M` and slide 3 also has `+15% YoY` right next to it, that growth rate is probably wrong now. Flag it; don't silently fix it, don't silently leave it.
Use `ask_user_question` for the approval: proceed as shown, proceed but skip the flagged items, or let them revise the mapping first.
## Phase 4 — Execute, preserve, report
For each change, make the smallest edit that accomplishes it. How that happens depends on your environment:
- **Add-in** — edit the specific run, cell, or chart series directly in the live deck.
- **Chat** — regenerate the affected slide with the new value in place, preserving every other element exactly as it was, and write it back to the file.
Either way, the standard is the same:
- **Text in a shape** — change the value, leave font/size/color/bold state exactly as they were. If `$485M` is 14pt navy bold inside a sentence, `$512M` is 14pt navy bold inside the same sentence.
- **Table cell** — change the cell, leave the table alone.
- **Chart data** — update the underlying series values so the bars/lines actually move. Editing just the label without the data leaves a chart that lies.
Don't reformat anything you didn't need to touch. The deck's existing style is correct by definition; you're a surgeon, not a renovator.
After the last edit, report what actually happened:
```
Updated 11 values across 8 slides.
Changed:
[the list from Phase 3, now past-tense]
Still flagged — did NOT change:
Slide 3 — "+15% YoY" (derived; confirm separately)
Slide 7 — "12% market share"
```
Run standard visual verification checks on every edited slide. A number that got longer (`$485M` → `$1,205M`) might now overflow its text box or push a table column width. Catch it before the user does.
## What you're not doing
- **Not rebuilding slides** — if a slide's narrative no longer makes sense with the new numbers ("margins compressed" but margins went up), flag it, don't rewrite it.
- **Not recalculating unless asked** — derived numbers are the user's call. Your Phase 1 question covers this.
- **Not touching formatting** — if the deck uses `$MM` and the user's mapping says `$M`, match the deck, not the mapping. Values change; style stays.
© anthropics · Apache-2.0 · anthropics/financial-services