apm: Skill for Claude Code

.agents/skills/autopilot-pr-review-worker/SKILL.md

autopilot-pr-review-worker is a skill for Claude Code, Codex from microsoft/apm. It costs 116 tokens per session (8,858 once invoked), scanned A, original, MIT.

An advisory review worker for one selected GitHub pull request in microsoft/apm. It asks several specialist agents to examine the change and combines their findings into one recommendation; it does not decide whether to merge.

In plain words
What is it for?
Use it to review a pull request with specialist perspectives, including extra checks when the changed files require them.
Why use it?
It gathers different kinds of review feedback without turning the result into an automatic approval, rejection, or merge gate.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

This is microsoft/apm's own configuration. It tells Claude Code and Codex how to work on apm itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything apm configures →

About the project

APM is a package manager for AI-agent configuration, using a manifest to declare reusable instructions, skills, prompts, agents, hooks, plugins, and MCP components. Development teams use it to reproduce agent setups across projects and control their dependencies through policies and lockfiles, while the catalogue contains many of these agent components.

microsoft/apm · 4,133 stars · on GitHub · microsoft.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to microsoft/apm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/microsoft/apm/main/.agents/skills/autopilot-pr-review-worker/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/microsoft/apm

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 autopilot-pr-review-worker

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/apm/autopilot-pr-review-worker/github.svg)](https://agentmods.dev/skills/microsoft/apm/autopilot-pr-review-worker)
Your own site
<a href="https://agentmods.dev/skills/microsoft/apm/autopilot-pr-review-worker"><img src="https://agentmods.dev/badge/skills/microsoft/apm/autopilot-pr-review-worker/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for autopilot-pr-review-worker

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/apm/autopilot-pr-review-worker"><img src="https://agentmods.dev/badge/skills/microsoft/apm/autopilot-pr-review-worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,858 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00116 $0.08858
Opus 5.5 $0.00046 $0.03543
Sonnet 5.5 $0.00023 $0.01772
Haiku 4.5 $0.00012 $0.00886

Measured 1mo ago against content hash 9f648dd0bc89, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

autopilot-pr-review-worker scanned grade A with 1 finding 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (evals/render_eval.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

`subprocess.run` calls on a path that executes per-package or
.agents/skills/autopilot-pr-review-worker/SKILL.md · 741 lines

How it starts

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

autopilot-pr-review-worker - Fan-Out Advisory Review

The panel is FAN-OUT + SYNTHESIZER. Each persona runs in its own agent thread (via the task tool) and returns JSON matching assets/panelist-return-schema.json. The orchestrator schema-validates each return, hands all returns to the apm-ceo synthesizer (also a task thread, returns JSON matching assets/ceo-return-schema.json), then renders ONE recommendation comment from assets/recommendation-template.md.

This skill is ADVISORY by design. It does not compute a binary verdict, it does not apply verdict labels, and it does not gate merge. The panel surfaces findings; the maintainer and the PR author decide ship.

Activation card

activation_card: on. Before any PR read or GitHub write, emit this Enter card with every field filled. Missing field -> stop.

skill: autopilot-pr-review-worker
skill_path: <resolved directory of this SKILL.md>
mode: run
subject: microsoft/apm#<pr-number>
path: review
intent: advise one already-selected PR
origin: unattended | actor-session
write: on | off
debug: off | on
repo: microsoft/apm
pr: <positive integer>
invocation: agentic-workflow | actor-session
invocation_mode: session-review | direct-user-review | composed-implementation-review
panel-mode: full | lean | delta

Rules:

  • write defaults to on when the caller omitted it.
  • write: off returns the filled template only. Do not comment, add labels, remove labels, or request reviewers.
  • write: on posts the one advisory comment via autopilot-comment (source_skill: autopilot-pr-review-worker) and may clear panel-review. Never assign. Actor-session may request @me as a supplemental reviewer. Do not call gh pr comment or safe-outputs.add-comment yourself.
  • panel-mode defaults to lean when omitted or unknown. Omitted panel-mode is not a missing-field stop. Caller (merge-worker, scheduler, or human) SHOULD set it. Unknown fails cheap (lean), not heavy (full).
  • debug defaults to off when omitted or unknown. Omitted debug is not a missing-field stop. Pass it through to autopilot-comment. debug: on prefixes [i] Skill debug is on. The filled recommendation template is public_body (and debug_body when debug is on).
  • origin fail-closed unknown -> unattended.
  • Unattended never assigns and never requests reviewers.
  • One PR. Do not nest a scheduler path.

Read the full file on GitHub · 741 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. 1mo ago Changed · +32 lines · -64 tokens per session 9f648dd0bc89
  2. 1mo ago First seen · 709 lines · 180 tokens per session scan A 32e775787e60

Subscribe to this mod's changes

autopilot-pr-review-worker is a skill published in the GitHub repository microsoft/apm (4,133 stars, last pushed yesterday), licensed MIT. It adds 116 tokens to every session and 8,858 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-17.