pbi-to-exec-deck: Command for Claude Code

.claude/commands/convert-to-deck.md

convert-to-deck is a command for Claude Code from shailendrahegde/pbi-to-exec-deck. It costs 0 tokens per session (743 once invoked), scanned A, original, MIT.

A command that turns an exported Power BI dashboard—a business report with charts and metrics—into a presentation for executives.

In plain words
What is it for?
Use it with Power BI PDF, PowerPoint, or PBIP exports to create an executive presentation based on the dashboard's visuals, numbers, and metadata.
Why use it?
It removes the manual work of extracting dashboard content, interpreting each page, and arranging the findings into presentation slides.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md.

This is shailendrahegde/pbi-to-exec-deck's own configuration. It tells Claude Code how to work on pbi-to-exec-deck itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pbi-to-exec-deck configures →

Reuse

Borrowing it

Nothing to install: this file belongs to shailendrahegde/pbi-to-exec-deck. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/shailendrahegde/pbi-to-exec-deck/main/.claude/commands/convert-to-deck.md
Clone the repo
git clone --depth 1 https://github.com/shailendrahegde/pbi-to-exec-deck

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for convert-to-deck

README.md
[![agentmods](https://agentmods.dev/badge/commands/shailendrahegde/pbi-to-exec-deck/convert-to-deck/github.svg)](https://agentmods.dev/commands/shailendrahegde/pbi-to-exec-deck/convert-to-deck)
Your own site
<a href="https://agentmods.dev/commands/shailendrahegde/pbi-to-exec-deck/convert-to-deck"><img src="https://agentmods.dev/badge/commands/shailendrahegde/pbi-to-exec-deck/convert-to-deck/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for convert-to-deck

Your own site · 80×15
<a href="https://agentmods.dev/commands/shailendrahegde/pbi-to-exec-deck/convert-to-deck"><img src="https://agentmods.dev/badge/commands/shailendrahegde/pbi-to-exec-deck/convert-to-deck.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 743 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00743
Opus 5 $0.00000 $0.00371
Sonnet 5 $0.00000 $0.00149
Haiku 4.5 $0.00000 $0.00074

Measured 10d ago against content hash 1adf650aeb77, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

convert-to-deck scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/convert-to-deck.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Convert a Power BI dashboard export into an executive-ready presentation.

Usage

/convert-to-deck "C:\path\to\dashboard.pdf"
/convert-to-deck "C:\path\to\dashboard.pptx"
/convert-to-deck "C:\path\to\report.pbip"

The argument $ARGUMENTS is the path to the source file.


What to do

Step 1 — Prepare

Run the extractor to pull out dashboard images and metadata:

python convert_dashboard.py $ARGUMENTS --prepare

If --prepare fails because dependencies are missing, install them first:

pip install -r requirements.txt
python convert_dashboard.py $ARGUMENTS --prepare

Step 2 — Read the analysis request

Read temp/analysis_request.json

This tells you how many slides were extracted and where the images are saved.

If the source is a .pbip file and temp/pbip_context.json exists, read that too:

Read temp/pbip_context.json

Step 3 — Analyze each dashboard image

For every slide listed in analysis_request.json, read the image:

Read temp/slide_1.png
Read temp/slide_2.png
... (all slides)

Act as a senior analyst advising an IT decision maker. For each slide:

  • Extract every visible number, percentage, and label with exact units (13K not 13,000)
  • Identify which platforms, apps, teams, or features are shown — only mention what is visible
  • Generate 3 insights following the "Bold punchy line || Supporting evidence with data" format
  • Write a headline that answers "so what?" (memorable, no data dump)

For slides with charts or tables, generate a "chart" spec so the builder renders clean SVG — never embed raw screenshots. See CLAUDE.md for chart spec formats.

Also generate across all slides:

  • deck_title — compelling 5–10 word story-driven title (e.g. "Copilot Impact Confirmed: $14.7M in Value")
  • deck_subtitle — scope line (platforms · org · date range)
  • executive_summary — 5 synthesized findings, highest business impact first
  • recommendations — 3–5 specific, data-grounded next steps

Read the full file on GitHub · 103 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 103 lines · 0 tokens per session scan A 1adf650aeb77

Subscribe to this mod's changes

convert-to-deck is a command published in the GitHub repository shailendrahegde/pbi-to-exec-deck (11 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 743 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.