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.
npx skills add masa-san-jp/Agent-Aiko --skill aiko-savegit clone --depth 1 https://github.com/masa-san-jp/Agent-AikoWrote 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-save)<a href="https://agentmods.dev/skills/masa-san-jp/agent-aiko/aiko-save"><img src="https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/aiko-save/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-save"><img src="https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/aiko-save.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.00049 | $0.01119 |
| Opus 5.5 | $0.00020 | $0.00448 |
| Sonnet 5.5 | $0.00010 | $0.00224 |
| Haiku 4.5 | $0.00005 | $0.00112 |
Grade A, and why
aiko-save 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-save — 作業ステートのスナップショット
現在の会話・作業状況を .claude/session-state/current.md に保存します。
ターミナルが落ちる・別セッションで再開する場合に、/aiko 起動時の aiko-resume スキルがこのファイルを読んで作業を引き継ぎます。
トリガー
ユーザー起点でのみ発動します(手動層)。
- ユーザーが
/aiko-saveを入力 - ユーザーが「セーブして」「ステート保存」「スナップショット」「チェックポイント」等の自然言語で要求
- ユーザーが「終わり」「以上」「お疲れ」等で終了宣言したとき(
status: completedへの遷移を伴うセーブ)
アイコ自身が区切り判定で自動的に current.md を書き換えることはありません。区切りが付いたと感じたら、ユーザーに /aiko-save の実行を提案してから動きます(保存自体は明示要求後)。
実行手順
1. 現在の状況を整理する
直近の会話と auto.jsonl(.claude/session-state/auto.jsonl)から以下を整理します。
| 項目 | 抽出元 |
|---|---|
current_task |
今やっているタスクを 1 行で(具体的に) |
## いまやってること |
直近 1〜3 行で「今この瞬間」 |
## 完了した分 |
このセッションでの完了分。既存項目は保持して追記 |
## 次の一手 |
再起動後に最初にやること |
## 関連ファイル |
触ったファイル・読んだファイル |
不足が大きい場合は I-2 通り 1 点だけ確認してから書きます。
2. current.md を書く
.claude/session-state/current.md を Edit または Write します。
---
updated: <ISO 8601 / +09:00 タイムゾーン>
status: in_progress
current_task: <短く具体的に>
---
## いまやってること
...
## 完了した分
...
## 次の一手
...
## 関連ファイル
...
3. 完了報告
ユーザーに 2〜3 行で報告します(人格モードに応じた口調で)。報告に含める要素:
ステートを保存しました
- task: <current_task>
- updated: <時刻>
- status: in_progress
ターミナルが落ちても /aiko で再開できます
status の決め方
| 状況 | status |
|---|---|
| まだ作業中 / 中断 / 確認待ち | in_progress |
| ユーザーが終了宣言(「終わり」「以上」「お疲れ」) | completed |
| エラーで進めない | in_progress(ただし ## メモ にブロッカーを書く) |
/aiko-save のデフォルトは in_progress。ユーザーが終了宣言と一緒にセーブを求めた場合のみ completed。
保存頻度の目安
- ラウンド / 章の区切りで
/aiko-saveをユーザーに提案 - 大きな実装が終わった直後に
/aiko-saveを提案 - ユーザーが他の話題に移ろうとしている直前に
/aiko-saveを提案 - ユーザーが明示要求したとき(提案不要、即実行)
このスキルが自発的に current.md を書き換えることはありません。「保存しておきたい場面」では、書き込みではなくユーザーへの提案に留めます。提案が連続しすぎないよう、3〜5 分以内の連発は避けて構いません。
INVARIANTS
- 保護ファイルは触りません(current.md は通常ファイル)
- current.md の書き換えは I-2 通り、内容が明確になってから実行
- 完了宣言を勝手にしない(
status: completedはユーザー宣言があったときのみ)
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 · 109 lines · 49 tokens per session scan A 96ea423f0ddb
aiko-save is a skill published in the GitHub repository masa-san-jp/Agent-Aiko (3 stars, last pushed 25d ago), licensed MIT. It adds 49 tokens to every session and 1,119 once invoked, about $0.0002 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-save compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aiko-savemasa-san-jp/Agent-Aiko | Skill | 3 | 25d ago | MIT | A | 49 | Claude Code |
| rememberlangchain-ai/deepagents | Skill | 32k | today | MIT | A | 71 | Claude Code, Codex |
| supermemorysupermemoryai/supermemory | Skill | 32k | yesterday | MIT | A | 81 | Claude Code, Codex |
| coding-prefslangchain-ai/deepagents | Skill | 32k | today | MIT | A | 36 | Claude Code, Codex |
| session-logsspinabot/brigade | Skill | 11k | 17d ago | MIT | A | 20 | Claude Code, Codex |
| ax-agent-memory-skillsax-llm/ax | Skill | 3.0k | today | Apache-2.0 | A | 128 | Claude Code, Codex |
| build-with-tinybasetinyplex/tinybase | Skill | 5.2k | 11d ago | MIT | A | 90 | Claude Code, Codex |