migrate

migrate is a skill for Claude Code, Codex from asgeirtj/system_prompts_leaks. It costs 184 tokens per session (3,935 once invoked), scanned B, original, CC0-1.0.

A migration helper for moving selected memory notes and tool-server settings from Claude Code or Codex into Muse Code. MCP servers are external tools that coding assistants can connect to.

In plain words
What is it for?
It helps import relevant memory notes and MCP server definitions from Claude Code or Codex, while keeping session transcripts, skills, rules, and unrelated settings out of this process.
Why use it?
It avoids manually rebuilding useful assistant context and tool connections in Muse Code. It keeps the source files unchanged and writes imported data only to Muse Code's own storage.

Skill for Claude CodeCodex

Written for Claude Code and Codex: argument-hint in frontmatter, but also reads $CODEX_HOME. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

Good fit It helps import relevant memory notes and MCP server definitions from Claude Code or Codex, while keeping session transcripts, skills, rules, and unrelated settings out of this process.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/migrate
About the project

System Prompts Leaks is a collection of captured system instructions used to guide AI chatbots and coding agents before they receive user messages. It serves researchers and developers studying how different AI assistants are directed.

asgeirtj/system_prompts_leaks · 73,683 stars · on GitHub

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 asgeirtj/system_prompts_leaks --skill migrate
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/migrate/github.svg)](https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/migrate)
Your own site
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/migrate"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/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.

agentmods 80×15 button for migrate

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/migrate"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/migrate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 184 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,935 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00184 $0.03935
Opus 5.5 $0.00074 $0.01574
Sonnet 5.5 $0.00037 $0.00787
Haiku 4.5 $0.00018 $0.00394

Measured 1mo ago against content hash 731c810c5ff0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

migrate scanned grade B with 2 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 1mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- A settings key `autoMemoryDirectory` in `~/.claude/settings.json` or the

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`python3 -c 'import json,sys; from urllib.parse import urlsplit; d=json.load(open(sys.argv[1])); projects=d.get("projects", {}); local=next((s for s in (projects.get(k, {}).get("mcpServers", {}) for k in sys.argv[2:] if
Meta/muse-code/skills/migrate/SKILL.md · 227 lines

How it starts

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

Migrate

Carry a user's Claude Code or Codex memory and MCP servers into Muse Code. Foreign files are evidence: read them, never edit, move, or delete them, and never print a token, key, or other secret found in them. Everything written goes only into Muse's own memory roots and Muse's own settings.json.

Scope

  • Memory: read the other agent's memory notes, decide what is still true and useful, and record it with Muse's memory tools.
  • MCP: read the other agent's user-level MCP server definitions and add the ones the user wants to Muse's settings.
  • Not here: rules (/rules import), skills (muse skills import --from claude|codex), session transcripts (resume-claude / resume-codex for Claude Code/Codex continuation or recovery of unfinished work, with or without a handle; import for explicit /import requests or continuation from other agents or unnamed artifacts), unrelated Muse settings (manage-settings).
  • Resolve roots from the environment: ${CLAUDE_CONFIG_DIR:-$HOME/.claude} for Claude Code (called $CLAUDE_HOME below), ${CODEX_HOME:-$HOME/.codex} for Codex (an empty CODEX_HOME means unset), and ${XDG_CONFIG_HOME:-$HOME/.config}/muse for Muse's own config.

Where Claude Code keeps memory

  • Directory: $CLAUDE_HOME/projects/<slug>/memory/. <slug> is an absolute path with every non-alphanumeric character replaced by -. Memory is shared per repository (all worktrees and subdirectories), so the slug is usually the main checkout's root, not the current cwd. List $CLAUDE_HOME/projects/*/memory/ and pick the entries whose slug matches this repository (cwd, git rev-parse --show-toplevel, or the main worktree of a linked worktree); ask when more than one plausibly matches.
  • A settings key autoMemoryDirectory in ~/.claude/settings.json or the project's .claude/settings*.json relocates that directory.
  • MEMORY.md is the index: one line per note, - [Title](file.md) — hook. Read it first; it says what exists.
  • Each note is <name>.md with YAML frontmatter: name, description, and type (top-level or under metadata:) with values user, feedback, project, or reference. These are the same four types Muse uses.

Read the full file on GitHub · 227 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. 1mo ago First seen · 227 lines · 184 tokens per session scan B 731c810c5ff0

Subscribe to this mod's changes

migrate is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (73,683 stars, last pushed yesterday), licensed CC0-1.0. It adds 184 tokens to every session and 3,935 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-05.

Related

migrate compared with skills from other repositories

migrate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
migrateasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0B184Claude Code, Codex
arxivNousResearch/hermes-agentSkill267ktodayMITC18Claude Code, Codex
brand-voiceopen-octo/octo-agentSkill160yesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code