Agent skill

Specclaw

by LeoYeAI in LeoYeAI/openclaw-master-skills

Spec-driven development framework for OpenClaw. An agent skill from LeoYeAI/openclaw-master-skills.

MITAuto-check passedDevelopment

Install Specclaw

skills CLI
$ npx skills add LeoYeAI/openclaw-master-skills --skill specclaw -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LeoYeAI/openclaw-master-skills specclaw --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/specclaw .claude/skills/specclaw && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
specclaw
GitHub stars
2.2k
Token cost
~4.1k tokens
SKILL.md length
1,425 words
Files
24 (incl. scripts, references)
Skills in repo
1,235
Repo updated
First seen
Licence
MIT

At a glance

Spec-driven development framework for OpenClaw. An agent skill from LeoYeAI/openclaw-master-skills.

  • Works in 7 steps: Setup → Parse Tasks → Wave Loop → …
  • Tasks that involve Spec-driven development
  • SKILL.md covers Overview, Directory Structure, Commands and Task Format in tasks.md, plus 3 more sections
  • Runs Shell scripts from its folder; calls bash and git

What it does

Specclaw is an agent skill from LeoYeAI/openclaw-master-skills. Spec-driven development framework for OpenClaw. Propose features, generate specs, spawn coding agents, validate implementations.

Its SKILL.md is about 4.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 26 other files, including scripts and reference files (for example `_meta.json`, `references/agent-prompts.md` and `references/build-engine.md`).

It sits in Development, covering Spec-driven development. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.

When your agent uses it

  • Tasks that involve Spec-driven development

Example prompts

  • “/specclaw”

Requirements

  • A Bash shell
  • Pre-approved tools (allowed-tools): exec, read, write, edit, sessions_spawn, sessions_yield, subagents, message, memory_search

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Setup
  2. Parse Tasks
  3. Wave Loop
  4. Finalize
  5. Post-Build Review
  6. Update Dashboard
  7. Notify

