Repository navigation
Exclude Claude-managed sync caches from automatic skill discovery - #458
Merged
ilovepixelart merged 2 commits intoNov 16, 2026
Merged
Conversation
Claude Code's personal skill scan skips skills/synced by name, so a personal skill that links into the cache still loads there. The resolved-path check excluded such links; it is removed. The docs state that Claude Code loads the current account's synced skills as anthropic-skills:<name> and pi-code does not.
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
Claude account-synced skills are stored inside the personal skills root. Passing that root to pi recursively imports the managed cache as ordinary local skills.
The invocation shim applies the same source check. Enterprise, trusted project and plugin skills keep their existing behavior. Users can deliberately import a cached skill through pi's
skillssetting; pi then handles its loading and expansion.Evidence
After: the headless smoke captures the provider payload and confirms the personal local skill is listed while the cached skill is absent.
Merge Danger
Door: two-way
No Claude cache files or account settings are changed. Cached document skills also leave automatic discovery; users who need one can explicitly import its skill file or directory.
Blast Radius: skills
Only automatic Claude skill bridging and the corresponding invocation ownership check change. No dependency or lockfile changes.