microsoft-excel-bi-agent
AGENTS.md2 starsChanged 5 months agoMITView on GitHub
This repository provides cross-agent skills for Microsoft Excel BI engineering: Excel workbooks, VBA, Power Query M, Power Pivot DAX, MDX/CUBE formulas, ADO/SQL data access, deliverable publishing, workbook QA, Office environment diagnostics, Excel report building, Power BI semantic model review, and sanitized testing fixtures. Use these skills with Claude, Codex, OpenCode, or other agents that understand AGENTS.md and SKILL.md. Canonical skills live in: Codex plugin packaging also needs a root-level skills/ mirror because plugin validation expects that conventional path. Treat skills/…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository36 other files it gives its agents.
- excel-ado-sql-data-accessSkill
- excel-bi-routerSkill
- excel-deliverable-publisherSkill
- excel-report-builderSkill
- excel-testing-fixturesSkill
- excel-vba-workbook-engineeringSkill
- excel-workbook-qa-auditorSkill
- mdx-cubevalue-extractionSkill
- office-environment-diagnosticsSkill
- power-bi-semantic-modelSkill
- power-pivot-dax-modelingSkill
- power-query-m-engineeringSkill
- excel-ado-sql-data-accessSkill
- excel-bi-routerSkill
- excel-deliverable-publisherSkill
- excel-report-builderSkill
- excel-testing-fixturesSkill
- excel-vba-workbook-engineeringSkill
- excel-workbook-qa-auditorSkill
- mdx-cubevalue-extractionSkill
- office-environment-diagnosticsSkill
- power-bi-semantic-modelSkill
- power-pivot-dax-modelingSkill
- power-query-m-engineeringSkill
- excel-ado-sql-data-accessSkill
- excel-bi-routerSkill
- excel-deliverable-publisherSkill
- excel-report-builderSkill
- excel-testing-fixturesSkill
- excel-vba-workbook-engineeringSkill
- excel-workbook-qa-auditorSkill
- mdx-cubevalue-extractionSkill
- office-environment-diagnosticsSkill
- power-bi-semantic-modelSkill
- power-pivot-dax-modelingSkill
- power-query-m-engineeringSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
14 rules. About 0 are common, 7 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Use these skills with Claude, Codex, OpenCode, or other agents that understand AGENTS.md and SKILL.md.
- Very specific: line 19
Do not maintain divergent copies in skills/, .claude/skills, .opencode/skills, or ~/.codex/skills.
- Very specific: line 33
Use --update-cachebuster only when behavior changed and a new installed Codex plugin version is required.
- Very specific: line 39
Start with .agents/skills/excel-bi-router/SKILL.md unless the user explicitly names a skill.
- Very specific: line 62
Use tools/run_task_profile.py when a request fits a common workflow and the agent needs a command plan before choosing individual scripts:
- Distinctive: line 77
Keep the execution environment where an agent runs separate from the target environment where the workbook must work.
- Distinctive: line 84
Always state which environment was used for validation.
- Distinctive: line 89
Keep code source files outside binary workbooks when possible.
- Very specific: line 90
Prefer deterministic scripts for repeated inspection/export/import.
- Distinctive: line 91
Do not put customer-specific business rules in reusable skills.
- Very specific: line 92
Do not paste full Microsoft function documentation into SKILL.md.
- Distinctive: line 93
Do not add broad new skills or long duplicate docs unless a repeated workflow cannot be handled by an existing skill plus script.
- Distinctive: line 125
Check scripts for syntax on the relevant platform.
- Distinctive: line 126
Run a smoke test when a script is changed.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Microsoft Excel BI Agent Pack
Purpose
This repository provides cross-agent skills for Microsoft Excel BI engineering: Excel workbooks, VBA, Power Query M, Power Pivot DAX, MDX/CUBE formulas, ADO/SQL data access, deliverable publishing, workbook QA, Office environment diagnostics, Excel report building, Power BI semantic model review, and sanitized testing fixtures.
Use these skills with Claude, Codex, OpenCode, or other agents that understand AGENTS.md and SKILL.md.
Skill Location
Canonical skills live in:
.agents/skills/Codex plugin packaging also needs a root-level skills/ mirror because plugin validation expects that conventional path. Treat skills/ as generated output, not as the source of truth.
Do not maintain divergent copies in skills/, .claude/skills, .opencode/skills, or ~/.codex/skills. If a tool needs a different install path, copy from .agents/skills using tools/sync-skills.py.
One-command prompt sync for Codex plugin mirror, Codex user skills, Claude project skills, and OpenCode project skills:
python tools/sync-skills.py --project-root . --all-project-mirrors --codex-user --replaceInstall or refresh the Codex plugin:
python tools/deploy-local-plugin.py --project-root . --replace --installUse --update-cachebuster only when behavior changed and a new installed Codex plugin version is required. Do not hand-edit marketplace JSON.
For the constrained install contract, read docs/install-and-sync.md.
Routing
Start with .agents/skills/excel-bi-router/SKILL.md unless the user explicitly names a skill.
Use:
excel-vba-workbook-engineeringfor workbook files, VBA, macro buttons, Excel COM, and cross-platform workbook inspection.power-query-m-engineeringfor Power Query M queries, refresh errors, file ingestion, joins, grouping, expansion, and type handling.power-pivot-dax-modelingfor Data Model relationships, DAX measures, context, and Power Pivot calculations.mdx-cubevalue-extractionforCUBEVALUE,CUBEMEMBER, MDX member references, andThisWorkbookDataModelreport formulas.excel-ado-sql-data-accessfor VBA ADO/OLEDB/ADOMD, SQL against Excel tables, and query templates.excel-deliverable-publisherfor copied clean deliverables, values-only outputs, link/query/model cleanup, and post-clean verification.excel-workbook-qa-auditorfor pre-delivery workbook QA, visual QA, and prioritized risk findings.office-environment-diagnosticsfor platform/version compatibility, Excel COM, provider, bitness, Trust Center, and local or recipient automation readiness.excel-report-builderfor polished Excel report/dashboard workbook surfaces.power-bi-semantic-modelfor Power BI semantic model concepts and Excel Power Pivot portability boundaries.excel-testing-fixturesfor sanitized workbook fixtures, regression cases, and forward-test prompts.
For the current operational snapshot, use docs/current-status.md. For end-to-end examples, use docs/task-recipes.md. For goal tracking, completion, and validation evidence, use docs/goal-tracking.md, docs/completion-evidence.md, and docs/validation.md.
For installation and prompt/agent sync, use docs/install-and-sync.md.
For the real/sanitized regression library, use docs/real-case-regression.md.
For rendered report-surface evidence, use tools/export_visual_qa_render_evidence.ps1 on Windows desktop Excel only; it exports task-local PDFs and JSON/Markdown evidence for visible Report* sheets and does not belong in committed package artifacts.
Fast Profiles
Use tools/run_task_profile.py when a request fits a common workflow and the agent needs a command plan before choosing individual scripts:
audit: workbook QA audit.publish: pure deliverable planning and verification.pq-refresh: Power Query refresh plus status report.dax-review: exported model/DAX review.cube-trace: CUBE/MDX report-layer tracing.env-diagnostics: capability-aware Office/provider diagnostics; accepts captured capability probes and explicit required capability IDs.report-build: report-surface validation.fixture: sanitized fixture bundle.case-regression: real/sanitized regression case library validation.release-structural/release-full: package validation.
Cross-Platform Rules
Keep the execution environment where an agent runs separate from the target environment where the workbook must work. Report evidence as one of: structural evidence, runtime capability evidence, or workbook behavior evidence.
- Windows desktop Excel + PowerShell can perform full Excel COM validation, VBA import/export, macro execution, query refresh, and Solver checks.
- Windows desktop Excel + PowerShell can also export rendered Visual QA PDF evidence for sanitized report sheets.
- Windows Git Bash must call PowerShell/Excel COM through wrapper scripts.
- Linux/macOS can inspect OpenXML workbook structure and generate code, but cannot truthfully validate Excel VBA execution, Power Query refresh, Power Pivot Data Model contents, Solver, rendered Excel PDFs, or button click behavior without desktop Excel.
- macOS, Excel for web, Linux, and third-party spreadsheet targets require their own host-specific evidence; Windows COM evidence is not transferable proof.
- Always state which environment was used for validation.
Editing Rules
- Work on copies by default. Do not overwrite a source workbook unless explicitly requested.
- Keep code source files outside binary workbooks when possible.
- Prefer deterministic scripts for repeated inspection/export/import.
- Do not put customer-specific business rules in reusable skills.
- Do not paste full Microsoft function documentation into
SKILL.md; use references and official links. - Do not add broad new skills or long duplicate docs unless a repeated workflow cannot be handled by an existing skill plus script.
Validation
Preferred full package gate:
python tools/run_release_gate.py --project-root .Portable wrapper for Git Bash, Linux, and macOS:
tools/run_release_gate.shStructural-only gate for Linux/macOS or environments without Windows Excel COM:
tools/run_release_gate.sh --profile structuralFor official-documentation index changes, also use:
python tools/validate_official_docs_index.py --project-root .For every skill change:
- Validate
SKILL.mdfrontmatter:nameanddescriptionare present and the name matches the folder. - Scan for unfinished placeholder markers.
- Check scripts for syntax on the relevant platform.
- Run a smoke test when a script is changed.
- Record platform limitations in the final response.
Current Status
This package now includes a Codex plugin manifest at .codex-plugin/plugin.json. The plugin skills/ mirror and other agent mirrors should be regenerated from .agents/skills before validation or packaging. Treat docs/progress.md as a historical ledger; read docs/current-status.md and docs/install-and-sync.md first for current state and install behavior.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

