Repository navigation
Conversation
Pi implements the Agent Skills spec, so gstack skills work with one config file (no generator, setup, or tooling changes). Skills install to ~/.pi/agent/skills/gstack-*/ for global and .pi/skills/ for project-local, both discovered by pi at startup. - hosts/pi.ts: minimal config mirroring opencode pattern - hosts/index.ts: register pi in ALL_HOST_CONFIGS + re-exports - .gitignore: skip .pi/ (generated skill docs) - README.md: add Pi row to host table + dedicated install section
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
This was referenced Jul 14, 2026
Contributor
|
Thanks for this. The blocker is that setup does not recognize Pi, the host-count assertion is stale, and delegation behavior is undefined. Please register Pi in setup, update the count test, and explicitly support or reject delegation before retesting. |
Contributor
|
Thanks for the Pi host config and the clear write-up of Pi's Agent Skills support. We're consolidating Pi into #2507, which also wires up setup and tests, so I'm closing this as a duplicate. New hosts are waiting on a host-config refactor, and Pi will be decided there. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1288
Summary
Adds Pi (https://pi.dev) as a 9th supported gstack host.
Pi implements the Agent Skills standard end-to-end, so every existing gstack skill works as-is. The integration is a single declarative config — no generator, setup, or tooling changes.
What this PR adds
hosts/pi.ts— minimal HostConfig mirroring the opencode pattern:globalRoot: .pi/agent/skills/gstacklocalSkillRoot: .pi/skills/gstackfrontmatter: allowlist (name+description),descriptionLimit: 1024(pi enforces the 1024-char cap per spec)pathRewrites: 3 standard.claude/skills→.pi/skillsrewritestoolRewrites: Claude tool names → pi's lowercase-verb native tool names (read,write,edit,bash,grep,find,agent)install:symlink-generatedstrategy,prefixable: falsehosts/index.ts— registerpiinALL_HOST_CONFIGSand re-exports.gitignore— skip.pi/(generated skill docs)README.md— add Pi row to the host table and a dedicated### Piinstall sectionHow Pi users would install
Skills land at
~/.pi/agent/skills/gstack-*/, then/skill:review,/skill:ship, etc. work in pi.Verification
bun run gen:skill-docs --host pigrep -r '.claude/skills' .pi/skills/grep -r 'use the Bash tool' .pi/skills/bun run scripts/host-config-export.ts validatebun test test/host-config.test.ts test/gen-skill-docs.test.tsbun run skill:checkbun run gen:skill-docs --host allNotes for reviewers
~/.pi/agent/skills/is its primary global skills dir per the Pi skills docs. Pi also discovers~/.agents/skills/and.pi/skills/(project-local, after trust).codexskill is excluded viaskipSkills: ['codex']— same as every other non-Claude host.coAuthorTrailerset: pi is model-agnostic (Anthropic, OpenAI, local models), so there is no single author identity to attribute.hostSubdir.pi/does not collide with pi's daemon socket file (.pi.sock, a sibling at repo root) — different paths.