/power-bi-pages
Manage Power BI report pages and bookmarks -- add, remove, configure, and lay out pages in PBIR reports using pbi-cli. Invoke this skill whenever the user mentions "add page", "new page", "delete page", "page layout", "page size", "page background", "hide page", "show page",
$ npx -y skills add MinaSaad1/pbi-cli --skill power-bi-pages --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/power-bi-pages
Context preview
The summary Claude sees to decide when to auto-load this skill.
Manage Power BI report pages and bookmarks -- add, remove, configure, and lay out pages in PBIR reports using pbi-cli. Invoke this skill whenever the user mentions "add page", "new page", "delete page", "page layout", "page size", "page background", "hide page", "show page",
SKILL.md
power-bi-pages.SKILL.mdname: Power BI Pages
description: >
Manage Power BI report pages and bookmarks -- add, remove, configure, and lay
out pages in PBIR reports using pbi-cli. Invoke this skill whenever the user
mentions "add page", "new page", "delete page", "page layout", "page size",
"page background", "hide page", "show page", "drillthrough", "page order",
"page visibility", "page settings", "page navigation", "bookmark", "create
bookmark", "save bookmark", "delete bookmark", or wants to manage bookmarks
that capture page-level state. Also invoke when the user asks about drillthrough
configuration or pageBinding.
tools: pbi-cli
Power BI Pages Skill
Manage pages in PBIR reports. Pages are folders inside `definition/pages/` containing a `page.json` file and a `visuals/` directory. No Power BI Desktop connection is needed.
Listing and Inspecting Pages
# List all pages with display names, order, and visibility
pbi report list-pages
# Get full details of a specific page
pbi report get-page page_abc123
`get-page` returns:
- `name`, `display_name`, `ordinal` (sort order)
- `width`, `height` (canvas size in pixels)
- `display_option` (e.g. `"FitToPage"`)
- `visual_count` -- how many visuals on the page
- `is_hidden` -- whether the page is hidden in the navigation pane
- `page_type` -- `"Default"` or `"Drillthrough"`
- `filter_config` -- page-level filter configuration (if any)
- `visual_interactions` -- custom visual interaction rules (if any)
- `page_binding` -- drillthrough parameter definition (if drillthrough page)
Adding Pages
# Add with display name (folder name auto-generated)
pbi report add-page --display-name "Executive Overview"
# Custom folder name and canvas size
pbi report add-page --display-name "Details" --name detail_page \
--width 1920 --height 1080Default canvas size is 1280x720 (standard 16:9). Common alternatives:
- 1920x1080 -- Full HD
- 1280x960 -- 4:3
- Custom dimensions for mobile or dashboard layouts
Deleting Pages
# Delete a page and all its visuals
pbi report delete-page page_abc123
This removes the entire page folder including all visual subdirectories.
Page Background
# Set a solid background colour
pbi report set-background page_abc123 --color "#F5F5F5"
Page Visibility
Control whether a page appears in the report navigation pane:
# Hide a page (useful for drillthrough or tooltip pages)
pbi report set-visibility page_abc123 --hidden
# Show a hidden page
pbi report set-visibility page_abc123 --visible
Bookmarks
Bookmarks capture page-level state (filters, visibility, scroll position). They live in `definition/bookmarks/`:
# List all bookmarks in the report
pbi bookmarks list
# Get details of a specific bookmark
pbi bookmarks get "My Bookmark"
# Add a new bookmark
pbi bookmarks add "Executive View"
# Delete a bookmark
pbi bookmarks delete "Old Bookmark"
# Toggle bookmark visibility
pbi bookmarks set-visibility "Draft View" --hidden
Drillthrough Pages
Drillthrough pages have a `pageBinding` field in `page.json` that defines the drillthrough parameter. When you call `get-page` on a drillthrough page, the `page_binding` field returns the full binding definition including parameter name, bound filter, and field expression. Regular pages return `null`.
To create a drillthrough page, add a page and then configure it as drillthrough in Power BI Desktop (PBIR drillthrough configuration is not yet supported via CLI -- the CLI can read and report on drillthrough configuration).
Workflow: Set Up Report Pages
# 1. Add pages in order
pbi report add-page --display-name "Overview" --name overview
pbi report add-page --display-name "Sales Detail" --name sales_detail
pbi report add-page --display-name "Regional Drillthrough" --name region_drill
# 2. Hide the drillthrough page from navigation
pbi report set-visibility region_drill --hidden
# 3. Set backgrounds
pbi report set-background overview --color "#FAFAFA"
# 4. Verify the setup
pbi report list-pages
Path Resolution
Page commands inherit the report path from the parent `pbi report` group:
1. Explicit: `pbi report --path ./MyReport.Report list-pages` 2. Auto-detect: walks up from CWD looking for `*.Report/definition/` 3. From `.pbip`: finds sibling `.Report` folder from `.pbip` file
Suppressing Auto-Sync (--no-sync)
By default, every write command automatically syncs Power BI Desktop. When setting up multiple pages in sequence, Desktop reloads after each one.
Use `--no-sync` on the `report` command group to batch all page changes, then call `pbi report reload` once at the end:
# Suppress sync while setting up pages
pbi report --no-sync add-page --display-name "Overview" --name overview
pbi report --no-sync add-page --display-name "Details" --name details
pbi report --no-sync set-background overview --color "#F2F2F2"
pbi report --no-sync set-background details --color "#F2F2F2"
# Single reload when all page setup is done
pbi report reload
JSON Output
pbi --json report list-pages
pbi --json report get-page page_abc123
pbi --json bookmarks list
Read more
name: Power BI Pages description: > Manage Power BI report pages and bookmarks -- add, remove, configure, and lay out pages in PBIR reports using pbi-cli. Invoke this skill whenever the user mentions "add page", "new page", "delete page", "page layout", "page size", "page background", "hide page", "show page", "drillthrough", "page order", "page visibility", "page settings", "page navigation", "bookmark", "create bookmark", "save bookmark", "delete bookmark", or wants to manage bookmarks that capture page-level state. Also invoke when the user asks about drillthrough configuration or pageBinding. tools: pbi-cli
Power BI Pages Skill
Manage pages in PBIR reports. Pages are folders inside `definition/pages/` containing a `page.json` file and a `visuals/` directory. No Power BI Desktop connection is needed.
Listing and Inspecting Pages
# List all pages with display names, order, and visibility pbi report list-pages # Get full details of a specific page pbi report get-page page_abc123
`get-page` returns:
- `name`, `display_name`, `ordinal` (sort order)
- `width`, `height` (canvas size in pixels)
- `display_option` (e.g. `"FitToPage"`)
- `visual_count` -- how many visuals on the page
- `is_hidden` -- whether the page is hidden in the navigation pane
- `page_type` -- `"Default"` or `"Drillthrough"`
- `filter_config` -- page-level filter configuration (if any)
- `visual_interactions` -- custom visual interaction rules (if any)
- `page_binding` -- drillthrough parameter definition (if drillthrough page)
Adding Pages
# Add with display name (folder name auto-generated)
pbi report add-page --display-name "Executive Overview"
# Custom folder name and canvas size
pbi report add-page --display-name "Details" --name detail_page \
--width 1920 --height 1080Default canvas size is 1280x720 (standard 16:9). Common alternatives:
- 1920x1080 -- Full HD
- 1280x960 -- 4:3
- Custom dimensions for mobile or dashboard layouts
Deleting Pages
# Delete a page and all its visuals pbi report delete-page page_abc123
This removes the entire page folder including all visual subdirectories.
Page Background
# Set a solid background colour pbi report set-background page_abc123 --color "#F5F5F5"
Page Visibility
Control whether a page appears in the report navigation pane:
# Hide a page (useful for drillthrough or tooltip pages) pbi report set-visibility page_abc123 --hidden # Show a hidden page pbi report set-visibility page_abc123 --visible
Bookmarks
Bookmarks capture page-level state (filters, visibility, scroll position). They live in `definition/bookmarks/`:
# List all bookmarks in the report pbi bookmarks list # Get details of a specific bookmark pbi bookmarks get "My Bookmark" # Add a new bookmark pbi bookmarks add "Executive View" # Delete a bookmark pbi bookmarks delete "Old Bookmark" # Toggle bookmark visibility pbi bookmarks set-visibility "Draft View" --hidden
Drillthrough Pages
Drillthrough pages have a `pageBinding` field in `page.json` that defines the drillthrough parameter. When you call `get-page` on a drillthrough page, the `page_binding` field returns the full binding definition including parameter name, bound filter, and field expression. Regular pages return `null`.
To create a drillthrough page, add a page and then configure it as drillthrough in Power BI Desktop (PBIR drillthrough configuration is not yet supported via CLI -- the CLI can read and report on drillthrough configuration).
Workflow: Set Up Report Pages
# 1. Add pages in order pbi report add-page --display-name "Overview" --name overview pbi report add-page --display-name "Sales Detail" --name sales_detail pbi report add-page --display-name "Regional Drillthrough" --name region_drill # 2. Hide the drillthrough page from navigation pbi report set-visibility region_drill --hidden # 3. Set backgrounds pbi report set-background overview --color "#FAFAFA" # 4. Verify the setup pbi report list-pages
Path Resolution
Page commands inherit the report path from the parent `pbi report` group:
1. Explicit: `pbi report --path ./MyReport.Report list-pages` 2. Auto-detect: walks up from CWD looking for `*.Report/definition/` 3. From `.pbip`: finds sibling `.Report` folder from `.pbip` file
Suppressing Auto-Sync (--no-sync)
By default, every write command automatically syncs Power BI Desktop. When setting up multiple pages in sequence, Desktop reloads after each one.
Use `--no-sync` on the `report` command group to batch all page changes, then call `pbi report reload` once at the end:
# Suppress sync while setting up pages pbi report --no-sync add-page --display-name "Overview" --name overview pbi report --no-sync add-page --display-name "Details" --name details pbi report --no-sync set-background overview --color "#F2F2F2" pbi report --no-sync set-background details --color "#F2F2F2" # Single reload when all page setup is done pbi report reload
JSON Output
pbi --json report list-pages pbi --json report get-page page_abc123 pbi --json bookmarks list
Power BI CLI - semantic models (.NET TOM) and PBIR reports for token-efficient AI agent usage, built for Claude Code
Repo: MinaSaad1/pbi-cli
Other skills on pbi-cli.
- /power-bi-custom-visuals
Vibe-code Power BI custom visuals end-to-end: scaffold a TypeScript project, iterate on src/visual.ts and capabilities.json, validate with the Power BI Visuals SDK toolchain, package to .pbiviz, and import into a PBIR report. Invoke this skill whenever the user mentions "custom
Open skill - /power-bi-dax
Write, execute, and optimize DAX queries and measures for Power BI semantic models using pbi-cli. Invoke this skill whenever the user mentions DAX, queries data in Power BI, writes calculations, creates measures, asks about EVALUATE, SUMMARIZECOLUMNS, CALCULATE, time
Open skill - /power-bi-deployment
Import and export TMDL/TMSL formats, manage model lifecycle with transactions, and version-control Power BI semantic models using pbi-cli. Invoke this skill whenever the user mentions "deploy", "export", "import", "TMDL", "TMSL", "version control", "git", "backup", "migrate",
Open skill - /power-bi-diagnostics
Troubleshoot Power BI model performance, trace query execution, manage caches, and verify the pbi-cli environment using pbi-cli. Invoke this skill whenever the user says "pbi not working", "setup issues", "connection failed", "slow query", "performance", "profiling", "tracing",
Open skill - /power-bi-docs
Auto-document Power BI semantic models by extracting metadata, generating documentation, and cataloging all model objects using pbi-cli. Invoke this skill whenever the user says "document this model", "what's in this model", "list everything", "data dictionary", "model
Open skill - /power-bi-filters
Add, remove, and manage page-level and visual-level filters on Power BI PBIR reports using pbi-cli. Invoke this skill whenever the user mentions "filter", "TopN filter", "top 10", "bottom 5", "relative date filter", "last 30 days", "categorical filter", "include values",
Open skill

