skills/adapt-skill/SKILL.md
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 skillsauth add microsoft/amplifier-bundle-skills adapt-skillInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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:
.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:
Save the skill to .amplifier/skills/<name>/SKILL.md (immediately
discoverable, no config changes needed).
In the same session, call load_skill("<name>") and verify:
Spawn a test session via delegate(agent="self", context_depth="none")
that exercises the skill:
If issues are found, fix the SKILL.md and re-test.
Success criteria: The skill loads, the test agent follows its instructions, and the output conforms to Amplifier conventions.
After testing passes:
Move the skill from .amplifier/skills/<name>/ to the final destination
(bundle directory, personal skills, or leave in project skills).
If contributing to a bundle, commit and push via foundation:git-ops.
Tell the user:
/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.
development
Convene the persona panel on the CURRENT conversation / work-in-progress — the plan, design, or decision you've been building in this session. The INLINE counterpart to /council (which forks and runs isolated, so it cannot see the chat). Use when you want the council to critique what we're working on right now.
development
Convene the persona panel (six orthogonal review lenses) on a target — cold independent fan-out, debate-to-consensus, synthesized verdict with recorded dissent and a roster manifest.
development
Hard-won patterns for probing, building, troubleshooting, and iterating against Microsoft Graph API endpoints -- especially from a browser SPA using delegated MSAL.js auth calling Graph directly with no backend (lessons generalize to any Graph integration). Covers the throwaway-probe-file methodology for de-risking before building, OData/query quirks, permission and admin-consent sequencing, recordings/transcripts access patterns (SharePoint REST, not Graph), CSP requirements for a pure-browser SPA, retry/pagination/backoff patterns, and the MSAL/EasyAuth auth-redirect-loop debugging saga. Use when integrating with Microsoft Graph, Teams APIs, MSAL.js, or EasyAuth; when hitting an unexpected Graph error (400/403/429), a silent missing-scope failure, an auth redirect loop, or a CSP violation that only appears in production; or when deciding how to validate a new Graph capability before committing it to a codebase.
tools
Use when building an Amplifier-powered workflow or automation tool and deciding how to expose it — as standalone .dot attractor pipelines (incl. inside the Resolve dot-graph resolver), an importable Python lib, agent-callable tool modules, or a CLI. Covers the four leverage levels, the DRY rule that keeps logic in ONE home, the judgment for which levels a real consumer actually needs (and when adding a level is just ceremony), and the maximally-DRY attractor-only specialization where the .dot pipeline is the sole logic home.