skills/log-conversation/SKILL.md
Record the current Claude Code conversation as a markdown file under $HOME/cclogs/{slug}/ for later reuse (memos, blog drafts, esa). Use when: (1) User says 'log conversation', 'record conversation', 'log-conversation', 'start logging', 'stop logging', (2) User invokes /log-conversation directly with args like -a, --all, -e, --end, or a number, (3) User wants to snapshot the chat to articlify or quote later.
npx skillsauth add takazudo/claude-resources log-conversationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Save the current session transcript as a pair of markdown files in $HOME/cclogs/{slug}/
(same directory other skills use — see logrefer). The skill is session-scoped: state lives in
$HOME/cclogs/{slug}/.log-conversation-state.<sessionId>.json, so multiple concurrent sessions
do not collide.
Two files are written on each save (sharing the same timestamp base):
{stamp}-conversation.md — conversation only: user + assistant text turns, no tool calls,
no tool results, no thinking blocks. Optimized for human reading and reuse in articles/memos.
{stamp}-conversation.raw.md — full raw transcript: everything in the conversation file
plus thinking blocks, tool_use blocks with arguments, and tool_result blocks.
Parse $ARGUMENTS into these flags (all optional, none required):
| Token | Meaning |
|---|---|
| -a / --all | Start a new log from the first user turn in the session |
| An integer N (e.g. 3) | Start a new log from the Nth-most-recent user turn (1 = current) |
| -e / --end | Finalize: refresh the active log once more, then clear state |
If both -a/N and -e are given: start fresh AND finalize in a single shot (one-off save,
no persistent state).
If no args are given:
Pick the subcommand based on flags + whether state exists. Check state first:
node $HOME/.claude/skills/log-conversation/scripts/log-conversation.mjs status \
--session "${CLAUDE_SESSION_ID}"
Exit code 0 = active, 1 = no active log. Then dispatch:
| Situation | Command |
|---|---|
| No args, no active state | start (default: from current user turn) |
| No args, active state exists | refresh |
| -e only, active state exists | end |
| -e only, no active state | start --end (snapshot from current turn, one-shot) |
| -a / --all | start --all (add --end if -e also given) |
| N (integer) | start --n N (add --end if -e also given) |
Invocation:
node $HOME/.claude/skills/log-conversation/scripts/log-conversation.mjs <cmd> \
--session "${CLAUDE_SESSION_ID}" \
[--n N] [--all] [--end]
The script prints a JSON line like:
{ "action": "start",
"logFile": "/Users/.../cclogs/slug/20260422_110000-conversation.md",
"rawLogFile": "/Users/.../cclogs/slug/20260422_110000-conversation.raw.md",
"startUuid": "…", "entries": 73, "ended": false }
logFile is the conversation-only .md; rawLogFile is the full transcript .raw.md.
Both files are rewritten on every start / refresh / end.
Report a short status with the absolute logFile path (and optionally rawLogFile). Mention
whether the log is now active (will be refreshed on next invocation) or finalized (state cleared).
Do not dump the file content to chat — the file is the point.
If the user asks to see the log, use Read on the returned logFile (conversation only) or
rawLogFile (full transcript) path.
scripts/log-conversation.mjs supports these subcommands (session ID via --session or
$CLAUDE_SESSION_ID):
start [--n N | --all] [--name NAME] [--end] — create state, write log; --end deletes state after write (one-shot).refresh — rewrite the existing log from state.end — refresh + delete state.status — print active state as JSON (exit 1 if none).The conversation log filename is {YYYYMMDD}_{HHMMSS}-conversation[-name].md, with the raw
counterpart {YYYYMMDD}_{HHMMSS}-conversation[-name].raw.md written alongside it. Once set
on start, the same paths are reused on every refresh / end for that session.
end) picks it up. This is fine for typical use._(meta)_ in the log./clear does not wipe state files — invoke -e to tidy up, or let old state files linger harmlessly in $HOME/cclogs/{slug}/.tools
Acceptance gate for a branch produced by an OpenAI Codex CLI run — usually Codex implementing a /big-plan epic that was handed off to it. Codex reports the work 'done' (or the user flags it WIP with corrections); this skill confirms the branch actually fulfils the original spec, fixes what falls short, and routes larger discoveries into GitHub issues. Use when: (1) User says '/finalize-codex-work', 'finalize codex work', 'confirm the codex work', 'check the codex branch', or 'codex said it's done', (2) A branch is the result of a Codex CLI session and needs verification against its spec issue/PR, (3) After assigning a /big-plan epic to Codex CLI. Pass -m/--merge to run /pr-complete -c at the end.
tools
Read a Figma design node directly from a share URL via the Figma REST API — no Dev Mode subscription, no MCP, no desktop app. Renders the node to PNG and dumps its full style/layout JSON so the design can be described, compared, or implemented. Use whenever the user gives a Figma design URL (figma.com/design/... or /file/...) and wants to see, read, inspect, reference, or implement that node — including `/fig-url-refer <url>`. This is the URL-based counterpart to `/figrefer` (which needs a Dev-plan desktop MCP); prefer this one when the input is a URL rather than a live desktop selection.
tools
Sync the user's Claude Code workflow skills into the OpenAI Codex CLI settings repo ($HOME/.codex) as Codex-native ports, fix the Codex .gitignore for new local state, then commit and push. Use when: (1) user says '/dev-codex-sync-settings-from-claude', 'sync codex settings', 'sync claude skills to codex', 'port skills to codex', or 'update codex from claude'; (2) after updating ~/.claude workflow skills (big-plan, x, x-as-pr, x-wt-teams) and Codex should catch up; (3) the $HOME/.codex repo has drifted behind $HOME/.claude. The ports are condensed Codex-native REWRITES, never file copies.
development
Analyze a video file (mov, mp4, webm, etc.) or a YouTube video by extracting still frames with ffmpeg and reading them chronologically with vision — Claude cannot ingest video files directly. Use whenever the user provides a video file path or YouTube URL and wants to know what happens in it: "read this video", "watch this video", "check this recording", "what happens in this .mov/.mp4", analyzing a screen recording of a UI bug, or verifying UI behavior captured in a video, even if they don't name this skill.