Official agent skill

Autopilot Comment

by microsoft in microsoft/apm

A skill your agent uses to post or patch ONE GitHub comment for a microsoft/apm autopilot run.

OfficialMITAuto-check passedDevOps & Cloud

Install Autopilot Comment

skills CLI
$ npx skills add microsoft/apm --skill autopilot-comment -a claude-code

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

GitHub CLI
$ gh skill install microsoft/apm autopilot-comment --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-comment .claude/skills/autopilot-comment && 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-comment
GitHub stars
4k
Token cost
~883 tokens
SKILL.md length
300 words
Files
2
Skills in repo
27
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses to post or patch ONE GitHub comment for a microsoft/apm autopilot run.

  • Works in 4 steps: Drop JSON fences and… → Build the body from debug as above.… → Append this exact footer, substituting… → …
  • Patch ONE GitHub comment for a microsoft/apm autopilot run
  • SKILL.md covers Activation card, Assemble, Write and Hard nos
  • Calls gh

What it does

Autopilot Comment is an agent skill from microsoft/apm, published by the product's own GitHub organization. Use this skill to post or patch ONE GitHub comment for a microsoft/apm autopilot run. It owns public vs debug body assembly and the AI disclaimer footer. Never labels, assigns, requests reviewers, or merges. Autopilot skills that write comments must load this skill and must not call gh comment APIs themselves.

Its SKILL.md is about 880 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `apm.yml`).

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

When your agent uses it

  • Patch ONE GitHub comment for a microsoft/apm autopilot run
  • Tasks that involve Monitoring and alerting

Example prompts

  • “/autopilot-comment”

Workflow steps

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

  1. Drop JSON fences and triage-recommendation blocks.
  2. Build the body from debug as above. ASCII only.
  3. Append this exact footer, substituting source_skill
  4. If the footer is already the last lines, do not duplicate it.

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 Comment loads about 883 tokens when it runs. Until then it costs about 82 tokens; SKILL.md has 300 words of instructions outside code blocks.

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

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). 300 words, ~883 tokens.

Download SKILL.mdSave it as .claude/skills/autopilot-comment/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
autopilot-comment
description
Use this skill to post or patch ONE GitHub comment for a microsoft/apm autopilot run. It owns public vs debug body assembly and the AI disclaimer footer. Never labels, assigns, requests reviewers, or merges. Autopilot skills that write comments must load this skill and must not call gh comment APIs themselves.
activation_card
on

autopilot-comment -- Sole GitHub comment writer

Any autopilot skill that would write a GitHub comment loads this skill in the same session and stops if the card is missing. Do not spawn a nested session. Do not comment from the caller.

Activation card

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

text
skill: autopilot-comment
skill_path: <resolved directory of this SKILL.md>
mode: run
subject: microsoft/apm#<number>
path: comment
intent: post one GitHub comment | patch one GitHub comment
origin: unattended | actor-session
write: on | off
debug: off | on
repo: microsoft/apm
target_kind: issue | pull
target: <positive integer>
source_skill: <canonical autopilot skill name>
comment_id: none | <positive integer>
invocation: agentic-workflow | actor-session
receipt: <HTML comment watermark line>
public_body: <author-facing prose, no JSON, no footer>
debug_body: <full internal template without JSON fence, or none>

Rules:

  • write defaults to on when the caller omitted it.
  • write: off returns the assembled body only. Do not post or patch.
  • write: on posts or patches exactly one comment. Never labels, assigns, requests reviewers, or merges.
  • debug defaults to off when omitted or unknown. Omitted debug is not a missing-field stop.
  • debug: off -> HTML receipt plus public_body. Do not post internal headings from debug_body.
  • debug: on -> first line [i] Skill debug is on. then receipt plus debug_body (or public_body if debug_body is none).
  • comment_id: none with intent post. A numeric comment_id with intent patch. Mismatch -> stop.
  • source_skill is the caller (for example autopilot-issue-triage-worker). Never autopilot-comment.
  • origin fail-closed unknown -> unattended.
  • Strip any JSON fence from bodies before assembly. Never post JSON on GitHub.

After the write (or dry-run), emit this Exit receipt:

text
skill: autopilot-comment
subject: microsoft/apm#<number>
path: comment
write: on | off
debug: off | on
posted: yes | no
patched: yes | no
comment_id: <id or none>
source_skill: <canonical autopilot skill name>
approved: n/a

Assemble

  1. Drop JSON fences and triage-recommendation blocks.
  2. Build the body from debug as above. ASCII only.
  3. Append this exact footer, substituting source_skill:
text
---

Generated by <source_skill>. This comment is AI-generated and may contain errors.
  1. If the footer is already the last lines, do not duplicate it.

Write

