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 agentmods add skills/microsoft/apm/docs-grounding-verifiernpx skills add microsoft/apm --skill docs-grounding-verifiergit clone --depth 1 https://github.com/microsoft/apmWhat 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 | $0.00000 | $0.01896 |
| Opus 5 | $0.00000 | $0.00948 |
| Sonnet 5 | $0.00000 | $0.00379 |
| Haiku 4.5 | $0.00000 | $0.00190 |
Grade A, and why
docs-grounding-verifier 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 2d 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 — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.
docs-grounding-verifier
CLAIM-LEVEL grounding verification. Adapts the RAGAS faithfulness-eval pattern (proven in RAG literature) to docs/code instead of generated- answers/retrieved-context. Source code is the ground truth; docs paragraphs are the candidate text under audit.
python-architect persona doc-writer persona
Sibling contract
This skill is a SIBLING of docs-corpus-audit and docs-sync. The
boundary is load-bearing:
| Skill | Trigger | Scope | Granularity |
|---|---|---|---|
| docs-sync | PR opened/synchronized | PR diff only | Page-level |
| docs-corpus-audit | Maintainer asks for whole-corpus pass | Entire corpus | Page-level |
| docs-grounding-verifier | Verify specific pages factually | 1..N pages | CLAIM-level |
docs-corpus-audit invokes this skill in its VERIFY phase on the
highest-risk pages of each wave. docs-sync can invoke it on the
specific pages in a PR diff. The skill is also runnable standalone.
When to activate
- Maintainer says "verify against the code".
- An audit wave wants per-claim grounding scores for its highest-risk pages.
- A PR review wants to confirm that prose changes are not just plausible but actually consistent with the implementation.
- A "fact-check" or "grounding" or "drift hunt" request.
When NOT to activate
- Whole-corpus sweep with no specific page list -> use
docs-corpus-audit. - PR review with mixed code+docs diff -> use
docs-sync. - Editorial / tone review -> use
editorial-ownerpersona directly.
Architecture (PIPELINE-of-PANELS)
PARENT
-> [Stage 1: EXTRACT claims, fan-out PANEL]
per page -> LLM extracts atomic factual claims as JSON
script: scripts/extract-claims.py
-> [Stage 2: RETRIEVE evidence, deterministic S7]
per claim -> grep over src/ via keywords + hints
script: scripts/retrieve-evidence.sh (NO LLM)
-> [Stage 3: JUDGE grounding, adversarial A7]
per (claim, evidence) -> LLM rules GROUNDED|PARTIAL|CONTRADICTED|UNSUPPORTED
asset: assets/judge-prompt.md
-> [Stage 4: SYNTHESIZE]
aggregate ungrounded -> doc-writer for fix
re-verify after fix (A8 ALIGNMENT LOOP)
What ships with it
60 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.
- assets/judge-prompt.md 2.6 KB
- evals/content-evals.json 2.2 KB
- evals/run-evals.sh 5.1 KB runs code
- evals/runs/20260527-194228/seeded-corpus/drift-install-flag/page.md 14 KB
- evals/runs/20260527-194228/seeded-corpus/drift-install-flag/scenario.json 371 B
- evals/runs/20260527-194228/seeded-corpus/drift-policy-reject/page.md 7.2 KB
- evals/runs/20260527-194228/seeded-corpus/drift-policy-reject/scenario.json 446 B
- evals/runs/20260527-194228/seeded-corpus/drift-registry-resolver/page.md 21 KB
- evals/runs/20260527-194228/seeded-corpus/drift-registry-resolver/scenario.json 450 B
- evals/runs/20260527-194228/trigger-prompts.txt 2.1 KB
- evals/runs/proof/claims/copilot.json 4.4 KB
- evals/runs/proof/claims/install.json 4.6 KB
- evals/runs/proof/claims/pkgtypes.json 4.2 KB
- evals/runs/proof/claims/policy.json 3.8 KB
- evals/runs/proof/claims/registries.json 5.0 KB
- evals/runs/proof/copilot/evidence/docs_src_content_docs_integrations_copilot-app_md_c1.json 2.6 KB
- evals/runs/proof/copilot/evidence/docs_src_content_docs_integrations_copilot-app_md_c10.json 2.0 KB
- evals/runs/proof/copilot/evidence/docs_src_content_docs_integrations_copilot-app_md_c11.json 1.8 KB
- evals/runs/proof/copilot/evidence/docs_src_content_docs_integrations_copilot-app_md_c12.json 2.7 KB
- evals/runs/proof/copilot/evidence/docs_src_content_docs_integrations_copilot-app_md_c13.json 1.6 KB
- evals/runs/proof/copilot/evidence/docs_src_content_docs_integrations_copilot-app_md_c14.json 2.4 KB
- evals/runs/proof/copilot/evidence/docs_src_content_docs_integrations_copilot-app_md_c15.json 2.0 KB
- evals/runs/proof/copilot/evidence/docs_src_content_docs_integrations_copilot-app_md_c2.json 2.6 KB
- evals/runs/proof/copilot/evidence/docs_src_content_docs_integrations_copilot-app_md_c3.json 3.5 KB
- evals/runs/proof/copilot/evidence/docs_src_content_docs_integrations_copilot-app_md_c4.json 2.6 KB
- evals/runs/proof/copilot/evidence/docs_src_content_docs_integrations_copilot-app_md_c5.json 2.6 KB
- evals/runs/proof/copilot/evidence/docs_src_content_docs_integrations_copilot-app_md_c6.json 2.2 KB
- evals/runs/proof/copilot/evidence/docs_src_content_docs_integrations_copilot-app_md_c7.json 1.9 KB
- evals/runs/proof/copilot/evidence/docs_src_content_docs_integrations_copilot-app_md_c8.json 2.8 KB
- evals/runs/proof/copilot/evidence/docs_src_content_docs_integrations_copilot-app_md_c9.json 2.8 KB
- evals/runs/proof/copilot/judge-batch-docs_src_content_docs_integrations_copilot-app_md.txt 45 KB
- evals/runs/proof/install/evidence/docs_src_content_docs_reference_cli_install_md_c1.json 3.1 KB
- evals/runs/proof/install/evidence/docs_src_content_docs_reference_cli_install_md_c10.json 1.8 KB
- evals/runs/proof/install/evidence/docs_src_content_docs_reference_cli_install_md_c11.json 971 B
- evals/runs/proof/install/evidence/docs_src_content_docs_reference_cli_install_md_c12.json 1.9 KB
- evals/runs/proof/install/evidence/docs_src_content_docs_reference_cli_install_md_c13.json 1.7 KB
- evals/runs/proof/install/evidence/docs_src_content_docs_reference_cli_install_md_c14.json 3.4 KB
- evals/runs/proof/install/evidence/docs_src_content_docs_reference_cli_install_md_c15.json 3.2 KB
- evals/runs/proof/install/evidence/docs_src_content_docs_reference_cli_install_md_c2.json 973 B
- evals/runs/proof/install/evidence/docs_src_content_docs_reference_cli_install_md_c3.json 1.9 KB
- evals/runs/proof/install/evidence/docs_src_content_docs_reference_cli_install_md_c4.json 1.1 KB
- evals/runs/proof/install/evidence/docs_src_content_docs_reference_cli_install_md_c5.json 1.5 KB
- evals/runs/proof/install/evidence/docs_src_content_docs_reference_cli_install_md_c6.json 1.5 KB
- evals/runs/proof/install/evidence/docs_src_content_docs_reference_cli_install_md_c7.json 5.2 KB
- evals/runs/proof/install/evidence/docs_src_content_docs_reference_cli_install_md_c8.json 1.1 KB
- evals/runs/proof/install/evidence/docs_src_content_docs_reference_cli_install_md_c9.json 896 B
- evals/runs/proof/install/judge-batch-docs_src_content_docs_reference_cli_install_md.txt 38 KB
- evals/runs/proof/pkgtypes/evidence/docs_src_content_docs_reference_package-types_md_c1.json 3.4 KB
- evals/runs/proof/pkgtypes/evidence/docs_src_content_docs_reference_package-types_md_c10.json 2.3 KB
- evals/runs/proof/pkgtypes/evidence/docs_src_content_docs_reference_package-types_md_c11.json 1.9 KB
- evals/runs/proof/pkgtypes/evidence/docs_src_content_docs_reference_package-types_md_c12.json 2.2 KB
- evals/runs/proof/pkgtypes/evidence/docs_src_content_docs_reference_package-types_md_c13.json 2.6 KB
- evals/runs/proof/pkgtypes/evidence/docs_src_content_docs_reference_package-types_md_c14.json 1.5 KB
- evals/runs/proof/pkgtypes/evidence/docs_src_content_docs_reference_package-types_md_c15.json 3.5 KB
- evals/runs/proof/pkgtypes/evidence/docs_src_content_docs_reference_package-types_md_c2.json 3.6 KB
- evals/runs/proof/pkgtypes/evidence/docs_src_content_docs_reference_package-types_md_c3.json 2.7 KB
- evals/runs/proof/pkgtypes/evidence/docs_src_content_docs_reference_package-types_md_c4.json 4.2 KB
- evals/runs/proof/pkgtypes/evidence/docs_src_content_docs_reference_package-types_md_c5.json 3.3 KB
- evals/runs/proof/pkgtypes/evidence/docs_src_content_docs_reference_package-types_md_c6.json 2.6 KB
- evals/runs/proof/pkgtypes/evidence/docs_src_content_docs_reference_package-types_md_c7.json 2.7 KB
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.
- 2d ago First seen · 171 lines · 0 tokens per session scan A 4d136a7ccdff
docs-grounding-verifier is a skill published in the GitHub repository microsoft/apm (3,687 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,896 tokens. 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-30.
Other skills, from other repositories
review
Review a proposed change before applying it.
create-skill-sample
This skill should be used when the user asks to "create a new skill sample", "add a skill", "scaffold a new skill", "contribute a skill", "create a GitHub Copilot skill", "build a custom skill", or needs to create a new GitHub Copilot custom skill sample with proper folder structure, SKILL.md, README, and sample.json…
create-system-prompt
This skill should be used when the user asks to "create an agent instruction", "add agent instructions", "scaffold an agent sample", "create a system prompt sample", "add a system prompt", "create a new agent", "build an agent", or needs to create a new agent instruction sample with proper folder structure, README…
mcp-server-review
Review a Model Context Protocol (MCP) server implementation against the 2026-07-28 protocol revision, which removed the initialize handshake and Mcp-Session-Id and made the protocol stateless. Use when the user asks to review, audit, upgrade or migrate an MCP server, asks whether their MCP server is spec compliant…
code-review-csharp
Perform structured code reviews of C# source code covering naming conventions, performance, security, readability, and .NET best practices. Trigger phrases include "review this C# code", "check my C# for best practices", "analyze this C# class", "find issues in my C# code".
prompt-of-the-week
Generates a weekly PowerPoint slide from a PnP copilot-prompts GitHub sample URL (for example, samples/agent-instructions/creator-agent), derives the correct weekly title from the sample folder, and produces a styled .pptx file that matches the Prompt-K template layout.