Logo Create Skill

Create Skill

Cộng đồng
lploc94
create-skill

Use when creating or improving a discoverable Raw skill, including browser authoring; write its description and instructions, register it on an agent and verify loading. Use create-package to share skills.

Add to TypingMind

Tổng quan

Nhà phát hànhlploc94
Kho mãraw-cli
Tên kỹ năngcreate-skill
Sao
107
Bản fork
14
Tệp đi kèm
2
Giấy phépMIT
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ộ.

  • 2 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 lploc94 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 Create Skill 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/lploc94/raw-cli/tree/main/examples/skills/create_skill
  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/lploc94/raw-cli.git /tmp/raw-cli
mkdir -p .claude/skills
cp -r /tmp/raw-cli/examples/skills/create_skill .claude/skills/create-skill
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 Create Skill 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 Create Skill 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 Create Skill 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.

Create a Raw skill

Use when creating or improving reusable instructions that a Raw agent should discover and load. An ordinary Markdown document does not need skill registration; a new callable action belongs in create_tool.

For a how-to, explain the format, authoring approach and registration with examples. For a requested creation, use the workflow below. For a load failure, inspect the selected ID, frontmatter, body size and error before rewriting instructions.

Read references/packages.md for sharing and references/dashboard.md for browser authoring with read_file.

Establish the useful task

  1. Identify the repeated task, expected deliverable, available inputs and tools. Use real examples or corrections from the conversation. Ask only for missing information that changes the result.
  2. Choose one coherent responsibility. Describe its boundaries against neighboring skills; avoid both a vague catch-all and many tiny skills needed for a single task.
  3. Write the description first: what the user wants, when to use this skill, and a meaningful nearby case that does not need it. The model sees this description in list_skills before seeing the body. Describe intent, not just filenames.
  4. Write the body and description in English. Spend words on project-specific facts, decisions, working procedures and common errors. Avoid padding and generic explanations.

Build the instructions

Use these parts where useful; combine short sections rather than filling a rigid form:

  • Purpose/routing: intended outcome; explanation, action and diagnosis paths if relevant. Put conditions before action steps.
  • Inputs: information to obtain, defaults, paths and actual tool/dependency availability. Reuse supplied answers and authorization.
  • Procedure: a default sequence with decisions at the point they matter. Make fragile steps precise; allow judgment for flexible work.
  • Contract/example: exact formats, supported fields and realistic example. Label complete files versus fragments and their insertion points.
  • Verification/recovery: observable success, important boundary cases and what to do with a specific failure. Distinguish checks performed from assumptions.
  • Output: what artifact or answer to deliver and what remaining uncertainty to report.

Keep instructions task-specific: a release-notes skill should not inherit Raw configuration-edit steps. Avoid assumed checkout paths or mandatory external documentation for core behavior.

Raw skill contract

Each skill folder contains UTF-8 SKILL.md with YAML frontmatter. Required name and description are the only catalog authority. Optional scripts/, references/ and assets/ stay with the folder; their contents are not loaded automatically. load_skill returns the whole Markdown body after frontmatter in one linked result, independent of the agent's max_output_bytes; a body over 1 MiB is skipped. Keep it focused: every byte enters the model's context.

RootLocation and use
agent/<id>skills/<id>/ beside the selected config; travels with a portable agent
local/<id>$XDG_CONFIG_HOME/raw/skills/<id>/, otherwise ~/.config/raw/skills/<id>/; shared local installation
builtin/<id>Package-owned; fork a shipped example into a user root to customize

--config changes the config-adjacent root, not the global root. Portable folder/name values use lowercase kebab-case, at most 64 characters, no leading/trailing or consecutive hyphens; the frontmatter name matches the folder. Description is nonempty and at most 1024 characters. Selected IDs and names must be unique. Duplicate YAML keys, invalid UTF-8, missing selected files, symlink escapes or oversized bodies fail before inference; unselected folders are inert. Built-in IDs retain their existing underscores through Raw's explicit mapping.

