Repository navigation
feat(utilities): add zero-token /magpie-skills Claude Code mod command (part of #1497) - #1667
Merged
potiuk merged 1 commit intoOct 16, 2026
Conversation
…d (part of apache#1497) Registers /magpie-skills via Claude Code mod hooks ($.command.register and command.run) in plugins/magpie-utilities to provide instant, zero-token skill discovery. - Hooks session.start to register /magpie-skills with immediate: true - Intercepts command.run to execute list_skills.py locally without model turns - Enforces 30s timeout, UTF-8 output encoding, and python3 -> python fallback - Handles --verbose, -v, --help, -h, and --root (including paths with spaces and quotes) - Adds comprehensive unit test suite covering all execution and error handling branches
Contributor
Author
8 of 19 tasks
3 tasks done
potiuk
added a commit
that referenced
this pull request
Oct 17, 2026
Hand-sync of tools/spec-loop/specs/ with the functionality that landed between d58ecb7 and 43e4c6e. Specs changed: - release-management-lifecycle: verify-rc classification as code (abd5969, #1619), vote-draft / promote / announce-draft renders (c87ad08, d5fe7fd), the per-outcome / backend / classification file split across the family, and the SKILL.md size gap closed (all ten now under 500 lines). - adoption-and-setup: the utilities first-run welcome guide and the text-file mirror fallback in the family scan (9f8c479, #1669). - meta-and-quality-tooling: the zero-token /magpie-skills Claude Code mod in magpie-utilities (861c84e, #1667). - agent-isolation-sandbox: the agent-guard --junie adapter (6c24f30, #1666) and sandbox-lint refusing a tracked .claude/settings.json (4a07965, #1675). - adapters, security-issue-lifecycle, project-agnosticism: the canonical apache-magpie status-rollup marker, preferred over and replacing the legacy tracker-named one for new rollups (ccead70, #1665). - .last-sync bumped to 43e4c6e. No spec change needed (specs already updated in the commit itself): 43e4c6e, 399ab1b, 622bfbc, 5fc6a32, a75734c, e44b44a, a93a7d1, c67e3c6, a3d9b71, ec015bb. Exempt (mechanical): 0a79a33 (dev version bump), 80a0f1f (npm pin bump in prek hooks). Generated-by: Claude Opus 5
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.
Summary
/magpie-skillsClaude Code mod command inplugins/magpie-utilities/wrapping the existinglist_skills.pyscript./magpie-status) to the utilities skill family (Pilot 3 of Explore Claude Code mods across the skill families #1497).Type of change
.claude/skills/<name>/) — eval fixtures updated belowtools/<system>/*.md)tools/*/withpyproject.toml)docs/,README.md,CONTRIBUTING.md)projects/_template/)prek, workflows, validators)plugins/magpie-utilities/hooks/)Test plan
claude plugin validate --strict plugins/magpie-utilities(Validation passed, minimal API surface:$.command.register,$.process.run,$.session.root).claude plugin test plugins/magpie-utilities(16 pass, 0 fail).claude plugin test plugins/magpie-setupfor regression testing (20 pass, 0 fail; 36 total across repo).python plugins/magpie-utilities/skills/list-skills/tests/test_list_skills.py(17 tests pass).RFC-AI-0004 compliance
node:fsornode:pathbuilt-in imports, deterministic execution./magpie-utilities:list-skillsskill workflow remains completely untouched for non-Claude harnesses.Linked issues
Notes for reviewers (optional)
PROCESS_TIMEOUT_MS,PYTHONIOENCODING: utf-8,python3withpythonfallback, andcwd: workspaceDir).--root, prevents flag collisions (e.g.--root --verbose), and forwards-h/--helpdirectly to the underlyinglist_skills.pyCLI.