Borrowing it
Nothing to install: this file belongs to satoh-y-0323/claude-code-conductor. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/satoh-y-0323/claude-code-conductor/main/.claude/skills/init-session/SKILL.mdgit clone --depth 1 https://github.com/satoh-y-0323/claude-code-conductorWrote 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/satoh-y-0323/claude-code-conductor/init-session)<a href="https://agentmods.dev/skills/satoh-y-0323/claude-code-conductor/init-session"><img src="https://agentmods.dev/badge/skills/satoh-y-0323/claude-code-conductor/init-session/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/satoh-y-0323/claude-code-conductor/init-session"><img src="https://agentmods.dev/badge/skills/satoh-y-0323/claude-code-conductor/init-session.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.03977 |
| Opus 5.5 | $0.00020 | $0.01591 |
| Sonnet 5.5 | $0.00010 | $0.00795 |
| Haiku 4.5 | $0.00005 | $0.00398 |
Grade A, and why
init-session 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 225 lines — stays where its author put it; the contents beside it link to each section on GitHub.
init-session
セッションを初期化し、前回の作業状態を復元する。 セッション開始時に手動で実行する。
前提: SessionStart hook で
.claude/hooks/session_start.pyが自動実行され、 file-history クリア・sandbox 有効化・c3.db 初期化は完了している。 本 skill では前回セッションの読み込み以降のみを担当する。
最優先: 初回セットアップガードと実行マーカー(Step 1 より前に必ず実行)
G-1: init-session 実行マーカーを書く(ループガード)
/start からの再帰呼び出しを防ぐため、最初に現在のセッション ID を実行マーカーへ記録する:
c3 run .claude/skills/init-session/scripts/session_guard.py mark
G-2: setup 未実行なら /setup を自動実行
プロジェクトのコーディング規約が未設定なら、/setup を先に実行する。G-1 の mark が併せて出力する SETUP_DONE / SETUP_NEEDED で判定:
順序について: setup ガード(G-2)は Step 1(前回セッション復元)より前に置く。
SETUP_NEEDEDとなるのは規約未設定=実質的に初回導入のケースであり、その場合 Step 1 で復元すべき前回セッションは通常存在しない(復元はほぼ no-op)ため、setup を先行させてもコンテキストへの実害はない。
SETUP_DONE→ そのまま Step 1 へ進む。SETUP_NEEDED→ Skill ツールでsetupを自動的に呼ぶ。ここでの「自動」はユーザーが/setupを打つ必要なく連鎖起動されるという意味で、setup自体は言語・規約のヒアリング(AskUserQuestion 群)を行うためユーザー応答は必要(規約設定をスキップ・無人実行する意味ではない)。setup完了後(.claude/rules/coding-standards.mdとsetup_done.flagが生成される)に Step 1 へ進む。- ユーザーが
setupのヒアリングを中断した場合、.claude/rules/coding-standards.md・setup_done.flagのいずれも未生成なら次回の/init-session・/startで再度setupが起動される(再試行可能)。
- ユーザーが
markが exit 0 以外で終了した(stdout が空で SETUP_DONE/SETUP_NEEDED いずれでもない)場合は、ディスクフル・権限エラー等の可能性がある。その場合はSETUP_NEEDEDと同様に扱い(=/setupを起動するかエラーを確認してからセッションを続ける)、安全側に倒す。
G-3: from-start 引数の扱い
本スキルが from-start 引数付きで呼ばれた場合(/start のセッション初期化ガード経由)は、本ガード(G-1/G-2)と Step 1〜3(前回状態の復元・サマリ表示)まで実行したら、以下の対話プロンプトを全てスキップして本スキルを終了する(Skill 実行が完了すれば呼び出し元の /start が Step 0 以降を続行する):
- Step 3 のサマリ提示後の「完了している可能性のあるタスク」確認 AskUserQuestion(Step 1.5 由来)
- Step 4(作業の開始方法を選ぶ)
- Step 5(選択に応じて分岐する)
from-start 起動では上記の対話を省くため、自律は継続せず HITL で進む(現在地: に自律の付記があれば外す)。
引数が無い通常起動では上記を全て実行する。
from-start ではユーザーは既に
/startを選んでおり、開始方法・陳腐化タスクの確認で二重に問われると煩雑なため、復元サマリの提示のみに留める(陳腐化タスクの[x]化が必要なら次回の通常/init-session起動時に確認される)。
Step 1: 前回セッションを読み込む
Glob で .claude/memory/sessions/*.tmp を検索し、ファイル名(YYYYMMDD)が最大のものを Read する。
ファイルが存在しない場合は「前回セッションなし」として Step 3 へ進む。
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- yesterday Changed · -18 lines scan B → A 577de7d5738e
- 1mo ago Changed 23e274c4fab1
- 1mo ago First seen · 243 lines · 49 tokens per session scan B aebd1438d3dc
init-session is a skill published in the GitHub repository satoh-y-0323/claude-code-conductor (1 stars, last pushed yesterday), licensed MIT. It adds 49 tokens to every session and 3,977 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-09-04.
Other skills, from other repositories
orchestrator
Providerneutrales Protokoll zum Zerlegen komplexer Aufgaben, zum Beauftragen unabhängiger Worker und zur evidenzbasierten Abnahme ihrer Ergebnisse.
aip-tracker
Track Airflow Improvement Proposal (AIP) implementation progress by comparing Confluence specs against codebase evidence. Use when asked to assess, report on, or compare AIP status.
skill-compiler
Automatic solved-to-skill compiler — detects novel task completions and autonomously drafts new SKILL.md files. Stolen from Hermes Agent's learning loop (NousResearch, 2026-05-11).
context-compactor
9-section context compression with analysis scratchpad. Adapted from Claude Code's /compact system (2026-03-31).
daemon-loop
Autonomous recurring agent tasks — converts workflows into persistent background daemons that run on intervals. Stolen from Boris Cherny's Claude Code /loop pattern (2026-03-31).
trade-journal-analyzer
Unified post-trade analytics: journal pattern extraction + drawdown classification. Absorbs: drawdown-classifier.