Worked example: release notes

For /work/helper/raw.json, create skills/release-notes/SKILL.md beside it:

markdown
---
name: release-notes
description: Use when drafting a changelog or release summary from a Git comparison range. Group user-visible changes and cite commits; ordinary code review does not need this skill.
---
# Draft release notes

Produce release notes from committed changes. A request to explain the process
needs guidance only; a request for a draft uses the workflow below.

## Inputs
Use the supplied version and Git comparison range. If absent, inspect existing
release tags and changelog conventions; ask only when the intended range remains
ambiguous. Do not invent a version or include uncommitted changes silently.

## Workflow
1. Read the existing changelog format and commits in the chosen range.
2. Inspect changed behavior where commit subjects are insufficient. Group items
   as Added, Changed, Fixed and Removed, or use the project's established format.
3. Include user-visible effects and breaking changes. Omit test-only/internal
   refactors unless they alter behavior. Cite a commit hash or PR for each item.
4. Draft the requested artifact; keep existing release entries intact. Publish
   only when the user has authorized publishing, not merely drafting.

## Check and deliver
Verify cited hashes belong to the comparison range and claims match their diffs.
Run existing Markdown checks when available. If the range is empty, report that
fact; if a change is ambiguous, identify it rather than inventing an effect.
Return the draft, comparison range and any unverifiable or omitted changes.

The following fragment belongs inside agents.helper. Append missing IDs to existing arrays without replacing their contents or order:

json
{
  "tools": { "use": ["builtin/read_file", "builtin/write_file", "builtin/edit_file", "builtin/bash", "builtin/list_skills", "builtin/load_skill"] },
  "skills": { "use": ["agent/release-notes"] }
}

Nonempty skills.use requires both skill tools. Do not change default_agent just to register a skill. If the agent does not exist, use create_agent; otherwise preserve its other fields. For global files, select local/release-notes instead.

Create, verify and improve

  1. Establish the actual config/agent and chosen root. Check existing selected names, create SKILL.md and any supporting files, and make the smallest registration edit with a backup of existing config. Keep config mode 0600.
  2. Run raw --config /work/helper/raw.json config list (or raw config list for canonical config). This checks config, not skill files.
  3. Verify loading without another model call when the @tlelabs/raw library is available: loadConfig({configPath, requireModel:false}), then loadSelectedSkills({selectedIds: runtime.skillIds, configPath}). Or use the configured agent's list_skills and load_skill({name:"release-notes"}) in a suitable run. Confirm the selected name and body, not just a successful config parse.
  4. Assess content using a normal task, a boundary case and a near miss. For the example: draft from a known range with verifiable citations; handle an empty range; do ordinary code review without treating it as release-note generation. Review outputs and tool traces for incorrect advice or missing steps. Extra model work is diagnostic.
  5. Improve instructions around evidenced errors. Compare versions on the same inputs/model when useful; record which version produced the result. A mock list/load test proves wiring, not writing quality, and no model test guarantees every future action.

The first request has no catalog/body; list/load appends them at the tail. A changed selected skill may add a reload notice on resume without rotating the generated key. List/load again. Trim oversized bodies before increasing the cap.

Report paths, registration, checks and prerequisites.

For dynamic data, teach list_vars/read_var and freshness checks; select names in agent.vars and the tools in tools.use. Never bake current time or credentials into a skill. Pass use-only references via consuming tools.

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 Create Skill làm được gì?

Use when creating or improving a discoverable Raw skill, including browser authoring; write its description and instructions, register it on an agent and verify loading. Use create-package to share skills.

Vì sao nên dùng Create Skill 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. Create Skill 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 Create Skill trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/lploc94/raw-cli/tree/main/examples/skills/create_skill. 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 Create Skill?

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 Create Skill 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 Create Skill 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 Create Skill có miễn phí không?

Có. Kỹ năng này được lploc94 phát hành trên GitHub theo giấy phép MIT. 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 👇