Chuyển đến nội dung
Skillpedia
Agent5.4k · #14873

skill-creator

Skill này làm gì

Skill này hướng dẫn agent tạo một skill tái sử dụng mới, chỉnh sửa một skill cũ và kiểm tra mức độ hoạt động của nó. Nó dành cho người muốn biến một quy trình lặp lại thành skill.

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 tái sử dụng.
  • ✓Khi bạn có một skill sẵn có cần thay đổi hoặc diễn đạt rõ hơn.
  • ✓Khi bạn muốn thử một skill bằng các câu lệnh mẫu trước khi xuất bản.

Liên kết skill

https://github.com/aipoch/open-science/blob/main/resources/skills/skill-creator/SKILL.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/aipoch/open-science/blob/main/resources/skills/skill-creator/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể giúp tôi biến quy trình báo cáo hằng tuần thành một skill tái sử dụng và thử nghiệm trước khi xuất bản không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent soạn một gói skill, kiểm tra nó, và có thể chạy các câu lệnh mẫu để so sánh kết quả. Bạn duyệt bản nháp trước khi nó được xuất bả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

Create one focused, reusable Skill package. Skills are application-managed packages, not Artifacts. Use the JavaScript control-plane REPL and the native host.skills composer for lifecycle operations.

Native composer

await host.skills.list()
await host.skills.read(name)
await host.skills.read(name, path)
await host.skills.validate(name)
await host.skills.edit(name, path, content)
await host.skills.edit(name, path, replacement, oldString)
await host.skills.publish(name)
await host.skills.publish(name, true)
await host.skills.delete(stableId)

Without oldString, edit creates a file and fails if it exists. With oldString, the old text must occur exactly once. Never silently overwrite an existing draft file. publish promotes the complete draft into Personal Skills. delete is privileged and always uses app approval. When a published Skill and its draft coexist, delete only by the exact draft-<name> or personal-<name> id returned from list(); never guess from the shared display name.

Choose the current stage

Infer where the user is in the workflow and start there:

  1. Capture intent and examples.
  2. Draft or revise the Skill.
  3. Review the package with the user.
  4. Optionally evaluate realistic prompts.
  5. Improve from evidence and repeat.
  6. Publish only after the user accepts the draft.

Do not force evaluation. Objectively verifiable workflows benefit from test cases; subjective writing or exploratory Skills may be better reviewed directly in conversation.

Capture intent

Extract what is already known from the conversation before asking questions. Confirm only gaps that materially change behavior:

  • What should the Skill enable an agent to do?
  • When should it trigger, including near-miss cases where it should not?
  • What inputs and output formats matter?
  • What counts as success, and what failures need explicit handling?
  • Are scripts, references, assets, connectors, or example files required?
  • Does the user want test cases now?

Prefer one concise question at a time. Calibrate terms such as benchmark, JSON, or assertion to the user's technical comfort.

Author the package

  1. Call host.skills.list() before editing. Read every existing file you intend to change.
  2. For Built-in or Imported Skills, create a Personal fork under a new lowercase hyphenated name.
  3. Use frontmatter with name and description, plus optional displayName; name is the immutable safe draft name and defaults as the presentation label when displayName is omitted.
  4. Put stable procedures in SKILL.md, detailed knowledge in references/, deterministic automation in scripts/, and output templates in assets/.
  5. Prefer imperative instructions and explain why constraints matter. Avoid brittle lists of MUSTs.
  6. Keep SKILL.md focused. Link directly to optional resources and state when to read them.
  7. Re-read changed files, call host.skills.validate(name), and show the user the important behavior and boundaries before publishing.

Do not promise automatic kernel sidecars, per-Specialist environments, or connector tool patterns; those capabilities are not part of the current composer.

Create test cases

When the user wants evaluation, propose two or three realistic prompts. Ask them to confirm or revise the set before running anything. Store output-evaluation cases as evals/evals.json. Store trigger and near-miss cases as trigger-evals.json. Follow references/schemas.md.

Good cases cover different phrasings, input shapes, edge cases, and near misses. Expectations should be observable from the transcript or output files. Use human review for qualities that cannot be reliably reduced to assertions.

Run and evaluate

Evaluation is capability-gated. First check whether this runtime exposes host.skills.evals. If it does not, run a qualitative sanity check in the current conversation or publish without evaluation if the user chooses; never claim that baseline, blind, or trigger evaluation ran when it did not.

When host.skills.evals is available:

  1. Freeze the draft identity and revision.
  2. Create paired runs for each case: one with the Skill and one baseline.
  3. Keep inputs, provider/model, and tool capabilities equal across the pair.
  4. Save outputs, transcript, timing, token counts, and actual Skill activity.
  5. Grade expectations using agents/grader.md.
  6. Aggregate results with `scripts/a
Câu hỏi thường gặp

Ai duyệt skill trước khi xuất bản?

Bạn là người duyệt. Skill yêu cầu chỉ xuất bản sau khi bạn chấp nhận bản nháp.

Tôi có thể sửa một skill đã có không?

Có. Skill có thể sửa và cải thiện một skill hiện có dựa trên kết quả thử nghiệm.

Skill có giống Artifacts không?

Không. Skill ghi rằng skill là các gói do ứng dụng quản lý, không phải Artifacts.

Chi tiết

Mô tả gốc của tác giả

Create, revise, evaluate, publish, and improve Open-Science Skills through the native JavaScript host.skills composer. Use when the user wants a reusable workflow, an existing Skill changed, test cases or benchmarks for a Skill, or better Skill triggering.

repo: aipoch/open-science

Độ phổ biến

Sao GitHub
5.4k
Vị trí xếp hạng
#14873
Giấy phép
Apache-2.0
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự