auth
Skill3.9k starsChanged 3 months agoMITView on GitHub
Activate when code touches token management, credential resolution, git auth flows, GITHUB_APM_PAT, ADO_APM_PAT, AuthResolver, HostInfo, AuthContext, or any remote host authentication -- even if 'auth' isn't mentioned explicitly.
- Reads credentials
17 other projects use a version of this.
Trending
Steady talk.about the whole repository
Most recently taken up by
- crbnos/carbontheir own version, first seen Oct 4, 2026
- vercel-labs/hatcherytheir own version, first seen Sep 25, 2026
- blyatiful1/ultrawebtheir own version, first seen Sep 2, 2026
- zyphr-labs/bounty-harnesstheir own version, first seen Aug 26, 2026
- SpiderIQ/skillstheir own version, first seen Aug 20, 2026
- silvioventre/lovable-skillstheir own version, first seen Aug 18, 2026
Who's talking about microsoft/apm
- dependabot/dependabot-core“Support https://github.com/microsoft/apm - agent package manager”GitHub · Mar 3, 2026 · 22 reactions
- renovatebot/renovate“feat(manager): add apm manager for Agent Package Manager”GitHub · Jul 6, 2026 · 8 reactions
- A Hacker News story“Agent Package Manager”Hacker News · Mar 18, 2026 · 7 points
- @qdrddr.bsky.social“#VibeCode Easy: declare and share #skills, prompts, instructions, and tools for your git project with …”Bluesky · Mar 5, 2026 · 3 likes
- @ironyuppie.com“What are people using to manage agent skills across harnesses and machines? APM looks promising but not …”Bluesky · Sep 11, 2026 · 2 likes
The biggest 5 of 41 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 41
Talked about on GitHub, Hacker News and Bluesky (41 times).
On GitHub · 32
- Mar 3, 2026Support https://github.com/microsoft/apm - agent package manager — dependabot/dependabot-core22 reactions · 5 comments
- Jul 6, 2026feat(manager): add apm manager for Agent Package Manager — renovatebot/renovate8 reactions · 25 comments
- Jun 22, 2026[Feature] Add Agent Package Manager distribution mechanism — pbakaus/impeccable2 reactions · 3 comments
- Jun 5, 2026[FEATURE] Native support for Claude Code Plugin Format — LobsterTrap/lola2 reactions · 3 comments
- May 4, 2026Support scanning all agent context-building blocks, not just SKILL.md — snyk/agent-scan2 reactions · 3 comments
27 more on GitHub
- Apr 7, 2026feat: add asdf-apm plugin for Microsoft Agent Package Manager — asdf-vm/asdf-plugins2 reactions
- Apr 3, 2026chore(deps): update dependency microsoft/apm to v0.8.10 — MH0386/aur2 reactions · 4 comments
- Oct 1, 2026build(deps): bump apm-cli from 0.20.0 to 0.32.0 in /.apm-cli-pin — elastic/oblt-aw1 reaction · 3 comments
- Jul 28, 2026Add a feature for installing APM from https://github.com/microsoft/apm/releases — postfinance/devcontainer-features1 reaction
- May 29, 2026Expression-harvesting pass hoists ${{ ... }} tokens from inside bash # comments into step env, breaking workflow load (regression since v0.76) — github/gh-aw1 reaction
- Apr 28, 2026shared/apm.md: align docs with canonical microsoft/apm source; deprecate vendored copy — github/gh-aw1 reaction
- Apr 27, 2026Feature request: first-class label-name filter on `pull_request_target.types: [labeled]` (avoid red "skip via exit 1" idiom) — github/gh-aw1 reaction · 1 comment
- Apr 22, 2026Add support Microsoft APM — droosma/vibe-codeGraph1 reaction
- Apr 19, 2026APM integration — a few alignment notes from the APM side — bradygaster/squad1 reaction · 1 comment
- Mar 31, 2026feat(init): bridge to APM during init for cross-team distribution — microsoft/agentrc1 reaction · 2 comments
- Mar 28, 2026[ca] CLI Version Update: MCP Gateway v0.2.7, APM v0.8.6 — github/gh-aw1 reaction
- Mar 24, 2026[ca] CLI Version Updates: MCP Gateway v0.2.4, APM v0.8.5 — github/gh-aw1 reaction
- Mar 23, 2026[ca] Update APM (Agent Package Manager) to v0.8.4 — github/gh-aw1 reaction
- Mar 22, 2026[ca] CLI Version Update: MCP Gateway v0.1.20→v0.1.22, APM v0.8.2→v0.8.3 — github/gh-aw1 reaction
- Mar 18, 2026[ca] CLI Version Updates: MCP Gateway v0.1.17, APM v0.8.1, Claude Code 2.1.78, Copilot CLI 1.0.7 — github/gh-aw1 reaction
- Oct 3, 2026Reproduce: clone URL and SSH entries are looked up wrongly — MPV/renovate-apm-demo10 reactions
- Oct 3, 2026Reproduce: object-form entries are dropped — MPV/renovate-apm-demo10 reactions
- Oct 3, 2026chore(deps): bump apm-cli from 0.31.0 to 0.32.0 — juangcarmona/agent-toolkit0 reactions
- Sep 28, 2026chore(apm): refresh baseline — thetechgy/agent-engineering-baseline0 reactions
- Sep 25, 2026APM install target `copilot` no longer ships VS Code MCP configs — ministryofjustice/ai-toolkit0 reactions
- Sep 4, 2026Consider APM for this repo — con/skills0 reactions · 1 comment
- Sep 4, 2026[GHSA-q5pp-gvjg-h7v4] Correct PyPI package name from `apm` to `apm-cli` — github/advisory-database0 reactions
- Jul 22, 2026Your Task title Evaluate AI SDLC / SpecKit Tooling — eclipse-score/score0 reactions · 1 comment
- Jun 24, 2026try https://github.com/microsoft/apm — sushichan044/dotfiles0 reactions
- Jun 14, 2026Consider delegating the packaging layer to microsoft/apm — apache/magpie0 reactions · 3 comments
- May 28, 2026APM support into HVE Core — microsoft/hve-core0 reactions · 2 comments
- Mar 24, 2026feat: implement APM unpack in JavaScript, replace microsoft/apm-action restore step in agent job — github/gh-aw0 reactions · 19 comments
On Hacker News · 5
- Mar 18, 2026Agent Package Manager7 points
- Jun 24, 2026Microsoft Agent Package Manager2 points
- Mar 4, 2026APM – Agent Package Manager (Microsoft)2 points
- Mar 31, 2026Show HN: A tool to solve the Agent Supply Chain pandora box1 point
- Mar 20, 2026Show HN: Agent Package Manager (APM) for Agent Configuration1 point
On Bluesky · 4
- Mar 5, 2026#VibeCode Easy: declare and share #skills, prompts, instructions, and tools for your git project with APM.yaml across the team. By… — @qdrddr.bsky.social3 likes and reposts · 1 reply
- Sep 11, 2026What are people using to manage agent skills across harnesses and machines? APM looks promising but not very popular (in the grand scheme)… — @ironyuppie.com2 likes and reposts · 1 reply
- Jul 22, 2026gh skills コマンドとどっちが良いかな。 おそらく apm に移行するかな。 🔗 microsoft/apm: Agent Package Manager github.com/microsoft/apm — @teruhirokomaki.bsky.social1 likes and repost
- Apr 16, 2026AIエージェントのプロンプトやスキルを管理できるパッケージマネージャーらしい 開発環境を統一したいチームでかなり便利そう yug1224 starred microsoft/apm https://github.com/microsoft/apm — @yug1224.com1 likes and repost
Used with
Projects with it also use test and deploy.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- openai/plugins★ 7.3ksame name
- crbnos/carbon★ 2.7ksame name
- vercel/vercel-plugin★ 297same name
- maxwell2732/claudecode-research-harness-workflow★ 40same name
- lightpointventures/claude-code-starter★ 36same name
- YepAPI/skills★ 8same name
- vercel-labs/hatchery★ 7same name
- MartinOlivero/saas-builder★ 4same name
- silvioventre/lovable-skills★ 4same name
- amajorai/skills★ 3same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository98 other files it gives its agents.
- templates/hello-world/AGENTS.mdAGENTS.md
- tests/integration/fixtures/target_resolution/s01_claude_md_only/CLAUDE.mdCLAUDE.md
- tests/integration/fixtures/target_resolution/s06_dry_run/CLAUDE.mdCLAUDE.md
- tests/integration/fixtures/target_resolution/s07_compile_all_single/CLAUDE.mdCLAUDE.md
- tests/integration/fixtures/target_resolution/s15_claude_rules_exists/CLAUDE.mdCLAUDE.md
- tests/integration/fixtures/target_resolution/s16b_provenance_cwd/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- packages/apm-contributor-dashboard/.github/copilot-instructions.mdCopilot instructions
- packages/autopilot/autopilot-maintainer-canvas/.github/copilot-instructions.mdCopilot instructions
- tests/integration/fixtures/target_resolution/s02b_copilot_instructions/.github/copilot-instructions.mdCopilot instructions
- tests/integration/fixtures/target_resolution/s05_apm_yml_multi/.github/copilot-instructions.mdCopilot instructions
- apm-spec-guardianSkill
- apm-strategySkill
- autopilot-commentSkill
- autopilot-issue-delivery-schedulerSkill
- autopilot-issue-delivery-workerSkill
- autopilot-issue-triage-schedulerSkill
- autopilot-issue-triage-workerSkill
- autopilot-pr-merge-workerSkill
- autopilot-pr-review-schedulerSkill
- autopilot-pr-review-workerSkill
- autopilot-pr-triage-schedulerSkill
- autopilot-pr-triage-workerSkill
- cli-logging-uxSkill
- cut-releaseSkill
- devx-uxSkill
- docs-corpus-auditSkill
- docs-grounding-verifierSkill
- docs-impact-architectSkill
- docs-impact-classifierSkill
- docs-impact-localizerSkill
- docs-syncSkill
- oss-growthSkill
- pr-description-skillSkill
- python-architectureSkill
- supply-chain-securitySkill
- apm-spec-guardianSkill
- apm-strategySkill
- authSkill
- cli-logging-uxSkill
- cut-releaseSkill
- devx-uxSkill
- docs-corpus-auditSkill
- docs-grounding-verifierSkill
- docs-impact-architectSkill
- docs-impact-classifierSkill
- docs-impact-localizerSkill
- docs-syncSkill
- oss-growthSkill
- python-architectureSkill
- supply-chain-securitySkill
- apm-usageSkill
- autopilot-commentSkill
- autopilot-issue-delivery-schedulerSkill
- autopilot-issue-delivery-workerSkill
- autopilot-issue-triage-schedulerSkill
- autopilot-issue-triage-workerSkill
- autopilot-pr-merge-workerSkill
- autopilot-pr-review-schedulerSkill
- autopilot-pr-review-workerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 0 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
All auth flows MUST go through AuthResolver.
- Very specific: line 40
Stale-PAT silent fallback: if ADO_APM_PAT is rejected with HTTP 401, APM retries with the az bearer and emits:
- Very specific: line 56
No PAT, no az: No ADO_APM_PAT was set and az CLI is not installed.
- Very specific: line 57
No PAT, az not signed in: az CLI is installed but no active session was found.
- Very specific: line 58
No PAT, wrong tenant: az CLI returned a token but the org does not accept it (likely a tenant mismatch).
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Auth Skill
Auth expert persona
When to activate
- Any change to
src/apm_cli/core/auth.pyorsrc/apm_cli/core/token_manager.py - Code that reads
GITHUB_APM_PAT,GITHUB_TOKEN,GH_TOKEN,ADO_APM_PAT - Code using
git ls-remote,git clone, or GitHub/ADO API calls - Error messages mentioning tokens, authentication, or credentials
- Changes to
github_downloader.pyauth paths - Per-host or per-org token resolution logic
Key rule
All auth flows MUST go through AuthResolver. No direct os.getenv() for token variables in application code.
Canonical reference
The full per-org -> global -> credential-fill -> fallback resolution flow is in docs/src/content/docs/getting-started/authentication.md (mermaid flowchart). Treat it as the single source of truth; if behavior diverges, fix the diagram in the same PR.
Bearer-token authentication for ADO
ADO hosts (dev.azure.com, *.visualstudio.com) resolve auth in this order:
ADO_APM_PATenv var if set- AAD bearer via
az account get-access-token --resource 499b84ac-1321-427f-aa17-267ca6975798ifazis installed andaz account showsucceeds - Otherwise: auth-failed error from
build_error_context
ADO_APM_PAT is the env var name used by the auth flow. The AAD bearer source constant lives in src/apm_cli/core/token_manager.py as GitHubTokenManager.ADO_BEARER_SOURCE = "AAD_BEARER_AZ_CLI".
Stale-PAT silent fallback: if ADO_APM_PAT is rejected with HTTP 401, APM retries with the az bearer and emits:
[!] ADO_APM_PAT was rejected for {host} (HTTP 401); fell back to az cli bearer.
[!] Consider unsetting the stale variable.Verbose source line (one per host, emitted under --verbose):
[i] dev.azure.com -- using bearer from az cli (source: AAD_BEARER_AZ_CLI)
[i] dev.azure.com -- token from ADO_APM_PATDiagnostic cases (_emit_stale_pat_diagnostic + build_error_context in src/apm_cli/core/auth.py):
- No PAT, no
az:No ADO_APM_PAT was set and az CLI is not installed.-> installaz, runaz login --tenant <tenant>, or setADO_APM_PAT. - No PAT,
aznot signed in:az CLI is installed but no active session was found.-> runaz login --tenant <tenant>against the tenant that owns the org, or setADO_APM_PAT. - No PAT, wrong tenant:
az CLI returned a token but the org does not accept it (likely a tenant mismatch).-> runaz login --tenant <correct-tenant>, or setADO_APM_PAT. - PAT 401, no
azfallback:ADO_APM_PAT was rejected (HTTP 401) and no az cli fallback was available.-> rotate the PAT, or installazand runaz login --tenant <tenant>.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

