Fix(compress): replace broken symlinks with real files#153
Merged
JuliusBrussee merged 3 commits intoJuliusBrussee:mainfrom Apr 15, 2026
Merged
Fix(compress): replace broken symlinks with real files#153JuliusBrussee merged 3 commits intoJuliusBrussee:mainfrom
JuliusBrussee merged 3 commits intoJuliusBrussee:mainfrom
Conversation
Gemini CLI fails to load skills through symlinks. Replace symlinks in skills/compress/ with actual file copies and update CI to keep them in sync. Remove redundant root compress/ directory.
Gemini CLI fails to load skills through symlinks. Replace symlinks in skills/compress/ with actual file copies and update CI to keep them in sync. Remove redundant root compress/ directory.
This was referenced Apr 15, 2026
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.
Before:
Commands like
gemini extensions listand session startup logged loud ENOENT stack traces because the CLI failed to resolve symlinks in skills/compress/. The CLI recovered, but the output was polluted and the compress skill itself failed to load. Additionally, the repo had a redundant root compress/ directory duplicating the skills/compress location.After:
The skills/compress/ now contains physical copies of the files, and the old root compress/ directory has been removed. .github/workflows/sync-skill.yml is updated to automatically keep skills/compress/ synchronized with the source of truth in caveman-compress/. Relative paths inside the copied SKILL.md are patched automatically during CI just like the plugins version.
CONTRIBUTING.md was also updated to explicitly instruct contributors that caveman-compress/ is the single source of truth for edits.
Why change better:
Eliminates confusing error traces in Gemini CLI and ensures the compress skill loads properly in environments that don't follow repository symlinks, while maintaining a single source of truth via existing CI pipelines.