skill-creator
Skill này làm gì
Skill này giúp bạn xây dựng và cải thiện skill cho agent AI, tức là các thư mục chứa hướng dẫn. Skill dành cho người muốn biến một quy trình lặp lại thành skill có thể dùng lại.
Khi nào nên dùng
- ✓Khi bạn muốn biến một quy trình lặp lại thành skill có thể dùng lại.
- ✓Khi một skill có sẵn không bao giờ được kích hoạt hoặc được kích hoạt quá thường xuyên.
- ✓Khi bạn muốn kiểm tra một thư mục skill trước khi chia sẻ.
Liên kết skill
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/skill-creator/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi muốn tạo một skill giúp agent của tôi viết báo cáo tiến độ hằng tuần từ ghi chú của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent xác định các trường hợp sử dụng, cụm từ kích hoạt và các bước, rồi viết file hướng dẫn cùng các file hỗ trợ. Agent giữ file chính ngắn và chỉ tải thêm file khi cần.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Skill Creator
A skill is a folder that teaches an agent how to handle a specific task or workflow:
your-skill-name/
├── SKILL.md # Required — YAML frontmatter + Markdown instructions
├── scripts/ # Optional — executable code (Python, Bash, ...)
├── references/ # Optional — docs loaded only when needed
└── assets/ # Optional — templates, fonts, icons used in output
Skills rely on progressive disclosure: the frontmatter is always in context (so it decides when the skill loads), the SKILL.md body loads when relevant, and linked files load only on demand. Keep each level as small as it can be.
Workflow: Creating a New Skill
Step 1: Define 2-3 concrete use cases
Before writing anything, pin down with the user:
- What does the user want to accomplish? (outcome, not feature)
- What triggers it? Collect literal phrases users would say.
- What steps does the workflow require, in order?
- Which tools are needed (built-in, scripts, MCP servers)?
- What domain knowledge or best practices must be embedded?
Write each use case as: Trigger → Steps → Result. If the user is vague, propose use cases and confirm rather than guessing silently.
Identify the category — it shapes the structure:
- Document & asset creation — embed style guides, templates, quality checklists.
- Workflow automation — step-by-step process with validation gates.
- MCP enhancement — orchestrate MCP tool calls in sequence with domain expertise.
Step 2: Plan the folder structure
- Folder name: kebab-case only (
my-skill— no spaces, capitals, or underscores) and it should match the frontmattername. SKILL.mdmust be named exactly that, case-sensitive.- Never put a
README.mdinside the skill folder. - Keep SKILL.md under ~5,000 words; move detail to
references/and link to it. - For critical validations, prefer a bundled script over prose — code is deterministic, language interpretation isn't.
Step 3: Write the frontmatter
The frontmatter is the single most important part — it alone decides whether the skill ever loads.
---
name: your-skill-name
description: [What it does] + [When to use it, with literal trigger phrases] + [negative triggers if needed]
---
Rules (hard requirements):
descriptionMUST state both WHAT the skill does and WHEN to use it, under 1024 characters.- Include specific phrases users would actually say, and file types if relevant.
- No XML angle brackets anywhere in frontmatter (it is injected into the system prompt).
namemust not use reserved prefixes ("claude", "anthropic").
Weak: description: Helps with projects.
Strong: description: Manages Linear sprint workflows including planning, task creation, and status tracking. Use when the user mentions "sprint", "Linear tasks", or asks to "create tickets".
Optional disable-model-invocation: true makes the skill user-only: the agent never sees it (no skill catalog entry, no skill_search hit, and the skill tool refuses it), while /skill-name still works for the user. Use it for a long or interrupting workflow whose timing the user should control — a multi-phase orchestration, a deploy, anything with side effects. Leave it off by default; a skill the agent cannot see is a skill it cannot offer. Keep the "only when the user asks" rule in the description and body as well, so the skill still behaves if the flag is ever removed.
For all optional fields (license, compatibility, metadata, allowed-tools) and more good/bad examples, read references/frontmatter.md.
Step 4: Write the instructions
Recommended body structure:
# Skill Name
## Instructions
### Step 1: [First major step]
Exact commands / tool calls, with expected output described.
## Examples
User says X → actions → result.
## Troubleshooting
Error → cause → fix.
Best practices:
- Be specific and actionable: give exact commands with flags and expected output, not vibes ("validate the data").
- Put critical instructions at the top; use
## Importantheaders for must-not-skip rules. - Include error handling for the failures users will actually hit.
- Reference bundled resources explicitly ("Before writing queries, read the API-patterns file in references/").
- Number steps that must happen in order; state data dependencies between steps.
For proven structural patterns (sequential orchestration, multi-MCP coordination, iterative refinement, context-aware tool selection, domai
Câu hỏi thường gặp
Thư mục skill gồm những gì?
Thư mục skill có file SKILL.md chứa hướng dẫn, cùng với script, file tham chiếu và tài nguyên tùy chọn.
Skill này có dùng để viết prompt nói chung không?
Không. Skill nói rõ không dùng cho việc viết prompt nói chung.
Làm sao skill biết khi nào cần tải?
Mô tả ngắn và cụm từ kích hoạt của skill quyết định khi nào agent sẽ tải nó.
Chi tiết
Mô tả gốc của tác giả
Interactive guide for creating, reviewing, and improving agent skills (SKILL.md folders). Use when the user wants to build a new skill ('create a skill', 'make a skill for X', 'write a SKILL.md', 'turn this workflow into a skill'), review or improve an existing skill, fix a skill that never triggers or triggers too often, or validate a skill folder before sharing it. Do NOT use for general prompt writing, MCP server development, or editing arbitrary markdown files.
repo: XiaomiMiMo/MiMo-Code
Độ phổ biến
- Sao GitHub
- 14k
- Vị trí xếp hạng
- #11369
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
effect
14kGiúp agent của bạn trả lời câu hỏi về framework TypeScript Effect bằng cách kiểm tra mã nguồn và tài liệu, thay vì dựa vào trí nhớ.
arxiv
14kGiúp agent của bạn tìm, đọc, trích dẫn và theo dõi các bài báo học thuật trên arXiv, gồm tóm tắt, trích dẫn BibTeX, tải PDF và liên kết trích dẫn.
claude-code
14kGiúp agent của bạn giao một tác vụ lập trình cho công cụ dòng lệnh Claude Code, dưới dạng chạy một lần, phiên tương tác hoặc tác vụ nền.
codex
14kGiúp agent của bạn chạy công cụ dòng lệnh OpenAI Codex mà không cần cửa sổ chat, cho tác vụ lập trình, tập lệnh và quy trình tự động.
Skill tương tự
writing-skills
311kDạy agent của bạn viết skill mới và kiểm thử từng skill trước, kiểm tra xem skill có thực sự thay đổi cách agent hành xử hay không.
writing-for-agents
310kGiải thích cách viết hướng dẫn rõ ràng cho agent AI, gồm skill, tệp AGENTS.md và CLAUDE.md, để agent cư xử nhất quán.
bengali-nlp
280kGiúp agent của bạn xử lý văn bản tiếng Bengali, hỗ trợ hiểu ngôn ngữ này, chuẩn hóa văn bản và xử lý các đặc điểm riêng của nó.