1仕組みと動作原理
意図的に責務を絞ったルーターです。「どのスキルを実行するか」のみを決定し、プロバイダーの解析、単一プロバイダー用コマンドの保持、executor の既存機能の再実装は一切行いません。特定ベンダーのフラグについて言及し始めたら、スキルの選択を誤っている証拠です。
This skill decides **which** skill runs. It does not parse history itself, does not own commands for a single provider, and never re-implements what an executor already does.
ルーティング前にまず「プラットフォーム(Claude Code / Codex / Kimi)」と「アクション(エビデンス読み取り / 作業再開)」の2点を確定します。プラットフォームが明示されていない場合の推測は禁止です。read-claude-code-history の完全一致検索 → read-codex-history の rollout 特定の順で、返された verified identity に基づいて決定します。プレフィックスの類似性は根拠になりません。
Only a lookup that returns a verified identity decides which continuation skill runs; a plausible-looking ID prefix does not.
Provider scope は本スキルが独占する責務です。プロバイダー横断の要求は2つの軸に分かれ、異なるフラグを使用します。インベントリ(「最近何をしていたか」)には --source all/--source kimi を使用し、コンテンツ検索(「X について話したか」)には Claude の検索に --codex と --kimi を追加します。その他のフラグ(--all-projects/日付/--include-archived…)はすべて executor に委ねます。
Both readers ship the same inventory command and its `--source` already defaults to `all` — but each reader's own task table pins it to that reader's provider (`--source claude`, `--source codex`), so the default never fires on its own.
「history」という単語ではなく「意図」によってルーティングを決定します。一覧が必要 → inventory、特定内容を含むセッションの検索 → search、時系列の生入力が必要 → verbatim-input パス、特定されたセッションの再開 → continuation(先に read を実行)。
The requested output wins over the background motivation.
ルート間を超えて維持される不変項:完全性(Claude のインベントリソース群は不可分であり、自動検出されたホーム群 + ~/.claude/history-sources.json に登録されたアーカイブで構成されます。アーカイブ欠落は設定エラーであり、不完全な回答を許容する理由にはなりません)、自己一致の除外(現在のセッション自身に関するクエリにヒットするため、過去のエビデンスとして扱う前に除外すること)、検索結果ゼロ ≠ 存在しないこと。
- **Self-match.** The current session records the user's question and this agent's own commands, so it matches almost any query about itself. Exclude the current session ID before treating a hit as historical evidence.
境界規律は「Do not」リストとして定義されています。本スキル内でプロバイダー解析/SQLite/rg/jq/JSONL パイプラインを実行しないこと、executor のフラグを重複定義しないこと(--source/--codex/--kimi の3つのスコープフラグを除く)、過去の質問に答える目的で再開スキルへルーティングしないこと(読み取りはエビデンスであり、再開は状態を変更してしまうため)。
- Do not run provider-specific parsing, SQLite, `rg`, `jq`, or JSONL pipelines here.
2コア機能
3外部依存関係
| Kind | Dependency / Endpoint |
|---|---|
| skill | read-claude-code-history(含 Kimi scope、inventory、search) |
| skill | read-codex-history(rollout 定位/inventory/search) |
| skill | continue-claude-code-work / continue-codex-work(续接执行器) |
4推奨統制措置と判定根拠
- 本地工作目录: ファイルの読み書きおよび成果物の出力: (なし — ルーター自体は書き込みを行いません。executor スキルおよび再開スキルが自身の認可スコープに従って動作します)
5二重目の独立検証
- [ok] 无脚本/无网络/无凭证/无写入 — 目录仅 SKILL.md,内容无任何命令执行或文件动作
- [ok] 被路由技能全部真实存在 — read-claude-code-history / read-codex-history / continue-claude-code-work / continue-codex-work 均在 daymade-claude-code/ 下(git ls-files 核实)
- [ok] scope 旗标边界一致 — 文中仅 --source/--codex/--kimi 被本技能持有,其余 flag 明确‘Let the executor own every flag’
- [ok] Kimi 无专属技能的路由说法属实 — 仓库无 read-kimi-history/continue-kimi-work;Kimi 行确实路由到 read-claude-code-history + Kimi scope
- [ok] 意图映射无矛盾 — 列表→inventory、找内容→search、verbatim→reader 的 verbatim 路径、续接→read 后 continue——表格与正文一致
6結論
5ed0cb7338547d20…