Token导航 LogoToken导航

Agent Skill · 研究检索

specclaw(specclaw 开发)

specclaw 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

specclaw 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为执行命令;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 25,945。

总安装 3,669周安装 147GitHub Stars 公开资料未说明下载 1,188核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.6.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:specclaw(specclaw 开发)
来源仓库:https://github.com/chanbistec/specclaw
安装命令:
openclaw skills install specclaw
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install specclaw

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

OpenClaw 规范驱动的开发框架。提出功能、生成规范、生成编码代理、验证实现。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install specclaw;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

specclaw 怎么安装?

在终端执行 openclaw skills install specclaw。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

specclaw 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

specclaw 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 openclaw skills install specclaw 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

specclaw 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

specclaw 用的人多吗?

公开数据是累计安装 3,669 次,近一周安装 147 次,下载 1,188 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

specclaw 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
specclaw

specclaw 开发 · 本页

3,669—执行命令MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
specclaw
description
Spec-driven development framework for OpenClaw. Propose features, generate specs, spawn coding agents, validate implementations.
metadata
openclaw
emoji
🦞
requires
tools
["exec", "sessions_spawn", "message"]
allowed-tools
["exec", "read", "write", "edit", "sessions_spawn", "sessions_yield", "subagents", "message", "memory_search"]

SpecClaw — Spec-Driven Development

Overview

SpecClaw brings structured, spec-driven development to OpenClaw agents. It manages the full lifecycle: propose → plan → build → verify → archive.

Directory Structure

When initialized (.specclaw/ exists in project root):

.specclaw/
├── config.yaml          # Project configuration
├── STATUS.md            # Project dashboard (auto-generated)
├── patterns.md          # Recurring pattern registry (cross-change)
└── changes/
    ├── <change-name>/
    │   ├── proposal.md  # Problem + solution + scope
    │   ├── spec.md      # Requirements + acceptance criteria
    │   ├── design.md    # Technical approach + file map
    │   ├── tasks.md     # Ordered tasks with status markers
    │   ├── status.md    # Progress tracking
    │   ├── errors.md    # Build error journal (auto-generated on failures)
    │   ├── learnings.md # Build learnings (spec gaps, patterns, insights)
    │   └── verify-report.md # Verification results (auto-generated)
    └── archive/         # Completed changes

Commands

The user triggers commands conversationally. Recognize these patterns:

specclaw init

Trigger: "specclaw init", "initialize specclaw", "set up spec-driven development"

  1. Create .specclaw/ directory structure
  2. Generate config.yaml from template (see templates/config.yaml)
  3. Ask user for project name/description
  4. Create initial STATUS.md
  5. Add .specclaw/ tracking to git

specclaw propose "<idea>"

Trigger: "specclaw propose", "propose a change", "new feature proposal"

  1. Create .specclaw/changes/<slugified-name>/
  2. Generate proposal.md from template
  3. Include: problem statement, proposed solution, scope, impact, open questions
  4. Present proposal to user for review
  5. Update STATUS.md
  6. GitHub sync (if github.sync is true): Run bash skill/scripts/gh-sync.sh create .specclaw <change> to create a GitHub Issue for the proposal. (gh-sync.sh create requires proposal.md — validation is enforced by validate-change.sh.)

specclaw plan <change>

Trigger: "specclaw plan", "plan the feature", "generate spec for"

  1. Validate: Run bash skill/scripts/validate-change.sh .specclaw <change> plan. If it fails, report missing prerequisites and stop.
  2. Read the proposal
  3. Analyze existing codebase (file structure, patterns, dependencies)
  4. Generate:

- spec.md — functional requirements, acceptance criteria, edge cases - design.md — technical approach, architecture, file changes map - tasks.md — ordered implementation tasks with dependencies

  1. Present plan summary to user
  2. Update status
  3. GitHub sync (if enabled): Run bash skill/scripts/gh-sync.sh update .specclaw <change> to add the task checklist to the GitHub Issue.

