refresh-semantic-model — Claude Code skill: refresh Power BI models
The refresh-semantic-model Claude Code skill runs and monitors Power BI refreshes, then compares data before and after for a whole model or selected tables and partitions.
GPL-3.0 ★ 1,104 updated 2026-10-28
/plugin marketplace add data-goblin/power-bi-agentic-development
/plugin install semantic-models@power-bi-agentic-developmentWhat refresh-semantic-model does
The skill works with the Enhanced Refresh REST API and Fabric CLI. It can start a refresh, check its status, and help compare a before-and-after snapshot, such as row counts or a maximum date. API calls use the workspace and model GUIDs.
The included scripts/refresh_model.py accepts command-line options for tables, partitions, status checks, and polling until completion. Enhanced Refresh API use requires Premium/Fabric capacity. Cancellation through this API applies only to refreshes it started, not scheduled or portal refreshes.
What it helps with
- refresh a whole semantic model or selected tables
- target specific model partitions for refresh
- check whether a refresh has finished
- compare model data before and after a refresh
- cancel a refresh started through the Enhanced API
Example prompts for the agent
- Refresh the Power BI semantic model and compare the data before and after.
- Refresh the
FactSalestable and check the operation status. - Investigate why the model's maximum date stayed the same after refresh.
How to install refresh-semantic-model
1Plugin marketplace
/plugin marketplace add data-goblin/power-bi-agentic-development/plugin install semantic-models@power-bi-agentic-developmentThis installs the whole semantic-models plugin with all its skills
2Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill refresh-semantic-model -a claude-code3Manually: put the files in place
~/.claude/skills/refresh-semantic-model/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/refresh-semantic-model/
1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill refresh-semantic-model -a codex2Manually: put the files in place
.agents/skills/refresh-semantic-model/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill refresh-semantic-model -a cursor2Manually: put the files in place
.cursor/skills/refresh-semantic-model/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install data-goblin/power-bi-agentic-development plugins/semantic-models/skills/refresh-semantic-model2Manually: put the files in place
.github/skills/refresh-semantic-model/SKILL.md1Skills CLI (Vercel)
npx skills add data-goblin/power-bi-agentic-development --skill refresh-semantic-model -a gemini-cli2Platform CLI
gemini skills install https://github.com/data-goblin/power-bi-agentic-development --path plugins/semantic-models/skills/refresh-semantic-modelManually: put the files in place
.devin/skills/refresh-semantic-model/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about refresh-semantic-model
How do I install refresh-semantic-model in Claude Code?
Run these commands in order: /plugin marketplace add data-goblin/power-bi-agentic-development, then /plugin install semantic-models@power-bi-agentic-development.
What does refresh-semantic-model do?
It starts and monitors Power BI semantic model refreshes using the Enhanced Refresh REST API and Fabric CLI. It can also help compare model data around a refresh.
What does the Enhanced Refresh API require?
It requires Premium/Fabric capacity. Its cancellation flow works only for refreshes initiated through the Enhanced API, not scheduled or portal refreshes.