Skip to content

[BUG] always installing to .github #453

@cmrenus

Description

@cmrenus

Describe the bug
When I am installing to a repo with a .opencode folder, it is installing the skill directly to the .github, even if the .opencode folder exists. Evren removing the .github folder, it still seems to add it back there.

We use github and thus have workflow files and such, but some on the team are also using opencode or cursor or other so we want to be able to support everything.

To Reproduce
Steps to reproduce the behavior:

mkdir .opencode
apm install
ls .opencode

Expected behavior
If both exist, either give the option to select, or install in both (or symlink)

Environment (please complete the following information):

  • OS: macOS
  • Python Version: 3.14.2
  • APM Version: 0.8.5

Logs

$ apm install skill --verbose
[*] Validating 1 package...
  Auth resolved: host=github.com, org=<masked>, source=GITHUB_TOKEN, 
type=classic
[+] 
skill
Added 
skill to apm.yml
[*] Updated apm.yml with 1 new package(s)
[>] Installing 1 new package...
Parsed apm.yml: 1 APM deps, 0 MCP deps
Resolved 1 direct dependencies (no transitive)
Created .github/ as standard skills root (.github/skills/) and to enable 
VSCode/Copilot integration
  [+] 
skill #masked (cached)
  └─ Skill integrated -> .github/skills/
Generated apm.lock.yaml with 1 dependencies
No MCP dependencies found in apm.yml
[*] Installed 1 APM dependency.

Have changed things to skill and masked org as internal repos
Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDeprecated: use type/bug. Kept for issue history; will be removed in milestone 0.10.0.needs-triageDeprecated: use status/needs-triage. Kept for issue history; will be removed in milestone 0.10.0.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions