migrate-profile

A housekeeping check for when you switch between Emacs or Elpaca profiles. It checks whether sessions, history, trusted paths, caches, links, and repositories still point to the right profile.

In plain words
What is it for?
Use it after changing a profile to check session data, memory, trust entries, working-directory paths, symlinks, caches, and repositories.
Why use it?
Profile changes can leave old paths, settings, or session data behind. This helps find those leftovers after a switch.

Skill for Claude CodeCodex

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/benthamite/dotfiles/migrate-profile
Any agent
npx skills add benthamite/dotfiles --skill migrate-profile
Clone the repo
git clone --depth 1 https://github.com/benthamite/dotfiles

Made for: Claude Code, Codex.

Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,538 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00079 $0.06538
Opus 5 $0.00039 $0.03269
Sonnet 5 $0.00016 $0.01308
Haiku 4.5 $0.00008 $0.00654

Measured 2d ago against content hash 9f6b60d871b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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.

emacs/.claude/skills/migrate-profile/SKILL.md · 501 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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 · 501 lines · 79 tokens per session scan A 9f6b60d871b4

Subscribe to this mod's changes

migrate-profile is a skill published in the GitHub repository benthamite/dotfiles (11 stars, last pushed 1mo ago), with no licence file. It adds 79 tokens to every session and 6,538 once invoked, about $0.0004 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-08-30.

Related

Other skills, from other repositories

obsidian-bases

Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.

pkarpovich/environment · 63 tokens

ovq

Query Obsidian vault files by frontmatter properties using Dataview-style syntax, AND discover what property names and values actually exist in the vault. Use when the user asks to find notes, search the vault, or filter notes by metadata (tags, status, dates, categories, projects). ALSO use proactively before writing…

pkarpovich/environment · 0 tokens

onlyswitch-deeplink

Invoke OnlySwitch built-in switches or buttons via deeplink. Use when the user asks to toggle or trigger an OnlySwitch action (e.g. empty trash, keep awake, dark mode, mute, hide desktop, clear clipboard, eject discs, Xcode derived data, and any other built-in switch or button). Resolve the request to the correct…

jacklandrin/OnlySwitch · 85 tokens

contacts

Manage contacts, communication channels, access control, and invite links.

vellum-ai/vellum-assistant · 14 tokens

gmail

Manage Gmail email — drafting, sending, organizing, filters, vacation replies, and inbox analysis.

vellum-ai/vellum-assistant · 20 tokens

app-builder

Build and edit small, personal visual tools and artifacts — dashboards, trackers, calculators, data visualizations, charts, simple landing pages, and slide decks the user wants for THEMSELVES. This is the right skill whenever the user asks to "visualize this," "make a chart," or "build an artifact" for their own use…

vellum-ai/vellum-assistant · 162 tokens