pbi-report-layer-pbir

pbi-report-layer-pbir is a skill for Claude Code, Codex from luccapinto/agentic-data-kit. It costs 94 tokens per session (2,245 once invoked), scanned A, original, MIT.

A code-based editor for Power BI report layouts. It changes pages, charts, bookmarks, and themes by editing PBIR JSON files inside a PBIP project.

In plain words
What is it for?
Use it to inspect or modify Power BI report pages, visuals, bookmarks, and custom themes in source-controlled project files.
Why use it?
It lets developers review and update report layout files without using Power BI Desktop. Desktop must be closed during edits to avoid overwrites or corruption.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to inspect or modify Power BI report pages, visuals, bookmarks, and custom themes in source-controlled project files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luccapinto/agentic-data-kit/pbi-report-layer-pbir
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add luccapinto/agentic-data-kit --skill pbi-report-layer-pbir
Clone the repo
git clone --depth 1 https://github.com/luccapinto/agentic-data-kit

Made for: Claude Code, Codex.

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 pbi-report-layer-pbir

README.md
[![agentmods](https://agentmods.dev/badge/skills/luccapinto/agentic-data-kit/pbi-report-layer-pbir/github.svg)](https://agentmods.dev/skills/luccapinto/agentic-data-kit/pbi-report-layer-pbir)
Your own site
<a href="https://agentmods.dev/skills/luccapinto/agentic-data-kit/pbi-report-layer-pbir"><img src="https://agentmods.dev/badge/skills/luccapinto/agentic-data-kit/pbi-report-layer-pbir/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 pbi-report-layer-pbir

Your own site · 80×15
<a href="https://agentmods.dev/skills/luccapinto/agentic-data-kit/pbi-report-layer-pbir"><img src="https://agentmods.dev/badge/skills/luccapinto/agentic-data-kit/pbi-report-layer-pbir.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,245 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.00094 $0.02245
Opus 5.5 $0.00038 $0.00898
Sonnet 5.5 $0.00019 $0.00449
Haiku 4.5 $0.00009 $0.00225

Measured 1mo ago against content hash 97a1697899d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pbi-report-layer-pbir 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate_pbir.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agent/skills/pbi-report-layer-pbir/SKILL.md · 135 lines

How it starts

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

Skill: pbi-report-layer-pbir

The report layer (<Name>.Report/) is PBIR: one JSON file per page and per visual, each with a public JSON schema. Power BI Desktop can stay open while you edit it: the Desktop Bridge lets a tool reload the files from disk and take screenshots of the rendered pages.

Model objects (measures, columns, relationships) are NOT edited here — they go live through the Modeling MCP (pbi-semantic-layer-tmdl). Create the measure first, then bind the visual to it.

Tools

  • powerbi-report-author — Microsoft's report CLI (npm i -g @microsoft/powerbi-report-authoring-cli, Node 20+). Validates PBIR, describes visual roles/formatting, and drives Desktop through preview --host desktop. It bundles the lower-level bridge CLI powerbi-desktop (status, reload, screenshot); always go through powerbi-report-author preview, which resolves the right Desktop window from the report folder. Details, errors and setup: references/desktop-bridge.md.
  • scripts/validate_pbir.py (in this skill's folder) — runs powerbi-report-author validate, or a structural check when the CLI is missing. It looks on PATH, in $PBIR_AUTHOR_CLI, and on Windows in %APPDATA%\npm. If the output says "structural fallback", schemas were NOT checked: say so in your report.
  • pbi-visual-reviewer agent — independent screenshot review.

The loop (Desktop open)

<folder> = the project folder or the .pbip path; <shots> = an absolute folder OUTSIDE the PBIP (e.g. %TEMP%\pbir-review\<Name>), so screenshots never land in git.

  1. Read before writing. powerbi-report-author preview-pages <folder> and preview-visuals <folder> list pages and visuals with their file paths. For a new or changed visual, powerbi-report-author catalog describe <visualType> gives the exact role names (e.g. cardVisual uses Data, clusteredColumnChart uses Category + Y); formatting describe-object <visualType> <object> gives property names. Do not guess them.
  2. Edit the PBIR JSON (anatomy below). One logical batch at a time.
  3. Validate: python3 <skill>/scripts/validate_pbir.py <folder>. Fix every error before going on; read the warnings.
  4. Save gate. Ask the user to save in Desktop (Ctrl+S) if they changed anything by hand, then check: powerbi-report-author preview <folder> --host desktop --status. Continue only when data.details.hasUnsavedChanges is exactly false.
  5. Reload: powerbi-report-author preview <folder> --host desktop --reload.
  6. Screenshot every affected page: powerbi-report-author preview <folder> --host desktop --screenshot "<shots>" --all-pages (or --screenshot "<shots>\<page>.png" --page <pageId>). A screenshot does not reload; always reload first.
  7. Review: hand the PNG paths, the user's request/spec and the .Report path — and nothing about your reasoning — to the pbi-visual-reviewer agent. In tools without subagents (Cursor, Antigravity), run its checklist in a fresh chat with only those inputs.
  8. REJECTED → fix the listed files and repeat from step 3. APPROVED → report the result and let the user save/commit.

Read the full file on GitHub · 135 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +6 lines 97a1697899d6
  2. 1mo ago Changed · +66 lines · +52 tokens per session 7692e6c69729
  3. 3mo ago First seen · 63 lines · 42 tokens per session scan A 0ce2bcd4b37b

Subscribe to this mod's changes

pbi-report-layer-pbir is a skill published in the GitHub repository luccapinto/agentic-data-kit (7 stars, last pushed 1mo ago), licensed MIT. It adds 94 tokens to every session and 2,245 once invoked, about $0.0004 per session on Opus 5.5. 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-31.

Related

pbi-report-layer-pbir compared with skills from other repositories

pbi-report-layer-pbir next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pbi-report-layer-pbirluccapinto/agentic-data-kitSkill71mo agoMITA94Claude Code, Codex
spec-kitty-charter-doctrinePriivacy-ai/spec-kittySkill1.7k14d agoMITA135Claude Code, Codex
checking-freshnessastronomer/agentsSkill4664d agoApache-2.0A44Claude Code
322-frameworks-spring-boot-testing-integration-testsjabrena/plinthSkill4703d agoApache-2.0A123Claude Code, Codex
422-frameworks-quarkus-testing-integration-testsjabrena/plinthSkill4703d agoApache-2.0A190Claude Code, Codex
314-frameworks-spring-kafkajabrena/plinthSkill4703d agoApache-2.0A112Claude Code, Codex
al-memory-createjaviarmesto/ALDC-AL-Development-CollectionSkill1163d agoMITA40Claude Code