Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/masa-san-jp/Agent-Aikonpx agentmods add skills/masa-san-jp/agent-aiko/aiko-migrate-to-sharedWrote 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/skills/masa-san-jp/agent-aiko/aiko-migrate-to-shared)<a href="https://agentmods.dev/skills/masa-san-jp/agent-aiko/aiko-migrate-to-shared"><img src="https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/aiko-migrate-to-shared/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/skills/masa-san-jp/agent-aiko/aiko-migrate-to-shared"><img src="https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/aiko-migrate-to-shared.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.00084 | $0.00968 |
| Opus 5.5 | $0.00034 | $0.00387 |
| Sonnet 5.5 | $0.00017 | $0.00194 |
| Haiku 4.5 | $0.00008 | $0.00097 |
Grade A, and why
aiko-migrate-to-shared 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.
What it actually says
/aiko-migrate-to-shared
旧導入環境向けに、このプロジェクトの ${PWD}/.claude/aiko/ を共通ストア ~/.aiko/ に移行し、移行後は ${PWD}/.claude/aiko/ を ~/.aiko/ への symlink に置き換えます。現在の installer は最初から ~/.aiko/ を使うため、新規導入では通常不要です。
設計仕様書 §9.2 に対応する実装で、本体は .claude/scripts/migrate-to-shared.sh(installer 経由でユーザー環境に配布されます)。
引数なし — 確認モード(推奨ファーストステップ)
最初は必ず dry-run で何が起きるかを確認します。実行はせず、ユーザーに以下のコマンドを案内してください:
bash .claude/scripts/migrate-to-shared.sh --dry-run
実際にスクリプトを実行する前に、ユーザーに以下を必ず確認してください:
~/.aiko/が既に存在するか(存在する場合は--overwriteが必要なことを案内)- 進行中のセッションを閉じたか(symlink 置換中にファイルを開いていると壊れる可能性)
- バックアップ(
${PWD}/.claude/aiko.backup-<timestamp>/と必要なら~/.aiko.backup-<timestamp>/)が作られることを理解しているか
引数 --dry-run
bash .claude/scripts/migrate-to-shared.sh --dry-run
を案内します。スクリプトが「[dry-run]」プレフィックス付きで実行内容を表示します。
引数 --overwrite
~/.aiko/ が既に存在する場合に上書きする際のオプション。既存の ~/.aiko/ は ~/.aiko.backup-<timestamp>/ にバックアップされてから上書きされます。
bash .claude/scripts/migrate-to-shared.sh --overwrite
それ以外の引数
スクリプトが --help を出すので、
bash .claude/scripts/migrate-to-shared.sh --help
の実行を案内してください。
実行後の振る舞い
~/.aiko/に人格データがコピーされる${PWD}/.claude/aiko.backup-<timestamp>/に旧データが backup として保持される(不要になったら手動削除)${PWD}/.claude/aiko/は~/.aiko/への symlink になる- 以降は Claude Code 版・Codex 版のどちらから編集しても同じ人格データに反映される
注意
- このスキル自体は破壊的操作を実行しません。常にユーザーにスクリプト実行を案内する形を取ります。Claude Code 内から bash を直接実行する場合も、必ず dry-run から始めて結果をユーザーに見せ、明示の確認を得てから本実行に進んでください
- スクリプトは冪等性ガードを持ち、
${PWD}/.claude/aiko/が既に symlink になっている場合は exit 1 で abort します - 移行後に元に戻したい場合は、symlink を削除して
${PWD}/.claude/aiko.backup-<timestamp>/を${PWD}/.claude/aiko/にリネームしてください
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 · 64 lines · 84 tokens per session scan A f6b94f94d507
aiko-migrate-to-shared is a skill published in the GitHub repository masa-san-jp/Agent-Aiko (3 stars, last pushed 25d ago), licensed MIT. It adds 84 tokens to every session and 968 once invoked, about $0.0003 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-31.
aiko-migrate-to-shared compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aiko-migrate-to-sharedmasa-san-jp/Agent-Aiko | Skill | 3 | 25d ago | MIT | A | 84 | Claude Code |
| code-reviewfastagent-sh/fastagent | Skill | 68 | today | MIT | A | 22 | Claude Code, Codex |
| incident-runbookfastagent-sh/fastagent | Skill | 68 | today | MIT | A | 22 | Claude Code, Codex |
| synthesis-reportfastagent-sh/fastagent | Skill | 68 | today | MIT | A | 17 | Claude Code, Codex |
| compact-enum-mappingsalivirgo/Major-AI-Skills | Skill | 6 | yesterday | MIT | A | 25 | Claude Code |
| typescript-engineeringldilov/harness-forge | Skill | 6 | 6mo ago | GPL-3.0 | A | 14 | Claude Code, Codex |
| create-prprisma/orm | Skill | 48k | today | Apache-2.0 | A | 47 | Claude Code, Codex |