Archives a Claude Code Insights report into the Obsidian vault after running /insights. Use this skill immediately whenever the user says "copy it to the vault", "save to vault", "archive the insights", "add it to the vault", or any similar phrase after running /insights. The skill copies the HTML report and creates a structured companion markdown note.
After running /insights, the HTML report lands at ~/.claude/usage-data/report.html and
the full insights JSON is present in the conversation context. This skill archives both to:
~/dev/obKidian/300-Areas-of-Responsibility/390-Tooling-and-Productivity/Claude-Code/
The naming convention is a delta window — from the previous report's end date to today:
Claude Code Insights — [Mon-DD] to [Mon-DD] YYYY
To find the start date, list existing .html files in the vault folder, pick the most
recent one, and extract its end date. Use today's date as the end date.
ls "/home/kiriketsuki/dev/obKidian/300-Areas-of-Responsibility/390-Tooling-and-Productivity/Claude-Code/"*.html
Example: if the latest file is Claude Code Insights — Mar-07 to Mar-14 2026.html,
the new file should be Claude Code Insights — Mar-14 to Mar-21 2026.html.
Format dates as Mon-DD (e.g., Mar-21). Year goes at the end.
cp ~/.claude/usage-data/report.html \
"/home/kiriketsuki/dev/obKidian/300-Areas-of-Responsibility/390-Tooling-and-Productivity/Claude-Code/<FILENAME>.html"
Create <FILENAME>.md in the same folder with this exact structure:
---