From syou6162-claude-code-commands
Records internal investigation logs to `.agent_work/investigations/` with evidence URLs, commands, queries, results, and unknowns. Keeps research separate from polished documents.
How this skill is triggered — by the user, by Claude, or both
Slash command
/syou6162-claude-code-commands:writing-investigation-logThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
調査や裏取りの結果を、後続のエージェントが再利用できる内部ログとして残すスキルです。ユーザー向けの清書用Markdownや資料本文に、調査ログ、試行錯誤、コマンド履歴を混ぜないために使います。
調査や裏取りの結果を、後続のエージェントが再利用できる内部ログとして残すスキルです。ユーザー向けの清書用Markdownや資料本文に、調査ログ、試行錯誤、コマンド履歴を混ぜないために使います。
.agent_work/investigations/ に記録すること調査ログは以下に保存します。
.agent_work/
investigations/
<topic>.md
<topic> は短い英数字とハイフンのファイル名にします。例:
conformed-fact-usage.mdperiodic-snapshot-examples.mdplanned-work-minutes-definition.md既存の .claude_work は過去作業の参照対象にはなり得ますが、新規の標準保存先には使いません。
以下を行うときは、このスキルを使って調査ログを作成または更新します。
rg、git、gh、bq、SQL、MCP tool などで裏取りする短い事実確認でも、後から根拠として使うなら記録します。単なるファイル一覧確認や一時的な作業で、後続の判断材料にならないものは省略して構いません。
既存ログを確認する
.agent_work/investigations/ に同じトピックのログがないか確認するテンプレートを使う
references/investigation-log-template.md の構成に従うreferences/investigation-log-example.md を参照する調査の問いを先に書く
根拠を記録する
コマンドやクエリを記録する
結論と限界を書く
ユーザーへ能動的に報告しない
1つの調査トピックにつき1ファイルを基本にします。会話ログ、清書本文、調査メモを同じMarkdownに混ぜないでください。
調査ログには、以下を優先して残します。
新規ログは references/investigation-log-template.md を参照して作成します。
記入粒度に迷う場合は references/investigation-log-example.md を参照します。
npx claudepluginhub syou6162/agent-skillsAppends structured investigation notes with user quotes, phase summaries, decisions, and evidence pointers. Useful for tracking performance debugging sessions.
Spawns a background agent to research a question against high-confidence primary sources (official docs, source code, APIs) and writes findings as a Markdown file in the repo.
Investigates questions against primary sources (official docs, source code, specs) and saves findings as a Markdown file. Delegates reading legwork to a background agent.