pbir-filters

pbir-filters is a skill for Claude Code from wardawgmalvicious/agent-config. It costs 191 tokens per session (3,628 once invoked), scanned A, original, MIT.

Guidelines for defining filters in PBIR, the JSON file format used by Power BI reports.

In plain words
What is it for?
Editing report, page, and visual filters, including category lists, comparisons, Top N results, rolling dates or times, and multi-column filters.
Why use it?
They help place filters in the correct report, page, or visual location and use the right structure for each filter type.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Editing report, page, and visual filters, including category lists, comparisons, Top N results, rolling dates or times, and multi-column filters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wardawgmalvicious/agent-config/pbir-filters
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 wardawgmalvicious/agent-config --skill pbir-filters
Clone the repo
git clone --depth 1 https://github.com/wardawgmalvicious/agent-config

Made for: Claude Code.

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 pbir-filters

README.md
[![agentmods](https://agentmods.dev/badge/skills/wardawgmalvicious/agent-config/pbir-filters/github.svg)](https://agentmods.dev/skills/wardawgmalvicious/agent-config/pbir-filters)
Your own site
<a href="https://agentmods.dev/skills/wardawgmalvicious/agent-config/pbir-filters"><img src="https://agentmods.dev/badge/skills/wardawgmalvicious/agent-config/pbir-filters/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 pbir-filters

Your own site · 80×15
<a href="https://agentmods.dev/skills/wardawgmalvicious/agent-config/pbir-filters"><img src="https://agentmods.dev/badge/skills/wardawgmalvicious/agent-config/pbir-filters.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 191 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,628 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.00191 $0.03628
Opus 5 $0.00096 $0.01814
Sonnet 5 $0.00038 $0.00726
Haiku 4.5 $0.00019 $0.00363

Measured yesterday against content hash 13f972156d30, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

pbir-filters 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 yesterday.

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/powerbi/pbir-filters/SKILL.md · 313 lines

How it starts

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

PBIR Filters Reference

Filter Scopes

Scope Location Applies To
Report report.jsonfilterConfig.filters[] All pages and visuals
Page page.jsonfilterConfig.filters[] All visuals on the page
Visual visual.jsonfilterConfig.filters[] That visual only (sibling of visual, not nested)

Filter Types

type Description Use Case
Categorical In / NotIn list Year, category, brand (most common)
Advanced Comparison on measures or columns Measure > threshold, ranges
TopN Top/bottom N by measure Top 10 customers
VisualTopN Visual-level TopN Auto-applied by some visuals
RelativeDate Rolling date window Last N days/months/years
RelativeTime Rolling time window Last N hours/minutes
Tuple Multi-column composite Rare

Filter Object Properties

Property Type Notes
name string 20-char hex unique ID
displayName string Optional pane label
field object Column or Measure reference (query projection syntax)
type string See table above
filter object Where clause — optional when no defaults
isHiddenInViewMode boolean Hide from pane in reading view
isLockedInViewMode boolean Visible but not editable
howCreated string "User" for user-created
ordinal integer Display order (optional)
objects object requireSingleSelect, isInvertedSelectionMode

filter Body Shape

"filter": {
  "Version": 2,
  "From": [{"Name": "e", "Entity": "Exchange Rate", "Type": 0}],
  "Where": [{"Condition": {...}}]
}

Where clause rules:

  • From[] defines aliases
  • Conditions reference alias via "SourceRef": {"Source": "e"} — NOT Entity
  • String values: inner single quotes, doubled for escape: "'O''Brien'"
  • Integer values: L suffix ("2022L"); datetimes: "datetime'2024-01-01T00:00:00.0000000'"
  • Each value is wrapped in its own array: [[{val1}], [{val2}]]

Read the full file on GitHub · 313 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday Changed 13f972156d30
  2. 6d ago Changed · +1 lines · -27 tokens per session be77c0faa8f9
  3. 7d ago Changed · +3 lines 70ed7da35870
  4. 11d ago First seen · 309 lines · 218 tokens per session scan A 3ec4e177eeb4

Subscribe to this mod's changes

pbir-filters is a skill published in the GitHub repository wardawgmalvicious/agent-config (0 stars, last pushed today), licensed MIT. It adds 191 tokens to every session and 3,628 once invoked, about $0.0010 per session on Opus 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

Other skills, from other repositories

drawio

WORKFLOW SKILL — Generate Azure architecture diagrams in .drawio via simonkurtz-MSFT MCP server (full Azure icon set, batch creation, transactional mode). Covers architecture, dependency, runtime-flow, and as-built diagrams. WHEN: 'draw.io diagram', 'Azure architecture diagram', 'as-built diagram', 'runtime flow…

jonathan-vella/apex-accelerator · 99 tokens

azure-artifacts

UTILITY SKILL — Artifact template structures, H2 compliance rules, and documentation styling for agent outputs (Steps 1-7). WHEN: "generate artifact", "check H2 structure", "artifact template", "step 7 as-built". USE FOR: generating any agent artifact, checking H2 structure compliance. DO NOT USE FOR: Azure resource…

jonathan-vella/apex-accelerator · 103 tokens

azure-bicep-patterns

UTILITY SKILL — Reusable Azure Bicep patterns: hub-spoke, private endpoints, diagnostics, AVM composition. WHEN: "hub-spoke Bicep", "private endpoint module", "diagnostic settings", "AVM Bicep composition". USE FOR: Bicep template design, hub-spoke networking, private endpoint patterns, AVM modules. DO NOT USE FOR…

jonathan-vella/apex-accelerator · 114 tokens

azure-governance-discovery

ANALYSIS SKILL — Azure Policy discovery: effective assignments (incl. MG-inherited), definitions/exemptions, effect classification, emits governance-constraints JSON. WHEN: 'Azure policy discovery', 'effective policy assignments', 'governance constraints', '04g-Governance Phase 1', 'refresh governance JSON'. DO NOT…

jonathan-vella/apex-accelerator · 86 tokens

vendor-prompting

ANALYSIS SKILL — Audit-grade reference for Anthropic Claude and OpenAI GPT-5.6 prompting best practices. WHEN: "claude prompting", "gpt-5.6 prompting", "audit agent", "review prompt", "vendor best practices", "anthropic best practices", "openai prompting". DO NOT USE FOR: routine prompt edits where rules are already…

jonathan-vella/apex-accelerator · 94 tokens

copilot-customization

Authoritative reference for VS Code Copilot customization mechanisms: instructions, prompt files, custom agents, agent skills, MCP servers, hooks, and plugins. Use when deciding which customization type to use, creating new .instructions.md/.prompt.md/.agent.md/SKILL.md/mcp.json files from scratch, or debugging why a…

jonathan-vella/apex-accelerator · 90 tokens