sqlplan-batch skillA
sqlplan-batch is agent-read markdown (skill) from vanterx/mssql-performance-skills: Batch-analyze a folder of SQL Server .sqlplan files and produce a summary dashboard of the top issues, most common check violations, and deduplicated missing indexes across all plans. Use this skill whenever a user has a folder or collection of .sqlplan files; asks for a workload-level summary across multiple plans; wants to find systemic patterns across a captured workload; or doesn't know which plan to look at first. Trigger after any workload capture that produced multiple .sqlplan files — of.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# SQL Server Execution Plan Batch Analysis Skill ## Purpose Analyze multiple `.sqlplan` files in bulk — applying the full 108-check ruleset (S1–S36, N1–N72) from `sqlplan-review` to each plan — and produce a single aggregated dashboard that identifies the most expensive queries, most common violations, and consolidated missing index recommendations. ## Input Accept any of: - A directory path containing `.sqlplan` files: `/path/to/plans/` - A list of `.sqlplan` file paths - A description of the available plans if files cannot be provided ## How to Run 1. Enumerate all `.sqlplan` files in the input 2. Apply the full check ruleset to each plan (same logic as `sqlplan-review`) 3. Aggregate findings into the summary structures below 4. Generate a consolidated missing index script via the same merge rules as `sqlindex-advisor` 5. Write output to `batch-analysis.md` in the same directory --- ## Per-Plan Data to Collect For each plan, collect: | Field | Source | |-------|--------| | File name | file system | | Query text (first 200 chars, for display only; use full StatementText for analysis) | `StmtSimple/@StatementText` | | Statement cost | `StmtSimple/@StatementSubTreeCost` | …
Read the whole file at its exact version.
How to install
mdr add vanterx/mssql-performance-skills/sqlplan-batch@git:20260607.6ff4f7amdr add vanterx/mssql-performance-skills/sqlplan-batch@sha256:f7f4e0aa7bc64bc9Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_rn4gjagwpr2khu26)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260607.6ff4f7a latest | 2026-06-07 | 6ff4f7a | 12,271 B | A | view · diff |
| git:20260605.9ec0ebe | 2026-06-05 | 9ec0ebe | 12,247 B | A | view · diff |
| git:20260603.6f65dab | 2026-06-03 | 6f65dab | 12,263 B | A | view · diff |
| git:20260529.c32faaf | 2026-05-29 | c32faaf | 11,646 B | A | view · diff |
| git:20260528.619534c | 2026-05-28 | 619534c | 10,991 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (12271 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
vanterx/mssql-performance-skills · 5 stars · license MIT · pushed 2026-09-19 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_rn4gjagwpr2khu26 GET https://markdownregistry.com/api/v1/resolve?ref=vanterx/mssql-performance-skills/sqlplan-batch GET https://markdownregistry.com/api/v1/blob/f7f4e0aa7bc64bc9168e229bbf402262d21d9b5d75b876bc7ec6a342bbf42aac
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.