powerbi

powerbi is a skill for Claude Code, Codex from jokull/icelandic-data. It costs 0 tokens per session (1,694 once invoked), scanned A, original, MIT.

A reusable guide and code library for reading public Power BI dashboards, which are interactive reports embedded in websites. It explains how to obtain their public report details and replay their data queries.

In plain words
What is it for?
Use it to build connectors for public Power BI reports, retrieve dashboard data, change filters such as years or slicers, and decode the returned results.
Why use it?
Many Icelandic public bodies publish data only through dashboards, making ordinary web requests insufficient.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to build connectors for public Power BI reports, retrieve dashboard data, change filters such as years or slicers, and decode the returned results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jokull/icelandic-data/powerbi
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 jokull/icelandic-data --skill powerbi
Clone the repo
git clone --depth 1 https://github.com/jokull/icelandic-data

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 powerbi

README.md
[![agentmods](https://agentmods.dev/badge/skills/jokull/icelandic-data/powerbi/github.svg)](https://agentmods.dev/skills/jokull/icelandic-data/powerbi)
Your own site
<a href="https://agentmods.dev/skills/jokull/icelandic-data/powerbi"><img src="https://agentmods.dev/badge/skills/jokull/icelandic-data/powerbi/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 powerbi

Your own site · 80×15
<a href="https://agentmods.dev/skills/jokull/icelandic-data/powerbi"><img src="https://agentmods.dev/badge/skills/jokull/icelandic-data/powerbi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,694 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00000 $0.01694
Opus 5.5 $0.00000 $0.00678
Sonnet 5.5 $0.00000 $0.00339
Haiku 4.5 $0.00000 $0.00169

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

Security

Grade A, and why

powerbi 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.

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.

.agents/skills/powerbi/SKILL.md · 115 lines

How it starts

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

Power BI dashboard reverse-engineering

Requires: Tier 2 (browser) — token capture needs Chromium; query replay afterwards is core.

Icelandic public bodies publish a lot of data only as embedded Power BI dashboards (https://app.powerbi.com/view?r=<token>, often inside an <iframe> on the agency's site). They all speak one protocol, so scripts/powerbi.py factors out the generalizable parts. A per-source script supplies only the SPA URL, which section to open, and the slicer/column names.

Sources in this repo that are Power BI underneath: samgongustofa (fully migrated — the reference implementation), plus landlaeknir, vernd, farsaeld_barna, ferdamalastofa, vinnumalastofnun, maelabord_nautgripa, sedlabanki_rates. The last group still only captures whatever fires on page load; migrate them to powerbi.py when they need parameterized queries (change a slicer, pull another year).

The protocol (what's identical everywhere)

  1. Embed token — ?r=<base64({"k":resourceKey,"t":tenant,"c":cluster})>. pb.embed_url(key, tenant) builds it; pb.key_of(url) / pb.token_of(url) decode it. Keys rotate — never hardcode; read them live.
  2. Query endpoint — https://wabi-<region>-<x>-api.analysis.windows.net/ public/reports/querydata?synchronous=true, header x-powerbi-resourcekey: <key>, no bearer for public reports.
  3. Auth reality — the anonymous grant is session-, origin- and rate-bound. A cold httpx client works for a few requests then 401s (PowerBINotAuthorizedException; the API even exposes retry-after), and a POST from any origin other than the app.powerbi.com iframe is rejected. So the robust move is to replay queries with fetch() inside the iframe.
  4. Request body — a SemanticQueryDataShapeCommand. Capture the report's own request as a template and rewrite its Where; the body must keep its top-level modelId/version/cancelQueries or you get 400 "ModelId must be between 1 and 9.2e18".
  5. Response — a DSR (DataShapeResult): a compressed columnar format with ValueDicts (int→string), an R repeat-bitmask (carry the previous row's value) and a Ø null-bitmask. Decompress it or you silently undercount — the naive row["C"][0], row["C"][1] reader drops every compressed row.

Read the full file on GitHub · 115 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. 1mo ago Changed bca3b40605a1
  2. 2mo ago Changed · +2 lines b4727b3e6cb4
  3. 3mo ago First seen · 113 lines · 0 tokens per session scan A 8604c05892c0

Subscribe to this mod's changes

powerbi is a skill published in the GitHub repository jokull/icelandic-data (57 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,694 tokens. 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-30.

Related

powerbi compared with skills from other repositories

powerbi next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
powerbijokull/icelandic-dataSkill57yesterdayMITA0Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code