apm: Skill for Claude Code

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

autopilot-pr-triage-worker is a skill for Claude Code, Codex from microsoft/apm. It costs 78 tokens per session (1,600 once invoked), scanned A, original, MIT.

A workflow for classifying one already-selected GitHub pull request, which is a proposed code change. It gives an advisory recommendation and can add the specified comment and labels, but it does not approve, merge, or review the code diff.

In plain words
What is it for?
Use it to assess community pull requests in microsoft/apm, including requests linked to issues and requests without an issue. It can prepare a recommendation or post the permitted advisory comment and processing labels.
Why use it?
It keeps pull-request triage separate from code review and merging. It also makes the allowed GitHub actions and required checks explicit.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: 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-triage-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-triage-worker

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/apm/autopilot-pr-triage-worker/github.svg)](https://agentmods.dev/skills/microsoft/apm/autopilot-pr-triage-worker)
Your own site
<a href="https://agentmods.dev/skills/microsoft/apm/autopilot-pr-triage-worker"><img src="https://agentmods.dev/badge/skills/microsoft/apm/autopilot-pr-triage-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-triage-worker

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/apm/autopilot-pr-triage-worker"><img src="https://agentmods.dev/badge/skills/microsoft/apm/autopilot-pr-triage-worker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,600 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00078 $0.01600
Opus 5.5 $0.00031 $0.00640
Sonnet 5.5 $0.00016 $0.00320
Haiku 4.5 $0.00008 $0.00160

Measured 1mo ago against content hash 33e5daa2f1f0, 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-triage-worker 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 1mo 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.

.agents/skills/autopilot-pr-triage-worker/SKILL.md · 163 lines

How it starts

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

autopilot-pr-triage-worker

Advisory classification of ONE already-selected PR. Do not review the diff as autopilot-pr-review-worker does. Do not drive merge.

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-triage-worker
skill_path: <resolved directory of this SKILL.md>
mode: run
subject: microsoft/apm#<pr-number>
path: triage
intent: advise one already-selected PR
origin: unattended | actor-session
write: on | off
json: off | on
debug: off | on
repo: microsoft/apm
pr: <positive integer>
invocation: agentic-workflow | actor-session

Rules:

  • write defaults to on when the caller omitted it.
  • write: off returns the filled template only. Do not comment, add labels, or remove labels.
  • write: on posts one GitHub comment via autopilot-comment and processing / classification labels. Never assign. Never request reviewers. Do not call gh pr comment yourself. Do not write status/accepted, status/needs-design, or status/needs-triage. Write status/deferred only when this PR is not labelled status/accepted and has no same-repo linked issue labelled status/accepted.
  • json defaults to off when omitted or unknown. Omitted json is not a missing-field stop.
  • json: off -> no machine JSON receipt.
  • json: on -> fill JSON only as an internal payload (session file or parent Exit). Never post it on GitHub.
  • debug defaults to off when omitted or unknown. Omitted debug is not a missing-field stop.
  • debug: off -> pass public_body as the Suggested PR comment (unwrap the markdown fence) to autopilot-comment. Do not pass recommendation, linked issue, classification, or next action headings as public_body.
  • debug: on -> pass debug_body as the filled template without a JSON fence. autopilot-comment prefixes [i] Skill debug is on.
  • Load autopilot-comment before any GitHub comment write. source_skill: autopilot-pr-triage-worker. Missing card -> stop.
  • origin fail-closed unknown -> unattended.
  • One PR. Do not nest a scheduler path.

Read the full file on GitHub · 163 lines

Files

What ships with it

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

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 · +24 lines 33e5daa2f1f0
  2. 1mo ago First seen · 139 lines · 78 tokens per session scan A 588482dfa134

Subscribe to this mod's changes

autopilot-pr-triage-worker is a skill published in the GitHub repository microsoft/apm (4,133 stars, last pushed yesterday), licensed MIT. It adds 78 tokens to every session and 1,600 once invoked, about $0.0003 per session on Opus 5.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-09-17.