一键导入
creating-skills
Use when the user asks to create, add, or write a new bot skill, or wants to teach the bot a new behavior, capability, or workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user asks to create, add, or write a new bot skill, or wants to teach the bot a new behavior, capability, or workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Fetches AI news from Gmail Google Alerts; invoke via invoke_agent only. Returns date-prioritized list of title and url.
Decompose and solve complex multi-step problems. Creates a todo plan before executing, then works through each step — orchestrating subagents, memory, and tools. Inspired by LangChain plan-and-execute agents.
Analyze a user's codebase against a reference architecture to identify gaps and provide prioritized enhancement recommendations.
Coding workflow recipe (brainstorm → design → spec → plan → implement → review → verify → finish)
General-assistant workflow recipe (clarify → answer concisely → offer next step)
Ops/automation workflow recipe (assess → dry-run → execute → verify → report)
| name | creating-skills |
| description | Use when the user asks to create, add, or write a new bot skill, or wants to teach the bot a new behavior, capability, or workflow. |
| tags | ["skills","meta"] |
Writes high-performance, token-efficient skill directories in skills/ and activates them immediately without restarting the bot.
Ask the user (one question at a time if unclear):
processing-reportsdescription field)Pick the right pattern from templates.md:
| Archetype | When | SKILL.md budget |
|---|---|---|
workflow | Step-by-step procedures | < 150 lines |
reference-heavy | Lookup tables, schemas, large specs | < 80 lines + reference.md |
tool-wrapper | Wraps specific tools with usage guidance | < 100 lines |
persona | Role-play or communication style shifts | < 60 lines |
skills/<name>/
├── SKILL.md # Always: main entry point (keep within archetype budget)
├── reference.md # When: heavy content that would exceed budget
├── examples.md # When: input/output examples help significantly
└── scripts/ # Rarely: utility scripts
└── helper.py
Rules:
Required format:
---
name: skill-name-with-hyphens
description: Use when [triggering conditions only — third person, no workflow summary, max 1024 chars]
tags: [optional]
---
# Skill Title
One sentence overview.
## When to Use
- Concrete trigger phrase 1
- Concrete trigger phrase 2
## [Core Section]
Imperative instructions. No fluff.
## Supporting Files
**Topic**: See [reference.md](reference.md)
Frontmatter rules:
name: lowercase, numbers, hyphens; max 64 chars; avoid "anthropic" / "claude"description: "Use when..."; triggers only; no how/what summary; third person; max 1024 charsBody performance rules:
Before calling write_skill_file, verify:
☐ Description triggers are specific (not vague like "when the user needs help")
☐ Body is within archetype token budget
☐ Every line earns its token cost (no filler sentences)
☐ Instructions are imperative, not explanatory
☐ No time-sensitive content, no hardcoded values
☐ Description does NOT summarize how the skill works — triggers only
If any item fails — revise before writing.
Call write_skill_file once per file. Always write SKILL.md first:
write_skill_file(skill_name="my-skill", relative_path="SKILL.md", content="...")
write_skill_file(skill_name="my-skill", relative_path="reference.md", content="...")
Call reload_skills after all files are written.
Report to user:
# ✅ Good — triggering conditions only, third person
description: Use when the user asks to generate weekly reports, export data summaries, or create formatted output from raw data.
# ✅ Good — specific triggers
description: Use when analyzing code for bugs, reviewing pull requests, or the user asks for a code review.
# ❌ Bad — summarizes workflow (agent skips the body)
description: Use when creating reports — reads data, formats it, writes to file.
# ❌ Bad — first person
description: I help users create reports from their data.
Skill archetypes and starter templates: See templates.md