fix(plugin): trim SKILL.md description to fit the 1024-char skill spec limit - #493
Merged
Conversation
…c limit Claude Desktop rejects the kbagent skill with "field 'description' in SKILL.md must be at most 1024 characters" because the frontmatter description had grown to 5069 characters of trigger keywords. Over the limit the skill fails to load entirely, so the extra keywords added no trigger surface at all. Rewrite the description to 965 characters covering the same command domains plus the highest-value triggers, and add a static compliance test (tests/test_skill_frontmatter.py) so CI fails if the description ever exceeds the limit again. Fixes #447
This was referenced Jul 20, 2026
padak
added a commit
that referenced
this pull request
Jul 20, 2026
Backfills changelog entries for ten PRs merged since v0.66.1 without a version bump (#465 #486 #487 #488 #490 #492 #493 #494 #495 + #500), attributed to their bump windows (0.67.0 / 0.70.0 / 0.70.1 / 0.71.0), and aligns the version at 0.71.0 as the catch-up release: 0.67.0-0.70.1 were merged to main but never tagged or published, so auto-update users are still on 0.66.1. The v0.71.0 tag + GitHub Release follow.
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.
Fixes #447.
Problem
Loading the kbagent skill into Claude Desktop fails with:
The frontmatter
descriptioninplugins/kbagent/skills/kbagent/SKILL.mdhad grown to 5069 characters — mostly an ever-growing list of trigger keywords. The Agent Skills spec capsdescriptionat 1024 characters and Claude Desktop enforces it at load time, so past the limit the skill fails to load entirely and the extra keywords contribute zero trigger surface.Fix
tests/test_skill_frontmatter.py— a static compliance test that parses the frontmatter withyaml.safe_load(same folding as the loaders) and fails CI if the description ever exceeds 1024 characters again. This closes the gap where nothing guarded the limit:make skill-checkonly verifies the auto-generated decision table.No behavioral CLI change; no version bump (can ride the next release).
Verification
uv run pytest tests/test_skill_frontmatter.py -v— 4 passeduv run ruff check+ruff format --check— cleanpython scripts/generate_skill.py— idempotent, no drift in the auto-generated table