Agent Skillsholaboss-ai/holaOS › customize-capability

customize-capability

GitHub

指导如何修改已安装的工作区能力,包括添加或编辑MCP服务器、技能、集成或代理提示。通过更新manifest并重新安装来实现配置变更。

runtime/harnesses/src/embedded-skills/customize-capability/SKILL.md holaboss-ai/holaOS

Trigger Scenarios

用户希望自定义或扩展已安装的能力 需要为能力添加新的MCP服务器或工具

Install

npx skills add holaboss-ai/holaOS --skill customize-capability -g -y
More Options

Non-standard path

npx skills add https://github.com/holaboss-ai/holaOS/tree/main/runtime/harnesses/src/embedded-skills/customize-capability -g -y

Use without installing

npx skills use holaboss-ai/holaOS@customize-capability

指定 Agent (Claude Code)

npx skills add holaboss-ai/holaOS --skill customize-capability -a claude-code -g -y

安装 repo 全部 skill

npx skills add holaboss-ai/holaOS --all -g -y

预览 repo 内 skill

npx skills add holaboss-ai/holaOS --list

SKILL.md

Frontmatter
{
    "name": "customize-capability",
    "description": "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."
}

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.

Version History

  • f6013b5 Current 2026-08-19 23:17

Same Skill Collection

apps/desktop/electron/default-skills/audience-analyst/SKILL.md
apps/desktop/electron/default-skills/content-planner/SKILL.md
apps/desktop/electron/default-skills/content-writer/SKILL.md
apps/desktop/electron/default-skills/data-analyst/SKILL.md
apps/desktop/electron/default-skills/email-writer/SKILL.md
apps/desktop/electron/default-skills/idea-generator/SKILL.md
apps/desktop/electron/default-skills/image-generator/SKILL.md
apps/desktop/electron/default-skills/meeting-notes/SKILL.md
apps/desktop/electron/default-skills/performance-reporter/SKILL.md
apps/desktop/electron/default-skills/prd-writer/SKILL.md
apps/desktop/electron/default-skills/proposal-writer/SKILL.md
apps/desktop/electron/default-skills/summarizer/SKILL.md
apps/desktop/electron/default-skills/tone-adapter/SKILL.md
apps/desktop/electron/default-skills/translator/SKILL.md
apps/desktop/electron/default-skills/trend-spotter/SKILL.md
apps/desktop/electron/default-skills/video-generator/SKILL.md
apps/desktop/electron/default-skills/web-researcher/SKILL.md
runtime/harnesses/src/embedded-skills/app-builder-sdk/SKILL.md
runtime/harnesses/src/embedded-skills/browser-core-efficient/SKILL.md
runtime/harnesses/src/embedded-skills/browser-qa/SKILL.md
runtime/harnesses/src/embedded-skills/build-dashboard/SKILL.md
runtime/harnesses/src/embedded-skills/capability-creator/SKILL.md
runtime/harnesses/src/embedded-skills/create-teammate/SKILL.md
runtime/harnesses/src/embedded-skills/frontend-design/SKILL.md
runtime/harnesses/src/embedded-skills/interface-design/SKILL.md
runtime/harnesses/src/embedded-skills/mcp-configurator/SKILL.md
runtime/harnesses/src/embedded-skills/skill-creator/SKILL.md
runtime/harnesses/src/embedded-skills/skill-installer/SKILL.md
runtime/harnesses/src/embedded-skills/stop-slop/SKILL.md

Metadata

Files
0
Version
f6013b5
Hash
88d4de2b
Indexed
2026-08-19 23:17

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 00:17
浙ICP备14020137号-1 $mapa de visitantes$