microsoft/adapt-skill
> 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.
npx skills add https://github.com/microsoft/amplifier-bundle-skills --skill adapt-skill
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 ofwhat 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, AskUserQuestionvs natural conversation, Bash(mkdir:*) vs bash)
.claude/skills/ vs .amplifier/skills/)or removal (consult skills-assist for the current Amplifier field reference)
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)or approximate)
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:
the description is the ONLY signal the model sees before deciding to load)
model_role based on the skill's primary cognitive task (consult skills-assistfor the full set of available roles)
Execution model:
context: fork). Critical: forked skills CANNOT domulti-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:
.amplifier/skills/<name>/SKILL.md)~/.amplifier/skills/<name>/SKILL.md)amplifier-bundle-skills/skills/<name>/SKILL.md)Step structure:
Success criteria: All design decisions confirmed by the user.
Write the adapted SKILL.md following Amplifier conventions. Consult skills-assist
for the full set of available frontmatter fields and current conventions.
Key principles (illustrative — consult skills-assist for complete reference):
model_role, user-invocable, context,disable-model-invocation, allowed-tools, etc.)
description carries all routing weight (trigger phrases, "Use when...")read_file, write_file, edit_file,bash, glob, grep, delegate, etc.)
.amplifier/skills/, ~/.amplifier/skills/)delegate tool, not platform-specific mechanismsPresent the complete SKILL.md in a code block for review before saving.
Success criteria: The user has reviewed and approved the adapted SKILL.md.
Before committing, verify the skill works:
.amplifier/skills/<name>/SKILL.md (immediatelydiscoverable, no config changes needed).
load_skill("<name>") and verify:delegate(agent="self", context_depth="none")that exercises the skill:
a synthesized test input (e.g., a small sample source SKILL.md from the
original platform)
names, and proper structure
Success criteria: The skill loads, the test agent follows its instructions,
and the output conforms to Amplifier conventions.
After testing passes:
.amplifier/skills/<name>/ to the final destination(bundle directory, personal skills, or leave in project skills).
foundation:git-ops./skill-name [arguments]Success criteria: The file is at its final destination (and pushed if
targeting a bundle), and the user knows how to use it.
Take microsoft/adapt-skill from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.