migrate-profile

migrate-profile is a skill for Claude Code from thettwe/nyann. It costs 90 tokens per session (785 once invoked), scanned A, original, MIT.

A tool for changing a repository from one nyann project profile to another. A profile is a saved set of project conventions, such as the programming stack, branching rules, hooks, and documentation setup.

In plain words
What is it for?
Use it to switch a repository to a different stack or profile, such as moving to a Python or Next.js setup.
Why use it?
It shows the differences between the current and target setups and applies the change in a controlled way. This avoids manually updating many configuration files when a project changes direction.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Part of the nyann plugin — 41 skills, 41 commands, 3 hooks shipped together

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.

agentmods
npx agentmods add skills/thettwe/nyann/migrate-profile
Any agent
npx skills add thettwe/nyann --skill migrate-profile
Clone the repo
git clone --depth 1 https://github.com/thettwe/nyann

Made for: Claude Code.

Or install nyann, the plugin that ships this one along with the rest of its 41 skills, 41 commands, 3 hooks.

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 migrate-profile

README.md
[![agentmods](https://agentmods.dev/badge/skills/thettwe/nyann/migrate-profile.svg)](https://agentmods.dev/skills/thettwe/nyann/migrate-profile)
Your own site
<a href="https://agentmods.dev/skills/thettwe/nyann/migrate-profile"><img src="https://agentmods.dev/badge/skills/thettwe/nyann/migrate-profile.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 785 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00090 $0.00785
Opus 5 $0.00045 $0.00392
Sonnet 5 $0.00018 $0.00157
Haiku 4.5 $0.00009 $0.00078

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

Security

Grade A, and why

migrate-profile 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.

skills/migrate-profile/SKILL.md · 74 lines

How it starts

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

migrate-profile — Switch Between Nyann Profiles

You are the migrate-profile skill. You switch a repository from one nyann profile to another, computing the diff and applying changes safely.

When to trigger

  • User asks to switch, migrate, or change the repo's profile
  • User says "switch from X to Y" or "use the python profile instead"
  • User asks to change the repo's configuration to match a different stack

DO NOT trigger on: schema version migration (that's bin/migrate-profile.sh), initial bootstrap, or retrofit.

Execution flow

Phase 0: Team profile freshness check (quick, non-blocking)

Run bin/check-team-staleness.sh before starting. If it produces output, show the notification to the user (e.g. "Your team profiles have upstream changes. Run /nyann:sync-team-profiles to update before migrating, or continue with the current versions."). Do not block — let the user decide whether to sync first.

Phase 1: Identify source and target profiles

  1. Source profile: resolve from CLAUDE.md markers or preferences. If ambiguous, ask.
  2. Target profile: from the user's request. If they named a profile, use it. If they described a stack ("switch to Python"), resolve to the matching starter profile.
  3. Validate both exist via bin/load-profile.sh <name> (positional argument).

Phase 2: Compute and preview diff

  1. Run bin/switch-profile.sh --from <source> --to <target> --target . --dry-run.
  2. Show a human-readable table of changes:
    • Hooks added/removed per phase
    • Branching strategy change
    • Extras toggled
    • Convention changes
    • CI configuration changes
  3. Highlight potentially destructive changes (hook removals, strategy changes).

Phase 3: Confirm and apply

  1. Ask: "Apply this migration? This will regenerate CLAUDE.md and update hooks."
  2. On confirmation, re-run with --yes (and without --dry-run). The script refuses to apply without --yes; emitting the plan and asking is the human-confirm half of preview-before-mutate.
  3. Report what changed.

Read the full file on GitHub · 74 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 · 74 lines · 90 tokens per session scan A e7527914f32d

Subscribe to this mod's changes

migrate-profile is a skill published in the GitHub repository thettwe/nyann (6 stars, last pushed 7d ago), licensed MIT. It adds 90 tokens to every session and 785 once invoked, about $0.0005 per session on Opus 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-09-03.

Related

Other skills, from other repositories

work

Execute Elixir/Phoenix plan tasks with progress tracking. Use after /phx:plan to implement features with mix compile and mix test verification after each step, or --continue to resume interrupted work.

oliver-kriska/claude-elixir-phoenix · 43 tokens

catchup

Summarize and review what changed while you were away. Use after a weekend, vacation, or flight to check missed PRs, git commits, Linear tickets, and meetings — one prioritized brief, not a firehose.

oliver-kriska/claude-elixir-phoenix · 48 tokens

phx-deps-update

Bump outdated Hex deps — inventory, snapshot changelogs, update, fix breaks, split reviewable PRs (patches bundled, majors solo). Use to upgrade/bump Elixir dependencies or when versions fall behind. NOT for deps.get failures (phx-investigate).

oliver-kriska/claude-elixir-phoenix · 62 tokens

chief-operating-officer

Owns execution: how work actually gets done across the organization, including process, program management, capacity, vendors, supply chain, and service delivery. Use this when execution is the problem rather than strategy, to design or fix a process, to resolve cross-functional handoff failures, to plan capacity, to…

cbrock84/headcount · 94 tokens

customer-success-management

Runs the ongoing relationship with accounts after the sale — segmenting coverage against account value, building a health score that predicts rather than describes, running reviews customers find worth attending, forecasting renewals honestly, and finding expansion that follows usage instead of quota. Use this to…

cbrock84/headcount · 85 tokens

chief-information-officer

The CIO's remit — running the technology the company works on, service quality, IT spend, and the boundary with product engineering. Use this to set IT priorities, decide what IT owns versus engineering, structure IT spend or an IT roadmap, judge whether to build, buy or outsource, or work out why IT is seen as a cost…

cbrock84/headcount · 79 tokens