shadow-perception-powerbi

shadow-perception-powerbi is a skill for Claude Code, Codex from alex-jb/shadow-perception-mcp. It costs 108 tokens per session (804 once invoked), scanned A, original, MIT.

A pre-publish checker for Power BI semantic models, which define data, measures, and access rules. It reviews .bim, .tmdl, and .dax files and returns SHIP, REWORK, or BLOCK.

In plain words
What is it for?
Use it to check divisions that may fail, row-level security rules, duplicate measures, personal-data references, and certain slow DAX patterns.
Why use it?
It helps catch data-quality, access-control, privacy, naming, and performance problems before a model is published to Power BI Service.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to check divisions that may fail, row-level security rules, duplicate measures, personal-data references, and certain slow DAX patterns.

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

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 shadow-perception-powerbi

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alex-jb/shadow-perception-mcp/shadow-perception-powerbi"><img src="https://agentmods.dev/badge/skills/alex-jb/shadow-perception-mcp/shadow-perception-powerbi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 804 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.
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.00108 $0.00804
Opus 5.5 $0.00043 $0.00322
Sonnet 5.5 $0.00022 $0.00161
Haiku 4.5 $0.00011 $0.00080

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

Security

Grade A, and why

shadow-perception-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 3mo 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.

skills/shadow-perception-powerbi/SKILL.md · 71 lines

How it starts

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

Shadow Perception — Power BI vertical

Five-voice deterministic pre-publish council for Power BI semantic models. Deterministic — no LLM call in the verdict path.

When to use

The user's request is any variant of:

  • "Is this DAX safe to publish?"
  • "Any governance issues with this .bim?"
  • "Did I introduce a divide-by-zero?"
  • "Is USERPRINCIPALNAME() actually inside an RLS role?"
  • "Any duplicate measures?"

Or the user points at a .bim / .tmdl / .dax file and asks for feedback before publish to Power BI Service.

What it does

  1. shadow_perception_scan(file_path) — parses .bim (Tabular Model JSON), .tmdl (Tabular Model Definition Language), or .dax (raw DAX). Extracts measures, RLS roles, DAX signals (DQ01 bare division / DQ02 BLANK without COALESCE / GOV01 USERPRINCIPALNAME / PERF01 nested CALCULATE / PERF02 EARLIER), and duplicate measure names.
  2. shadow_perception_council(observation) — 5-voice council:
    • Data Quality — DQ01 / DQ02 (divide-by-zero, null propagation)
    • Governance — GOV01 (USERPRINCIPALNAME without RLS role = bypassable)
    • Semantics — duplicate measure names, empty model
    • Compliance — PII column references (email / phone / SSN / DOB / address / passport)
    • Ops — PERF01 (nested CALCULATE ≥ 4) / PERF02 (EARLIER pattern)
  3. shadow_perception_attest(observation, verdict) — Ed25519 signs.

Non-goals

  • Not a full DAX linter. Style / naming / SUMX vs SUM out of scope. DAX Studio + Tabular Editor own those.
  • Not a query optimizer. Rough performance smells only; use DAX Studio for real timings.
  • Not a security auditor. RLS role definitions are advisory-flagged, not enforced.

Companion product

Same Ed25519 attestation primitive as alex-jb/shadow-mentor.

Reference

Read the full file on GitHub · 71 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. 3mo ago First seen · 71 lines · 108 tokens per session scan A 5b32ebd46b99

Subscribe to this mod's changes

shadow-perception-powerbi is a skill published in the GitHub repository alex-jb/shadow-perception-mcp (0 stars, last pushed 4mo ago), licensed MIT. It adds 108 tokens to every session and 804 once invoked, about $0.0004 per session on Opus 5.5. 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-31.

Related

shadow-perception-powerbi compared with skills from other repositories

shadow-perception-powerbi next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
shadow-perception-powerbialex-jb/shadow-perception-mcpSkill04mo agoMITA108Claude Code, Codex
powerbi-expertpersonamanagmentlayer/pclSkill461mo agoApache-2.0A73Claude Code
agent-passport-systemaeoess/agent-passport-systemSkill462mo agoApache-2.0A338Claude Code, Codex
core-skillaeoess/agent-passport-systemSkill462mo agoApache-2.0A133Claude Code, Codex
agent-upgradeaeoess/agent-passport-systemSkill462mo agoApache-2.0A170Claude Code, Codex
model-citizenaeoess/agent-passport-systemSkill462mo agoApache-2.0A77Claude Code, Codex
mcp-engine-dax-performancemaxanatsko/mcp-engine-publicSkill25711d agononeA101Codex