Adapt a skill written for another AI coding assistant (Claude Code, Cursor, etc.) into a properly structured Amplifier SKILL.md file. Reads the source skill, identifies platform-specific conventions, researches the source platform if needed, and produces an Amplifier-native skill conforming to the Agent Skills specification with Amplifier extensions. Use when the user wants to adapt a skill, port a skill, convert a skill to amplifier, translate a skill, or has a SKILL.md from another platform they want to bring into Amplifier.
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "adapt-skill" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/amplifier-bundle-skills/main/skills/adapt-skill/SKILL.md 2. 保存为 ~/.claude/skills/adapt-skill/SKILL.md 3. 装好后重载技能,告诉我可以用了
Adapt a skill from another AI coding assistant into a properly structured
Amplifier SKILL.md. The output must conform to the Agent Skills specification
with Amplifier extensions and be immediately usable via /skill-name.
$ARGUMENTS: (Optional) Path to the source skill file or description of
what to adapt.Before writing any skill content, load the authoritative skills reference:
load_skill("skills-assist")
Ask skills-assist about:
skills-assist is the source of truth for Amplifier skill conventions. The examples in this skill are illustrative samples — consult skills-assist for the complete and up-to-date specification.
Success criteria: You have loaded and consulted skills-assist for the latest skill authoring conventions.
If the user wants to add the skill to a bundle (e.g., amplifier-bundle-skills),
delegate to foundation:explorer to understand the bundle's conventions,
existing skills, and structure. If saving to a personal or project directory,
skip this step.
Success criteria: You understand the target bundle's skill conventions and can produce a skill that fits in.
Read the source SKILL.md and identify:
Read vs read_file, AskUserQuestion
vs natural conversation, Bash(mkdir:*) vs bash).claude/skills/ vs .amplifier/skills/)Present a summary of what needs to change — grouped into natural clusters, not a wall of text. Let the user confirm the adaptation plan before proceeding.
Success criteria: You have a clear mapping of source conventions to Amplifier equivalents, and the user has confirmed the approach.
If the source skill uses unfamiliar fields or conventions, research the source platform's official documentation using web search and web_fetch. Compare the source platform's spec with Amplifier's to identify:
name, description, allowed-tools)model -> Amplifier's model_role)Skip this step if the source conventions are already well understood.
Success criteria: You understand the source platform's skill format well enough to make accurate adaptation decisions.
Walk through these decisions with the user, grouped into natural clusters (not one question per turn, not everything at once):
Identity and routing:
model_role based on the skill's primary cognitive task (consult skills-assist
for the full set of available roles)Execution model:
context: fork). Critical: forked skills CANNOT do
multi-turn conversation with the user — the sub-agent runs once and returns.
If the skill needs to interview the user, it must be inline.disable-model-invocation)allowed-tools — minimum set needed, translated to Amplifier tool names
(consult skills-assist for the current tool name reference)Save location:
…
Guide for creating new Amplifier modules including protocol implementation, entry points, mount functions, and testing patterns. Use when creating new modules or understanding module architecture.
Python coding standards for Amplifier including type hints, async patterns, error handling, and formatting. Use when writing Python code for Amplifier modules.
Use when your service needs authentication that works without friction locally but secures remote access, automatic TLS certificate setup, or token-based auth with auto-generation and localhost bypass.
Use when building a new CLI tool that needs one-line install via uv or npm, subcommand dispatch with a default action, or 3-tier config resolution (CLI flags, config file, hardcoded defaults).
Review changed code for reuse, quality, and efficiency, then fix any issues found.
Amplifier design philosophy using Linux kernel metaphor. Covers mechanism vs policy, module architecture, event-driven design, and kernel principles. Use when designing new modules or making architectural decisions.