ppds-query SKILL.md skillA
ppds-query from joshsmithxrm/ppds-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add joshsmithxrm/ppds-skills/ppds-query@git:20261031.4d56055Pins git:20261031.4d56055 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- joshsmithxrm/ppds-skills
- Path
skills/ppds-query/SKILL.md- Versions recorded
- 4
- Latest version
- git:20261031.4d56055, committed Oct 31, 2026
- First version recorded
- Jun 10, 2026
- Size
- 4,818 bytes
- Repository stars
- 3
- License
- MIT
Query and modify Microsoft Dataverse data with PPDS — SQL (transpiled to FetchXML) with joins, CTEs, aggregates and window functions, raw FetchXML, guarded DML, execution plans, TDS endpoint routing, and query history. Use when the user wants to read, filter, join, aggregate, count, or analyze Dataverse records, run INSERT/UPDATE/DELETE statements, inspect a query plan, convert SQL to FetchXML, or recall a previous query. Read ppds-core first for auth and safety rules.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# PPDS Query — SQL over Dataverse, with guardrails `ppds query sql` parses real T-SQL and transpiles it to FetchXML (with client-side fallback for what FetchXML can't express). You almost never need to hand-write FetchXML. Exact flags for every command: [references/cli-query.md](references/cli-query.md). Dialect boundaries — what is and is not supported: [references/sql-dialect.md](references/sql-dialect.md). **Surface routing**: CLI `ppds query sql` ↔ MCP `ppds_query_sql`; CLI `ppds query fetch` ↔ MCP `ppds_query_fetch`. Prefer the CLI in a terminal; prefer MCP when the host has no shell or the session should be protocol-level read-only (`ppds-mcp-server --read-only`). Explain and history are CLI-only. ## Reading data ```bash ppds query sql "SELECT TOP 10 name, revenue FROM account WHERE statecode = 0 ORDER BY revenue DESC" ppds query sql "SELECT a.name, c.fullname FROM account a JOIN contact c ON c.parentcustomerid = a.accountid" ppds query sql "SELECT ownerid, COUNT(*) AS total FROM account GROUP BY ownerid HAVING COUNT(*) > 10" ppds query sql --file ./report.sql -f json # SQL from file, JSON to stdout ``` …
Read the whole file at its exact version.
How to install
mdr add joshsmithxrm/ppds-skills/ppds-query@sha256:3be0e58854761561The line at the top of this page pins the label git:20261031.4d56055, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_n2f2usjs5yljz3qq)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Jun 10, 2026 and Oct 31, 2026, about one every 48 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261031.4d56055 latest | 2026-10-31 | 4d56055 | 4,818 B | A | view · diff |
| git:20260617.026fdad | 2026-06-17 | 026fdad | 4,818 B | A | view · diff |
| git:20260616.a1b184d | 2026-06-16 | a1b184d | 4,823 B | A | view · diff |
| git:20260610.23109ad | 2026-06-10 | 23109ad | 4,823 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 (4818 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
joshsmithxrm/ppds-skills · 3 stars · license MIT · pushed 2026-11-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_n2f2usjs5yljz3qq GET https://markdownregistry.com/api/v1/resolve?ref=joshsmithxrm/ppds-skills/ppds-query GET https://markdownregistry.com/api/v1/blob/3be0e58854761561b29c63924487bb9ab79a42d24ab93c3aaa9100a1608ac5ce
Your AI assistant 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.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.