specclaw build <change>

Trigger: "specclaw build", "implement the feature", "start building"

This is where OpenClaw shines. Follow this execution flow exactly:

Step 0 — Validate

Run bash skill/scripts/validate-change.sh .specclaw <change> build. If it fails, report missing prerequisites and stop.

Step 1 — Setup

Run the setup script to parse config, create a git branch, and get build configuration:

bash skill/scripts/build.sh setup .specclaw <change_name>

This returns JSON config including parallel_tasks, models.coding, git.strategy, and notifications.channel. Capture this output — you'll need parallel_tasks and model values throughout the build.

Worktree strategy: When git.strategy is "worktree-per-change", setup creates an isolated worktree at .specclaw/worktrees/<change>/. The worktree_path from the config JSON should be used as the cwd parameter when spawning coding agents via sessions_spawn, ensuring each change's agents work in complete isolation.

Parallel changes: With worktree-per-change strategy, multiple changes can be built simultaneously since each has its own worktree. No branch switching required.

Send a build started notification:

🦞 **Build Started**
**Change:** <change_name>
**Branch:** specclaw/<change_name>
**Tasks:** <total_count> across <wave_count> waves
Step 2 — Parse Tasks

Get all actionable tasks:

bash skill/scripts/parse-tasks.sh --status pending .specclaw/changes/<change>/tasks.md

This outputs JSON: [{"id": "T1", "title": "...", "wave": 1, "depends": [], "files": [...], "estimate": "small"}, ...]

For retries (re-running build on a change with prior failures):

bash skill/scripts/parse-tasks.sh --status failed .specclaw/changes/<change>/tasks.md

Reset failed tasks to pending before re-executing:

bash skill/scripts/update-task-status.sh .specclaw/changes/<change>/tasks.md <TASK_ID> pending

Then re-parse with --status pending and continue from the appropriate wave.

Step 3 — Wave Loop

Execute tasks wave-by-wave. For each wave number (1, 2, 3...):

a. Filter tasks for this wave:

bash skill/scripts/parse-tasks.sh --wave N --status pending .specclaw/changes/<change>/tasks.md

If no tasks returned for this wave, the build is complete — skip to Step 4.

Skip waves with blocked tasks: If a task's dependency failed in a prior wave, skip it and mark it failed:

bash skill/scripts/update-task-status.sh .specclaw/changes/<change>/tasks.md <TASK_ID> failed

b. For each task in the wave (up to parallel_tasks from config):

  1. Mark in-progress:
   bash skill/scripts/update-task-status.sh .specclaw/changes/<change>/tasks.md <TASK_ID> in_progress
  1. Build context payload:
   bash skill/scripts/build-context.sh .specclaw <change> <TASK_ID>

This outputs a complete context string containing: spec sections, design sections, task details, relevant source file contents, and constraints. Use this output directly as the agent's task.

  1. Spawn coding agent:
   sessions_spawn(
     task: <output from build-context.sh>,
     label: "specclaw-<change>-<task_id>",
     mode: "run",
     model: <models.coding from config>
   )

c. Yield and wait:

After spawning all tasks in the wave batch, call sessions_yield to wait for agent completions. Results auto-announce back to you.

d. Process completed agents:

For each agent that succeeded:

  1. Mark complete:
   bash skill/scripts/update-task-status.sh .specclaw/changes/<change>/tasks.md <TASK_ID> complete

If this task previously failed (was [!] before): Run bash skill/scripts/log-error.sh .specclaw <change> --resolve <task_id>

  1. Git commit the changes:
   bash skill/scripts/build.sh commit .specclaw <change> <TASK_ID> "<task_title>" <files...>
  1. Send a task complete notification:
   ✅ **Task Complete:** <TASK_ID> — <task_title>
   **Change:** <change_name> | **Wave:** <N>/<total_waves>

e. Process failed agents:

