skill-creator
Skill này làm gì
Nó cho agent của bạn một hướng dẫn viết các skill mở rộng khả năng của nó. Nó dành cho những ai muốn tạo hoặc cải thiện skill cho agent của riêng mình.
Khi nào nên dùng
- ✓Khi bạn muốn tạo một skill mới từ đầu cho một việc bạn làm lặp lại.
- ✓Khi một skill có sẵn cần được cập nhật hoặc tổ chức lại.
- ✓Khi bạn muốn đóng gói một skill để có thể chia sẻ hoặc cài đặt.
Liên kết skill
https://github.com/HKUDS/nanobot/blob/main/nanobot/skills/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
“Bạn có thể giúp tôi tạo một skill dạy bạn cách viết báo cáo tình trạng hằng tuần không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Hướng dẫn giải thích cách cấu trúc skill và giữ hướng dẫn ngắn gọn, hữu ích. Agent làm theo hướng dẫn để viết các file của skill.
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
This skill provides guidance for creating effective skills.
About Skills
Skills are modular, self-contained packages that extend the agent's capabilities by providing specialized knowledge, workflows, and tools. Think of them as "onboarding guides" for specific domains or tasks—they transform the agent from a general-purpose agent into a specialized agent equipped with procedural knowledge that no model can fully possess.
What Skills Provide
- Specialized workflows - Multi-step procedures for specific domains
- Tool integrations - Instructions for working with specific file formats or APIs
- Domain expertise - Company-specific knowledge, schemas, business logic
- Bundled resources - Scripts, references, and assets for complex and repetitive tasks
Core Principles
Concise is Key
The context window is a public good. Skills share the context window with everything else the agent needs: system prompt, conversation history, other Skills' metadata, and the actual user request.
Default assumption: the agent is already very smart. Only add context the agent doesn't already have. Challenge each piece of information: "Does the agent really need this explanation?" and "Does this paragraph justify its token cost?"
Prefer concise examples over verbose explanations.
Set Appropriate Degrees of Freedom
Match the level of specificity to the task's fragility and variability:
High freedom (text-based instructions): Use when multiple approaches are valid, decisions depend on context, or heuristics guide the approach.
Medium freedom (pseudocode or scripts with parameters): Use when a preferred pattern exists, some variation is acceptable, or configuration affects behavior.
Low freedom (specific scripts, few parameters): Use when operations are fragile and error-prone, consistency is critical, or a specific sequence must be followed.
Think of the agent as exploring a path: a narrow bridge with cliffs needs specific guardrails (low freedom), while an open field allows many routes (high freedom).
Anatomy of a Skill
Every skill consists of a required SKILL.md file and optional bundled resources:
skill-name/
├── SKILL.md (required)
│ ├── YAML frontmatter metadata (required)
│ │ ├── name: (required)
│ │ └── description: (required)
│ └── Markdown instructions (required)
└── Bundled Resources (optional)
├── scripts/ - Executable code (Python/Bash/etc.)
├── references/ - Documentation intended to be loaded into context as needed
└── assets/ - Files used in output (templates, icons, fonts, etc.)
SKILL.md (required)
Every SKILL.md consists of:
- Frontmatter (YAML): Contains
nameanddescriptionfields. These are the only fields that the agent reads to determine when the skill gets used, thus it is very important to be clear and comprehensive in describing what the skill is, and when it should be used. - Body (Markdown): Instructions and guidance for using the skill. Only loaded AFTER the skill triggers (if at all).
Bundled Resources (optional)
Scripts (scripts/)
Executable code (Python/Bash/etc.) for tasks that require deterministic reliability or are repeatedly rewritten.
- When to include: When the same code is being rewritten repeatedly or deterministic reliability is needed
- Example:
scripts/rotate_pdf.pyfor PDF rotation tasks - Benefits: Token efficient, deterministic, may be executed without loading into context
- Note: Scripts may still need to be read by the agent for patching or environment-specific adjustments
References (references/)
Documentation and reference material intended to be loaded as needed into context to inform the agent's process and thinking.
- When to include: For documentation that the agent should reference while working
- Examples:
references/finance.mdfor financial schemas,references/mnda.mdfor company NDA template,references/policies.mdfor company policies,references/api_docs.mdfor API specifications - Use cases: Database schemas, API documentation, domain knowledge, company policies, detailed workflow guides
- Benefits: Keeps SKILL.md lean, loaded only when the agent determines it's needed
- Best practice: If files are large (>10k words), include grep patterns in SKILL.md so the agent can use built-in search tools efficiently; mention when the default `grep(output_mode="files_with_mat
Câu hỏi thường gặp
Skill là gì?
Skill là một gói hướng dẫn mô-đun và tài nguyên tùy chọn, giúp agent có kiến thức chuyên biệt cho một tác vụ.
Vì sao skill nên được giữ ngắn?
Hướng dẫn nói cửa sổ ngữ cảnh được dùng chung, nên mỗi skill chỉ nên chứa những gì agent chưa biết.
Nó có cập nhật các skill tôi đã có không?
Có. Hướng dẫn bao gồm cả việc cập nhật skill hiện có, không chỉ tạo mới.
Chi tiết
Độ phổ biến
- Sao GitHub
- 50k
- Vị trí xếp hạng
- #3602
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
clawhub
50kGiúp agent của bạn tìm kiếm trong một kho skill AI công khai, rồi cài đặt, cập nhật hoặc liệt kê các skill bạn đã có.
github
50kGiúp agent của bạn kiểm tra pull request và lượt chạy CI trên GitHub, đọc log build thất bại và truy vấn dữ liệu repository bằng công cụ gh.
image-generation
50kGiúp agent của bạn tạo hình ảnh từ mô tả bằng văn bản và tiếp tục chỉnh sửa, chẳng hạn làm sáng một phần hoặc đổi nền.
memory
50kGiúp agent của bạn tìm lại các cuộc trò chuyện cũ trong nhật ký lịch sử, để biết đã nói gì về một chủ đề hoặc vào một ngày nhất định.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.