[Feature]: support pi via skills
Primary area
CLI
User problem
cua-driver skills doesn't support pi coding agent. I need to unpack to ~\.pi\agent\skills\ manually.
Desired outcome
cua-driver skills install will unpack skills to ~\.pi\agent\skills\ automatically
Current workaround
No response
Affected components and platforms
No response
Alternatives and prior art
No response
Implementation ideas
edit https://github.com/trycua/cua/blob/main/libs/cua-driver/rust/crates/cua-driver/src/skills.rs
Submission checks
- [x] I searched for existing issues, RFCs, and active pull requests.
- [x] I reviewed the RFC criteria and used the RFC form instead when this requires a public contract or architectural decision.
- [x] This public request contains no credentials, private data, sensitive screenshots, or vulnerability details.
I can take this. I’m keeping the first slice narrow: add Pi as a managed skill target, use Pi’s own ~/.pi/agent directory as the install marker, add focused detection/linking coverage, and update the supported-client docs. No changes to MCP config, skill-pack contents, or other agents’ behavior. Existing no-clobber behavior stays shared.
One refinement after checking Pi’s current discovery contract: Pi reads both ~/.pi/agent/skills and ~/.agents/skills, and duplicate names warn/keep the first. Cua already manages ~/.agents/skills for Codex, so the draft deliberately reuses that shared Pi-supported location. A Pi-only install can create it from the ~/.pi/agent marker; Pi+Codex converge on one cua-driver link instead of generating duplicate discovery.
Draft implementation: #4049.
@tyxlb I tightened #4049 after a broader test-quality pass. The branch now has a path-level regression proving a Pi-only marker creates the shared ~/.agents/skills/cua-driver link and a later Codex pass reuses that same link rather than making a duplicate.
The one thing I cannot prove from the Rust tests is the final Pi-owned boundary: does your Pi install actually discover/load the shared global skill path?
If you still have the setup from this issue, could you try exact head 1ab738aa9e333b1fce7aa9f1647f46a206914c9d (PR #4049) with:
- Pi installed /
~/.pi/agentpresent; - temporarily no
~/.agents/skills; - run
cua-driver skills install; - confirm the link appears at
~/.agents/skills/cua-driver; - start/reload Pi and confirm it actually discovers the
cua-driverskill; - if you also use Codex, confirm Pi+Codex show one shared skill rather than a duplicate-name warning.
Raw terminal output is enough. This is now the main acceptance gap rather than another path-constant test.
Confirmed on Pi 0.84.4 (Windows): Pi discovers skills in both ~/.pi/agent/skills/ and ~/.agents/skills/. (I verified discovery with a hand-placed skill; I haven't run cua-driver skills install at 1ab738a.) @kvnloo
tysm @tyxlb