For each agent that failed:

  1. Mark failed:
   bash skill/scripts/update-task-status.sh .specclaw/changes/<change>/tasks.md <TASK_ID> failed
  1. Log error: Run bash skill/scripts/log-error.sh .specclaw <change> <task_id> <wave> <agent_label> "<failure summary>" — pipe agent error output if available
  1. Log the error in status.md with the failure reason
  1. Send a task failed notification:
   ❌ **Task Failed:** <TASK_ID> — <task_title>
   **Change:** <change_name> | **Wave:** <N>/<total_waves>
   **Error:** <brief failure reason>
  1. Mark all dependent tasks in later waves as skipped/failed — they cannot proceed
  2. GitHub sync (if enabled): Run bash skill/scripts/gh-sync.sh comment .specclaw <change> "❌ Task <task_id> failed: <summary>" to log the error on the issue.

f. GitHub sync (if enabled): Run bash skill/scripts/gh-sync.sh update .specclaw <change> to update task checkboxes.

g. Repeat for the next wave number until no pending tasks remain.

Step 4 — Finalize

Run the finalize script to execute tests and merge the branch:

bash skill/scripts/build.sh finalize .specclaw <change_name>

This runs the configured test_command (if any) and merges the branch per git.strategy.

Step 5 — Post-Build Review

If automation.post_build_review is true in config, run an automated review before updating the dashboard:

a. Scope deviation check:

Compare files actually changed against files declared in tasks:

# Get files changed since pre-build commit (branch point)
git diff --name-only main...HEAD

Cross-reference with files listed in each task in tasks.md. Flag any files changed but not declared in any task's Files: field.

b. Review prompt:

Evaluate the build and auto-log findings (~150 words max):

🦞 Post-Build Review — <change-name>
Results: X/Y tasks passed, Z failed

Evaluate:
1. Were any spec requirements ambiguous or incomplete?
2. Did the design need adjustment during implementation?
3. Were any files modified outside declared task scope?
4. Did any agents struggle with context or instructions?
5. Any reusable patterns discovered?

For each finding, log with:
  bash skill/scripts/log-learning.sh .specclaw <change> <category> <priority> "<detail>" "<action>"

c. Auto-log scope deviations:

For any files changed outside declared task scope, automatically log as design_gap:

bash skill/scripts/log-learning.sh .specclaw <change> design_gap medium "File <path> modified but not declared in any task" "Review task file declarations for completeness"

d. Pattern scan: Run bash skill/scripts/detect-patterns.sh .specclaw scan <change> to check for recurring patterns across changes.

e. If any patterns have recurrence >= 3, alert the user: "⚠️ Pattern PAT-XXX has N occurrences — consider promoting its prevention rule to agent context."

Step 6 — Update Dashboard

Regenerate the project status dashboard:

bash skill/scripts/update-status.sh .specclaw
Step 7 — Notify

Send the build summary via the message tool to the configured notification channel:

🦞 **Build Complete**
**Change:** <change_name>
**Status:** <succeeded|partial|failed>
**Tasks:** <completed>/<total> complete, <failed> failed, <skipped> skipped
**Branch:** specclaw/<change_name> → merged to <target_branch>
**Duration:** <elapsed time>

If any tasks failed, include a remediation section:

⚠️ **Failed Tasks:**
- <TASK_ID>: <brief error> — re-run with `specclaw build <change>` to retry
Retry Flow

When specclaw build is called on a change that has failed tasks:

  1. Parse failed tasks: parse-tasks.sh --status failed
  2. Reset each to pending: update-task-status.sh ... pending
  3. Re-parse pending tasks and determine which waves need re-execution
  4. Execute only the waves containing reset tasks (and their dependents)

- Retried tasks automatically get previous error context via build-context.sh

  1. Finalize and notify as normal
Key Principles
  • Fresh context always — each agent gets ONLY what it needs via build-context.sh. No stale context from prior tasks. This is critical for quality.
  • Parallel within waves — tasks in the same wave with no cross-dependencies spawn simultaneously, up to parallel_tasks limit.
  • Sequential across waves — wave N+1 starts only after wave N completes.
  • Fail-fast on dependencies — if a task fails, all tasks depending on it are immediately marked failed.