What it can do on your machine

Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • exec
    • read
    • write
    • edit
    • sessions_spawn
    • sessions_yield
    • subagents
    • message
    • memory_search

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 9 files in scripts/ (Shell, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • bash
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Specclaw loads about 4.1k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 34 tokens; SKILL.md has 1,425 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~4.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 1,425 words, ~4,078 tokens.

Download SKILL.mdSave it as .claude/skills/specclaw/SKILL.md (or your agent's skills folder). This skill also uses 23 other files; get the full folder from GitHub.
name
specclaw
description
Spec-driven development framework for OpenClaw. Propose features, generate specs, spawn coding agents, validate implementations.
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)
    └── 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
specclaw plan <change>

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

  1. Read the proposal
  2. Analyze existing codebase (file structure, patterns, dependencies)
  3. Generate:
    • spec.md — functional requirements, acceptance criteria, edge cases
    • design.md — technical approach, architecture, file changes map
    • tasks.md — ordered implementation tasks with dependencies
  4. Present plan summary to user
  5. Update status
specclaw build <change>

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

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

Step 1 — Setup

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

bash
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.

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
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
bash skill/scripts/parse-tasks.sh --status failed .specclaw/changes/<change>/tasks.md

Reset failed tasks to pending before re-executing:

bash
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
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
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
    bash skill/scripts/update-task-status.sh .specclaw/changes/<change>/tasks.md <TASK_ID> in_progress
  2. Build context payload:

    bash
    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.

  3. 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
    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>

  2. Git commit the changes:

    bash
    bash skill/scripts/build.sh commit .specclaw <change> <TASK_ID> "<task_title>" <files...>
  3. 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
    bash skill/scripts/update-task-status.sh .specclaw/changes/<change>/tasks.md <TASK_ID> failed
  2. Log error: Run bash skill/scripts/log-error.sh .specclaw <change> <task_id> <wave> <agent_label> "<failure summary>" — pipe agent error output if available

  3. Log the error in status.md with the failure reason

  4. Send a task failed notification:

    ❌ **Task Failed:** <TASK_ID> — <task_title>
    **Change:** <change_name> | **Wave:** <N>/<total_waves>
    **Error:** <brief failure reason>
  5. Mark all dependent tasks in later waves as skipped/failed — they cannot proceed

f. 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
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:

bash
# 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
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
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
  5. 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.
Show full SKILL.md (587 more words)Show less
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
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
bash skill/scripts/log-learning.sh .specclaw <change> --list

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

bash
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
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
bash skill/scripts/detect-patterns.sh .specclaw list [--min-recurrence N]

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

bash
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"

  1. Read spec.md acceptance criteria
  2. Check each criterion against the implementation
  3. Run tests if configured (config.yaml test_command)
  4. Generate verification report
  5. Update status.md with pass/fail per criterion
  6. If failures: suggest remediation tasks
specclaw status

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

  1. Read all changes in .specclaw/changes/
  2. Compile dashboard showing:
    • Active changes with progress %
    • Pending proposals
    • Recently archived
    • Overall project health
  3. Update STATUS.md
specclaw archive <change>

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

  1. Verify change is complete (all tasks done, verification passed)
  2. Move to .specclaw/changes/archive/YYYY-MM-DD-<change-name>/
  3. Update STATUS.md
  4. 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

markdown
## 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
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" or "direct"
  • 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

© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 23 other files (scripts, references) in skills/specclaw of LeoYeAI/openclaw-master-skills.

  • SKILL.md
  • _meta.json
  • references/agent-prompts.md
  • references/build-engine.md
  • references/workflow-examples.md
  • scripts/build-context.sh
  • scripts/build.sh
  • scripts/detect-patterns.sh
  • scripts/init.sh
  • scripts/log-error.sh
  • scripts/log-learning.sh
  • scripts/parse-tasks.sh
  • scripts/update-status.sh
  • scripts/update-task-status.sh
  • templates/STATUS-dashboard.md
  • templates/config.yaml
  • templates/design.md
  • templates/errors.md
  • … and 6 more

Open the folder on GitHubat commit e5199b5

Compare with similar skills

Specclaw next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Specclaw compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Specclaw this skillLeoYeAI/openclaw-master-skills2.2k—~4.1kAutomated safety check: PassMIT
OpenSpec Bulk Change ArchiverFission-AI/OpenSpec72k2 repos~5.6kAutomated safety check: PassMIT
Speckit ConstitutionWeihanLi/WeihanLi.Common24212 repos~2.1kAutomated safety check: PassApache-2.0
Speckit Plankunstmusik/blue15419 repos~2.1kAutomated safety check: PassGPL-3.0
Speckit Specifykunstmusik/blue15419 repos~4.7kAutomated safety check: PassGPL-3.0
Review Spdzhu1090093659/spec_driven_develop987—~1.5kAutomated safety check: PassMIT

Similar skills

  • Archives several completed OpenSpec changes in one operation, checking the codebase to resolve spec conflicts rather than archiving blindly.

    72k GitHub starsUsed in 2 repos~5.6k tokens
    DevelopmentAuto-check passed
  • Speckit Constitution

    WeihanLi/WeihanLi.Common

    Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync.

    242 GitHub starsUsed in 12 repos~2.1k tokens
    DevelopmentAuto-check passed
  • Speckit Plan

    kunstmusik/blue

    Execute the implementation planning workflow using the plan template to generate design artifacts.

    154 GitHub starsUsed in 19 repos~2.1k tokens
    DevelopmentAuto-check passed
  • Speckit Specify

    kunstmusik/blue

    Create or update the feature specification from a natural language feature description.

    154 GitHub starsUsed in 19 repos~4.7k tokens
    DevelopmentAuto-check passed
  • Review Spd

    zhu1090093659/spec_driven_develop

    Findings-first code review workflow for AI coding agents. An agent skill from zhu1090093659/spec_driven_develop.

    987 GitHub stars~1.5k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Speckit Tasks

    kunstmusik/blue

    Generate an actionable, dependency-ordered tasks.md for the feature based on available design artifacts.

    154 GitHub starsUsed in 19 repos~3k tokens
    DevelopmentAuto-check passed

More from LeoYeAI/openclaw-master-skills

All 1,200 skills in this repo
  • DevOps Pipeline Management

    LeoYeAI/openclaw-master-skills

    Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.

    2.2k GitHub stars~4.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Feishu Document Collaboration

    LeoYeAI/openclaw-master-skills

    Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.

    2.2k GitHub stars~2k tokensUpdated 2 mo ago
    Auto-check passed
  • Files Memory System

    LeoYeAI/openclaw-master-skills

    Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.

    2.2k GitHub stars~3.8k tokensUpdated 2 mo ago
    Auto-check passed
  • GEO-Claw AI Visibility Agent

    LeoYeAI/openclaw-master-skills

    Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.

    2.2k GitHub stars~4.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Google Workspace CLI

    LeoYeAI/openclaw-master-skills

    Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.

    2.2k GitHub stars~2.6k tokensUpdated 2 mo ago
    Auto-check: notes
  • HealthFit Health Advisors

    LeoYeAI/openclaw-master-skills

    Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.

    2.2k GitHub stars~4.4k tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Specclaw

What does Specclaw do?

Spec-driven development framework for OpenClaw. An agent skill from LeoYeAI/openclaw-master-skills. Specclaw is an agent skill from LeoYeAI/openclaw-master-skills. Spec-driven development framework for OpenClaw.

When should I use Specclaw?

Specclaw fits situations like: tasks that involve Spec-driven development.

How do I install Specclaw in Claude Code?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill specclaw -a claude-code`. Or copy the skill folder (skills/specclaw in LeoYeAI/openclaw-master-skills) into .claude/skills/specclaw in your project. Claude Code loads it when a task matches its description.

How do I install Specclaw in Codex?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill specclaw -a codex`. Or copy the skill folder (skills/specclaw in LeoYeAI/openclaw-master-skills) into .agents/skills/specclaw in your project. Codex loads it when a task matches its description.

Can I use Specclaw in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill specclaw -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/specclaw, .gemini/skills/specclaw, .github/skills/specclaw and .opencode/skills/specclaw in your project.

What does Specclaw need to run?

Going by SKILL.md and its folder, Specclaw needs a shell for the scripts in its folder and the command-line tools its instructions call (bash and git). Our summary lists: A Bash shell. Its frontmatter pre-approves these tools: exec, read, write, edit, sessions_spawn, sessions_yield, subagents, message, memory_search.

Does Specclaw access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Specclaw safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Specclaw use?

Specclaw is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Specclaw use?

About 4.1k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.5k tokens, read only when the agent opens those files.

What are the alternatives to Specclaw?

Skills that share tags, products or a category with Specclaw: OpenSpec Bulk Change Archiver (Fission-AI/OpenSpec, 72k stars), Speckit Constitution (WeihanLi/WeihanLi.Common, 242 stars), Speckit Plan (kunstmusik/blue, 154 stars) and Speckit Specify (kunstmusik/blue, 154 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Specclaw?

LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,161 GitHub stars. The repository holds 1,235 skills in this directory. The repository was last updated on July 20, 2026.

Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.