Skip to content
Back to skills

claude-recap

ASecurity

Build a Spotify Wrapped / YouTube Recap style "Claude Recap" of someone's year with Claude, as tap-through story cards. Covers Chat, Code or both: counts real Claude Code activity from its local logs and pulls highlights from chat history and memory. From Claude chat it first asks which scope the person wants; from Claude Code it does a Code-only recap. Use when asked for a Claude Recap, Claude Wrapped, a year in review with Claude, or stats on how they used Claude this year.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentspythongoshellbashspringgitapidatabase

Works with

  • claude code
  • cli
  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 6 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add themightywolfie/claude-recap --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of claude-recap?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for claude-recap
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/themightywolfie-claude-recap/badge)](https://www.skillsdirectory.com/skills/themightywolfie-claude-recap)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: claude-recap
description: Build a Spotify Wrapped / YouTube Recap style "Claude Recap" of someone's year with Claude, as tap-through story cards. Covers Chat, Code or both: counts real Claude Code activity from its local logs and pulls highlights from chat history and memory. From Claude chat it first asks which scope the person wants; from Claude Code it does a Code-only recap. Use when asked for a Claude Recap, Claude Wrapped, a year in review with Claude, or stats on how they used Claude this year.
---

# Claude Recap

Make a phone-sized, tap-through story of the person's year with Claude, in the style of Spotify Wrapped. It covers their numbers, top projects, top models, tech stack, daily rhythm, quarterly "eras", greatest hits and a playful "Claude personality". The page is `assets/recap-template.html`: copy it, fill in its `DATA` object, and publish it.

The recap is only as good as its numbers. **Count what can be counted, and label everything else as an estimate.** Never make up a statistic to fill a card. Drop the card instead.

## 0. Choose the scope

A recap covers **Chat** (claude.ai and the Claude apps: chats, projects, memory), **Code** (Claude Code sessions on their machine) or **both**. Settle this before gathering anything. Where you are running decides what's possible:

| Running in | How to tell | Scope |
|---|---|---|
| **Claude chat** (claude.ai, desktop or mobile app) | Chat-history tools such as `recent_chats` and `conversation_search` are available | **Ask** the person (below) |
| **Claude Code** (CLI, IDE, desktop Code tab) | You have a shell and file tools, and no chat-history tools | **Code only.** Don't ask. |

**In Claude chat, ask one question before doing anything else**, unless their request already says which they want ("my chat recap", "just my Claude Code stats"). Use a multiple-choice prompt if your tools have one; otherwise ask in one short message. Offer exactly three options:

1. **Chat only:** your chats, projects and memory. Nothing to set up.
2. **Code only:** your Claude Code sessions. You'll copy your Claude Code logs into a folder and share it with me.
3. **Both:** the full recap. Same one-time log copy as Code.

Say in one line that Code needs Claude Code on this computer and a quick copy step. Don't recommend an option; let them pick. If they don't use Claude Code, they'll pick Chat.

**In Claude Code, don't ask.** Say in one line that this recap covers Claude Code only, because chat history can't be reached from here, and that for a Chat or full recap they can ask for one in the Claude app. Then go to step 2. You can still read Claude Code's own memory files (`memory/` folders under the projects directory) and the project's `CLAUDE.md` for project names and context.

Then follow only the steps the scope needs:

| Scope | Step 1 (Chat) | Step 2 (Code) | `DATA.scope` | `DATA.sources` |
|---|---|---|---|---|
| Chat only | yes | skip | `"chat"` | `"Chat"` |
| Code only | skip, but read memory if you can | yes | `"code"` | `"Claude Code"` |
| Both | yes | yes | `"both"` | `"Chat + Code"` |

If they pick Code or Both from chat and the log copy or folder access doesn't work out, tell them and offer to continue with Chat only. Don't quietly drop the Code half.

## 1. Gather from Chat

Skip this step when the scope is Code only. Do these silently and in parallel where you can:

- **Memory.** List the memory store, including any project folders, and read the files about projects, areas, tools and ways of working. These are the best source for project names, stacks, decisions and fun facts.
- **Chat history.** Page back through `recent_chats` (20 per call, using `before` = the oldest `updated_at` you've seen) until you reach the start of the year or run out. Record each chat's title and `updated_at` timestamp. Use `conversation_search` for specific highlights (corrections, big deliverables, memorable numbers). Searches only reach chats in the current scope (inside or outside a project), so say that the chat counts cover that scope.
- **Project start dates.** Project ids in memory paths are UUIDv7, so their first 12 hex digits are a millisecond timestamp:
  `python3 -c "import datetime,sys;print(datetime.datetime.fromtimestamp(int(sys.argv[1].replace('-','')[:12],16)/1000).date())" <uuid>`
  (on Windows use `python` or `py` in place of `python3`; see "Platforms" below)
- **Time zone.** Work out the person's local time zone (from their profile, their location, or by asking) and use it for every hour and weekday stat.

From chat timestamps you can count chats per month and per weekday, and bucket them by time of day (morning 5–12, afternoon 12–17, evening 17–21, night 21–5). Note that these use each chat's last-active time.

## 2. Count Claude Code

Skip this step when the scope is Chat only.

Claude Code writes one JSONL log per session under its config folder's `projects` directory: `~/.claude/projects` on macOS and Linux, `%USERPROFILE%\.claude\projects` on Windows, or `$CLAUDE_CONFIG_DIR/projects` if that variable is set. `scripts/cc_stats.py` reads those logs and prints only totals: sessions, prompts, lines written per language/project/month, models, tokens, tools, shell commands, streaks, time of day and the biggest days. It never prints prompt text, code or file contents. It needs Python 3.9+ and nothing else, and reads logs from any OS on any OS.

### Platforms

Pick the Python command and time zone form for the machine you are on. The script path is relative to this skill's folder.

| OS | Run |
|---|---|
| macOS / Linux | `python3 scripts/cc_stats.py --year 2026 --tz Asia/Kolkata` |
| Windows (PowerShell, cmd or Git Bash) | `python scripts/cc_stats.py --year 2026 --tz +05:30` (or `py` instead of `python`) |

- With no folder argument, the script finds the default log folder itself. Pass a folder to read a copy instead.
- `--tz` takes an IANA zone (`Asia/Kolkata`), a fixed offset (`+05:30`, `UTC-8`) or `local` (the default, this machine's current offset). Windows has no built-in IANA database, so a named zone needs `python -m pip install tzdata`; if that isn't installed, use an offset. Offsets ignore daylight saving, so for DST zones prefer the IANA name where it works.
- If the command isn't found, try the others (`python3`, `python`, `py -3`) before asking the person to install Python.

### Where you are running

- **Inside Claude Code on their machine:** run the script directly as in the table.
- **From Claude chat:** the `.claude` folder is protected and cannot be connected, even with permission. Ask the person to copy the logs into a normal folder, giving them the command for their OS:
  - macOS / Linux: `mkdir -p ~/Desktop/claude-code-history && cp -R ~/.claude/projects ~/Desktop/claude-code-history/`
  - Windows (PowerShell): `New-Item -ItemType Directory -Force "$HOME\Desktop\claude-code-history" | Out-Null; Copy-Item -Recurse "$HOME\.claude\projects" "$HOME\Desktop\claude-code-history\"`
  Then ask for access to that folder (device folder access). Write the script into the device shell's working area, outside the connected folder, with a heredoc, and run it in the foreground against the copied `projects` folder (for example `$HOME/mnt/claude-code-history/projects`). Processes left in the background die when the call ends. A 1.6 GB history takes a few seconds.
- **Before they copy, tell them two things:**
  - Claude Code deletes logs older than `cleanupPeriodDays`, which defaults to 30, so their history may only cover recent weeks.
  - The logs can contain code and pasted secrets. You only pull out totals.
- **Optional, GitHub:** if `gh` is authenticated, count the year's commits that have a Claude co-author (same command on every OS):
  `gh api "search/commits?q=author:<login>+co-authored-by:claude+author-date:2026-01-01..2026-12-31" --jq .total_count`
  If GitHub isn't linked, say so and move on.

How to read the script's numbers:

- `lines_written` counts every line Claude put into a file through Write, Edit or NotebookEdit. It includes docs.
- `code_lines_written` leaves out Markdown, JSON, text and CSV.
- `prompts` counts the person's own typed messages. Slash commands, tool results and interruptions are not counted.
- `replies_by_model` counts API replies, which makes a good "top artists" card.
- `top_shell_commands` counts the first real program in each Bash or PowerShell call, skipping `cd` and similar.
- `cwd` folder names can be subfolders such as `api` or `web`. Merge related repos into one project, for example `foo` and `foo-mini`.

## 3. Write the story

Fill `DATA` in a copy of the template. Each key is one card. Set a key to `null` to skip its card. Aim for these cards:

1. **Intro:** their name and the year.
2. **Numbers:** lines written, prompts, sessions/chats/projects, tokens. Show counted values exactly, and put estimates behind "≈" with "(est.)" in the label or subtitle. Keep the note line that says where the numbers came from.
3. **Code year:** lines by month as bars, plus 4–6 tiles (shell commands with top commands, browser actions, subagents, worktrees, files touched, streak). The headline names the peak month.
4. **Top models:** "Your top artists were models", with reply counts.
5. **Top projects:** five projects ranked across Chat and Code, each with a one-line stat.
6. **Spotlight:** the #1 project with one big number and 3–4 rows.
7. **Stack:** languages by lines written, plus platforms across Chat and Code.
8. **Daily rhythm:** four tickets (morning, afternoon, evening, late night) with shares, a short "mode" line for each based on what they actually did at those times, and their busiest weekday.
9. **Eras:** one per quarter, each with a title in the "The … Era" style and the real projects from that quarter. A quarter with no data is "Off the record". Say so plainly.
10. **Interests:** 3–5 themes.
11. **Greatest hits:** 5–7 memorable real numbers, each with a one-line context.
12. **Personality:** a playful archetype backed by real evidence, such as times they corrected Claude, their most-run commands, or their habits. Use only things that actually happened in their history, and keep it kind.
13. **Summary:** six cells that repeat the headline results.

### Fit the cards to the scope

Set `DATA.scope` and `DATA.sources` from the table in step 0. Then:

- **Chat only:** set `code` to `null`. Numbers uses chats, active days, projects and estimated prompts (no lines or tokens), and its note says the counts come from chat history in the current scope. Set `models` to `null` unless you have real per-model counts. Stack gets `langs: null` and lists the platforms and tools the chats were about. Projects, Spotlight, Eras and Rhythm come from chat titles, timestamps and memory. Rhythm's note says it uses each chat's last-active time.
- **Code only:** everything comes from the script and Claude Code memory. Rank Projects "across Claude Code". The Numbers note says chat history isn't included.
- **Both:** rank Projects and fill Stack across Chat and Code, and keep each number's source clear (for example "620 in Claude Code (counted) + ≈780 in chats (est.)").

Whatever the scope, drop any card the data can't honestly fill rather than padding it from the other source.

Voice: short, warm and a little cheeky, written in the second person ("You kept me busy"). Use sentence case and no emoji. Wrap commands in backticks to show them as code.

## 4. Publish

- Set the page's `<title>` to "Claude Recap <year>" (artifacts take their name from that tag), then publish the filled page as an artifact. If no artifact tool is available, send the HTML file.
- If the artifact is already shared, republish with the matching `shared_live` value.
- The template has been checked for contrast and works on phones. If you change colours, keep text at 4.5:1 contrast or better.
- The page animates itself: each card springs in when it comes into view (bars grow, bubbles pop, numbers count up, headlines reveal word by word) and replays when revisited. You don't write any animation. Numbers only count up when the text *starts* with the number (`"36,615"`, `"≈1,400"`, `"97%"`), so keep counted values in that form; labels like `"Opus 5.5"` are left alone. Set `motion: false` in `DATA` only if the person asks for a still page; people with reduced motion turned on always get the still version.
- Finish with a few lines that give the headline numbers, say which scope the recap covers and which numbers are estimates, and name anything you couldn't reach, such as GitHub or older logs.

## 5. Export for Instagram Stories (optional)

After publishing, offer once, in one line, to export the recap for Instagram Stories. Do it only if they say yes. `scripts/export_story.py` turns the filled page into 1080×1920 files:

- `NN-card-name.png`: one still per card
- `NN-card-name.mp4`: one clip per card, its entrance animation and a short hold
- `claude-recap-story.mp4`: the whole recap, cards swiping one into the next (about 45 s for 13 cards)

**Before exporting, check privacy.** These files are made to be posted publicly. Ask whether to keep project names and exact numbers, and edit a copy of the page's `DATA` if they want anything hidden or rounded.

**Run it** where you can run commands on their machine, which usually means Claude Code. Save the filled page as a file first, then:

| OS | Run |
|---|---|
| macOS / Linux | `python3 scripts/export_story.py recap-2026.html --out recap-2026-story` |
| Windows | `python scripts/export_story.py recap-2026.html --out recap-2026-story` |

- It uses Chrome, Edge, Chromium or Brave already on the machine (pass `--browser PATH` if it can't find one), plus `ffmpeg` for the videos. No Python packages to install. Without ffmpeg it still makes the stills and says how to install it: `winget install Gyan.FFmpeg` on Windows, `brew install ffmpeg` on macOS, `sudo apt install ffmpeg` on Linux.
- A full export takes 2–3 minutes. Run it in the foreground, or in the background if your tools allow it.
- `--cards 1,3-5` exports only some cards, and `--hold 1` shortens the pause on each.
- In Claude chat, the sandbox usually has no browser. If the script says so, give the person the command to run on their own computer.

Read the JSON it prints:
- `warnings`: pass each one on. If a card was shrunk below 80% to fit (`card_zoom`), shorten that card's text and export again.
- `story_seconds` over 60: Instagram splits longer stories. Suggest `--cards` or a shorter `--hold` if they want it in one piece.

Tell them where the files are. They can post `claude-recap-story.mp4` as one story or the clips as a sequence, and add music in Instagram. The videos are silent on purpose.

## Privacy

The recap may be shared, so keep it free of secrets, client-confidential details, credentials, file paths and other people's personal details. Don't infer health or other sensitive traits. Project names are fine unless the person says otherwise. Ask before including anything that looks internal.

Files in this skill

  • SKILL.md14.7 KB
  • assets/recap-template.html35.5 KB
  • scripts/cc_stats.py14 KB
  • scripts/export_story.py18.6 KB
  • tests/test_cc_stats.py4.8 KB
  • tests/test_export_story.py1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.