specclaw learn <change> "<insight>"

Trigger: "specclaw learn", "log a learning", "what did we learn", "capture insight"

Capture build learnings — spec gaps, design misses, and patterns discovered during implementation.

Log a learning:

bash skill/scripts/log-learning.sh .specclaw <change> <category> <priority> "<detail>" ["<action>"]

Categories: spec_gap | design_gap | pattern | best_practice | agent_issue Priorities: low | medium | high

List learnings for a change:

bash skill/scripts/log-learning.sh .specclaw <change> --list

Promote a learning (mark for elevation to agent prompts/SKILL.md):

bash skill/scripts/log-learning.sh .specclaw <change> --promote <id>

When to log:

  • After a build reveals a spec gap (requirements were unclear or missing)
  • When a design decision needed mid-build adjustment
  • When agents discovered a useful pattern worth reusing
  • When parallel tasks created conflicts (duplicate code, shared dependencies)
  • When an agent struggled with the context or instructions

Learnings are stored in .specclaw/changes/<change>/learnings.md and feed into the pattern detection system for cross-change analysis.

specclaw patterns

Trigger: "specclaw patterns", "check patterns", "recurring issues", "what keeps happening"

Track recurring patterns across changes — errors and learnings that repeat become prevention rules.

Scan a change for patterns:

bash skill/scripts/detect-patterns.sh .specclaw scan <change>

Reads errors.md and learnings.md, matches against existing patterns, creates new or increments existing.

List all patterns:

bash skill/scripts/detect-patterns.sh .specclaw list [--min-recurrence N]

Promote a pattern (mark for elevation to agent prompts):

bash skill/scripts/detect-patterns.sh .specclaw promote <pat-id>

Auto-promotion: Patterns with 3+ occurrences are flagged ⚠️ — their prevention rules should be added to agent context templates or SKILL.md build instructions.

Pattern registry lives at .specclaw/patterns.md (global, not per-change).

specclaw verify <change>

Trigger: "specclaw verify", "validate implementation", "check against spec"

Validate that the implementation satisfies the spec's acceptance criteria.

Step 0: Validate

Run bash skill/scripts/validate-change.sh .specclaw <change> verify. If it fails (tasks not all complete), report and stop.

Step 1: Collect Evidence

Run bash skill/scripts/verify.sh collect .specclaw <change> to gather:

  • Acceptance criteria from spec.md
  • Current content of all changed files
  • Test/lint/build command results (if configured)
Step 2: Build Verify Context

Run bash skill/scripts/verify-context.sh .specclaw <change> to construct the verification agent's context payload from the evidence + Verify Agent prompt template.

Step 3: Spawn Verify Agent

Spawn a verification agent:

sessions_spawn(
  task: <verify context payload>,
  model: <config.yaml models.review>,  # default: anthropic/claude-sonnet-4-5
  mode: "run",
  label: "specclaw-verify-<change>"
)

Wait for completion via sessions_yield.

Step 4: Save Report

Save the agent's output as .specclaw/changes/<change>/verify-report.md.

Step 5: Update Status

Run bash skill/scripts/verify.sh update-status .specclaw <change> <verdict> where verdict is PASS, FAIL, or PARTIAL (extracted from the report).

Update status.md and run bash skill/scripts/update-status.sh .specclaw to refresh the dashboard.

Step 6: GitHub Sync (if enabled)

If github.sync is true, post verification summary as a comment: bash skill/scripts/gh-sync.sh comment .specclaw <change> "<verdict summary>"

Step 7: Notify

Send verification results via configured notification channel.

Auto-Verify

When automation.auto_verify: true in config.yaml, the build flow automatically triggers verification after a successful build (all tasks complete).

Remediation

If verdict is FAIL or PARTIAL:

  1. List the failed acceptance criteria
  2. Suggest creating remediation tasks (new tasks targeting the gaps)
  3. The user can re-plan just the failed criteria or manually fix and re-verify

