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/pnp/copilot-pro-dev-samples/declarative-agent-sample-reviewnpx skills add pnp/copilot-pro-dev-samples --skill declarative-agent-sample-reviewgit clone --depth 1 https://github.com/pnp/copilot-pro-dev-samplesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pnp/copilot-pro-dev-samples/declarative-agent-sample-review)<a href="https://agentmods.dev/skills/pnp/copilot-pro-dev-samples/declarative-agent-sample-review"><img src="https://agentmods.dev/badge/skills/pnp/copilot-pro-dev-samples/declarative-agent-sample-review.svg" alt="Measured on agentmods" height="20"></a>What 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.00069 | $0.00716 |
| Opus 5 | $0.00034 | $0.00358 |
| Sonnet 5 | $0.00014 | $0.00143 |
| Haiku 4.5 | $0.00007 | $0.00072 |
Grade A, and why
declarative-agent-sample-review 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 4d 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 — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Declarative Agent Sample Review
Review declarative agent sample PRs (folders starting with da-) for compliance with repo guidelines.
Workflow
- Checkout PR:
gh pr checkout <number> - Verify sample folder starts with
da- - Run checks below, collecting comments (file, line, issue)
- Submit all comments in single API call (GitHub limitation)
Checks
1. Manifest Schema Versions
Fetch latest versions from Microsoft Learn docs (never use other samples as reference):
| Manifest | File | Property | Docs |
|---|---|---|---|
| App | appPackage/manifest.json |
manifestVersion |
learn.microsoft.com/microsoft-365/extensibility/schema |
| Declarative Agent | appPackage/*DeclarativeAgent.json |
version + $schema |
learn.microsoft.com/microsoft-365-copilot/extensibility/declarative-agent-manifest |
| API Plugin | appPackage/ai-plugin.json |
schema_version |
learn.microsoft.com/microsoft-365-copilot/extensibility/api-plugin-manifest |
2. m365agents.yml
- No
projectId- auto-generated on provision, must not be committed - Check both
m365agents.ymlandm365agents.local.yml
3. README.md
Compare against templates/da-declarative-agent/README.md:
- Contributors section present with actual author names
- Version history lists real author (not "Microsoft")
- Tracking image uses markdown format at end of file:
 - URLs consistent (avoid mixed
en-us/locales in same file) - No trailing
---at end
4. assets/sample.json
Compare against templates/sample-template.json:
- name:
pnp-copilot-pro-dev-<sample-folder> - url/downloadUrl: correct sample folder path
- authors: matches actual contributors (verify against PR author)
- URLs: consistent locale format
Submitting Reviews
GitHub API cannot add comments to pending reviews after creation. Collect all comments first.
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.
- 4d ago First seen · 89 lines · 69 tokens per session scan A 3a93cccd28bd
declarative-agent-sample-review is a skill published in the GitHub repository pnp/copilot-pro-dev-samples (156 stars, last pushed 1mo ago), licensed MIT. It adds 69 tokens to every session and 716 once invoked, about $0.0003 per session on Opus 5. 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
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
verify
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.
ast-grep
Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for…
run-integration-tests
Build, pack, and run .NET MAUI integration tests locally. Validates templates, samples, and end-to-end scenarios using the local workload.
run-helix-tests
Submit and monitor .NET MAUI unit tests on Helix infrastructure. Supports running XAML, Resizetizer, Core, Essentials, and other unit test projects on distributed Helix queues.
extract-errors
Use when adding new error messages to React, or seeing "unknown error code" warnings.