Describe the bug
After upgrading from apm 0.12.2 to 0.12.4, I have the below error.
To Reproduce
-
Have an apm.yml listing targets like:
targets:
- agent-skills
- claude
- copilot
- opencode
-
Run apm install
-
Observe error and log message stating agent-skills in the Valid targets list
(.venv)$ apm install
[>] Installing dependencies from apm.yml...
[x] [x] Unknown target '['agent-skills''
Valid targets: agent-skills, claude, codex, copilot, cursor, gemini, opencode, windsurf
Fix with one of:
apm targets # see all supported harnesses
apm install <pkg> --target agent-skills
apm install <pkg> --dry-run
Or declare in apm.yml:
targets:
- agent-skills
[!] Install interrupted after 0.6s.
-
Run apm targets as error message suggests
(.venv)$ apm targets
TARGET STATUS SOURCE DEPLOY DIR
------------ ---------- ---------------------------------------- ----------
claude active .claude/ .claude/
copilot inactive needs .github/copilot-instructions.md .github/
cursor inactive needs .cursor/ .cursor/
codex inactive needs .codex/ .codex/
gemini inactive needs GEMINI.md .gemini/
opencode active .opencode/ .opencode/
windsurf inactive needs .windsurf/ .windsurf/
-
Observe agent-skills is not present in the output, despite being present in the apm install output.
Expected behavior
- No error, as
agent-skills was previously not producing one, and the error message suggests it is a valid target.
agent-skills is listed by apm targets.
Environment (please complete the following information):
- OS: macOS
- Python Version: 3.14.3 (note, this is not a pre-release version as was flagged in a different bug report; it was released in Feb 2026)
- APM Version: 0.12.4
- VSCode Version (if relevant): n/a
Logs
Full log:
(.venv)$ apm --version
Agent Package Manager (APM) CLI version 0.12.4 (6aceef7)
pmounce at pmounce-Mac15,7 in ~/src/egen/awesome2 (pete/mise-bump)
(.venv)$ apm install
[>] Installing dependencies from apm.yml...
[x] [x] Unknown target '['agent-skills''
Valid targets: agent-skills, claude, codex, copilot, cursor, gemini, opencode, windsurf
Fix with one of:
apm targets # see all supported harnesses
apm install <pkg> --target agent-skills
apm install <pkg> --dry-run
Or declare in apm.yml:
targets:
- agent-skills
[!] Install interrupted after 0.6s.
pmounce at pmounce-Mac15,7 in ~/src/egen/awesome2 (pete/mise-bump)
(.venv)$ apm targets
TARGET STATUS SOURCE DEPLOY DIR
------------ ---------- ---------------------------------------- ----------
claude active .claude/ .claude/
copilot inactive needs .github/copilot-instructions.md .github/
cursor inactive needs .cursor/ .cursor/
codex inactive needs .codex/ .codex/
gemini inactive needs GEMINI.md .gemini/
opencode active .opencode/ .opencode/
windsurf inactive needs .windsurf/ .windsurf/
Additional context
apm.yml:
---
name: foo
version: 0.0.1
description: Foo
author: Peter Mounce
dependencies:
apm:
- ./docs-as-code/content-root/standards/documenting/skills/docs-authoring
- ./docs-as-code/content-root/standards/style-guides/skills/bash-authoring
- ./docs-as-code/content-root/standards/style-guides/skills/code-authoring
- ./docs-as-code/content-root/standards/style-guides/skills/git-commit
- ./docs-as-code/content-root/standards/style-guides/skills/python-authoring
- ./docs-as-code/content-root/standards/style-guides/skills/utility-scripts
- Dicklesworthstone/beads_rust/.claude/skills/br#5cad749f1ed13a75e76bc95b776e47443b16c9bb
- JuliusBrussee/caveman#ef6050c5e1848b6880ff47c32ade1a608a64f85e
- microsoft/apm/packages/apm-guide#2b1fb6bfd42da6d7bcd14efdb0d87c5de7acc878
mcp: []
scripts: {}
target:
- agent-skills
- claude
- copilot
- opencode
Describe the bug
After upgrading from apm 0.12.2 to 0.12.4, I have the below error.
To Reproduce
Have an apm.yml listing targets like:
Run
apm installObserve error and log message stating
agent-skillsin theValid targetslistRun
apm targetsas error message suggestsObserve
agent-skillsis not present in the output, despite being present in the apm install output.Expected behavior
agent-skillswas previously not producing one, and the error message suggests it is a valid target.agent-skillsis listed byapm targets.Environment (please complete the following information):
Logs
Full log:
Additional context
apm.yml: