copilot-studio-sample-review

copilot-studio-sample-review is a skill for Claude Code, Codex from pnp/copilot-pro-dev-samples. It costs 33 tokens per session (643 once invoked), scanned A, original, MIT.

A review checklist for pull requests containing Microsoft Copilot Studio samples, which are example projects for Microsoft's chatbot-building tool.

In plain words
What is it for?
It is for reviewing `mcs-*` sample folders, checking required files, finding packaged ZIP exports, and submitting the review comments.
Why use it?
It helps reviewers check that samples follow the repository's required structure, documentation, and source-file rules.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/pnp/copilot-pro-dev-samples/copilot-studio-sample-review
Any agent
npx skills add pnp/copilot-pro-dev-samples --skill copilot-studio-sample-review
Clone the repo
git clone --depth 1 https://github.com/pnp/copilot-pro-dev-samples

Made for: Claude Code, Codex.

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

agentmods badge for copilot-studio-sample-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/pnp/copilot-pro-dev-samples/copilot-studio-sample-review.svg)](https://agentmods.dev/skills/pnp/copilot-pro-dev-samples/copilot-studio-sample-review)
Your own site
<a href="https://agentmods.dev/skills/pnp/copilot-pro-dev-samples/copilot-studio-sample-review"><img src="https://agentmods.dev/badge/skills/pnp/copilot-pro-dev-samples/copilot-studio-sample-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 643 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00033 $0.00643
Opus 5 $0.00016 $0.00321
Sonnet 5 $0.00007 $0.00129
Haiku 4.5 $0.00003 $0.00064

Measured 4d ago against content hash 3b017417098c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

copilot-studio-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.

.github/skills/copilot-studio-sample-review/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Copilot Studio Sample Review

Review Copilot Studio sample PRs (folders starting with mcs-) for compliance with repo guidelines. Use when a request asks to review an mcs-* sample PR (e.g., "review PR" or "review this sample").

Workflow

  1. Checkout PR: gh pr checkout <number>
  2. Verify sample folder starts with mcs-
  3. Run checks below, collecting comments (file, line, issue)
  4. Submit all comments in single API call (GitHub limitation)

Checks

1. Folder and file structure

  • Sample is under samples/mcs-*
  • Required top-level files/folders are present: README.md, assets/, src/
  • assets/sample.json exists and includes correct sample folder references

2. No packaged exports

  • Request changes if any packaged .zip exports are committed under samples/mcs-* (e.g., samples/mcs-example/export.zip). Extracted source files are required, whether the contributor used pac solution clone or the VS Code clone method.
  • Copilot Studio exports must be committed as extracted source files only

3. README and template alignment

  • README is based on /templates/mcs-copilot-studio/README.md
  • Setup steps include one of the supported contributor flows:
    • Solution export via Power Platform CLI (pac solution clone)
    • Copilot Studio Visual Studio Code clone method

4. Metadata consistency

  • assets/sample.json name uses pnp-copilot-pro-dev-<sample-folder>
  • url and downloadUrl target the correct samples/mcs-* path
  • Author information and thumbnail paths match repository conventions

Submitting Reviews

GitHub API does not support adding comments to a review after it has been created. Collect all comments first and submit them in one API call.

Get commit SHA:

gh pr view <PR> --json headRefOid

Create review.json:

{
  "commit_id": "<sha>",
  "event": "<REQUEST_CHANGES|COMMENT|APPROVE>",
  "body": "Summary message",
  "comments": [
    {"path": "file/path", "line": 10, "body": "Issue description"}
  ]
}

Read the full file on GitHub · 75 lines

Changes

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.

  1. 4d ago First seen · 75 lines · 33 tokens per session scan A 3b017417098c

Subscribe to this mod's changes

copilot-studio-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 33 tokens to every session and 643 once invoked, about $0.0002 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.