Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

pbi-report-layer-pbir

Skill by luccapinto

Edits the Power BI report layer as code, including pages, visuals, filters, bookmarks and themes in PBIR files. It is for analysts and developers who build or fix Power BI reports in a PBIP project.

  • Score 48
  • 7 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install pbi-report-layer-pbir

Built from the published package, never by AI.

git clone --depth 1 https://github.com/luccapinto/agentic-data-kit /tmp/agentic-data-kit && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-data-kit/.claude/skills/pbi-report-layer-pbir ~/.claude/skills/pbi-report-layer-pbir

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install pbi-report-layer-pbir in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill lets an AI assistant change the report layer of a Power BI project stored as PBIR files. The report layer covers pages, visuals, filters, bookmarks and themes, with one JSON file per page and per visual. The skill works with Power BI Desktop open, using an edit, validate, save, status, reload, screenshot and review loop through the Desktop Bridge and the powerbi-report-author CLI. It also describes a path for when Desktop is closed.

The skill gives the assistant rules to follow. It asks the user to save in Desktop before a reload, and it warns that a reload discards unsaved changes. Model objects such as measures and relationships are not edited here and go through the Modeling MCP instead. The source is written for Power BI developers and report authors.

Written from the project's SKILL.md and checked against it.

What it can do

  • Read pages and visualsLists report pages and visuals with their file paths using preview-pages and preview-visuals.
  • Look up visual rolesGives exact role names and formatting property names for a visual type before editing.
  • Validate PBIR filesRuns validate_pbir.py, or a structural check when the CLI is missing.
  • Check save stateReads whether Desktop has unsaved changes before a reload.
  • Reload the reportReloads the report in an open Power BI Desktop window from disk.
  • Screenshot pagesTakes screenshots of one page or all pages from the rendered report.
  • Review with a visual reviewerPasses screenshots and the request to the pbi-visual-reviewer agent for an independent check.
  • Edit custom themesCreates and registers custom theme JSON files and renames them on each edit to avoid caching.
  • Edit with Desktop closedDescribes editing the PBIR files with Desktop closed, for CI or machines without the Bridge.

What you need

  • Power BI Desktop
  • Node.js 20 or later
  • @microsoft/powerbi-report-authoring-cli installed with npm
  • Python 3 for the validate_pbir.py script
  • Windows for the Desktop Bridge path

Try asking

  • Add a clustered column chart of total sales by category to page two.
  • Align the card visuals on the overview page to a grid of 8 pixels.
  • Update the custom brand theme and screenshot every page for review.

Good to know

  • Measures, columns and relationships are not edited here; they go through the Modeling MCP.
  • Reload does not re-read model files and does not refresh data.
  • PBIR-Legacy reports cannot be edited this way; the user must save them in PBIR format first.
  • Screenshots are not available on the Desktop-closed path.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/pbi-report-layer-pbir/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to pbi-report-layer-pbir

All alternatives →
kaggle-cliKaggle
94

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.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

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.

AAA Skill 25k
data-loadingmicrosoft
94

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.

AAA Skill 18k
data-manager-api-setupgoogle
94

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.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

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.

AAA Skill 25k
data-feedsdavila7
94

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.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

pbi-report-layer-pbir: common questions

Does Power BI Desktop need to be open to use this skill?

No. With Desktop open, the skill uses the Desktop Bridge to reload and screenshot. With Desktop closed, it edits the PBIR files directly and the user checks the result in Desktop.

Can this skill change measures or the data model?

Not directly. The source says model objects are edited through the Modeling MCP with the pbi-semantic-layer-tmdl skill, and the measure should be created before the visual is bound to it.

What should I do if a Desktop save removes the schema line from the .pbip file?

The source says validation then fails with PBIR_JSON_FILE_NO_SCHEMA. Put the removed $schema line back as the first key, copied from git history, and change nothing else.

How do I install pbi-report-layer-pbir?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is pbi-report-layer-pbir free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is pbi-report-layer-pbir safe to use?

It scores 48 of 100. Grades: maintenance B, licence A, quality C. 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 pbi-report-layer-pbir?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

pbi-report-layer-pbir Install

Add to stack

Loading.