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.
npx skills add luccapinto/agentic-data-kit --skill pbi-quality-rulesgit clone --depth 1 https://github.com/luccapinto/agentic-data-kitWrote 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.
[](https://agentmods.dev/skills/luccapinto/agentic-data-kit/pbi-quality-rules)<a href="https://agentmods.dev/skills/luccapinto/agentic-data-kit/pbi-quality-rules"><img src="https://agentmods.dev/badge/skills/luccapinto/agentic-data-kit/pbi-quality-rules/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.
<a href="https://agentmods.dev/skills/luccapinto/agentic-data-kit/pbi-quality-rules"><img src="https://agentmods.dev/badge/skills/luccapinto/agentic-data-kit/pbi-quality-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00083 | $0.00708 |
| Opus 5.5 | $0.00033 | $0.00283 |
| Sonnet 5.5 | $0.00017 | $0.00142 |
| Haiku 4.5 | $0.00008 | $0.00071 |
Grade A, and why
pbi-quality-rules 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: pbi-quality-rules
Two scripts in this skill's scripts/ folder (Python 3.9+, standard library only):
| Script | What it does |
|---|---|
run_bpa.py <model> |
Runs the real BPA through Tabular Editor 2 (TabularEditor.exe <definition-folder> -A bpa-rules.json -V). If TE2 is not found, it runs the fallback and says so. |
bpa_fallback.py <model> |
The same rules re-implemented in Python over the TMDL files (or model.bim). Approximate; rules it cannot evaluate are listed as SKIPPED, never as passed. |
<model> = the .pbip, the project folder, <Name>.SemanticModel/, its definition/ folder,
or a model.bim. Options: --format json, --rules <file>, and for run_bpa.py also
--te <path> and --no-fallback. TE2 is looked up via --te, $TABULAR_EDITOR_PATH, PATH,
then the default Windows install folders.
Exit codes: 0 no error-severity violations · 1 errors found · 2 bad path / TE2 failed.
Run it
python3 <skill>/scripts/run_bpa.py path/to/Sales.pbip
- Disk is the input. With Desktop open and MCP edits pending, ask the user to save (Ctrl+S) first — the BPA reads the TMDL Desktop wrote, not the live model.
- Present errors first, then warnings, grouped by category; omit info unless asked. Say which engine ran; for the fallback, recommend installing Tabular Editor 2 for exact results.
- For each
error, offer a fix (through the Modeling MCP when Desktop is open — seepbi-semantic-layer-tmdl). Warnings: suggest, don't force.
Rule set — bpa-rules.json
Tabular Editor's native format (ID, Name, Category, Severity, Scope, Expression in
Dynamic LINQ over the TOM). Severity 3 error · 2 warning · 1 info. It loads directly into
TE2's BPA window too.
Adding a rule: add it to bpa-rules.json (TE2 picks it up at once), then add a predicate with the
same ID to CHECKS in scripts/bpa_fallback.py so the fallback covers it; until then the
fallback reports it as SKIPPED.
What ships with it
3 files 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.
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.
- 1mo ago Changed · +2 lines · +43 tokens per session 87b0baa1ae12
- 3mo ago First seen · 43 lines · 40 tokens per session scan A 72f3ba938c51
pbi-quality-rules is a skill published in the GitHub repository luccapinto/agentic-data-kit (7 stars, last pushed 1mo ago), licensed MIT. It adds 83 tokens to every session and 708 once invoked, about $0.0003 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.
pbi-quality-rules compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pbi-quality-rulesluccapinto/agentic-data-kit | Skill | 7 | 1mo ago | MIT | A | 83 | Claude Code, Codex |
| spec-kitty-charter-doctrinePriivacy-ai/spec-kitty | Skill | 1.7k | 14d ago | MIT | A | 135 | Claude Code, Codex |
| checking-freshnessastronomer/agents | Skill | 466 | 4d ago | Apache-2.0 | A | 44 | Claude Code |
| 322-frameworks-spring-boot-testing-integration-testsjabrena/plinth | Skill | 470 | 3d ago | Apache-2.0 | A | 123 | Claude Code, Codex |
| 422-frameworks-quarkus-testing-integration-testsjabrena/plinth | Skill | 470 | 3d ago | Apache-2.0 | A | 190 | Claude Code, Codex |
| 314-frameworks-spring-kafkajabrena/plinth | Skill | 470 | 3d ago | Apache-2.0 | A | 112 | Claude Code, Codex |
| al-memory-createjaviarmesto/ALDC-AL-Development-Collection | Skill | 116 | 3d ago | MIT | A | 40 | Claude Code |