Overview
- Skill Key
- 1va7/skill-refiner
- Author
- 1va7
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/1va7/skill-refiner
- Latest Commit SHA
- 72c86c9ac1649c098b218fd19449dd7e6e6a78d6
Audit and fix all skills in the workspace for compliance with skill-creator requirements. Use when asked to "refine skills", "audit skills", "check skill quality", or "fix non-compliant skills". Exhaustively searches the entire workspace (not just skills/) to find every SKILL.md, then audits and repairs each one.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 skill-refiner 技能。 若已安装,则直接安装 skill-refiner 技能。
# Skill Refiner
Finds every skill in the workspace, audits each against skill-creator requirements, and fixes non-compliant ones.
## Workflow
### Step 1 — Discover all skills
```bash
bash scripts/find_skills.sh [workspace_dir]
```
This searches the **entire workspace** for `SKILL.md` files (not just `skills/`). Skills created without following skill-creator conventions may end up anywhere.
### Step 2 — Audit each skill
```bash
python3 scripts/audit_skill.py <skill-dir>
```
Returns JSON with:
- `issues` — blocking problems that must be fixed
- `warnings` — advisory improvements
- `compliant` — true only when issues is empty
Run this on every path returned by Step 1. Batch example:
```bash
bash scripts/find_skills.sh | while read dir; do
python3 scripts/audit_skill.py "$dir"
done
```
### Step 3 — Report findings
Summarize results in a table:
| Skill | Location | Issues | Warnings | Status |
|-------|----------|--------|----------|--------|
| my-skill | skills/my-skill | 0 | 1 | ⚠️ |
| bad-skill | temp/bad-skill | 2 | 0 | ❌ |
### Step 4 — Fix non-compliant skills
For each skill with issues, fix in this order:
1. **Missing/malformed frontmatter** — Add or correct the `---` block with `name` and `description` only
2. **Extra frontmatter fields** — Remove any fields other than `name` and `description`
3. **Weak description** — Rewrite to include: what the skill does + trigger conditions ("Use when...")
4. **Extraneous files** — Delete README.md, INSTALLATION_GUIDE.md, CHANGELOG.md, etc.
5. **Wrong location** — If a skill is outside `skills/`, move it to `~/.openclaw/workspace/skills/<skill-name>/`
6. **Naming violations** — Rename directory to lowercase-hyphen-case
For warnings (advisory):
- Long SKILL.md (>500 lines): extract detailed content into `references/` files and link from SKILL.md
- Unlinked references: add links in SKILL.md body
- Weak description: improve trigger language
### Step 5 — Validate fixes
Re-run `audit_skill.py` on each fixed s...
# skill-refiner Audit and fix [OpenClaw](https://github.com/openclaw/openclaw) agent skills for [skill-creator](https://github.com/openclaw/openclaw/tree/main/skills/skill-creator) compliance. [中文文档](./README.zh.md) ## Why? OpenClaw skills need to follow specific conventions to be properly discovered and triggered. Common issues include: - Missing or malformed YAML frontmatter - Extra frontmatter fields (only `name` and `description` allowed) - Extraneous files (README.md, CHANGELOG.md in skill directories) - Weak descriptions that don't specify trigger conditions This tool finds all skills in your workspace and reports compliance issues. ## Quick Start ```bash # Scan your OpenClaw workspace npx skill-refiner # Scan a specific directory npx skill-refiner /path/to/workspace ``` ## Installation ### As an OpenClaw Skill ```bash clawhub install skill-refiner ``` Then ask your agent: "audit my skills" or "check skill compliance" ### Global CLI ```bash npm install -g skill-refiner skill-refiner ~/.openclaw/workspace ``` ## What It Checks | Check | Severity | Description | |-------|----------|-------------| | SKILL.md exists | 🔴 Issue | Every skill needs a SKILL.md | | YAML frontmatter | 🔴 Issue | Must start with `---` block | | Required fields | 🔴 Issue | `name` and `description` required | | Extra fields | 🔴 Issue | Only `name` + `description` allowed | | Extraneous files | 🔴 Issue | No README.md, CHANGELOG.md, etc. | | Naming convention | 🔴 Issue | lowercase-hyphen-case, ≤64 chars | | Trigger conditions | 🟡 Warning | Description should include "Use when..." | | SKILL.md length | 🟡 Warning | Recommended max 500 lines | | Unlinked references | 🟡 Warning | Files in references/ should be linked | ## Output Example ``` 🔍 skill-refiner — scanning: /Users/me/.openclaw/workspace ✅ markdown-converter ✅ weather ❌ my-broken-skill ✗ Frontmatter has extra fields: metadata, author ✗ Extraneous file: README.md ⚠️ another-skill ⚠️ Descripti...
heyixuan2
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).
openstockdata
OpenClaw Skill for stock data analysis
edholofy
University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning required.
lethehades
macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance
capt-marbles
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.
cecwxf
Run OpenAI Codex CLI from OpenClaw for coding tasks in a target project directory. Use when the user asks OpenClaw to use Codex for implementation, debugging, refactoring, review, or scripted coding workflows.