docs-grounding-verifier
Skill4.4k starsChanged 2 months agoApache-2.0View on GitHub
Use this skill to verify CLAIM-LEVEL grounding of a documentation page (or set of pages) against the source code. Activate when you have specific pages to check for factual accuracy -- not when sweeping a whole corpus (use docs-corpus-audit for that) and not when triaging a PR diff (use docs-sync for that). Trigger nouns: "is this doc accurate", "verify the page against the code", "fact-check this section", "any claims that drifted from source", "fact-checking", "grounding audit", "drift hunt", "claim verification". Returns per-claim verdicts (GROUNDED | PARTIAL | CONTRADICTED | UNSUPPORTED) with file:line evidence citations. Catches paragraph-level inaccuracies that page-level audit averages over -- e.g. a paragraph with 5 claims where 4 are grounded and 1 is fabricated. Does NOT modify files (returns advisory only); does NOT re-architect the docs; does NOT triage PRs.
1 other project uses a version of this, 1 of them edited.
Trending
More talk lately.about the whole repository
Most recently taken up by
- danielmeppiel/apmedited, first seen Oct 8, 2026
Who's talking about microsoft/apm
- dependabot/dependabot-core“Support https://github.com/microsoft/apm - agent package manager”GitHub · Mar 3, 2026 · 24 reactions
- renovatebot/renovate“feat(manager): add apm manager for Agent Package Manager”GitHub · Jul 6, 2026 · 8 reactions
- A Hacker News story“Agent Package Manager”Hacker News · Mar 18, 2026 · 7 points
- pbakaus/impeccable“[Feature] Add Agent Package Manager distribution mechanism”GitHub · Jun 22, 2026 · 3 reactions
- @qdrddr.bsky.social“#VibeCode Easy: declare and share #skills, prompts, instructions, and tools for your git project with …”Bluesky · Mar 5, 2026 · 3 likes
The biggest 5 of 59 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 59
Talked about on GitHub, Hacker News and Bluesky (59 times).
On GitHub · 50
- Mar 3, 2026Support https://github.com/microsoft/apm - agent package manager — dependabot/dependabot-core24 reactions · 9 comments
- Jul 6, 2026feat(manager): add apm manager for Agent Package Manager — renovatebot/renovate8 reactions · 25 comments
- Jun 22, 2026[Feature] Add Agent Package Manager distribution mechanism — pbakaus/impeccable3 reactions · 5 comments
- Jun 5, 2026[FEATURE] Native support for Claude Code Plugin Format — LobsterTrap/lola2 reactions · 3 comments
- May 4, 2026Support scanning all agent context-building blocks, not just SKILL.md — snyk/agent-scan2 reactions · 3 comments
45 more on GitHub
- Apr 7, 2026feat: add asdf-apm plugin for Microsoft Agent Package Manager — asdf-vm/asdf-plugins2 reactions
- Apr 3, 2026chore(deps): update dependency microsoft/apm to v0.8.10 — MH0386/aur2 reactions · 4 comments
- Nov 4, 2026Remove CLAUDE.md symlink — chrisbanes/skills1 reaction · 1 comment
- Oct 26, 2026chore(apm): refresh baseline — thetechgy/agent-engineering-baseline1 reaction · 1 comment
- Oct 25, 2026build(deps): bump apm-cli from 0.33.0 to 0.34.0 in /.apm-cli-pin — elastic/oblt-aw1 reaction · 2 comments
- Oct 11, 2026build(deps): bump apm-cli from 0.32.0 to 0.33.0 in /.apm-cli-pin — elastic/oblt-aw1 reaction · 1 comment
- Oct 1, 2026build(deps): bump apm-cli from 0.20.0 to 0.32.0 in /.apm-cli-pin — elastic/oblt-aw1 reaction · 3 comments
- Jul 28, 2026Add a feature for installing APM from https://github.com/microsoft/apm/releases — postfinance/devcontainer-features1 reaction
- May 29, 2026Expression-harvesting pass hoists ${{ ... }} tokens from inside bash # comments into step env, breaking workflow load (regression since v0.76) — github/gh-aw1 reaction
- May 28, 2026APM support into HVE Core — microsoft/hve-core1 reaction · 3 comments
- Apr 28, 2026shared/apm.md: align docs with canonical microsoft/apm source; deprecate vendored copy — github/gh-aw1 reaction
- Apr 27, 2026Feature request: first-class label-name filter on `pull_request_target.types: [labeled]` (avoid red "skip via exit 1" idiom) — github/gh-aw1 reaction · 1 comment
- Apr 22, 2026Add support Microsoft APM — droosma/vibe-codeGraph1 reaction
- Apr 19, 2026APM integration — a few alignment notes from the APM side — github/squad1 reaction · 1 comment
- Mar 31, 2026feat(init): bridge to APM during init for cross-team distribution — microsoft/agentrc1 reaction · 2 comments
- Mar 28, 2026[ca] CLI Version Update: MCP Gateway v0.2.7, APM v0.8.6 — github/gh-aw1 reaction
- Mar 24, 2026[ca] CLI Version Updates: MCP Gateway v0.2.4, APM v0.8.5 — github/gh-aw1 reaction
- Mar 23, 2026[ca] Update APM (Agent Package Manager) to v0.8.4 — github/gh-aw1 reaction
- Mar 22, 2026[ca] CLI Version Update: MCP Gateway v0.1.20→v0.1.22, APM v0.8.2→v0.8.3 — github/gh-aw1 reaction
- Mar 18, 2026[ca] CLI Version Updates: MCP Gateway v0.1.17, APM v0.8.1, Claude Code 2.1.78, Copilot CLI 1.0.7 — github/gh-aw1 reaction
- Nov 1, 2026build(deps-dev): bump apm-cli from 0.33.0 to 0.35.0 — remigius42/skill-graft0 reactions · 1 comment
- Oct 31, 2026chore(deps): bump apm-cli from 0.31.0 to 0.35.0 — juangcarmona/agent-toolkit0 reactions
- Oct 25, 2026apm-cli: 0.33.0 -> 0.35.0 — NixOS/nixpkgs0 reactions · 2 comments
- Oct 25, 2026Dependabot support — ministryofjustice/ai-toolkit0 reactions · 2 comments
- Oct 25, 2026chore: install agent skills with APM — relicbuild/relic0 reactions
- Oct 24, 2026chore(deps): bump apm-cli from 0.31.0 to 0.34.0 — juangcarmona/agent-toolkit0 reactions · 1 comment
- Oct 23, 2026agent-skills.github.microsoft.apm: 0.34.0 → 0.35.0 — sudosubin/agents.nix0 reactions
- Oct 22, 2026agent-plugins.github.microsoft.apm: 0.34.0 → 0.35.0 — sudosubin/agents.nix0 reactions
- Oct 21, 2026docs: add beginner-friendly CLAUDE.md — saulpatinojr/Proj-Agent_Packs0 reactions · 1 comment
- Oct 19, 2026agent-plugins.github.microsoft.apm: 0.33.0 → 0.34.0 — sudosubin/agents.nix0 reactions
- Oct 19, 2026agent-skills.github.microsoft.apm: 0.33.0 → 0.34.0 — sudosubin/agents.nix0 reactions
- Oct 19, 2026chore(deps): update dependency github:microsoft/apm to v0.35.0 — mazrean/kessoku0 reactions · 1 comment
- Oct 16, 2026[Candidate] microsoft/apm - large collection (54 SKILL.md files) — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 14, 2026agent-plugins.github.microsoft.apm: init at 0.33.0 — sudosubin/agents.nix0 reactions
- Oct 9, 2026chore(deps): update microsoft/apm-action action to v1.10.0 — milkyware/awesome-ai0 reactions · 1 comment
- Oct 3, 2026Reproduce: clone URL and SSH entries are looked up wrongly — MPV/renovate-apm-demo10 reactions
- Oct 3, 2026Reproduce: object-form entries are dropped — MPV/renovate-apm-demo10 reactions
- Oct 3, 2026chore(deps): bump apm-cli from 0.31.0 to 0.32.0 — juangcarmona/agent-toolkit0 reactions · 1 comment
- Sep 28, 2026Update dependency github:microsoft/apm to v0.35.0 — boykush/renovate-runner0 reactions
- Sep 25, 2026APM install target `copilot` no longer ships VS Code MCP configs — ministryofjustice/ai-toolkit0 reactions
- Sep 23, 2026Update dependency github:microsoft/apm to v0.35.0 — RocketSurgeonsGuild/MSBuild.Targets0 reactions · 2 comments
- Sep 23, 2026Update dependency github:microsoft/apm to v0.35.0 — RocketSurgeonsGuild/Conventions0 reactions · 2 comments
- Sep 4, 2026[GHSA-q5pp-gvjg-h7v4] Correct PyPI package name from `apm` to `apm-cli` — github/advisory-database0 reactions
- Aug 30, 2026feat(github-release): update release github:microsoft/apm ( v0.28.0 → v0.35.0 ) — david-driscoll/stargate-command-cluster0 reactions · 1 comment
- Aug 30, 2026feat(github-release): update release github:microsoft/apm ( v0.28.0 → v0.35.0 ) — david-driscoll/equestria-cluster0 reactions · 1 comment
On Hacker News · 5
- Mar 18, 2026Agent Package Manager7 points
- Jun 24, 2026Microsoft Agent Package Manager2 points
- Mar 4, 2026APM – Agent Package Manager (Microsoft)2 points
- Mar 31, 2026Show HN: A tool to solve the Agent Supply Chain pandora box1 point
- Mar 20, 2026Show HN: Agent Package Manager (APM) for Agent Configuration1 point
On Bluesky · 4
- Mar 5, 2026#VibeCode Easy: declare and share #skills, prompts, instructions, and tools for your git project with APM.yaml across the team. By… — @qdrddr.bsky.social3 likes and reposts · 1 reply
- Sep 11, 2026What are people using to manage agent skills across harnesses and machines? APM looks promising but not very popular (in the grand scheme)… — @ironyuppie.com2 likes and reposts · 1 reply
- Jul 22, 2026gh skills コマンドとどっちが良いかな。 おそらく apm に移行するかな。 🔗 microsoft/apm: Agent Package Manager github.com/microsoft/apm — @teruhirokomaki.bsky.social1 likes and repost
- Apr 16, 2026AIエージェントのプロンプトやスキルを管理できるパッケージマネージャーらしい 開発環境を統一したいチームでかなり便利そう yug1224 starred microsoft/apm https://github.com/microsoft/apm — @yug1224.com1 likes and repost
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- danielmeppiel/apm★ 4.2k100% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository100 other files it gives its agents.
- templates/hello-world/AGENTS.mdAGENTS.md
- tests/integration/fixtures/target_resolution/s01_claude_md_only/CLAUDE.mdCLAUDE.md
- tests/integration/fixtures/target_resolution/s06_dry_run/CLAUDE.mdCLAUDE.md
- tests/integration/fixtures/target_resolution/s07_compile_all_single/CLAUDE.mdCLAUDE.md
- tests/integration/fixtures/target_resolution/s15_claude_rules_exists/CLAUDE.mdCLAUDE.md
- tests/integration/fixtures/target_resolution/s16b_provenance_cwd/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- packages/apm-contributor-dashboard/.github/copilot-instructions.mdCopilot instructions
- packages/autopilot/autopilot-maintainer-canvas/.github/copilot-instructions.mdCopilot instructions
- tests/integration/fixtures/target_resolution/s02b_copilot_instructions/.github/copilot-instructions.mdCopilot instructions
- tests/integration/fixtures/target_resolution/s05_apm_yml_multi/.github/copilot-instructions.mdCopilot instructions
- apm-spec-guardianSkill
- apm-strategySkill
- authSkill
- autopilot-commentSkill
- autopilot-issue-acceptSkill
- autopilot-issue-delivery-schedulerSkill
- autopilot-issue-delivery-workerSkill
- autopilot-issue-triage-schedulerSkill
- autopilot-issue-triage-workerSkill
- autopilot-pr-merge-workerSkill
- autopilot-pr-review-schedulerSkill
- autopilot-pr-review-workerSkill
- autopilot-pr-triage-schedulerSkill
- autopilot-pr-triage-workerSkill
- cli-logging-uxSkill
- cut-releaseSkill
- devx-uxSkill
- docs-corpus-auditSkill
- docs-grounding-verifierSkill
- docs-impact-architectSkill
- docs-impact-classifierSkill
- docs-impact-localizerSkill
- docs-syncSkill
- oss-growthSkill
- pr-description-skillSkill
- python-architectureSkill
- supply-chain-securitySkill
- apm-spec-guardianSkill
- apm-strategySkill
- authSkill
- cli-logging-uxSkill
- cut-releaseSkill
- devx-uxSkill
- docs-corpus-auditSkill
- docs-impact-architectSkill
- docs-impact-classifierSkill
- docs-impact-localizerSkill
- docs-syncSkill
- oss-growthSkill
- python-architectureSkill
- supply-chain-securitySkill
- apm-usageSkill
- autopilot-commentSkill
- autopilot-issue-acceptSkill
- autopilot-issue-delivery-schedulerSkill
- autopilot-issue-delivery-workerSkill
- autopilot-issue-triage-schedulerSkill
- autopilot-issue-triage-workerSkill
- autopilot-pr-merge-workerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 143
Every CONTRADICTED claim cited a specific code file:line that disproves it -- not vague "the code doesn't say that".
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
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
<page>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)Stage 2 is the load-bearing design choice: evidence retrieval is DETERMINISTIC (grep + AST hints), not LLM. The judge in Stage 3 can only rule on evidence it actually receives -- it cannot hallucinate support that the retriever did not find. This is the structural guard against the failure mode "the LLM convinces itself the docs match the code."
Phase 1: SCOPE
Input: list of page paths to verify (1..N). If a risk_class is
attached (e.g. "high-stakes"), prefer it; otherwise treat all as equal.
Out-of-scope:
- Pages outside
docs/src/content/docs/orpackages/apm-guide/.apm/skills/apm-usage/. - Pages with no factual claims (pure editorial / landing). Skip rather than force-extract.
Phase 2: EXTRACT (parallel)
For each page, dispatch ONE claim-extractor agent:
- Prompt template:
scripts/extract-claims.py <page>produces the prompt and embeds the page content. - Returns: JSON
{"page", "claims":[{"id","text","section","keywords", "expected_source_areas"}]}capped at 15 claims per page.
Parallel safe; no shared state between extractors.
Phase 3: RETRIEVE (deterministic, batched)
For each claim, pipe to scripts/retrieve-evidence.sh:
- Uses keywords + expected_source_areas to grep src/.
- Returns one-line JSON:
{"claim_id","claim_text","evidence":[...], "evidence_count"}.
Sequential is fine (grep is fast). No LLM. Diagnostics on stderr, data on stdout.
Phase 4: JUDGE (parallel)
For each (claim, evidence) tuple, dispatch ONE grounding-judge agent:
- Load
assets/judge-prompt.md. - Send the prompt + the tuple.
- Returns: JSON verdict per the schema in
judge-prompt.md.
Batching across claims-of-one-page into a single judge call is fine (prompt with all tuples at once). Across pages, fan out.
Phase 5: SYNTHESIZE
Aggregate verdicts. Materialize the report:
{
"summary": {
"pages_verified": N,
"claims_total": N,
"grounded": N, "partial": N, "contradicted": N, "unsupported": N,
"grounding_rate": N/total
},
"actionable": [
{"page", "claim", "verdict", "evidence_cited", "fix_suggestion"}
]
}CONTRADICTED and PARTIAL are doc-writer work items. UNSUPPORTED is
split: if retrieval_fix_suggestion is plausible, retry retrieval
with the suggested keywords; if still empty, treat as CONTRADICTED.
Phase 6: ALIGNMENT LOOP (A8)
Hand actionable items to doc-writer (one subagent per page). After edits, RE-RUN the pipeline on the same pages. The grounding_rate must MONOTONICALLY INCREASE between iterations or the loop has diverged -- stop and escalate to the operator.
Ship gate
- grounding_rate >= 0.9 on each verified page after the alignment loop.
- Every CONTRADICTED claim cited a specific code file:line that disproves it -- not vague "the code doesn't say that".
- The eval-runner (see
evals/) passes on the trigger evals and the content evals before the skill is treated as production-ready.
Bundled assets
scripts/extract-claims.py-- Stage 1 prompt builder.--help,--schema.scripts/retrieve-evidence.sh-- Stage 2 retriever. Deterministic.--help.scripts/verify-page.sh-- end-to-end orchestrator.--help.assets/judge-prompt.md-- Stage 3 adversarial judge prompt.evals/trigger-evals.json-- 20 dispatch queries (10 should, 10 shouldn't).evals/content-evals.json-- seeded-drift recall scenarios.evals/run-evals.sh-- the eval-runner that turns JSON into metrics.
Failure modes guarded against
- Hallucinated grounding: Stage 2 is deterministic; judge sees only real evidence.
- Adversarial weakness: Stage 3 prompt defaults to SKEPTICAL.
- Page-level averaging: claim-level granularity surfaces partials.
- Bundle leakage: design notes / one-time scripts stay in session
state, never in
references/. - Phantom dependency: SKILL.md links its persona deps via relative paths; A9 PROBE before invoking docs-corpus-audit's substrate.
- Dispatch collision with sibling skills: trigger-eval validation split is the ship gate (must distinguish from docs-sync / docs-corpus-audit triggers).
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.

