Skip to content

fix: link ExitBox-managed skills into Pi - #29

Merged
thecodeassassin merged 1 commit into
mainfrom
fix/pi-link-skills
Jun 22, 2026
Merged

fix: link ExitBox-managed skills into Pi#29
thecodeassassin merged 1 commit into
mainfrom
fix/pi-link-skills

Conversation

@thecodeassassin

Copy link
Copy Markdown
Contributor

ExitBox-managed skills (~/.exitbox-config/profiles/global/<ws>/skills/*) weren't appearing in Pi. The entrypoint's link_skills only had cases for claude/codex/opencode — Pi (like qwen/cursor/kimi) had none, so skills were never linked into Pi's skills directory.

Fix

Add a pi) case to link_skills that symlinks each managed skill into ~/.pi/agent/skills/ (and ~/.agents/skills/), Pi's documented global skill locations. Pi discovers directories containing SKILL.md there — the same format ExitBox stores skills in. ~/.pi is already symlinked to the persistent workspace dir, so readlink -f resolves it.

Tests

New test_link_skills_pi: seeds a workspace skill, runs link_skills with AGENT=pi, asserts the symlink lands in ~/.pi/agent/skills/. Entrypoint suite: 109 pass, 2 pre-existing failures (codex session-storage env leakage, unrelated).

Note: entrypoint ships in the base image — needs an image rebuild to take effect.

@thecodeassassin
thecodeassassin merged commit b78b951 into main Jun 22, 2026
7 checks passed
@thecodeassassin
thecodeassassin deleted the fix/pi-link-skills branch June 22, 2026 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant