pbi-report-layer-pbir

pbi-report-layer-pbir is a skill for Claude Code, Codex from luccapinto/agentic-data-kit. It costs 42 tokens per session (665 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.

Good fit Use it to inspect or modify Power BI report pages, visuals, bookmarks…

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 665 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.00042 $0.00665
Opus 5 $0.00021 $0.00332
Sonnet 5 $0.00008 $0.00133
Haiku 4.5 $0.00004 $0.00067

Measured 6d ago against content hash 0ce2bcd4b37b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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.

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

How it starts

The opening of the file, as written. The whole thing — 63 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 (.Report/) is PBIR — report metadata decomposed into per-page and per-visual JSON files, each with a public JSON schema. PBIR is becoming the default report format (rolling out across Service and Desktop through 2026), and it is explicitly designed to be edited by tools other than Power BI.

Hard precondition

Power BI Desktop must be CLOSED while editing these .json files — live edits corrupt or get overwritten by autosave.

.Report structure (PBIR)

<Project>.Report/
  definition.pbir                        ← pointer (model binding)
  definition/
    report.json                          ← master metadata incl. themeCollection
    pages/
      <pageId>/
        page.json                        ← canvas size, background, displayName
        visuals/<visualId>/visual.json   ← one visual per file
  StaticResources/
    RegisteredResources/<id>/<id>.json   ← custom themes (create new themes here)
    SharedResources/BaseThemes/          ← Microsoft base themes — NEVER edit
  • Pages: scan definition/pages/; read each page.json displayName (the user-facing name).
  • Visuals: files sit under GUID folders. To find "the bar chart", grep visual.json for "visualType": "barChart".

Visual anatomy (visual.json)

{
  "name": "<new GUID if creating>",
  "position": { "x": 10, "y": 20, "width": 400, "height": 300, "tabOrder": 1 },
  "visual": {
    "visualType": "barChart",
    "query": { "queryState": { "Category": { "projections": [] }, "Y": { "projections": [] } } }
  }
}

Positioning is a pixel grid (x=0, y=0 top-left). Generate fresh GUIDs for any new component ([System.Guid]::NewGuid() on Windows, or any UUID generator).

Themes

  1. Create the theme JSON under StaticResources/RegisteredResources/<guid>/<guid>.json.
  2. Register that <guid> in report.json's themeCollection.
  3. Define ≥ 8 dataColors. To standardize fonts globally, use the wildcard visualStyles:
    "visualStyles": { "*": { "*": { "fontSize": [{ "value": 11 }], "fontFamily": [{ "value": "Segoe UI" }] } } }
    

Read the full file on GitHub · 63 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. 6d 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 42 tokens to every session and 665 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

rework-rate

Measure and interpret PR rework rate — the emerging 5th DORA metric.

bradygaster/squad · 20 tokens

spec-kitty-charter-doctrine

Run charter interview, generation, context, and sync workflows for project governance in Spec Kitty 3.x. Access doctrine artifacts programmatically via DoctrineService. Resolve agent profiles. Load action-scoped governance context iteratively, not all at once. Triggers: "interview for charter", "generate charter"…

Priivacy-ai/spec-kitty · 135 tokens

managing-astro-local-env

Manage local Airflow environment with Astro CLI (Docker and standalone modes). Use when the user wants to start, stop, or restart Airflow, view logs, query the Airflow API, troubleshoot, or fix environment issues. For project setup, see setting-up-astro-project.

astronomer/agents · 63 tokens

checking-freshness

Quick data freshness check. Use when the user asks if data is up to date, when a table was last updated, if data is stale, or needs to verify data currency before using it.

astronomer/agents · 44 tokens

110-java-maven-best-practices

Use when you need to review, improve, or troubleshoot a Maven pom.xml file — including dependency management with BOMs, plugin configuration, version centralization, multi-module project structure, build profiles, or any situation where you want to align your Maven setup with industry best practices. This should…

jabrena/plinth · 115 tokens

128-java-generics

Use when you need to review, improve, or refactor Java code for generics quality — including avoiding raw types, applying the PECS (Producer Extends Consumer Super) principle for wildcards, using bounded type parameters, designing effective generic methods, leveraging the diamond operator, understanding type erasure…

jabrena/plinth · 147 tokens