Power BI Themes
Skill by MinaSaad1
Applies, inspects and compares Power BI report themes and per-visual conditional formatting rules using pbi-cli. Aimed at people who want to brand a report or change its look and feel.
Install Power BI Themes
Built from the published package, never by AI.
git clone --depth 1 https://github.com/MinaSaad1/pbi-cli /tmp/pbi-cli && mkdir -p ~/.claude/skills && cp -r /tmp/pbi-cli/src/pbi_cli/skills/power-bi-themes ~/.claude/skills/power-bi-themesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/MinaSaad1/pbi-cli /tmp/pbi-cli && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/pbi-cli/src/pbi_cli/skills/power-bi-themes ~/.gemini/antigravity-cli/skills/power-bi-themesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill manages report-wide themes and per-visual conditional formatting for Power BI reports through the pbi-cli tool. It can apply a theme JSON file to a report, read the current theme, and compare a proposed theme against the current one to list added, removed and changed keys. It can also set gradient, rule-based or measure-driven background colours on a visual, and inspect or clear its formatting rules.
The skill works on report files and does not need a Power BI Desktop connection. Themes take effect when the report is opened in Power BI Desktop, and the skill advises opening it once to confirm it loads before committing a theme. It also lists theme properties that are not in Power BI's schema and should be avoided. It is aimed at people who want to brand a report or change its look and feel.
Written from the project's SKILL.md and checked against it.
What it can do
- pbi report set-themeApplies a theme JSON file to the report and updates report.json to reference it.
- pbi report get-themeReturns the base theme name, the custom theme name and the full custom theme JSON.
- pbi report diff-themeCompares a proposed theme with the current one and lists added, removed and changed keys.
- pbi format background-gradientSets a colour scale background on a visual from a column's minimum to maximum value.
- pbi format background-conditionalSets a background colour on a visual when a column matches a specific value.
- pbi format background-measureSets a visual background colour from a DAX measure that returns a colour.
- pbi format getShows the current formatting rules on a visual.
- pbi format clearRemoves all formatting rules from a visual.
What you need
- pbi-cli tool
- Power BI Desktop to open the report and see the applied theme
Try asking
- Apply my corporate-theme.json to this Power BI report and confirm it saved.
- Compare proposed-theme.json with the current theme and list what changes.
- Add a red background to the Status column on the Sales visual when the value is Critical.
Good to know
- Themes take effect only when the report is opened in Power BI Desktop.
- Theme files with properties outside Power BI's theme schema can make Desktop fail to load the report.
- No Power BI Desktop connection is needed for these commands.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src/pbi_cli/skills/power-bi-themes/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to Power BI Themes
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
Power BI Themes: common questions
Does this skill need a live Power BI Desktop connection?
No. The source states that no Power BI Desktop connection is needed. The theme takes effect when the report is opened in Desktop.
How can I check a theme change before applying it?
Run pbi report diff-theme with the proposed file. It lists added, removed and changed keys so you can catch unintended colour changes.
Can it add conditional formatting to a visual?
Yes. It can set gradient, rule-based and measure-driven background colours on a visual, and clear all formatting rules on it.
How do I install Power BI Themes?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is Power BI Themes free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Power BI Themes safe to use?
It scores 74 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Power BI Themes?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