Actor-session / Copilot App / Cloud / Remote:

  • issue + post: gh issue comment <target> --body-file ...
  • pull + post: gh pr comment <target> --body-file ...
  • patch: gh api -X PATCH /repos/microsoft/apm/issues/comments/<comment_id>

Agentic Workflow: safe-outputs.add-comment for post. Patch is not available; stop if intent is patch.

One comment per activation. No progress comments.

Hard nos

  • Do not assign, request reviewers, merge, or edit labels.
  • Do not implement.
  • Do not compose schedulers or other workers.
  • 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 1 other file in .agents/skills/autopilot-comment of microsoft/apm.

  • SKILL.md
  • apm.yml

Open the folder on GitHubat commit 280b8a7

Compare with similar skills

Autopilot Comment 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 Comment compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Autopilot Comment this skillmicrosoft/apm4k—~883Automated safety check: PassMIT
Tool ConnectorZhixiangLuo/10xProductivity478—~925Automated safety check: PassMIT
Golang Samber Hotsamber/cc-skills-golang3.4k—~2kAutomated safety check: PassMIT
Admingrafana/skills278—~1.5kAutomated safety check: PassApache-2.0
Skill Findermizchi/skills356—~3.2kAutomated safety check: PassNone
Datasources Provisioninggrafana/skills278—~2.8kAutomated safety check: PassApache-2.0

Similar skills

  • Tool Connector

    ZhixiangLuo/10xProductivity

    Connect any tool you use at work to your agent — including internal company tools, custom-built systems, deployment portals, incident trackers, internal knowledge bases, HR systems, and commercial…

    478 GitHub stars~925 tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed
  • Golang Samber Hot

    samber/cc-skills-golang

    In-memory caching in Golang using samber/hot — eviction algorithms (LRU, LFU, TinyLFU, W-TinyLFU, S3FIFO, ARC, TwoQueue, SIEVE, FIFO), TTL, cache loaders, sharding, stale-while-revalidate, missing…

    3.4k GitHub stars~2k tokensUpdated 6 days ago
    DevOps & CloudAuto-check passed
  • Admin

    grafana/skills

    Official

    Manage Grafana Cloud accounts — organizations, stacks, RBAC roles and assignments, SSO/SAML/OAuth/GitHub auth, service accounts for CI/CD, user invites, team membership, and API-driven provisioning.

    278 GitHub stars~1.5k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Skill Finder

    mizchi/skills

    Use ONLY when the user explicitly asks to discover or evaluate a skill from OUTSIDE the curated catalog — e.g., "find a Stripe skill", "is there a skill for X?", "evaluate this candidate before…

    356 GitHub stars~3.2k tokensUpdated 5 days ago
    DevOps & CloudAuto-check passed
  • Official

    Generate a copy-paste Grafana data source provisioning file (YAML or Terraform) for any plugin from its standardized settings schema on the plugins CDN.

    278 GitHub stars~2.8k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Oss Alternatives

    tinyfish-io/tinyfish-cookbook

    Find actively maintained open source alternatives to any paid SaaS tool or commercial API.

    2.2k GitHub stars~2.2k tokensUpdated 5 days ago
    DevOps & CloudAuto-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 yesterday
    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 yesterday
    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 yesterday
    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 yesterday
    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 yesterday
    Auto-check passed
  • Official

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

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

Works with

Categories

Questions about Autopilot Comment

What does Autopilot Comment do?

A skill your agent uses to post or patch ONE GitHub comment for a microsoft/apm autopilot run. Autopilot Comment is an agent skill from microsoft/apm, published by the product's own GitHub organization. Use this skill to post or patch ONE GitHub comment for a microsoft/apm autopilot run.

When should I use Autopilot Comment?

Autopilot Comment fits situations like: patch ONE GitHub comment for a microsoft/apm autopilot run; tasks that involve Monitoring and alerting.

How do I install Autopilot Comment in Claude Code?

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

How do I install Autopilot Comment in Codex?

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

Can I use Autopilot Comment 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-comment -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-comment, .gemini/skills/autopilot-comment, .github/skills/autopilot-comment and .opencode/skills/autopilot-comment in your project.

What does Autopilot Comment need to run?

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

Does Autopilot Comment 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 Comment 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 Comment use?

Autopilot Comment 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 Comment use?

About 883 tokens (SKILL.md is roughly 3.5k 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 Comment?

Skills that share tags, products or a category with Autopilot Comment: Tool Connector (ZhixiangLuo/10xProductivity, 478 stars), Golang Samber Hot (samber/cc-skills-golang, 3.4k stars), Admin (grafana/skills, 278 stars) and Skill Finder (mizchi/skills, 356 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Autopilot Comment?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/apm, which has 3,968 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on October 6, 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.