Official agent skill

Autopilot PR Triage Worker

by microsoft in microsoft/apm

A skill your agent uses to triage ONE microsoft/apm pull request already selected by autopilot-pr-triage-scheduler.

OfficialMITAuto-check passedDevelopment

Install Autopilot PR Triage Worker

skills CLI
$ npx skills add microsoft/apm --skill autopilot-pr-triage-worker -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microsoft/apm autopilot-pr-triage-worker --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microsoft/apm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/autopilot-pr-triage-worker .claude/skills/autopilot-pr-triage-worker && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
autopilot-pr-triage-worker
GitHub stars
4k
Token cost
~1.6k tokens
SKILL.md length
672 words
Files
3 (incl. assets)
Skills in repo
27
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses to triage ONE microsoft/apm pull request already selected by autopilot-pr-triage-scheduler.

  • Works in 6 steps: Confirm the PR is the single target.… → Gather full context. Record whether this… → Fill assets/pr-triage-template.md. → …
  • Triage ONE microsoft/apm pull request already selected by autopilot-pr-triage-scheduler
  • SKILL.md covers Activation card, Origin and writes, Context (mandatory) and Procedure, plus 1 more section
  • Calls gh

What it does

Autopilot PR Triage Worker is an agent skill from microsoft/apm, published by the product's own GitHub organization. Use this skill to triage ONE microsoft/apm pull request already selected by autopilot-pr-triage-scheduler. Covers community PRs that fix an issue and PRs opened without an issue. Return one advisory recommendation, never human approval, never a diff review, never merge. Not a queue manager and not autopilot-pr-review-worker.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including assets (for example `assets/label-contract.json` and `assets/pr-triage-template.md`).

It sits in Development, covering Pull requests and Monitoring and alerting. It works with GitHub. The repository describes itself as: Agent Package Manager. The licence is MIT.

When your agent uses it

  • Triage ONE microsoft/apm pull request already selected by autopilot-pr-triage-scheduler
  • Tasks that involve Pull requests
  • Tasks that involve Monitoring and alerting

Example prompts

  • “/autopilot-pr-triage-worker”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Confirm the PR is the single target. Missing number -> stop.
  2. Gather full context. Record whether this PR is labelled
  3. Fill assets/pr-triage-template.md.
  4. Neither this PR nor a linked same-repo issue is
  5. ready-for-review when this PR or a linked same-repo issue is
  6. Post only if the comment would change. Probe

What it can do on your machine

Read from SKILL.md and the folder at commit 280b8a7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Autopilot PR Triage Worker loads about 1.6k tokens when it runs. Until then it costs about 88 tokens; SKILL.md has 672 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~88
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from microsoft/apm at commit 280b8a7, republished under its MIT licence (© microsoft). 672 words, ~1,566 tokens.

Download SKILL.mdSave it as .claude/skills/autopilot-pr-triage-worker/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
autopilot-pr-triage-worker
description
Use this skill to triage ONE microsoft/apm pull request already selected by autopilot-pr-triage-scheduler. Covers community PRs that fix an issue and PRs opened without an issue. Return one advisory recommendation, never human approval, never a diff review, never merge. Not a queue manager and not autopilot-pr-review-worker.
activation_card
on

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.

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

After the run, emit this Exit receipt:

text
skill: autopilot-pr-triage-worker
subject: microsoft/apm#<pr-number>
path: triage
write: on | off
json: off | on
debug: off | on
posted: yes | no
labels_applied: <comma list or none>
approved: n/a

Read assets/label-contract.json (same contract as issue triage) before reasoning. Do not invent a second marker.

Origin and writes

No assignment needed. Never request reviewers. Unattended and actor-session are equally read-only for ownership.

This worker owns those writes even when summoned without a scheduler. The scheduler must not comment or label.

Allowed writes: one advisory comment plus processing / optional classification labels from the contract. Never write status/accepted, status/needs-design, or status/needs-triage.

Auto-defer: if this PR is not labelled status/accepted and has no same-repo linked issue labelled status/accepted, add status/deferred (write: on only). Do not overwrite status/accepted already on the PR. Linked means Fixes / Closes / #N in the body or commits, or GitHub closingIssuesReferences, same repository. Any one accepted linked issue or status/accepted on the PR blocks auto-defer.

CODEOWNERS reviewRequests is runtime authority. Note owners in the comment. Never add or remove review requests.

Show full SKILL.md (283 more words)Show less

Context (mandatory)

Before advising, paginate the complete PR conversation, reviews, and review comments. If the body or commits reference Fixes / Closes / #N, read that issue's complete conversation too. No fresh advisory without that context.

If a prior triage comment's watermark still matches HEAD conversation, no-op (do not post a duplicate).

