Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add koolamusic/claudefiles/plugin install studioWrote 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.
[](https://agentmods.dev/commands/koolamusic/claudefiles/migrate)<a href="https://agentmods.dev/commands/koolamusic/claudefiles/migrate"><img src="https://agentmods.dev/badge/commands/koolamusic/claudefiles/migrate/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.
<a href="https://agentmods.dev/commands/koolamusic/claudefiles/migrate"><img src="https://agentmods.dev/badge/commands/koolamusic/claudefiles/migrate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00020 | $0.02956 |
| Opus 5.5 | $0.00008 | $0.01182 |
| Sonnet 5.5 | $0.00004 | $0.00591 |
| Haiku 4.5 | $0.00002 | $0.00296 |
Grade A, and why
migrate 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/studio:migrate
For legacy projects that pre-exist with scattered workflow state AND may have that state committed to git. Untracks tracked state via git rm --cached -r (preserves history — does NOT rewrite it), then delegates to the same setup steps as /studio:setup. Safe to run more than once.
Preflight
This section is READ-ONLY. No filesystem or git index mutations occur here. Every branch decision that affects later sections is recorded as a named flag or set (SYMLINK_NAMES, PROJECT_ROOT, SLUG, TRACKED_STATE, SKIP_SYMLINK_CREATION).
-
Locate config. Read
${CLAUDE_PLUGIN_ROOT}/templates/studio.yaml. Parse the following fields and use them by name throughout. Do not bake any of these values into the command logic:symlinks(map oflink_name→target_name). The set oflink_namekeys is what subsequent steps refer to asSYMLINK_NAMES: the paths at project root to detect, untrack, and symlink.gitignore.marker_startandgitignore.marker_end(consumed by the managed-block re-sync in "## Setup (shared)").
Every literal that appears below as
.jira,.project,.wardenis illustrative; the command's decision source is the parsed YAML, not the inline examples. A future contributor adding a fifth managed directory instudio.yamlshould not need to edit this command. -
Verify project context. Run
git rev-parse --show-toplevel. If it fails (not inside a git repo), stop with: "Not a git repository — rungit initfirst. Studio workspaces are keyed to a git repo's basename." On success, record the stdout asPROJECT_ROOTand use it for every subsequent path. -
Derive slug. Same algorithm as
/studio:setup:- If the command was invoked with
--slug <name>, use that literal. - Else
SLUG=$(basename "$PROJECT_ROOT"). - If
~/.studio/$SLUG/already exists AND contains a.setup-ownermarker that names a DIFFERENT project, offer a collision suffix ($SLUG-2, then$SLUG-3, ...) viaAskUserQuestion. Do not auto-overwrite.
- If the command was invoked with
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.
- 3mo ago First seen · 125 lines · 20 tokens per session scan A 4171b99b64fa
migrate is a command published in the GitHub repository koolamusic/claudefiles (118 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 2,956 once invoked, about $0.0001 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-08-30.
migrate compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| migratekoolamusic/claudefiles | Command | 118 | yesterday | MIT | A | 20 | Claude Code |
| merge-conflict-analysisrjmurillo/ai-agents | Command | 50 | today | Apache-2.0 | A | 0 | GitHub Copilot |
| release-notesOpenHands/extensions | Command | 190 | today | MIT | A | 44 | Claude Code |
| commitechoVic/blade-code | Command | 181 | 16d ago | MIT | A | 8 | Claude Code |
| repo-audittractorjuice/arc-kit | Command | 2.3k | yesterday | none | A | 29 | Claude Code |
| codex-reviewoalders/kitchen-sink | Command | 5 | today | MIT | A | 41 | Claude Code |
| releaseparuff/uFawkesAI | Command | 2 | yesterday | MIT | A | 39 | Claude Code |