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.

Install it, pinned
mdr add joshsmithxrm/ppds-skills/ppds-query@git:20261031.4d56055

Pins 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

The exact contents, by fingerprint
mdr add joshsmithxrm/ppds-skills/ppds-query@sha256:3be0e58854761561

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_n2f2usjs5yljz3qq.svg)](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.

versioncommittedcommitsizeaudit
git:20261031.4d56055 latest2026-10-31 4d56055 4,818 BA view · diff
git:20260617.026fdad2026-06-17 026fdad 4,818 BA view · diff
git:20260616.a1b184d2026-06-16 a1b184d 4,823 BA view · diff
git:20260610.23109ad2026-06-10 23109ad 4,823 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from joshsmithxrm/ppds-skills

release SKILL.md skill
joshsmithxrm/ppds-skills · .claude/skills/release/SKILL.md · Cut a PPDS Skills package release — get the recapture, decide the version bump, clean up prose, update CHANGELOG, tag +…
git:20260617.c8da235 · audit A · 3 stars
DESIGN.md DESIGN.md file
joshsmithxrm/ppds-skills · DESIGN.md
git:20261031.4d56055 · audit A · 3 stars
ppds-core SKILL.md skill
joshsmithxrm/ppds-skills · skills/ppds-core/SKILL.md · Install, authenticate, and safely operate the Power Platform Developer Suite (PPDS) CLI and MCP server against…
git:20261031.4d56055 · audit A · 3 stars
ppds-data SKILL.md skill
joshsmithxrm/ppds-skills · skills/ppds-data/SKILL.md · Bulk Dataverse data operations with PPDS — schema-driven export/import (CMT-compatible), direct…
git:20261031.4d56055 · audit A · 3 stars
ppds-metadata SKILL.md skill
joshsmithxrm/ppds-skills · skills/ppds-metadata/SKILL.md · Browse and author Dataverse schema with PPDS — list entities/tables, inspect attributes/columns and relationships…
git:20261031.4d56055 · audit A · 3 stars
ppds-plugins SKILL.md skill
joshsmithxrm/ppds-skills · skills/ppds-plugins/SKILL.md · Register, deploy, and debug Dataverse plugins declaratively with PPDS — attribute-driven registration…
git:20261031.4d56055 · audit A · 3 stars
ppds-solutions-alm SKILL.md skill
joshsmithxrm/ppds-skills · skills/ppds-solutions-alm/SKILL.md · Dataverse solution ALM with PPDS — export/import solutions, watch import jobs, inspect components, manage environment…
git:20261031.4d56055 · audit A · 3 stars
ppds-webresources SKILL.md skill
joshsmithxrm/ppds-skills · skills/ppds-webresources/SKILL.md · Manage Dataverse web resources with PPDS — pull JavaScript/CSS/HTML/image web resources to a local folder with tracking…
git:20261031.4d56055 · audit A · 3 stars

Every file in joshsmithxrm/ppds-skills

Browse by kind, by grade A, or by owner.