aiko-diff

aiko-diff is a skill for Claude Code from masa-san-jp/Agent-Aiko. It costs 43 tokens per session (405 once invoked), scanned A, original, MIT.

A comparison command that shows the text differences between Aiko's original persona and the active or selected persona. A unified diff is a standard format for displaying additions and removals.

In plain words
What is it for?
Reviewing how the active persona differs from the original, or comparing a named persona override.
Why use it?
It makes changes between persona files visible without manually comparing them.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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/masa-san-jp/agent-aiko/aiko-diff
Any agent
npx skills add masa-san-jp/Agent-Aiko --skill aiko-diff
Clone the repo
git clone --depth 1 https://github.com/masa-san-jp/Agent-Aiko

Made for: Claude Code.

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 aiko-diff

README.md
[![agentmods](https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/aiko-diff.svg)](https://agentmods.dev/skills/masa-san-jp/agent-aiko/aiko-diff)
Your own site
<a href="https://agentmods.dev/skills/masa-san-jp/agent-aiko/aiko-diff"><img src="https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/aiko-diff.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 405 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.00043 $0.00405
Opus 5 $0.00022 $0.00202
Sonnet 5 $0.00009 $0.00081
Haiku 4.5 $0.00004 $0.00040

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

Security

Grade A, and why

aiko-diff 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 6d 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.

claude-code/template/.claude/skills/aiko-diff/SKILL.md · 44 lines

What it actually says

/aiko-diff

アイコ(オリジナル)と現在アクティブな(または指定した)人格の差分を表示します。

引数なし

  1. ~/.aiko/active-persona を読みます(空・不在の場合は空として扱います)

  2. 比較対象を決定します

    • active-persona が空 → aiko-override.md
    • active-persona = <name>overrides/<name>/persona.md
  3. Bash で以下を実行します

    diff -u ~/.aiko/persona/origin/persona.md ~/.aiko/persona/<対象ファイル> || true
    
  4. 出力が空の場合:

    アイコ(オリジナル)と指定した人格は同一です。
    
  5. 出力がある場合:そのままユニファイド diff として表示します

引数あり(/aiko-diff <name>

  1. overrides/<name>/persona.md が存在するか確認します

    • 存在しない場合:
      エラー:人格「<name>」が見つかりません。/aiko-personas で一覧を確認できます。
      
  2. Bash で以下を実行します

    diff -u ~/.aiko/persona/origin/persona.md ~/.aiko/persona/overrides/<name>/persona.md || true
    
  3. 差分を表示します(引数なし時と同様)

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. 6d ago First seen · 44 lines · 43 tokens per session scan A ed99f0208941

Subscribe to this mod's changes

aiko-diff is a skill published in the GitHub repository masa-san-jp/Agent-Aiko (3 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 405 once invoked, about $0.0002 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-31.