specclaw status

Trigger: "specclaw status", "project status", "what's the progress"

For a specific change: bash skill/scripts/validate-change.sh .specclaw <change> status

  1. Read all changes in .specclaw/changes/
  2. Compile dashboard showing:

- Active changes with progress % - Pending proposals - Recently archived - Overall project health

  1. Update STATUS.md

specclaw archive <change>

Trigger: "specclaw archive", "mark as done", "archive the change"

  1. Validate: Run bash skill/scripts/validate-change.sh .specclaw <change> archive. If it fails, report and stop.
  2. Verify change is complete (all tasks done, verification passed)
  3. Move to .specclaw/changes/archive/YYYY-MM-DD-<change-name>/
  4. Update STATUS.md
  5. GitHub sync (if enabled): Run bash skill/scripts/gh-sync.sh close .specclaw <change> to close the issue.
  6. Optionally create git tag

specclaw auto

Trigger: "specclaw auto", "autonomous mode", "auto-build"

  1. Check STATUS.md for next actionable item
  2. If proposal exists without plan → generate plan
  3. If plan exists without implementation → build
  4. If built without verification → verify
  5. Respect config.yaml limits (max_tasks_per_run)
  6. Notify user of results

Task Format in tasks.md

## Tasks

### Wave 1 (no dependencies)
- [ ] `T1` — Create theme context provider
  - Files: `src/contexts/ThemeContext.tsx`
  - Estimate: small
- [ ] `T2` — Add CSS custom properties
  - Files: `src/styles/variables.css`
  - Estimate: small

### Wave 2 (depends on Wave 1)
- [ ] `T3` — Create toggle component
  - Files: `src/components/ThemeToggle.tsx`
  - Depends: T1
  - Estimate: small

### Wave 3 (depends on Wave 2)
- [ ] `T4` — Integration tests
  - Files: `tests/theme.test.ts`
  - Depends: T1, T2, T3
  - Estimate: medium

Status markers:

  • [ ] — pending
  • [~] — in progress
  • [x] — complete
  • [!] — failed (needs remediation)

Agent Context Preparation

Context construction is handled by the build-context.sh script:

bash skill/scripts/build-context.sh .specclaw <change> <TASK_ID>

The script automatically assembles a complete context payload containing:

  1. Task header — task ID, title, and estimate
  2. Spec context — relevant sections from spec.md (requirements, acceptance criteria)
  3. Design context — relevant sections from design.md (architecture, approach)
  4. Task details — full task description, file list, and dependencies from tasks.md
  5. Source files — current contents of files listed in the task's Files: field
  6. Constraints — standard rules (follow patterns, write tests, stay in scope)

The output is a single string ready to pass directly as the task parameter to sessions_spawn. Do not manually construct context — always use the script to ensure consistency and freshness.

Configuration Reference

See templates/config.yaml for the full config schema.

Key settings:

  • models.planning — model for proposals, specs, design (default: opus)
  • models.coding — model for implementation (default: codex)
  • models.review — model for verification (default: sonnet)
  • git.strategy — "branch-per-change", "direct", or "worktree-per-change"
  • notifications.channel — where to send updates
  • automation.max_tasks_per_run — limit for auto mode

Best Practices

  1. Keep proposals focused — one change per proposal, small scope
  2. Review specs before building — garbage in, garbage out
  3. Wave-based execution — group independent tasks, respect dependencies
  4. Fresh context always — never let agents accumulate stale context
  5. Verify early — run verification after each wave, not just at the end

GitHub Integration (Optional)

When github.sync: true in config.yaml, SpecClaw creates a GitHub Issue per change and tracks progress as a task checklist. Requires gh CLI (authenticated) or GITHUB_TOKEN environment variable.

Run bash skill/scripts/gh-sync.sh setup to verify auth and create labels.

平台分布

OpenClaw

72.86%
按下载量换算866

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install specclaw 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills