Skip to content

refactor(ragkit) 0.1.4: drop commands/, skills user-invocable (fix Record-2 improvisation)#87

Merged
qxbyte merged 1 commit into
mainfrom
refactor/ragkit-drop-commands
Jul 8, 2026
Merged

refactor(ragkit) 0.1.4: drop commands/, skills user-invocable (fix Record-2 improvisation)#87
qxbyte merged 1 commit into
mainfrom
refactor/ragkit-drop-commands

Conversation

@qxbyte

@qxbyte qxbyte commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Claude Code merged commands into skills — a default skill already gives both the /ragkit:* slash AND model auto-invocation. So this drops the redundant command layer:

  • delete the 4 thin commands/*.md
  • remove user-invocable: false from the 4 skills

Root-fixes the Record-2 improvisation. The old command body said Follow the plugin skill at skills/query/SKILL.md (a relative path) → a weak model on CodeBuddy Searched the PROJECT dir for that file, found nothing (it lives in the plugin cache), abandoned the plugin, and reimplemented retrieval by hand (numpy + embedding API + hand-rolled cosine/RRF → wrong, non-reproducible results). No command layer → no "go find the file" indirection → the model can only invoke the skill by name.

/ragkit:query etc. unchanged for users. specode's by-name ragkit:query unaffected. __env_probe__ probe retained (pending CodeBuddy run). Validation passes.

🤖 Generated with Claude Code

…(fix Record-2 improvisation)

Claude Code merged commands into skills — a default (no `user-invocable`) skill
already provides both the `/ragkit:*` slash entry AND model auto-invocation. So:
- deleted the 4 thin `commands/*.md` wrappers
- removed `user-invocable: false` from the 4 skills (embed/query/status/eval)

`/ragkit:query` etc. are unchanged for users — now served directly by the skill.
This ROOT-FIXES the Record-2 failure: the old command body said "Follow the plugin
skill at `skills/query/SKILL.md`" (a relative path), which led a weak model on
CodeBuddy to Search the PROJECT dir for that file, find nothing (it's in the plugin
cache), abandon the plugin, and reimplement retrieval manually (install numpy, call
the embedding API, hand-roll cosine+RRF → wrong results). Dropping the command layer
removes that "go find the file" indirection — the model can only invoke the skill by
name. specode's by-name `ragkit:query` calls are unaffected; the `__env_probe__`
probe remains (pending CodeBuddy run).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: qxbyte <126648675+qxbyte@users.noreply.github.com>
@qxbyte qxbyte merged commit 7297a38 into main Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant