feat: install one Webcmd discovery skill#24
Draft
ankitranjan7 wants to merge 1 commit into
Draft
Conversation
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
skills/toskill-data/.skills/webcmddiscovery skill.webcmd skillsso agents can list runtime skills and load them withwebcmd skills get <name>.skills/webcmd/**andskill-data/**.Reasoning
The current repository shape causes generic skill installers to find multiple Webcmd skills and ask users to install them one by one. That creates friction and increases the always-visible skill list inside agent harnesses. The cleaner model is the one used by Agent Browser and now discussed by other CLI projects: install one small discovery skill, then let the installed CLI serve the detailed, version-matched instructions on demand.
This keeps the CLI and skill content coupled by version: when a user upgrades Webcmd,
webcmd skills get webcmd-usagereturns instructions matching that installed Webcmd version instead of stale copied markdown.Industry practice followed
skills list/getflows.skills/, runtime data underskill-data/.readbackward-compatible while addinggetfor the more common CLI vocabulary.Testing
npx -y skills add . --listnpm run dev -- skills list -f jsonnpm run dev -- skills get webcmd-usage --jsonnpm test -- src/skills.test.tsnpm run typechecknpm pack --dry-run