Procedure

  1. Confirm the PR is the single target. Missing number -> stop.
  2. Gather full context. Record whether this PR is labelled status/accepted, and linked same-repo issues and whether any carries status/accepted.
  3. Fill assets/pr-triage-template.md. Recommendation is one of: ready-for-review | needs-design | needs-issue | duplicate-of | decline-with-reason | auto-handle.
  4. Neither this PR nor a linked same-repo issue is status/accepted -> recommend needs-issue, add status/deferred when write: on, and thank the author. Invite them to open an issue for maintainer review and acceptance first, per CONTRIBUTING.md ("Start with an issue, not an implementation."). Link https://github.com/microsoft/apm/blob/main/CONTRIBUTING.md
  5. ready-for-review when this PR or a linked same-repo issue is status/accepted. It is not merge approval and is not a request to run autopilot-pr-review-scheduler.
  6. Post only if the comment would change. Probe $REPO_ROOT/.agents/skills/autopilot-comment/SKILL.md (or the sibling package). Missing -> stop. Do not post. Activate autopilot-comment (source_skill: autopilot-pr-triage-worker). Do not call gh pr comment yourself. debug: off: Suggested PR comment body as public_body (not the filled template). debug: on: filled template as debug_body. Missing footer after that write is a failed post -- patch via autopilot-comment (intent: patch). Add the contract processing marker. Do not remove status/needs-triage.

Hard nos

  • Do not merge, push, assign, or request reviewers.
  • Do not run autopilot-pr-review-worker or autopilot-pr-merge-worker.
  • Do not contradict CODEOWNERS.
  • Do not treat labels or this comment as status/accepted.
  • Do not write status/deferred when a linked issue is status/accepted or the PR already has status/accepted.
  • ASCII only.

© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (assets) in .agents/skills/autopilot-pr-triage-worker of microsoft/apm.

  • SKILL.md
  • assets/label-contract.json
  • assets/pr-triage-template.md

Open the folder on GitHubat commit 280b8a7

Compare with similar skills

Autopilot PR Triage Worker next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Autopilot PR Triage Worker compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Autopilot PR Triage Worker this skillmicrosoft/apm4k—~1.6kAutomated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed

More from microsoft/apm

All 27 skills in this repo
  • Cut Release

    microsoft/apm

    Official

    A skill your agent uses to cut an APM release from the current worktree: assess whether the cycle since the last tag warrants a patch or minor bump (semver discipline against the…

    4k GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Docs Corpus Audit

    microsoft/apm

    Official

    A skill your agent uses to run a holistic regrounding pass on the entire microsoft/apm documentation corpus against current source code, page-by-page, and emit surgical fixes for stale claims.

    4k GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Official

    A skill your agent uses to verify CLAIM-LEVEL grounding of a documentation page (or set of pages) against the source code.

    4k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Official

    A skill your agent uses to write the PR description (PR body) for any pull request opened against microsoft/apm.

    4k GitHub stars~4.1k tokensUpdated today
    Auto-check passed
  • Official

    A skill your agent uses to implement ONE microsoft/apm issue already selected by autopilot-issue-delivery-scheduler.

    4k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Official

    Drive ONE already selected open pull request in microsoft/apm to mergeable.

    4k GitHub stars~3.4k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Autopilot PR Triage Worker

What does Autopilot PR Triage Worker do?

A skill your agent uses to triage ONE microsoft/apm pull request already selected by autopilot-pr-triage-scheduler. Autopilot PR Triage Worker is an agent skill from microsoft/apm, published by the product's own GitHub organization. Use this skill to triage ONE microsoft/apm pull request already selected by autopilot-pr-triage-scheduler.

When should I use Autopilot PR Triage Worker?

Autopilot PR Triage Worker fits situations like: triage ONE microsoft/apm pull request already selected by autopilot-pr-triage-scheduler; tasks that involve Pull requests; tasks that involve Monitoring and alerting.

How do I install Autopilot PR Triage Worker in Claude Code?

Run `npx skills add microsoft/apm --skill autopilot-pr-triage-worker -a claude-code`. Or copy the skill folder (.agents/skills/autopilot-pr-triage-worker in microsoft/apm) into .claude/skills/autopilot-pr-triage-worker in your project. Claude Code loads it when a task matches its description.

How do I install Autopilot PR Triage Worker in Codex?

Run `npx skills add microsoft/apm --skill autopilot-pr-triage-worker -a codex`. Or copy the skill folder (.agents/skills/autopilot-pr-triage-worker in microsoft/apm) into .agents/skills/autopilot-pr-triage-worker in your project. Codex loads it when a task matches its description.

Can I use Autopilot PR Triage Worker in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/apm --skill autopilot-pr-triage-worker -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/autopilot-pr-triage-worker, .gemini/skills/autopilot-pr-triage-worker, .github/skills/autopilot-pr-triage-worker and .opencode/skills/autopilot-pr-triage-worker in your project.

What does Autopilot PR Triage Worker need to run?

Going by SKILL.md and its folder, Autopilot PR Triage Worker needs the command-line tools its instructions call (gh).

Does Autopilot PR Triage Worker access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Autopilot PR Triage Worker safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Autopilot PR Triage Worker use?

Autopilot PR Triage Worker is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Autopilot PR Triage Worker use?

About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Autopilot PR Triage Worker?

Skills that share tags, products or a category with Autopilot PR Triage Worker: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Create Pull Request (cline/cline, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Autopilot PR Triage Worker?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/apm, which has 3,988 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on October 9, 2026.

Source: microsoft/apm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.