Skip to content

[BUG] pup skills install fails with pi as a target #559

@llimllib

Description

@llimllib

Describe the bug

I use pi; when I tried to install the dd-apm skill, I get:

$ pup skills install --name dd-apm pi
Error: no install target matched name=dd-apm on the selected platform(s): pi

when I don't provide a platform, it complains that I didn't provide a platform and includes pi as a supported platform:

$ pup skills install --name dd-apm
Error: could not auto-detect AI assistant. Specify a platform: claude, cursor, codex, opencode, windsurf, gemini, pi, or `all`.

when I install to all, it installs everywhere except to the pi dir:

$ pup skills install --name dd-apm all 
  /Users/llimllib/.claude/skills/dd-apm
  /Users/llimllib/.codex/skills/dd-apm
  /Users/llimllib/.config/opencode/skills/dd-apm
  /Users/llimllib/.cursor/skills/dd-apm
  /Users/llimllib/.gemini/skills/dd-apm
  /Users/llimllib/.windsurf/skills/dd-apm
Installed 1 entry(ies), 6 file(s) across 7 platform(s)

If I ask it for a pi path, it obliges with the directory it should have installed to:

$ pup skills path pi
platform: pi (scope: user)
  extensions: /Users/llimllib/.pi/agent/extensions

that directory exists, and my user owns it:

$ ls -alh ~/.pi/agent/extensions
Permissions Size User     Date Modified Name
drwxr-xr-x@    - llimllib  6 Apr 16:05    browser
.rw-r--r--@ 3.0k llimllib 28 Apr 09:47    copy-code.ts
.rw-r--r--@ 1.4k llimllib 27 Apr 12:02    cursor.ts
.rw-r--r--@ 5.9k llimllib 12 May 16:35    fd.ts

To Reproduce

Steps to reproduce the behavior:

  1. see above

Expected behavior

I expected the skill to install to the pi dir

Environment

  • OS: mac 26.5.1
  • Pup version: pup 0.65.1
  • Go version: go version go1.26.4 darwin/arm64 (but I installed via homebrew (and this is a rust program?))
  • Authentication method: oauth2 I think?
$ pup auth status
✅ Authenticated for site: datadoghq.com
   Token expires in: 46m28s
{
  "authenticated": true,
  "expires_at": "2026-06-04T16:07:44-04:00",
  "has_refresh": true,
  "org": null,
  "scopes": [
    "apm_read",
...etc

Command output

see above

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions