docs(skill): note the CLI and MCP prerequisite and version skew - #210
Merged
Merged
Conversation
- SKILL.md: new "What this skill needs" section, with an `osw schema --help` preflight and a stop instruction when neither the CLI nor an MCP tool is present - SKILL.md: new "Troubleshooting" section, comparing `metadata.version` against `osw --version`; nothing checks this automatically - SKILL.md: shorter description, keeping the triggers and dropping the list of covered sections - docs/tools/cli.md: the plugin marketplace path installs the skill file only, not the package or the MCP server
Contributor
Release previewNo version bump from the current commits (stays at Changelog preview (truncated)Preview via python-semantic-release and conventional commits. |
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.
Installing the
osl-tasksplugin from the marketplace gives the skill only..claude-plugin/plugin.jsondeclaresskillsand nothing else, so neither theoswCLI nor theosw-mcpserver comes with it. A Claude Code plugin install never installs a Python package and never registers an MCP server. Until now nothing in the skill or the docs said so, and an agent had to discover it by failing.Changes
src/osw/skills/osl-tasks/SKILL.md## What this skill needssection after the introduction. It states that installing the skill file or the plugin installs neither the CLI nor the server, tells the agent to runosw schema --helpfirst, and to stop and ask the user to install when that fails and the session has no osw MCP tool.## Troubleshootingsection at the end. It says nothing checks that the file and the installed package come from the same release, and tells the agent to comparemetadata.versionin the frontmatter with whatosw --versionprints, then reinstall withosw skill install --forceor update the plugin or the package.description, about 225 characters instead of 530. It keeps the two invocation triggers and adds the CLI/MCP requirement. The removed part listed the sections the file covers, which is not routing information.docs/tools/cli.mdRationale
requires,dependenciesandprerequisitesare not recognised, and unknown keys are ignored silently. The feature request for declarative skill dependencies, Feature: Declarative skill/plugin dependencies at the project level anthropics/claude-code#27113, was closed as not planned. Thecompatibilityfield in the Agent Skills spec is not documented as being shown to the agent, so a body section is the only mechanism that reaches the agent.osw schema --helprather thanosw --version, because an unrelated binary namedoswon PATH would pass a--versioncheck.osw schema --helpalso fails on a release that predates theschemacommand group.Not covered
osw skill install(src/osw/cli/ops.py:151-187) still performs no version comparison. It checks only whether the destination exists, andshutil.copytree(..., dirs_exist_ok=True)leaves stale files behind on a--forcereinstall. The Troubleshooting section is an instruction to the agent, not an automated check.descriptionstrings in.claude-plugin/plugin.jsonand.claude-plugin/marketplace.jsonare unchanged. They say the plugin is "driven by the osw CLI and MCP server" without warning that neither is included, and that text is what a user reads in the plugin browser before installing.Verification
osw schema --helpexits 0 against the installed CLI, version 2.6.2.