# refresh-semantic-model

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.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 1104 repo stars
- Author: Kurt Buhler
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/data-goblin/power-bi-agentic-development/tree/HEAD/plugins/semantic-models/skills/refresh-semantic-model/SKILL.md
- Updated: 2026-10-28
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/refresh-semantic-model

## What it 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.

## Requirements
- Works with: Power BI

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add data-goblin/power-bi-agentic-development
```
In the agent chat (not a shell):
```text
/plugin install semantic-models@power-bi-agentic-development
```
This installs the whole semantic-models plugin with all its skills

2. **Skills CLI (Vercel)**
```bash
npx skills add data-goblin/power-bi-agentic-development --skill refresh-semantic-model -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/refresh-semantic-model/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/refresh-semantic-model/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add data-goblin/power-bi-agentic-development --skill refresh-semantic-model -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/refresh-semantic-model/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add data-goblin/power-bi-agentic-development --skill refresh-semantic-model -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/refresh-semantic-model/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install data-goblin/power-bi-agentic-development plugins/semantic-models/skills/refresh-semantic-model
```

2. **Manually: put the files in place**
- File: `.github/skills/refresh-semantic-model/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add data-goblin/power-bi-agentic-development --skill refresh-semantic-model -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/data-goblin/power-bi-agentic-development --path plugins/semantic-models/skills/refresh-semantic-model
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/refresh-semantic-model/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/data-goblin/power-bi-agentic-development/tree/HEAD/plugins/semantic-models/skills/refresh-semantic-model/SKILL.md

## When to use it
- 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
- Refresh the Power BI semantic model and compare the data before and after.
- Refresh the `FactSales` table and check the operation status.
- Investigate why the model's maximum date stayed the same after refresh.

## Similar
- [powerbi-modeling](https://affpapa.org/en/nevibecode/skills/powerbi-modeling.md) — skill · 9934 installs
- [power-bi-model-design-review](https://affpapa.org/en/nevibecode/skills/power-bi-model-design-review.md) — skill · 9000 installs
- [microsoft-fabric-unified-analytics](https://affpapa.org/en/nevibecode/skills/microsoft-fabric-unified-analytics.md) — skill · 282 installs
- [azure-mgmt-fabric-py](https://affpapa.org/en/nevibecode/skills/azure-mgmt-fabric-py.md) — skill · ★ 3232 repo stars
- [power-bi-salespulse-360-dashboard](https://affpapa.org/en/nevibecode/skills/power-bi-salespulse-360-dashboard.md) — skill · 661 installs
- [Power BI Authoring MCP Server (Local)](https://affpapa.org/en/nevibecode/mcp/power-bi-authoring-mcp-server-local.md) — MCP server · ★ 1297 repo stars

From the same set: [data-goblin/power-bi-agentic-development](https://affpapa.org/en/nevibecode/by/data-goblin/power-bi-agentic-development.md) — 59 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
