@juanclaw

OpenSpec Openclaw Plugin

OpenClaw plugin that integrates OpenSpec (@fission-ai/openspec) for spec-driven development inside OpenClaw sessions.

当前版本
v0.1.1
bundle-plugin社区source-linked

openspec-openclaw-plugin

OpenClaw plugin that integrates OpenSpec (@fission-ai/openspec) for spec-driven development inside OpenClaw sessions.

The plugin exposes a normalized tool surface so OpenClaw agents can drive the OpenSpec workflow (propose → validate → apply → archive) without shelling out manually. It ships a bundled skill (openclaw-skills:openspec) so any provider-backed agent picks up the right behaviour.

Why this plugin

OpenSpec officially supports ~25 AI coding assistants (Claude Code, Cursor, OpenCode, …) but not OpenClaw. Wiring OpenSpec into OpenClaw at the plugin layer means the integration is provider-agnostic — swap the underlying CLI/model and the workflow keeps working.

Install

Requires:

  • OpenClaw >= 2026.5.0
  • Node.js 20.19.0+
  • @fission-ai/openspec available on PATH (npm install -g @fission-ai/openspec@latest)
# from a built dist
openclaw plugins install clawhub:openspec-openclaw-plugin

# or from a local checkout
git clone https://github.com/jlivanmaseda-maker/openspec-openclaw-plugin
cd openspec-openclaw-plugin
npm install --omit=peer --omit=optional --ignore-scripts
npm run build
openclaw plugins install --link "$PWD"

Then restart the gateway: openclaw gateway restart.

Tools

ToolWraps
openspec_initopenspec init [path] [--tools …] [--profile …]
openspec_updateopenspec update [path]
openspec_listopenspec list [--specs] --json
openspec_showopenspec show <name> (plus optional file contents)
openspec_validateopenspec validate [name]
openspec_archiveopenspec archive <change-name> --yes
openspec_statusopenspec status [change-name]
openspec_runEscape hatch passthrough

Config

openclaw.jsonplugins.entries["openspec-openclaw-plugin"].config:

{
  "enabled": true,
  "command": "auto",
  "args": [],
  "env": {},
  "readOnly": false,
  "allowedRoots": [],
  "timeoutMs": 60000
}
KeyDefaultNotes
enabledtrueToggle the plugin without uninstalling.
command"auto"Override the openspec binary path.
args[]Extra default arguments prepended to every invocation.
env{}Extra environment variables for the spawned process.
readOnlyfalseBlock init, update, archive (and openspec_run mutators).
allowedRoots[]If non-empty, restrict every operation to projects inside these absolute roots.
timeoutMs60000Per-command timeout.

Skill

The bundled skill (src/skill/SKILL.md) ships under openclaw-skills:openspec. It teaches the agent when to invoke OpenSpec, the core workflow, and anti-patterns. Extended patterns live in src/skill/references/workflow.md.

License

MIT

源码与版本

源码仓库

juanclaw/Openspec-Openclaw-Plugin

打开仓库

源码提交

ab425f6a0afb26ebaaa8ed149ffe3bc2b4e8deb6

查看提交

安装命令

openclaw plugins install clawhub:openspec-openclaw-plugin

元数据

  • 包名: openspec-openclaw-plugin
  • 创建时间: 2026/05/13
  • 更新时间: 2026/05/13
  • 执行代码:
  • 源码标签: main

兼容性

  • 构建于 OpenClaw: 2026.5.7
  • 插件 API 范围: 2026.5.7
  • 标签: latest
  • 文件数: 16