一键导入
skman
Scaffold, validate, and inspect agent skills (SKILL.md files). Use when creating new skills, checking skill format compliance, or reviewing skill structure.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scaffold, validate, and inspect agent skills (SKILL.md files). Use when creating new skills, checking skill format compliance, or reviewing skill structure.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Phase/task based workflow system with PLAN.md as single source of truth. Use when tackling projects that require structured iteration through Planning, Analysis, Design, Implementation, Testing, Deployment, Maintenance, etc phases with clear dependency graphs.
Manages Python packages, projects, scripts, tools, and Python versions with extreme speed. Use when the user mentions uv, python packages, pip replacement, virtual environments, venv, pyproject.toml, dependency management, python version switching, tool installation (uvx), script dependencies, lockfiles, workspace management, or any Python packaging task. Replaces pip, pip-tools, pipx, poetry, pyenv, twine, and virtualenv.
jq 1.8.2 — lightweight command-line JSON processor. Use when the user needs to parse, query, transform, or manipulate JSON data from the command line, process API responses, extract fields from JSON, convert between formats (JSON-to-CSV, JSON-to-XML), validate JSON, or work with any structured data in JSON format. Covers filters, builtins, regex, modules, streaming, and all jq 1.8.2 features.
Operate rqlite 10.2.4 — distributed SQLite database with Raft consensus. Use for deploying, configuring, querying, backing up, and managing rqlite clusters. Covers rqlited server flags, HTTP API (/db/execute, /db/query, /db/request), CLI (.status, .backup, .nodes), clustering (join, DNS, Consul, etcd, Kubernetes), TLS/mTLS auth, queued writes, CDC, consistency levels, and SQLite extensions. Use whenever the user mentions rqlite, distributed SQLite, Raft database, or needs a lightweight fault-tolerant relational store.
Query, transform, and convert YAML, JSON, XML, INI, TOML, HCL, CSV, TSV, Properties, Lua, Shell variables, and Base64 data using jq-like expressions. Use when the user mentions yq, YAML processing, JSON-to-YAML conversion, config file manipulation, Kubernetes YAML editing, or any structured data transformation task. Supports multi-document YAML, anchors/aliases, comments, and in-place updates.
Ruff 0.15.18 — extremely fast Python linter and code formatter written in Rust. Use this skill whenever the user mentions ruff, linting Python, formatting Python code, ruff check, ruff format, pyproject.toml lint config, Flake8 replacement, Black replacement, isort replacement, or any Python code quality task involving ruff configuration, rule selection, or CI integration. Covers `ruff check`, `ruff format`, `ruff rule`, `ruff config`, `ruff analyze graph`, and `ruff server` (LSP).
| name | skman |
| description | Scaffold, validate, and inspect agent skills (SKILL.md files). Use when creating new skills, checking skill format compliance, or reviewing skill structure. |
| metadata | {"tags":["meta"]} |
Tools and guidelines for creating, validating, and managing agent skills. Use skman.sh to scaffold new skill directories, check format compliance, inspect structure, and regenerate the repository README.
skman is a skill for scaffolding, validating, and inspecting agent skills (SKILL.md files). It provides four functionalities:
create — Scaffold a new skill directory with SKILL.md, optional scripts, and referencesvalidate — Check a skill against the format specification (frontmatter, naming, structure)info — Inspect frontmatter, body stats, and heading hierarchygenerate — Regenerate the repository README.md with skills table and statistics# Scaffold a new skill
skman.sh create <name> "<description>"
# Create with version (dir: demo-skill-2-4-1/, H1: # demo-skill 2.4.1)
skman.sh create demo-skill "Dummy example skill" --version 2.4.1
# Create with scripts and references
skman.sh create my-skill "Desc" --with-scripts --with-references
# Validate a skill
skman.sh validate ./my-skill
skman.sh validate --strict ./my-skill
# Inspect frontmatter and structure
skman.sh info ./my-skill
# Regenerate README.md Skills Table and Statistics
skman.sh generate
# Help at every level
skman.sh --help
skman.sh create --help
skman.sh validate --help
skman.sh info --help
skman.sh generate --help
# Into default location (.agents/skills/my-skill/)
skman.sh create my-skill "Extracts text from PDF files"
# With version (dir: demo-skill-2-4-1/, H1: # demo-skill 2.4.1)
skman.sh create demo-skill "Dummy example skill" --version 2.4.1
# With scripts and references
skman.sh create my-skill "Desc" --with-scripts --with-references
# Into a specific parent directory
skman.sh create my-skill "Desc" -o ./custom-skills
The script validates name and description before creating files.
Run the built-in validator:
skman.sh validate ./my-skill
skman.sh validate --strict ./my-skill
A skill is a directory containing a SKILL.md file. Everything else is optional.
<skill-name>/
├── SKILL.md # Required: frontmatter + instructions
├── scripts/ # Optional: helper scripts (executed, not loaded into context)
│ ├── <skill-name>.sh # Bash wrapper — the entry point referenced in SKILL.md
│ └── _<skill-name>.py # Python implementation (underscore prefix, not called directly)
> Use `skman.sh create --with-scripts` to scaffold these.
├── references/ # Optional: detailed docs loaded on demand (numbered prefix)
│ └── 01-topic.md
│ └── 02-abc.md
│ └── 03-xyz.md
└── assets/ # Optional: templates, configs, etc.
| Field | Required | Rules |
|---|---|---|
name | Yes | 1-64 chars, lowercase a-z, 0-9, hyphens; no leading/trailing/consecutive hyphens; must match directory name exactly (e.g., demo-skill-2-4-1 for demo-skill-2-4-1/); meta skills without versions use plain name (e.g., skman, plan) |
description | Yes | Non-empty, max 1024 chars, third-person, must not contain XML/HTML tags (<tag>) |
metadata | No | Optional object. May contain tags (array of strings, e.g., ["meta", "devops"]). Validator warns if metadata is not a mapping or tags is not a string array. |
---
name: my-skill
description: What this skill does and when to use it. Be specific.
metadata:
tags:
- meta
---
Follow these steps in order:
Choose a name — lowercase, hyphens, numbers only (e.g., pdf-processing, git-8-20-0). No leading/trailing/consecutive hyphens.
Write the frontmatter — exactly name and description at minimum. The name must match the directory name exactly (e.g., name: demo-skill-2-4-1 for demo-skill-2-4-1/). The description determines when the agent loads this skill; make it specific with trigger terms.
Write the body — concise instructions, under 500 lines. Must start with a level-1 heading matching # <name> or # <name> <version>. Structure:
# <name> (e.g., # skman) or # <name> <version> (e.g., # demo-skill 2.4.1)## Overview — what it does## Usage — Optional: how to use it with examples## Gotchas — Optional: The most useful part of teaching a skill is listing its hidden traps. Instead of vague advice, provide specific rules that stop the agent from making predictable, common-sense mistakes in that specific environment.## References — Optional: Provides on-demand reference material for agents. Always use a bulleted list, never a table:
## References
- [01-core-expressions](references/01-core-expressions.md) — Symbols, expressions, numbers
- [02-algebra-polynomials](references/02-algebra-polynomials.md) — Polynomial rings, factoring
Each line: link to the file followed by a dash and a brief topic summary.Create a main script (if automation is needed) — write the implementation as scripts/_<skill-name>.py (underscore prefix) and a thin bash wrapper scripts/<skill-name>.sh that passes all arguments through. Scripts are executed (not loaded into context). The SKILL.md references only the .sh file. Include --help at every level. Default: python3 3.10+ with built-in modules only (see Scripting Defaults below). On explicit user request, any programming language and libraries/frameworks are allowed. Scaffold with --with-scripts.
Validate — run the validation script:
skman.sh validate <path-to-skill>
When writing files directly, ensure:
skman) or <skill-name>-<version> (e.g., demo-skill-2-4-1)name must match the directory name exactly (e.g., name: demo-skill-2-4-1 for demo-skill-2-4-1/, or name: skman for skman/)SKILL.md exists at the directory root# <name> or # <name> <version> matching the directory (e.g., # demo-skill 2.4.1 for demo-skill-2-4-1/)Common operations:
references/NN-topic.md, link from SKILL.mdscripts/ with the skill's name as base nameChecks performed:
metadata structure (warns if present but not a mapping; warns if tags is not a string array)# <name> or # <name> <version> — errors on mismatch)## Overview — warns if missing)## Usage, ## Gotchas, ## References — no warning when absent)<name>.sh must be chmod +x — warns if not)./<name>.sh → <name>.sh — warns if the body uses ./<name>.sh outside fenced code blocks)python3 3.10+ with built-in modules only. Allowed stdlib modules include: os, sys, re, math, time, datetime, pathlib, argparse, asyncio, subprocess, urllib, hashlib, json, csv, io, collections, itertools, functools, textwrap, shutil, glob, tempfile, logging, struct, socket, ssl, email, html, xml.etree, and other standard library modules. No third-party packages (no pip install, no requests, no pyyaml, etc.) unless explicitly requested.# Weak
How to build a simple fast dashboard to display internal data.
# Pushy
How to build a simple fast dashboard to display internal data. Use this skill whenever the user mentions dashboards, data visualization, internal metrics, or wants to display any kind of company data, even if they don't explicitly ask for a "dashboard."
Skills use a four-level loading system:
<name>.sh.Guidelines:
references/ files linked from SKILL.md01-, 02-, 03-, …) for deterministic ordering and easy insertion. Files should be named NN-topic.md where NN is an incrementing number starting from 01cloud-deploy/
├── SKILL.md # workflow + variant selection logic
└── references/
├── 00-aws.md
├── 01-gcp.md
└── 02-azure.md
.sh files may lose execute permission — skman.sh create --with-scripts sets chmod 0o755, but editors or git checkouts can strip it. Always verify with ls -l <name>.sh; the validator warns if the bit is missing.--strict turns section warnings into errors — only ## Overview produces a warning when missing. ## Usage, ## Gotchas, and ## References are truly optional and never warn (knowledge-only skills often have no Usage section). In strict mode, any warning fails validation.name must match the directory basename exactly — e.g., demo-skill-2-4-1/ requires name: demo-skill-2-4-1, skman/ requires name: skman. The validator warns on mismatch. Fix by renaming the directory or correcting the frontmatter.# <name> or # <base> <version> — the validator errors if the first heading doesn't match. For skman/ it must be # skman; for demo-skill-2-4-1/ it must be # demo-skill 2.4.1 (version uses dots, not hyphens). The version in the H1 must correspond to the hyphenated version suffix in the directory/frontmatter name.references/NN-topic.md and link from the body.