adapter

adapter is a skill for Claude Code from P47Phoenix/Claude-Plugins. It costs 159 tokens per session (3,136 once invoked), scanned A, original, MIT.

A song-adaptation tool for changing a song you own or one in the public domain from one genre to another. It preserves the song's core ideas while changing musical and lyrical details suited to the new genre.

In plain words
What is it for?
Use it to adapt lyrics, chords, melodies, or both between genres while keeping elements such as the hook, title, melody shape, and point of view.
Why use it?
It separates changes to the lyrics from changes to the music and checks where the source came from before adapting it. It avoids adding new meaning or copying lines from existing songs.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions subagents.

Part of the music-team plugin — 9 skills shipped together

Good fit Use it to adapt lyrics, chords, melodies, or both between genres while keeping elements such as the hook, title, melody shape, and point of view.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/p47phoenix/claude-plugins/adapter
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add P47Phoenix/Claude-Plugins --skill adapter
Clone the repo
git clone --depth 1 https://github.com/P47Phoenix/Claude-Plugins

Made for: Claude Code.

Or install music-team, the plugin that ships this one along with the rest of its 9 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for adapter

README.md
[![agentmods](https://agentmods.dev/badge/skills/p47phoenix/claude-plugins/adapter/github.svg)](https://agentmods.dev/skills/p47phoenix/claude-plugins/adapter)
Your own site
<a href="https://agentmods.dev/skills/p47phoenix/claude-plugins/adapter"><img src="https://agentmods.dev/badge/skills/p47phoenix/claude-plugins/adapter/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for adapter

Your own site · 80×15
<a href="https://agentmods.dev/skills/p47phoenix/claude-plugins/adapter"><img src="https://agentmods.dev/badge/skills/p47phoenix/claude-plugins/adapter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,136 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00159 $0.03136
Opus 5.5 $0.00064 $0.01254
Sonnet 5.5 $0.00032 $0.00627
Haiku 4.5 $0.00016 $0.00314

Measured 2d ago against content hash 06e665d95717, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

adapter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

music-team/skills/adapter/SKILL.md · 276 lines

How it starts

The opening of the file, as written. The whole thing — 276 lines — stays where its author put it; the contents beside it link to each section on GitHub.

adapter

Design Principle: Two Genres, One Role

Adapting a song needs the source genre and the target genre in context at the same time, which no other music-team role needs. This skill keeps adaptation craft out of the main context: it detects the role, reads only the matched manifest, one output contract, both genre profiles and at most two techniques, then spawns one sub-agent per role. The main context receives the finished artifact and a one-sentence summary. Craft lives in references/, never here.

The adapter keeps what makes the song itself (hook, title, melody contour, lyric meaning, point of view, key images) and remaps what makes it sound like a genre (feel, tempo band, harmony, form, instrumentation, diction register). It never adds new meaning and never imports a line from any existing song. Originality policy clauses 1, 2, 4 and 5 apply (music-team/references/shared/originality-policy.md).


Phase 1: Detection

Detection is cheap pattern work; run it on phase_1_detector_model (haiku) when delegated.

1. Roles from what the user supplied

Supplied input Role(s) Order
Lyric only lyric-adapter single call
Chords and/or melody only (no lyric) music-adapter single call
Lyric and chords/melody lyric-adapter, then music-adapter two sequential Agent calls, one role each
Arrangement or production notes only music-adapter (task arrangement-adapt) single call
"what would change if this were " the role the input matches, task adaptation-report only; write nothing else single call

One role is one Agent call; never put two ROLE: lines in one prompt. When ambiguous, ask once.

2. Genres

  • source_genre: from the brief, the request, or the input itself. If absent or unclear, ask. Do not guess.
  • target_genre: must resolve to a profile in music-team/references/shared/genres/<slug>.md through its genre: or aliases: front-matter (for example "bossa" and "bossa nova" resolve to bossa-nova).
  • A target that is a named artist, band or song, "in the style of ", "to the tune of", or an entry in blocked-targets.txt: refuse with exactly the sentence under "PARODY_ADAPT refusal" in music-team/references/shared/song-types.md. Create nothing.
  • A genre with no profile: say which profiles exist and ask the user to pick the nearest one. Do not improvise a profile.

Read the full file on GitHub · 276 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 276 lines · 159 tokens per session scan A 06e665d95717

Subscribe to this mod's changes

adapter is a skill published in the GitHub repository P47Phoenix/Claude-Plugins (2 stars, last pushed 2d ago), licensed MIT. It adds 159 tokens to every session and 3,136 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens