feat: add native skills to OpenClaw plugin (v0.4.0)#66
Merged
Conversation
Adapt to OpenClaw's new plugin skill discovery system by embedding 6 SKILL.md files directly in the plugin package. OpenClaw auto-scans skills/ directory — no manual download needed. Skills: chorus, idea, proposal, develop, quick-dev, review Each written independently for OC's single-agent + SSE wake model (no CC session/Agent Team content). Also: /chorus skills command, updated README with full tool inventory. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Coverage Report
File CoverageNo changed files found. |
Skills should only reference OC-registered tool names, not expose internal MCP mappings. Removed "Note on tool names" blocks from idea and proposal skills that referenced chorus_pm_* MCP names. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
OpenClaw's AgentTool interface requires:
- `label: string` (mandatory field, was missing from all 50 tools)
- `execute` must return `{ content: [{ type: "text", text }], details }`
(was returning plain string via JSON.stringify)
Added toolResult() helper to each tool file for consistent formatting.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Document that sandbox mode blocks plugin tools by default and how to add chorus-openclaw-plugin to the alsoAllow list. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
comment_added notifications don't need to wake the agent — @mentions are already handled by the separate "mentioned" action. Added explicit case to suppress "Unhandled notification action" log noise. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This reverts commit 5c3b4fe.
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
packages/openclaw-plugin/skills/for OpenClaw's plugin skill auto-discovery"skills": ["./skills"]inopenclaw.plugin.jsonmanifest/chorus skillscommand and skills info in/chorus statusoutputSkills added
chorus(🎵)idea(💡)proposal(📋)develop(🔨)quick-dev(⚡)review(✅)Design decisions
requires.config— redundant since OpenClaw already gates skills by plugin enable statechorus_mark_notification_readfrom chorus skill — not registered in OC pluginChanged files
packages/openclaw-plugin/openclaw.plugin.json"skills": ["./skills"]packages/openclaw-plugin/package.jsonskillstofilespackages/openclaw-plugin/src/commands.ts/chorus skillssubcommand + skills in statuspackages/openclaw-plugin/skills/*/SKILL.mdpackages/openclaw-plugin/README.mdTest plan
npx tsc --noEmit)openclaw skills listshows 6 chorus skills🤖 Generated with Claude Code