officecli-data-dashboard
What it does
This skill guides the AI agent in building a multi-part Excel dashboard from tabular data. It is for managers and analysts who want an at-a-glance view of their numbers.
When to use it
- βWhen you have a CSV file and want it turned into an Excel dashboard with key numbers.
- βWhen you need an executive dashboard with charts and conditional formatting.
- βWhen you want the dashboard to update from the raw data with formulas.
Skill link
https://github.com/iOfficeAI/OfficeCLI/blob/main/skills/officecli-data-dashboard/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCan you turn this sales CSV into an Excel dashboard with KPI cards and a monthly trend chart?β
5 new skills a week. 1 minute to read.
How it works
The agent creates a dashboard sheet with formula-driven KPI cards and charts linked to the data, then formats it with color rules.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Data Dashboard (scene-layer on officecli-xlsx)
A dashboard is not "a spreadsheet with charts". It is a composition: one Dashboard sheet the user lands on with formula-driven KPI cards, cell-range-linked charts, sparklines, and semantic conditional formatting. Everything else (raw data, aggregations) is upstream infrastructure the user should never need to open. This skill teaches the composition pattern. Everything about the xlsx engine β cells, formulas, batch JSON, shell quoting, validate, HTML preview β comes from officecli-xlsx and is not re-taught here.
Setup
If officecli is missing:
- macOS / Linux:
curl -fsSL https://d.officecli.ai/install.sh | bash - Windows (PowerShell):
irm https://d.officecli.ai/install.ps1 | iex
Verify with officecli --version (open a new terminal if PATH hasn't picked up). If install fails, download a binary from https://github.com/iOfficeAI/OfficeCLI/releases.
β οΈ Help-First Rule
When a prop name, enum value, or alias is uncertain, consult help before guessing.
officecli help xlsx # element list
officecli help xlsx chart # full schema for charts
officecli help xlsx sparkline # sparklines
officecli help xlsx conditionalformatting # all CF rule types
Help reflects the installed CLI version. When this skill and help disagree, help wins. DeferredAddKeys (combosplit, holesize) work on add only β see Reference.
Mental Model & Inheritance
This skill inherits every xlsx hard rule from officecli-xlsx β shell quoting, zero formula errors, visual delivery floor, batch JSON shape ({"command":"set"|"add","path":...,"props":{...}} β key is command, NOT action), batch JSON dotted-name rule, chart data-feed forms, batch+resident limits, validate discipline. Read officecli-xlsx first; honour those rules, do not re-teach them here.
Reverse handoff β do NOT use this skill when:
- The ask is a single-sheet CSV-with-formatting tracker (no Dashboard sheet, no KPI cards, β€ 1 chart) β go back to
officecli-xlsx. - The ask is a 3-statement / DCF / LBO financial model with blue-inputs / black-formulas / cross-sheet drivers β use
officecli-financial-model. - The ask is a weekly status report with one SUMIF summary and one chart over < 10 rows β
officecli-xlsx.
This skill only accepts: "a Dashboard sheet the user opens first, multiple KPI cards, multiple charts, some CF / sparklines".
Shell & Execution Discipline
β see officecli-xlsx Β§Shell & Execution Discipline for the baseline (quoting, heredoc for !, incremental execution).
Two increments specific to dashboards:
- Long chart
addcommands exceed 180 chars. Always split across lines with trailing\; never pack a chart command onto a single line. The longer the command, the higher the chance a shell-escape bug hides inside it. - Multi-instance counts use
query --json | jq length, neverraw-get | grep -c. Example:officecli query "$FILE" chart --json | jq '.data.results | length'for "how many charts do I have?".
Core Principles
Five non-negotiable principles. If any one is violated the output is not a dashboard, it is a spreadsheet that happens to have a chart.
Formula-driven KPIs. Every KPI value on the Dashboard sheet is a formula β
SUM,AVERAGE,IFERROR((...-...)/...,0), whatever β referring to cells on the Data / Summary sheet. Never hardcode a computed number. When the underlying data changes tomorrow, KPIs update on open.Cell-range references for charts. Every chart series reads from a cell range:
series1.values="Sheet1!B2:B13". Inlinedata="Revenue:100,200,300"is for a 5-minute demo, not a delivered dashboard. The one exception: data requires an aggregation Excel cannot express (rare) β document the exception in a comment cell.Dashboard-first architecture. KPI label cells, KPI value cells, charts, sparklines all live on the Dashboard sheet β the single sheet a user lands on. Raw imports and
SUMIFSrollups live on Data / Summary sheets, upstream of the Dashboard. The user should never need to switch tabs to find the answer.Visible cells only for chart sources. LibreOffice does not evaluate formulas in hidden columns or hidden sheets at render time. A chart whose
series1.valuespoints at a hidden-columnSUMIFSrenders blank. Pattern: aggregate into a visible Summary sheet, point charts at Summary cells
FAQ
What file type does it produce?
It produces a single .xlsx Excel file.
Does the dashboard use formulas?
Yes. The KPI cards are driven by formulas that read from the data.
Does it need the Excel skill?
The skill builds on the general Excel rules and adds the dashboard layout on top.
Details
Original description by the author
Use this skill to build a multi-element Excel dashboard β Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting β from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to dashboard', 'data visualization'. Output is a single .xlsx. Scene-layer on officecli-xlsx: inherits every xlsx hard rule. DO NOT invoke for: a single budget tracker / one-sheet CSV-with-formatting (use xlsx), a 3-statement / DCF / LBO financial model (use financial-model), a week
repo: iOfficeAI/OfficeCLI
Popularity
- GitHub stars
- 33k
- Ranking position
- #9131
- License
- Apache-2.0
- Updated
- 10/30/2026
Comments
- β¦
More skills from this repository
officecli
33kLets your agent create, read, check and edit Word, Excel and PowerPoint files with the officecli tool, without needing Office installed.
morph-ppt-3d
33kHelps your agent build a PowerPoint deck with a 3D GLB model and smooth Morph transitions between slides.
morph-ppt
33kHelps your agent make a PowerPoint file with smooth Morph transitions, where shapes move, grow or rotate between slides.
officecli-academic-paper
33kHelps your agent format a research paper, thesis or manuscript as a Word file with citations, equations and journal-style layout.
Similar skills
feishu-doc
394kHelps your agent read, create, and edit Feishu cloud documents, including text, images, and tables, using the document tool.
feishu-drive
394kLets your agent browse, organize, and comment on files in a Feishu cloud folder that has been shared with the bot.
feishu-perm
394kHelps your agent check and change who can access a Feishu file, choosing the smallest permission that meets your request.