Skip to content

feat: add native skills to OpenClaw plugin (v0.4.0)#66

Merged
ChenNima merged 6 commits intomainfrom
feat/openclaw-plugin-skills
Mar 30, 2026
Merged

feat: add native skills to OpenClaw plugin (v0.4.0)#66
ChenNima merged 6 commits intomainfrom
feat/openclaw-plugin-skills

Conversation

@ChenNima
Copy link
Copy Markdown
Contributor

Summary

  • Add 6 native SKILL.md files to packages/openclaw-plugin/skills/ for OpenClaw's plugin skill auto-discovery
  • Declare "skills": ["./skills"] in openclaw.plugin.json manifest
  • Add /chorus skills command and skills info in /chorus status output
  • Bump plugin version to 0.4.0
  • Update README with skills section, corrected tool counts (40→47), full admin/PM/dev tool tables

Skills added

Skill Lines Content
chorus (🎵) 397 AI-DLC overview, tool matrix, SSE events, setup guide
idea (💡) 308 Elaboration flow, question design, multi-round
proposal (📋) 401 DAG dependencies, validation rules, draft management
develop (🔨) 290 Task lifecycle, AC self-check, autoStart config
quick-dev (⚡) 174 Skip Idea→Proposal, admin self-verify
review (✅) 282 Proposal review, task verification, governance

Design decisions

  • Independent from CC plugin skills — OC skills written for single-agent + SSE wake model (no session/Agent Teams content)
  • No requires.config — redundant since OpenClaw already gates skills by plugin enable state
  • Removed chorus_mark_notification_read from chorus skill — not registered in OC plugin

Changed files

File Change
packages/openclaw-plugin/openclaw.plugin.json Added "skills": ["./skills"]
packages/openclaw-plugin/package.json Version 0.4.0, added skills to files
packages/openclaw-plugin/src/commands.ts Added /chorus skills subcommand + skills in status
packages/openclaw-plugin/skills/*/SKILL.md 6 new skill files (1852 lines total)
packages/openclaw-plugin/README.md Skills section, corrected tool counts, full tool tables

Test plan

  • TypeScript type check passes (npx tsc --noEmit)
  • No CC-specific content leaked (grep verified)
  • All tool names match OC registered tools
  • Manual: install plugin in OpenClaw, verify openclaw skills list shows 6 chorus skills

🤖 Generated with Claude Code

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>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 30, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 96.43% (🎯 95%) 1896 / 1966
🔵 Statements 95.43% (🎯 95%) 2048 / 2146
🔵 Functions 95% (🎯 93%) 399 / 420
🔵 Branches 87.55% (🎯 85%) 1266 / 1446
File CoverageNo changed files found.
Generated in workflow #68 for commit d3e4239 by the Vitest Coverage Report Action

ChenNima and others added 5 commits March 30, 2026 03:56
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>
@ChenNima ChenNima merged commit e4c7bc8 into main Mar 30, 2026
1 check passed
@ChenNima ChenNima deleted the feat/openclaw-plugin-skills branch March 30, 2026 04:39
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