powerbi
Skill by jokull
Reverse-engineers public Power BI dashboards by reading embed tokens and replaying data queries from inside the dashboard iframe. Aimed at developers pulling published data from Icelandic public bodies' embedded reports.
Install powerbi
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jokull/icelandic-data /tmp/icelandic-data && mkdir -p ~/.claude/skills && cp -r /tmp/icelandic-data/.agents/skills/powerbi ~/.claude/skills/powerbiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jokull/icelandic-data /tmp/icelandic-data && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/icelandic-data/.agents/skills/powerbi ~/.gemini/antigravity-cli/skills/powerbiAntigravity 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
The powerbi skill gives an assistant helper functions for reading public Power BI dashboards at app.powerbi.com/view. The scripts/powerbi.py module covers the shared parts: building and decoding embed tokens, capturing a report's query requests, replaying queries and decompressing DSR responses. A per-source script only supplies the page URL, the section to open, and the slicer and column names.
The source says the anonymous grant is session, origin and rate bound, so queries are replayed with fetch() inside the iframe, paced about two seconds apart. It is aimed at developers working with embedded dashboards from Icelandic public bodies, with Samgöngustofa as the reference implementation in the repository.
Written from the project's SKILL.md and checked against it.
What it can do
- embed_url / key_of / token_ofBuilds and decodes the ?r= embed token and its resource key.
- discoverOpens a dashboard and returns the active iframe, resource key and query templates.
- replayPOSTs a query inside the iframe and retries transient 401 and 429 responses.
- where_in / where_dropAdds, replaces or removes In filters on a cloned query body.
- group_countsDecodes a dimension and measure visual into label-value counts.
- parse_dsrReturns every decoded data row for multi-measure or time-series visuals.
- capture_requestsCollects the querydata requests a dashboard fires on page load.
What you need
- Chromium browser (Tier 2 browser support)
- Python
- Playwright
- Icelandic IP address for the Samgöngustofa host
Try asking
- Discover the visuals and slicer columns on this Power BI dashboard
- Replay a filtered Power BI query for 2026 and count rows by group
- Decode a Power BI DSR response so compressed rows are not dropped
Good to know
- The anonymous grant is session, origin and rate bound, so cold clients get 401 errors.
- Embed resource keys rotate and must be read live, not hardcoded.
- Replays should be paced about 2 seconds apart.
- The Samgöngustofa host only answers Icelandic IP addresses.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/powerbi/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to powerbi
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
powerbi: common questions
How do I read data from a public Power BI dashboard?
The skill uses discover to find the iframe, key and query templates, then replay to run queries inside the iframe. Results are decoded with group_counts or parse_dsr.
Why are my counts lower than expected?
The source says a naive reader drops compressed DSR rows. The response must be decompressed before counting.
Why does a plain httpx client get 401 errors?
The source says the anonymous grant is session, origin and rate bound, so a cold client works only for a few requests. Replaying with fetch() inside the iframe is the recommended approach.
How do I install powerbi?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is powerbi free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is powerbi safe to use?
It scores 52 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 powerbi?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
