Chuyển đến nội dung
Skillpedia
Tự động hóa11k · #11682

customize-capability

Skill này làm gì

Skill này cho phép AI cập nhật một năng lực bạn đã cài đặt. Skill dành cho người muốn thêm công cụ, skill hoặc hướng dẫn vào một tính năng sẵn có trong không gian làm việc.

Khi nào nên dùng

  • ✓Khi bạn muốn thêm một máy chủ công cụ vào năng lực đã cài.
  • ✓Khi bạn muốn thêm, xóa hoặc sửa một skill hoặc dịch vụ trong năng lực.
  • ✓Khi bạn muốn thay đổi hướng dẫn mà năng lực đưa cho agent.

Liên kết skill

https://github.com/holaboss-ai/holaOS/blob/main/runtime/harnesses/src/embedded-skills/customize-capability/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/holaboss-ai/holaOS/blob/main/runtime/harnesses/src/embedded-skills/customize-capability/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

“Thêm công cụ tài liệu Context7 vào năng lực nghiên cứu của tôi và giữ nguyên mọi thứ khác.”

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

Cách hoạt động

AI chỉnh sửa tệp thiết lập của năng lực và cài đặt lại, nhờ đó cập nhật chính năng lực đó mà không tạo bản sao. Thay đổi có hiệu lực ở lần chạy tiếp theo.

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.

Customize Capability

Modify a capability that is already installed in this workspace. The most common request is giving it an MCP server so its agent gains new tools, but the same flow covers adding skills, integrations, or guidance.

A capability's source of truth is its manifest at capabilities/<capability-id>/capability.yaml. Re-installing reads that manifest and upserts the capability — re-install IS the update mechanism, and it never creates a duplicate.

Workflow

  1. Identify the capability id from the user's request.
  2. Read the current state:
    • If capabilities/<capability-id>/capability.yaml exists, edit it in place.
    • If it does NOT exist (the capability was installed from the catalog), create it. Reconstruct the existing config first so nothing is dropped: keep the capability's current skills (as ref), its integrations, and its agent_prompt, then add your change on top.
  3. Apply the change (see "Adding an MCP server" for the common case).
  4. Call the capability_install tool with capability_id: <capability-id>. It re-reads the manifest and upserts the capability. A malformed manifest is rejected with a precise error — fix and retry.
  5. Tell the user the change takes effect on the next agent run: the runtime compiles MCP servers at run start, so the current run won't see the new tools. Ask them to send a new message to pick them up.

Adding an MCP server

Add an mcp: block to the manifest. Each server connects the capability's agent to an MCP endpoint and exposes the tools you list.

Remote server (an HTTP/SSE MCP endpoint):

mcp:
  servers:
    - id: x                              # letters/digits/_/-, unique in this capability
      type: remote
      url: https://mcp.example/sse
      headers:                           # optional — e.g. auth
        Authorization: Bearer <token>
      tools: [create_post, list_posts]   # which tools to expose (required, ≥1)

Local server (a subprocess speaking MCP over stdio):

mcp:
  servers:
    - id: helper
      type: local
      command: [npx, "-y", "@modelcontextprotocol/server-everything"]
      environment:                       # optional
        SOME_TOKEN: "{env:SOME_TOKEN}"   # reads from the runtime environment
      tools: [echo, add]

Rules:

  • tools must list at least one tool name — you declare exactly which tools to expose.
  • Remote servers require url; local servers require command.
  • Put auth in headers (remote) or environment (local). Both header and environment values may use {env:VAR_NAME} to read from the runtime environment instead of hard-coding secrets.
  • Ask the user for the server url/command, which tools to expose, and any auth before writing the manifest.

The exposed tools become available to the capability's agent on the next run.

After installing

Confirm what you changed and remind the user to start a new message so the agent picks up the new MCP tools.

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

Thiết lập hiện tại của tôi có bị mất không?

Không. Skill đọc trước các skill, dịch vụ và hướng dẫn hiện có, rồi mới thêm thay đổi của bạn lên trên.

Khi nào thay đổi bắt đầu có tác dụng?

Ở lần chạy tiếp theo. Lần chạy hiện tại vẫn dùng các công cụ đã bắt đầu.

Skill có tạo năng lực trùng lặp không?

Không. Cài đặt lại sẽ cập nhật cùng năng lực thay vì tạo bản thứ hai.

Chi tiết

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

Guide for modifying an already-installed workspace capability — adding or editing its MCP servers, skills, integrations, or agent guidance. Use when the user wants to customize, change, or extend an existing capability.

repo: holaboss-ai/holaOS

Độ phổ biến

Sao GitHub
11k
Vị trí xếp hạng
#11682
Giấy phép
—
Cập nhật
28/10/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ự