Dual-skill pattern: native-tool docs for OpenClaw plugin, CLI for standalone, bump to 0.10.1#4
Merged
Merged
Conversation
…ndalone, bump to 0.10.1
When the plugin landed at v0.10.0 with 16 native tools, the published
SKILL.md still documented only the CLI — so agents installed via
`openclaw plugins install rulespec` happily reached for `npx rulespec`
and shelled out, ignoring the native tools entirely.
Split into two SKILL.md variants, each authoritative for its install
context:
- `skills/rulespec-plugin/SKILL.md` (NEW)
- Documents the 16 native tools in a per-category table
- Workflow example using native tool calls
- Notes the `rulespec_emit` approval gate + `skipSessionPatterns`
bypass config
- This is the variant the plugin manifest points at — gets
published to `~/.openclaw/plugin-skills/rulespec/SKILL.md` on
`openclaw plugins install rulespec`
- `skills/rulespec/SKILL.md` (existing, lightly amended)
- Stays the CLI-focused doc that ships in the npm tarball
- Used by standalone consumers (Claude Code, Cursor, Codex, etc.
via `rulespec init -a <agent>`) and ClawHub if/when published
- Top-of-file note now points OpenClaw users at the plugin variant
so they don't follow the CLI advice when native tools are
available
`openclaw.plugin.json` `skills` field updated to
`./skills/rulespec-plugin`. Both directories ship in the npm tarball
(`files: ["dist", "skills/**/*"]`).
No code changes — same 16 tools register, same plugin behavior. Patch
version bump since this only affects which SKILL.md the plugin
publishes.
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.
v0.10.0 shipped 16 native tools but the published SKILL.md still only documented the CLI — so agents installed via `openclaw plugins install rulespec` reached for `npx rulespec` and shelled out, ignoring the native tools entirely.
Fix
Two SKILL.md variants, each authoritative for its install context:
Both directories ship in the npm tarball (no change to `files`); the plugin manifest just selects which one OpenClaw publishes on install.
What didn't change
Test plan