skill-father
Authoritative skill-creation standards (Boss). Use when creating or updating OpenClaw skills so they are portable, reproducible, include prerequisites checks, and have a guided installation/onboarding flow that persists machine-specific config in skill-local config files.
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- skill-father
- description
- Authoritative skill-creation standards (Boss). Use when creating or updating OpenClaw skills so they are portable, reproducible, include prerequisites checks, and have a guided installation/onboarding flow that persists machine-specific config in skill-local config files.
03 SKILL.md 正文
Skill Father
This skill is Boss’s opinionated, authoritative standard for creating/updating skills.
It is based on the upstream skill-creator guidance, with extra requirements:
- Always include Prerequisites checks (fail fast).
- Keep skills portable/shareable: do not bake machine-specific settings into
SKILL.md. - Always include Initialization / Installation / Onboarding that prompts the user when needed.
- Make skills reproducible for other people/machines.
Core principles (from skill-creator)
- Concise is key: minimize context bloat.
- Progressive disclosure: keep SKILL.md short; put big docs in
references/, deterministic code inscripts/. - Avoid extra docs (README/CHANGELOG/etc.).
Required sections in every skill
1) Prerequisites
Include a short section with concrete checks/commands.
Examples:
- 1Password-backed workflows:
op whoamimust succeed (or, if service accounts are used, required env vars likeOP_SERVICE_ACCOUNT_TOKENmust be set).
- External CLIs:
command -v <tool>must exist; include install guidance if missing.
2) Configuration (portable)
Rules:
- Never hardcode machine/user-specific paths, usernames, tenant IDs, tokens, etc. inside
SKILL.md. - Prefer skill-local config files stored next to
SKILL.md, e.g.:config.env(dotenv-style KEY="VALUE")config.json(structured)
- Config must be split into two files:
config.env.example(orconfig.json.example) — checked-in/shareable example; never mutated by onboardingconfig.env(orconfig.json) — real machine-specific values written/updated during onboarding
SKILL.mddocuments:- where config lives
- required keys + defaults
- which file is the example vs real
- how to run onboarding to generate/update the real config
3) Initialization / Installation / Onboarding
Provide a guided first-run flow.
- If setup is trivial and safe: can be silent.
- Otherwise: ask the user for choices + confirmation.
- Persist outcomes into the real skill-local config file (not into SKILL.md; do not modify the example file).
- Prefer discovery + confirmation over assumptions.
Prefer an onboarding helper script when setup touches real machine state.
Chat-first onboarding (Telegram-friendly)
When the primary interface is chat (e.g. Telegram), do not rely on TTY-style interactive prompts.
Requirement: Every child skill should explicitly document a “Preferred (chat-first)” onboarding path.
Preferred pattern:
- Agent asks the user the required onboarding questions in chat.
- Agent writes/updates the real skill-local config file.
- Agent runs a smoke test and reports results.
If you do ship an interactive script, treat it as an optional convenience for users running it in a real terminal (document as “Optional (terminal)”).
Recommended onboarding script behaviors:
- Generate/update the real config file from prompts and/or auto-discovery.
- If editing an existing system config file (e.g.
~/.config/openclaw/env,~/.ssh/config):- detect whether the target file exists; create if missing
- for each key/entry that would change, show current vs new
- prompt the user per item: keep / override / skip
- for secrets/tokens, mask values in prompts
- If a restart/reload is required:
- first detect whether the service manager is available (e.g.
systemctl --user status <svc>) - ask the user for confirmation before restarting
- if not detectable/available, print clear manual instructions
- first detect whether the service manager is available (e.g.
Examples of onboarding steps:
- Detect candidate paths/resources.
- Present options.
- Ask for confirmation.
- Write config.
- Validate config by running a quick self-test.
4) Reproducibility
- The skill should work for other people with minimal edits.
- Prefer parameterization/config + prompts.
- Avoid environment-specific assumptions unless explicitly documented.
5) Executables / bin placement
- Any executable scripts/binaries required by the skill should live inside the skill folder (or inside the relevant plugin’s folder).
- For convenience, you may create a symlink into a common PATH location (e.g.
~/.local/bin/<name>), but the canonical copy should remain in the skill/plugin directory.
Resource layout
Use the standard skill layout:
skill-name/
├── SKILL.md
├── config.env.example # example (shareable)
├── config.env # real machine-specific config (generated/updated by onboarding)
├── scripts/ # deterministic code
└── references/ # optional docs, loaded on demand
Process checklist (for the agent)
- Understand the task and collect concrete usage examples.
- Plan resources (
scripts/,references/,assets/) only if they reduce repetition or increase reliability. - Create/confirm required sections: Prerequisites, Config, Installation/Onboarding.
- Implement the smallest working version.
- Validate with a smoke test.
- Iterate.
Example expectations: ssh-op skill
- Prereqs: confirm
op whoamiworks (or service account env is set) andssh/ssh-add/ssh-agentexist. - Onboarding: proactively discover/confirm:
- vault name
- SSH key item
- host + host aliases stored in the 1Password item
- Integration: check whether aliases exist in
~/.ssh/config; if missing, offer to add/update entries. - Config: store vault/item/host/aliases in a skill-local config file.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.