skills/build-a-skill/SKILL.md
Use when creating or modifying a skill: follow SKILL.md rules, define commands and dependencies, validate locally, version correctly, and publish
npx skillsauth add avibe-bot/askill build-a-skillInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when creating or updating a skill that must work with askill CLI and registry conventions.
A valid skill requires one entry file:
SKILL.md (required)Optional supporting files:
scripts/ for executable commandsassets/ for templates or reference materialRecommended layout:
my-skill/
├── SKILL.md
├── scripts/
│ └── main.js
└── assets/
---
name: my-skill
slug: my-skill
description: One-line purpose of the skill
version: 0.1.0
---
# My Skill
## Overview
What this skill does and when to use it.
## Usage
Step-by-step instructions the agent can execute.
Required:
name - lowercase letters/numbers/hyphens onlydescription - concise summaryStrongly recommended:
version - valid semver (1.0.0, 1.1.0-beta.1)slug - publish identifier (@author/slug)Optional:
author, tags, dependencies, commands, repository, licenseDependencies format:
@author/skill-name or @author/skill-name@^1.2.0gh:owner/repo@skill-name or gh:owner/repo/pathCommands format:
commands:
analyze:
run: node scripts/analyze.js
description: Analyze current repository
_setup:
run: npm ci
description: Install command dependencies
Your markdown body should be executable guidance:
Good instruction pattern:
Use this loop while building:
# 1) scaffold
askill init ./my-skill
# 2) validate schema/fields
askill validate ./my-skill/SKILL.md
# 3) install locally for testing
askill add ./my-skill -a claude-code -y
# 4) run commands
askill run my-skill:<command>
# 5) inspect installed state
askill list
When iterating quickly, reinstall with askill add ./my-skill -y after changes.
Publishing uses slug as publish intent.
askill login --token ask_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
askill whoami
askill publish ./my-skill
Alternative (publish from GitHub SKILL.md URL):
askill publish --github https://github.com/owner/repo/blob/main/path/to/SKILL.md
Important:
askill publish requires name, slug, and valid semver version@author/<slug>version before republishing updatesaskill submit <github-url> requests indexing and can trigger slug-driven publish flowsaskill validate passes with no errorsrun or description in commands.claude/skills/... paths instead of askill runFor updates:
versionFor breaking changes, increment major version.
data-ai
Use when you need new capabilities: discover skills, inspect details, install to agents, run commands, and manage updates with askill
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.