MyAider Skill Importer
Purpose
Automate the process of importing skills from the MyAider MCP server into agent skills. This skill retrieves available skills, lets the user choose which ones to import, and creates proper skill files for each using existing skill-creator skill.
MANDATORY WORKFLOW
Step 0 — REQUIRED: Discover MyAider MCP Server Name and Check skill-creator Skill
Note on naming convention: MCP tool identifiers follow the format mcp__<server-name>__<tool-name>. The server name is whatever the user chose when configuring the MCP — it may not be myaider. Always discover the actual name rather than assuming it.
The MyAider MCP server exposes a distinctively named tool called get_myaider_skills. Because this name is unique to MyAider, searching for it avoids conflicts with other MCP servers.
Phase A — Discover the server name
Search your available tools for any tool whose name is
get_myaider_skills. Use whatever tool-discovery mechanism your agent supports (e.g., listing available tools, searching by name). The full tool identifier will be in the form
mcp__<server-name>__get_myaider_skills.
Extract the server name from the middle segment and store it as {SERVER_NAME}. Use mcp__{SERVER_NAME}__get_myaider_skills (and mcp__{SERVER_NAME}__get_myaider_skill_updates) for all subsequent calls.
Phase B — Branch on the result
- - Exactly 1 match found → Extract
{SERVER_NAME} from the tool identifier, proceed silently to Step 1. - 0 matches found → Inform the user that MyAider MCP needs to be set up first:
> The MyAider MCP server doesn't appear to be configured. To use this skill, you need to set up the MyAider MCP server first.
>
> Setup Instructions:
> 1. Go to https://www.myaider.ai/mcp
> 2. Follow the instructions to configure the MyAider MCP server for your agent
> 3. Once configured, come back and ask me to import your MyAider skills
Do NOT proceed until the user confirms MyAider is configured.
- - 2 or more matches found → List all discovered server names and ask the user to confirm which one is their MyAider instance. Use the user's answer as
{SERVER_NAME}.
Check if skill-creator skill is available; if not, ask the user to install skill-creator.
Step 1 — REQUIRED: Get Available Skills
Call
mcp__{SERVER_NAME}__get_myaider_skills (using the server name discovered in Step 0) with an empty object
{} to retrieve all available skills from MyAider.
Step 2 — REQUIRED: Present Skills to User
Present the list of skills to the user with their descriptions. Ask them to choose:
- - "All" - import every skill
- Or specify which specific skills they want (by name)
Wait for user confirmation before proceeding.
Step 3 — REQUIRED: For Each Selected Skill
For each skill the user wants to import:
- 1. Extract the skill specification from the getSkills result:
- Skill name
- Description (from the Usage Instructions or summary)
- Usage Instructions (the main content)
-
Tools with FULL usage details: Extract each tool's name, description, and parameter schema from the "Tools" section in the getSkills result
- 2. Create a properly formatted skill using skill-creator:
YOU MUST create the skill automatically instead of ask user to do it manually. YOU MUST use the Skill tool to invoke
skill-creator:skill-creator with this template:
CODEBLOCK0
Critical: The extracted tool descriptions and schemas must be included directly in the skill to avoid MCP protocol overhead. This optimizes token usage by enabling the skill to function without calling the MCP protocol for tool introspection.
- 3. Confirm creation to the user after each skill is created
Step 4 — REQUIRED: Summarize
After all selected skills are created, provide a summary:
- - List of successfully created skills
- File locations
- Any skills that failed (if any)
Upgrade Workflow
Trigger this workflow when the user asks to upgrade, update, or sync their MyAider skills.
Upgrade Step 0 — Discover server name
Same as the main Step 0. Search for
get_myaider_skills to find
{SERVER_NAME}. If MCP is not configured, show setup instructions and stop.
Upgrade Step 1 — Fetch remote update info
Call
mcp__{SERVER_NAME}__get_myaider_skill_updates with an empty object
{}. This returns the latest skill definitions with their
updated_at timestamps.
Upgrade Step 2 — Read local MyAider skills
Find all locally installed skills that have
source: myaider in their YAML frontmatter. For each, read the
updated_at value. Build a map of
skill-name → local updated_at.
Upgrade Step 3 — Compare and classify
For each skill returned in Upgrade Step 1:
- - Remote
updated_at is newer than local → mark for upgrade - Skill does not exist locally → mark for new install
- Remote
updated_at is same or older → skip (already up to date)
Present the classification to the user (what will be upgraded, what is new, what is already current) and ask for confirmation before proceeding.
Upgrade Step 4 — Upgrade outdated skills
For each skill marked for
upgrade, invoke
skill-creator:skill-creator with the full updated specification (same template as the main Step 3, including refreshed
updated_at and tool schemas). skill-creator will overwrite the existing skill file.
Upgrade Step 5 — Install new skills
For each skill marked for
new install, invoke
skill-creator:skill-creator exactly as in the main Step 3 (import workflow).
Upgrade Step 6 — Summarize
Provide a final report:
- - Skills upgraded (name + old → new
updated_at) - New skills installed
- Skills already up to date (skipped)
- Any failures
Important Constraints
- - Always discover the MCP server name by searching for
get_myaider_skills first (Step 0) — do NOT hardcode myaider or any other name - Always call
get_myaider_skills after confirming MCP is configured — do NOT guess what skills are available - Always extract and include FULL tool descriptions and schemas from
get_myaider_skills — this is critical to optimize token usage. The created skill should work without needing MCP protocol tool introspection - Use the discovered
{SERVER_NAME} consistently for all MCP tool calls and in generated skill files - Always include
source: myaider and updated_at in the YAML frontmatter of every created or upgraded skill — these fields are required for the upgrade workflow - Always wait for user confirmation before creating or upgrading skills
- Create/upgrade skills one at a time using skill-creator
- Keep the skill-creator conversation focused on each skill creation
Example Usage
- - "Import my MyAider skills"
- "Create skills from myaider"
- "Set up the skills from my MyAider MCP"
- "Upgrade my MyAider skills"
- "Update my MyAider skills to the latest version"
- "Sync my MyAider skills"
MyAider 技能导入器
目的
自动化从 MyAider MCP 服务器导入技能到代理技能的过程。该技能会检索可用技能,让用户选择要导入的技能,并使用现有的技能创建工具为每个技能创建适当的技能文件。
强制工作流程
步骤 0 — 必需:发现 MyAider MCP 服务器名称并检查技能创建工具
命名约定说明: MCP 工具标识符遵循 mcp<服务器名称><工具名称> 的格式。服务器名称是用户在配置 MCP 时选择的任何名称——它可能不是 myaider。始终发现实际名称,而不是假设它。
MyAider MCP 服务器暴露了一个名为 getmyaiderskills 的独特工具。由于此名称是 MyAider 独有的,搜索它可以避免与其他 MCP 服务器冲突。
阶段 A — 发现服务器名称
搜索你的可用工具,查找名称为 get
myaiderskills 的工具。使用你的代理支持的任何工具发现机制(例如,列出可用工具、按名称搜索)。完整的工具标识符将采用 mcp
<服务器名称>get
myaiderskills 的形式。
从中间段提取服务器名称并将其存储为 {SERVERNAME}。在所有后续调用中使用 mcp{SERVERNAME}getmyaiderskills(和 mcp{SERVERNAME}getmyaiderskillupdates)。
阶段 B — 根据结果分支
- - 恰好找到 1 个匹配项 → 从工具标识符中提取 {SERVER_NAME},静默进入步骤 1。
- 找到 0 个匹配项 → 告知用户需要先设置 MyAider MCP:
> MyAider MCP 服务器似乎未配置。要使用此技能,你需要先设置 MyAider MCP 服务器。
>
> 设置说明:
> 1. 前往 https://www.myaider.ai/mcp
> 2. 按照说明为你的代理配置 MyAider MCP 服务器
> 3. 配置完成后,回来让我导入你的 MyAider 技能
在用户确认 MyAider 已配置之前,不要继续。
- - 找到 2 个或更多匹配项 → 列出所有发现的服务器名称,并要求用户确认哪一个是他们的 MyAider 实例。使用用户的回答作为 {SERVER_NAME}。
检查技能创建工具是否可用;如果不可用,要求用户安装技能创建工具。
步骤 1 — 必需:获取可用技能
使用空对象 {} 调用 mcp
{SERVERNAME}getmyaider_skills(使用步骤 0 中发现的服务器名称),从 MyAider 检索所有可用技能。
步骤 2 — 必需:向用户展示技能
向用户展示技能列表及其描述。要求他们选择:
- - 全部 - 导入每个技能
- 或指定他们想要的具体技能(按名称)
在继续之前等待用户确认。
步骤 3 — 必需:对于每个选定的技能
对于用户想要导入的每个技能:
- 1. 从 getSkills 结果中提取技能规范:
- 技能名称
- 描述(来自使用说明或摘要)
- 使用说明(主要内容)
-
具有完整使用详情的工具:从 getSkills 结果中的工具部分提取每个工具的名称、描述和参数模式
- 2. 使用技能创建工具创建格式正确的技能:
你必须自动创建技能,而不是要求用户手动操作。你必须使用技能工具调用 skill-creator:skill-creator,使用以下模板:
根据以下规范创建一个名为[技能名称]的新技能:
## 技能名称
[技能名称]
## 描述
[描述 - 使其全面并包含触发指导]
## 元数据
将以下字段添加到技能的 YAML 前置元数据中(除了名称和描述之外):
- source: myaider
- updated_at: [来自远程技能的 ISO 8601 时间戳,例如 2026-03-06T12:00:00Z]
## 使用说明
[来自 myaider 技能的完整使用说明]
## 工具(MCP {SERVER_NAME})
此技能使用来自 {SERVER_NAME} 的以下 MCP 工具。在下方包含完整的工具描述和参数模式以优化令牌使用——技能不应依赖 MCP 协议来获取工具描述:
### [工具名称-1]
[来自 getmyaiderskills 结果的完整工具描述]
参数:
[参数模式 - 包含所有参数及其类型、必需/可选状态和描述]
### [工具名称-2]
[来自 getmyaiderskills 结果的完整工具描述]
参数:
[参数模式 - 包含所有参数及其类型、必需/可选状态和描述]
关键:提取的工具描述和模式必须直接包含在技能中,以避免 MCP 协议开销。这通过使技能无需调用 MCP 协议进行工具内省来优化令牌使用。
- 3. 在每个技能创建后向用户确认创建
步骤 4 — 必需:总结
在所有选定的技能创建完成后,提供总结:
- - 成功创建的技能列表
- 文件位置
- 任何失败的技能(如果有)
升级工作流程
当用户要求升级、更新或同步他们的 MyAider 技能时,触发此工作流程。
升级步骤 0 — 发现服务器名称
与主步骤 0 相同。搜索 get
myaiderskills 以找到 {SERVER_NAME}。如果 MCP 未配置,显示设置说明并停止。
升级步骤 1 — 获取远程更新信息
使用空对象 {} 调用 mcp
{SERVERNAME}getmyaider
skillupdates。这将返回最新的技能定义及其 updated_at 时间戳。
升级步骤 2 — 读取本地 MyAider 技能
查找所有在 YAML 前置元数据中包含 source: myaider 的本地安装技能。对于每个技能,读取 updated
at 值。构建一个 技能名称 → 本地 updatedat 的映射。
升级步骤 3 — 比较和分类
对于升级步骤 1 中返回的每个技能:
- - 远程 updatedat 比本地新 → 标记为升级
- 技能在本地不存在 → 标记为新安装
- 远程 updatedat 相同或更旧 → 跳过(已是最新)
向用户展示分类(将升级哪些、哪些是新的、哪些已经是最新的)并在继续之前请求确认。
升级步骤 4 — 升级过时的技能
对于每个标记为
升级的技能,使用完整的更新规范(与主步骤 3 相同的模板,包括刷新的 updated_at 和工具模式)调用 skill-creator:skill-creator。技能创建工具将覆盖现有的技能文件。
升级步骤 5 — 安装新技能
对于每个标记为
新安装的技能,完全按照主步骤 3(导入工作流程)调用 skill-creator:skill-creator。
升级步骤 6 — 总结
提供最终报告:
- - 已升级的技能(名称 + 旧 → 新 updated_at)
- 已安装的新技能
- 已是最新的技能(已跳过)
- 任何失败
重要约束
- - 始终通过首先搜索 getmyaiderskills(步骤 0)来发现 MCP 服务器名称——不要硬编码 myaider 或任何其他名称
- 在确认 MCP 已配置后始终调用 getmyaiderskills——不要猜测哪些技能可用
- 始终从 getmyaiderskills 提取并包含完整的工具描述和模式——这对于优化令牌使用至关重要。创建的技能应能在无需 MCP 协议工具内省的情况下工作
- 在所有 MCP 工具调用和生成的技能文件中一致使用发现的 {SERVERNAME}
- 始终在每个创建或升级的技能的 YAML 前置元数据中包含 source: myaider 和 updatedat——这些字段是升级工作流程所必需的
- 在创建或升级技能之前始终等待用户确认
- 使用技能创建工具一次创建/升级一个技能
- 保持技能创建工具的对话专注于每个技能的创建
使用示例
- - 导入我的 MyAider 技能
- 从 myaider 创建技能
- 从我的 MyAider MCP 设置技能
- 升级我的 MyAider 技能
- 将我的 MyAider 技能更新到最新版本
- 同步我的 MyAider 技能