skill-manager
Create, edit, audit, or prune Claude, Codex, and Cursor skills/rules. Use for SKILL.md, .cursor/rules, AGENTS.md, frontmatter, references, scripts, and skill discovery.
- License 许可
- MIT
- 所属仓库
- zuzu59/z-skills
- 最近更新
- 2026-09-30
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- skill-manager
- description
- Create, edit, audit, or prune Claude, Codex, and Cursor skills/rules. Use for SKILL.md, .cursor/rules, AGENTS.md, frontmatter, references, scripts, and skill discovery.
02 资源文件 9
- 参考文档agents/openai.yaml331 B
- 资产文件assets/codex-icon.svg577 B
- 参考文档references/claude-code.md3.1 KB
- 参考文档references/codex.md11.1 KB
- 参考文档references/cursor.md4.4 KB
- 参考文档references/description-recommandation.md1.2 KB
- 参考文档references/skill-writing-glossary.md18.0 KB
- 脚本scripts/inspect-description.ts21.8 KB
- 脚本scripts/setup-codex-icons.ts5.6 KB
03 SKILL.md 正文
Write skills the way $analyze, $plan, $implement, $code-review, and $verify are written.
Target
- One job. Imperative. Every line changes behavior.
- Body under ~40 lines unless the job is genuinely multi-branch.
- Description 50–300 chars: capability first, then
Use when+ trigger words. - No README, changelog, or theory. No restating model defaults.
- References only for platform or schema detail the body cannot hold. Name the file and when to open it.
- User-only workflows:
disable-model-invocation: true.
Write
- Confirm 2–3 trigger prompts with the user.
- Pick the platform. Default from the path:
.claude→ Claude,.agents→ Codex,.cursor→ Cursor. Ask if unclear. - Write frontmatter, then the body: inspect → act → return → stop.
- Run
bun ~/.agents/skills/skill-manager/scripts/inspect-description.tson the skill root.
Personal skills live in ~/.agents/skills/<name>/. Platform layout and frontmatter: claude-code.md, codex.md, cursor.md. Description rules: description-recommandation.md.
Audit
For each line: would removing it change behavior? Delete no-ops, duplicates, and stale rules. State the positive target; keep prohibitions only as hard guardrails.
Online research: $find-docs for current technical docs; $exa-search for broader web research.
After creating or renaming a personal skill icon, run bun ~/.agents/scripts/sync-codex-profile-icons.ts --install. Compat: ~/.claude/skills and ~/.codex/skills symlink to ~/.agents/skills. Do not symlink ~/.cursor/skills.
04 同仓库更多 Skills
writing-great-skills
Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.
use-style
Apply named visual style guides to landing pages, app shells, and UI. Use for $use-style, /useskill, list styles, or styles like ios-app, grid, vercel, black-grid, stripe, linear, raycast, gumroad, dusk, or luma.
use-goal
Use when the user asks to create, draft, set, start, or refine a Codex or Claude Code `/goal` objective for persistent multi-turn work.
use-fable
Orchestrator mode for Fable: Fable thinks, plans, and reviews while Codex CLI and subagents execute all heavy work. Use when the user invokes /use-fable, says 'use fable', 'fable mode', 'orchestrator mode', or wants to save Fable tokens/rate limits.
use-delegate
Delegation mode: the host agent (Claude or Codex) plans and reviews while heavy work runs on cheap executors: OpenCode Kimi K3, Codex GPT-5.6 terra/sol. Use when the user invokes /use-delegate, says 'use delegate', 'delegate mode', 'orchestrator mode', or wants to save tokens/rate limits.
use-artifacts
Create Claude-style local HTML artifacts under ~/.agents/artifacts. Use for plans, prototypes, visualizations, dashboards, diagrams, options, or substantial reusable content, with a portable local runtime and no Anthropic API.