Logo Skill Creator

Skill Creator

Cộng đồng
bobmatnyc
skill-creator

Guide for creating effective skills

Tổng quan

Nhà phát hànhbobmatnyc
Kho mãclaude-mpm
Tên kỹ năngskill-creator
Sao
152
Bản fork
34
Tệp đi kèm
6
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 6 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được bobmatnyc công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Skill Creator trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/bobmatnyc/claude-mpm/tree/main/plugin/skills/universal-main-skill-creator
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bobmatnyc/claude-mpm.git /tmp/claude-mpm
mkdir -p .claude/skills
cp -r /tmp/claude-mpm/plugin/skills/universal-main-skill-creator .claude/skills/skill-creator
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Skill Creator trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Skill Creator ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Skill Creator với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Skill Creator

Overview

Create effective skills that extend Claude's capabilities through specialized knowledge, workflows, and tools. Skills are modular packages that transform Claude from a general-purpose agent into a specialized agent with procedural knowledge for specific domains.

This skill exemplifies its own teachings by using progressive disclosure to keep the entry point lean while providing deep detail in reference files.

When to Use This Skill

Activate when:

  • Creating a new skill from scratch
  • Updating or refactoring an existing skill
  • Adding progressive disclosure to monolithic skills
  • Understanding skill structure and best practices
  • Planning skill components (scripts, references, assets)
  • Packaging skills for distribution

Core Principles

  1. Example-Driven Design: Start with concrete usage examples, not abstract concepts
  2. Progressive Disclosure: Keep entry point <200 lines (optimal: 140-160), detailed content in references
  3. Reusable Components: Extract scripts for repeated code, references for knowledge, assets for templates
  4. Imperative Voice: Use verb-first instructions throughout (not second person)
  5. Purpose-Built Resources: Each component should solve specific repetitive needs

What Skills Provide

Four Core Capabilities:

  1. Specialized workflows - Multi-step procedures for specific domains
  2. Tool integrations - Instructions for working with file formats or APIs
  3. Domain expertise - Company-specific knowledge, schemas, business logic
  4. Bundled resources - Scripts, references, and assets for complex tasks

Three-Level Loading System:

  1. Metadata (name + description) - Always in context (~100 words)
  2. SKILL.md body - When skill triggers (<200 lines, optimal: 140-160)
  3. Bundled resources - As needed by Claude (unlimited)

Quick Start

Six-Step Creation Process

Step 1: Understand with Concrete Examples Gather 3-5 realistic usage examples. Ask: "What would users say to trigger this skill?" and "What tasks should it accomplish?" → Complete guide

Step 2: Plan Reusable Components Analyze examples to identify: scripts (repeated code), references (domain knowledge), assets (templates). → Planning guide

Step 3: Initialize Skill Run scripts/init_skill.py <skill-name> --path <output-directory> to generate template structure. → Initialization details

Step 4: Edit Skill Implement scripts/references/assets, then update SKILL.md using imperative voice. Apply progressive disclosure if >150 lines. → Editing guide

Step 5: Package and Validate Run scripts/package_skill.py <path/to/skill-folder> to validate and create distributable zip. → Packaging guide

Step 6: Iterate Use on real tasks, notice struggles, update skill accordingly. → Iteration guide

Skill Anatomy

skill-name/
├── SKILL.md (required)           # Entry point with frontmatter + markdown
├── scripts/ (optional)           # Executable code (Python/Bash)
├── references/ (optional)        # Documentation loaded as needed
└── assets/ (optional)            # Templates, images, files for output

Component Guidelines:

  • Scripts: When same code is repeatedly rewritten or deterministic execution needed
  • References: For detailed specs, workflows, schemas, API docs (150-500 lines each)
  • Assets: For templates, boilerplate, images, fonts used in outputs
  • Entry Point: Core workflow, navigation, reminders (140-160 lines optimal)

→ Complete structure guide

Progressive Disclosure Pattern

When to apply: Skills >150 lines total

