Repository navigation
Add JSON index regenerator; rebuild claude-skills.json (78 to 79) - #59
Merged
SnailSploit merged 1 commit intoNov 11, 2026
Merged
Conversation
The existing convert_skills.py does not produce claude-skills.json — it reads a lowercase skills/ dir and emits reformatted SKILL.md files + zips. Nothing in the repo rebuilt the JSON index, so it had drifted from disk. Add regen_index.py, which rebuilds claude-skills.json from the real SKILL.md files: - reads YAML frontmatter (name/description) via PyYAML, with a regex fallback when PyYAML is absent - falls back to the "## Description" section body for older "## Metadata"-format skills that have no frontmatter description - derives category from the Skills/<category>/<skill>/ path - preserves the original top-level metadata and recomputes counts - path-relative (Path(__file__).parent), so it runs from any clone Regenerated index: 79 skills / 23 categories, adding offensive-netexec (previously present on disk but missing from the index) and filling all 28 descriptions that were empty (51 frontmatter + 28 section fallback, 0 empty). Ignore *.bak. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
The existing convert_skills.py does not produce claude-skills.json — it
reads a lowercase skills/ dir and emits reformatted SKILL.md files + zips.
Nothing in the repo rebuilt the JSON index, so it had drifted from disk.
Add regen_index.py, which rebuilds claude-skills.json from the real
SKILL.md files:
fallback when PyYAML is absent
"## Metadata"-format skills that have no frontmatter description
Regenerated index: 79 skills / 23 categories, adding offensive-netexec
(previously present on disk but missing from the index) and filling all
28 descriptions that were empty (51 frontmatter + 28 section fallback,
0 empty). Ignore *.bak.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com