Implementation:

  1. Add progressive_disclosure frontmatter with summary, when_to_use, quick_start
  2. Reduce entry point to 140-160 lines (core workflow + navigation)
  3. Create 3-5 reference files (150-500 lines each)
  4. Organize by topic: structure, workflow, best practices, examples
  5. Add navigation section linking all references

Benefits:

  • Entry loads only essential content
  • Deep detail available when needed
  • Better organization and maintainability
  • 20-30% reduction in entry point size

→ Complete progressive disclosure guide

Meta-example: This skill-creator demonstrates progressive disclosure:

  • Entry: 150 lines (28% reduction from 209)
  • References: 5 files with complete implementation details
  • Recently optimized: mcp-builder (160 lines), testing-anti-patterns (140 lines)

Navigation

Core Concepts

  • 🏗️ Skill Structure - Anatomy, components (scripts/references/assets), progressive disclosure architecture. Load when planning skill layout or understanding resource types.

Step-by-Step Process

  • 🔄 Creation Workflow - Complete 6-step process from examples to iteration. Load when creating new skill or following structured workflow.

Design Patterns

  • 📊 Progressive Disclosure - Three-level loading, implementation guide, anti-patterns, examples. Load when refactoring skills >150 lines or optimizing context usage.

Quality Standards

  • ✅ Best Practices - Writing style, metadata quality, content organization, anti-patterns. Load when writing/reviewing skill content or ensuring quality.

Real-World Examples

  • 📚 Examples - Complete skill examples: mcp-builder, testing-anti-patterns, pdf-editor, brand-guidelines, database-builder, frontend-builder. Load when starting new skill or seeking patterns.

Key Reminders

  • Start with examples - 3-5 concrete usage scenarios before designing
  • Use init script - scripts/init_skill.py creates proper structure automatically
  • Imperative voice - "To accomplish X, do Y" (not "should do X")
  • Progressive disclosure - Entry <200 lines, details in references (for skills >150 lines)
  • Avoid duplication - Information lives in ONE place (entry summary, reference detail)
  • Component clarity - Scripts for code, references for knowledge, assets for templates
  • Validate before sharing - scripts/package_skill.py validates and packages
  • Iterate continuously - Use on real tasks, update based on struggles

Red Flags - STOP

STOP when:

  • "Let me write all the details in SKILL.md" → Move to references (progressive disclosure)
  • "I'll use second person" → Switch to imperative voice
  • "Same information in entry and reference" → Delete duplication
  • Using generic description → Be specific about activation conditions
  • Leaving example files from init script → Delete unused resources
  • Skipping validation → Always run package_skill.py before sharing
  • Creating skill without examples → Gather concrete usage scenarios first
  • Entry point >200 lines → Apply progressive disclosure pattern

ALL of these mean: STOP. Review principles and references.

Integration with Other Skills

Meta-Skills:

  • skill-creator (this skill) - Creates other skills, demonstrates its own patterns

Development Skills:

  • mcp-builder - Example of progressive disclosure implementation
  • testing-anti-patterns - Example of ultra-lean entry point (140 lines)

Workflow Skills:

  • documentation - Writing clear, structured content
  • verification-before-completion - Testing skills before packaging

Real-World Impact

From skill optimization experience:

  • Progressive disclosure: 20-30% reduction in entry point size
  • mcp-builder: 209 → 160 lines (23% reduction, 6 references)
  • testing-anti-patterns: → 140 lines (ultra-lean with 4 references)
  • skill-creator: 209 → 150 lines (28% reduction, 5 references)
  • Context efficiency: Load only needed references (saves 50-80% context)
  • Maintainability: Update specific references without touching entry point
  • Clarity: Better organization improves discoverability and comprehension

Remember: Skills are modular packages that transform Claude into a specialized agent. Apply progressive disclosure for skills >150 lines. This skill demonstrates the pattern it teaches.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Skill Creator làm được gì?

Guide for creating effective skills

Vì sao nên dùng Skill Creator trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Skill Creator là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Skill Creator trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/bobmatnyc/claude-mpm/tree/main/plugin/skills/universal-main-skill-creator. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Skill Creator?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Skill Creator với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Skill Creator với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Skill Creator có miễn phí không?

Kỹ năng này được bobmatnyc phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