Skip to content
Back to skills

Claude Wrapped

ASecurity

Build the user's "Claude Wrapped" for the year: a local mobile web app in the style of a music-streaming year-in-review (about 30 vertical stories with WebGL backgrounds, generative music, project cards and a shareable summary card) from their Claude Code history, claude.ai account, git and artifacts. Use it when the user asks for their Claude Wrapped, their year with Claude, their Claude stats or year-in-review, or runs this repo for the first time.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentsgonodegitapi

Works with

  • claude code
  • claude desktop
  • cli
  • api
  • mcp

Security analysis

A100/100

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

Scanned December 5, 2026

npx -y skills add tipsai/claude-wrapped-2026 --skill claude-wrapped --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Claude Wrapped?

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

Security grade badge for Claude Wrapped
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tipsai-claude-wrapped-claude-wrapped-2026/badge)](https://www.skillsdirectory.com/skills/tipsai-claude-wrapped-claude-wrapped-2026)

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-wrapped
description: Build the user's "Claude Wrapped" for the year: a local mobile web app in the style of a music-streaming year-in-review (about 30 vertical stories with WebGL backgrounds, generative music, project cards and a shareable summary card) from their Claude Code history, claude.ai account, git and artifacts. Use it when the user asks for their Claude Wrapped, their year with Claude, their Claude stats or year-in-review, or runs this repo for the first time.
---

# Claude Wrapped

The app and the collector are already written and tested. Your job is to collect this
user's data, tune what depends on their life (project names, topic rules, city, verb
gender), check every screen, and hand over a polished result. You should not need to
rewrite the app.

Everything runs on the user's computer. Personal data stays in `data/`,
`wrapped.config.json` and `app/assets/img/generated/`, which git ignores. Never upload,
commit or paste it anywhere outside this machine.

Work on your own. Ask the user only for what needs them: the claude.ai export if you
can't run a script in their logged-in browser, the verb gender, and decisions about
hiding or renaming projects. Ask these together in one message. The verb gender matters
only for a Russian Wrapped (`lang`, step 2). Commands are the same
on macOS, Linux and Windows; examples use `npm run`.

## 1. Preflight

1. `node -v` must be 22 or newer. Nothing needs installing: no npm packages, no build.
2. See which sources exist (any subset works; missing ones only drop screens):
   - Claude Code: `~/.claude/history.jsonl` (prompts of the year), `~/.claude/projects/`
     (session transcripts, the last ~30 days), `~/.claude.json`, `~/.claude/stats-cache.json`;
   - Claude Desktop: `plan-usage-history.json` in the app's folder (macOS
     `~/Library/Application Support/Claude`, Windows `%APPDATA%\Claude`, Linux `~/.config/Claude`);
   - claude.ai: needs the browser export (step 3);
   - git: repositories under `~/Desktop`, `~/Developer`, `~/Projects`, `~/code`, `~/src`,
     `~/dev`, `~/repos`, `~/work`, `~/git`, `~/GitHub` (depth 4). Commits count as "with
     Claude" when they carry a `Co-Authored-By: Claude` trailer.
3. Read `references/data-sources.md` if anything is unusual (Windows paths, a team plan,
   no Claude Code at all).

## 2. Personal settings

Create `wrapped.config.json` with only the fields you need, starting from `{}`. Every
value in `wrapped.config.example.json` is a placeholder (a fake name, city and plan): a
straight copy would override the user's real data. All fields are optional; paths may
start with `~`:

| Field | When |
|---|---|
| `lang` | `"en"` or `"ru"`: the language of the whole Wrapped. Default: the system language (a Russian system → `ru`, otherwise `en`). Set it when the user wants the other one or writes to you in the other one. |
| `gender` | Russian only: `"f"` switches the texts to «ты работала, написала». Ask the user; never guess from a name. Default `"m"`. English needs no gender: don't ask. |
| `name` | The greeting uses the account's first name. Set it if that name is missing or not what the user goes by. |
| `gitRoots` | Repositories live elsewhere. |
| `hideProjects` / `renameProjects` | After step 5, for projects that are private or have folder names like `untitled folder`. |
| `city` | The time zone is not in the city table (check reports it). |
| `plan` | Team, Enterprise or API users: `{ "name": "Team", "priceUSD": 30 }` enables "the subscription paid off N times". |
| `year` | Another year than 2026. |

## 3. claude.ai export

The collector cannot reach claude.ai: the site's API only answers inside a logged-in
browser tab. `collector/browser/claude-ai-extract.js` is a read-only function that
calls the same API the site uses, aggregates everything inside the page and returns
counts, conversation titles and timestamps. Message texts never leave the page.

Pick the first route that works:

- **You control the user's logged-in browser** (chrome-devtools MCP, Claude in Chrome
  or similar). Open https://claude.ai, run `npm run claude-ai` and execute the generated
  `.tmp/claude-ai-console.js` in the page: it downloads `claude-web.json`. With
  chrome-devtools MCP, `evaluate_script` with `filePath: data/raw/claude-web.json` on the
  extractor itself also works. Do not return the JSON through the tool result: such
  results are cut at a few KB, and the export is 50–500 KB.
- **The user does it.** Run `npm run claude-ai`: it copies the snippet to the clipboard
  and prints three steps (open claude.ai, open the console, paste, Enter; Chrome may ask
  to type `allow pasting` first). Send the user exactly those steps.
- **No claude.ai usage.** Skip it.

The download lands in `~/Downloads`; `npm run collect` copies the newest
`claude-web*.json` into `data/raw/` by itself. Things that do not work, so don't retry
them: `fetch` from claude.ai to a localhost server (blocked by the site's CSP) and
DevTools `copy()` from an unfocused tab (hangs).

Optional: if you have a tool that lists the user's published claude.ai artifacts, save
the list as `data/raw/artifacts.json` (format in `references/data-sources.md`).
Otherwise the collector uses the published artifacts from the claude.ai export.

## 4. Collect

`npm run collect`. The first run parses every transcript (can take minutes for many GB)
and caches the results in `data/raw/.cache`; later runs take seconds. Always use the full
command: `collect:fast` skips git and the commits screen disappears.

Read the log: each source prints ✓ or a reason.

## 5. Check and tune the data

Run `npm run check`. It prints the sources, the numbers, the five top topics with
examples, the top projects, every piece of the user's own text that will appear on
screen, which screens drop out and why, and warnings with the fix for each. Repeat
collect → check until it is clean:

- **Projects.** A top project named `temp`, `Downloads`, `Домашняя папка`, a hash or a
  worktree folder: rename or hide it via `renameProjects` / `hideProjects` (keys can be
  the folder name or the path exactly as check prints it, `~/Desktop/temp`). Folders
  named `untitled folder`, `temp` and the like take the first `# heading` of their
  README when there is one; otherwise rename them. Look into the folder or its README to
  pick a name the user would recognise. Ask before hiding anything the user may want
  to see.
- **Topics.** The rules in `collector/build/genres.mjs` are generic. Each session is
  matched by its title, its first prompt and its project name. Aim for at least 70% of
  sessions classified (check warns below that) and five topics whose examples are
  self-explanatory. Add the user's own words (project names, apps, hobbies, places) to
  the right rule; a new rule is fine when a big group fits none. Leave out words that
  would make the examples cryptic to an outsider. Order matters:
  the first matching rule wins, so specific topics stay above broad ones (`Код` and
  `Исправление ошибок` are last). Cyrillic words need the `w('…')` helper because JS `\b`
  ignores Cyrillic; plain stems would match inside other words ("крипт" inside "скрипт",
  "бот" inside "работа"). For an English Wrapped, each topic also has English keywords
  in the `EN` table below the rules (plain regex sources, `\\b` works for Latin); they
  are added to the rule only when `lang` is `en`, so the Russian sorting does not
  depend on them. A new rule needs a line in `EN` too (its English name and words).
  After each edit run `npm run collect && npm run check`.
- **Texts on screen.** Check lists every piece of the user's text that appears on screen
  (top sessions, topic examples, project names, the phrase and the word of the year,
  artifact titles, the session titles that flash in the top bar). Show it to the user
  and ask whether anything should not be there. If you can't ask, keep everything and
  name the items that look private or odd in your hand-over message.
  Sentences repeated 8+ times are templates and are already excluded from the word of
  the year; the phrase of the year is the most repeated sentence by design.
- **City, plan, name, gender, language**: through `wrapped.config.json`. `npm run check` prints the language of the data (`meta.lang`) under "Who and where"; the console output of the npm scripts follows the same setting.

What every number means and how it is computed is in `references/data-sources.md`.
Tokens and cost are exact only where Claude Code still has the data, the rest is
estimated from the prompt count; the app says so nowhere on screen, so tell the user.

## 6. Project pictures (optional)

Cards of the top 5 projects show a generated cover by default. If you can generate
images, make one per project: `npm run images` prints the exact file names
(`app/assets/img/generated/project-<slug>.jpg`). Read each project's README to
understand it, then follow the style in `references/customize.md`. Five pictures
must look like one series. Skip this step if you can't generate images; the covers
are designed to work alone.

## 7. Verify like a user

1. `npm run shots` plays every story in headless Chrome at 390×844, saves the final
   frame of each to `.shots/` with a gallery (`.shots/index.html`) and prints layout
   warnings (text under 12 px, faint text, text off screen or under the top bar or the
   "Next" / «Дальше» button) and console errors. A run takes about 4 minutes: run it in the
   background or with a long timeout. Then `npm run shots -- --size 375x667 --out
   .shots-se` for the iPhone SE (without `--out` it replaces the first gallery).
2. Look at every screenshot yourself. Typical problems with real data: a very long
   session or project title wraps into too many lines, a number does not fit, an empty
   caption. Fix the data first (rename, hide); change layout code only if the data is
   right. `references/quality.md` lists what a finished screen must look like.
3. Fix, rerun shots, repeat until no warnings and no console errors remain. To recheck
   a few screens, use `--only id1,id2`. A single faint-text warning that disappears on
   such a rerun was a frame caught mid-animation, not a bug.

If `npm run shots` can't find Chrome, set `CHROME_PATH`. If you have a browser tool
instead, open `/app/` at 390×844 and step through with `wrapped.goTo('<id>')`.

## 8. Hand over

Start `npm run serve` and give the user http://127.0.0.1:5174/app/. Tell them:

- press "Let's go" («Поехали» in Russian) on the start screen (sound starts with that click); swipe up or press
  ↓/Space for the next story; `#pack` in the address opens a story directly;
- the summary card has "Share" / «Поделиться» (PNG 1080×1920); check its texts before posting;
- on a phone: `HOST=0.0.0.0 npm run serve` and open the computer's IP on the same Wi-Fi
  (everyone on that network can then load their data);
- what was estimated (tokens and cost outside the exact windows) and which screens
  dropped out for lack of data;
- `?sample` shows the demo with invented data, which is safe to show anyone (it opens
  in the browser's language; `?sample&lang=en` or `&lang=ru` picks one);
- `?lang=en` / `?lang=ru` switches the interface for one visit; to change the language
  for good, set `lang` in `wrapped.config.json` and collect again.

Keep your final message short: the link, what is inside, what to check.

## Changing the app

The user may want other texts, another story or a different look. Read
`references/customize.md` (structure, the story API, the rules the current screens
follow) and `references/screens.md` (all 30 screens, their data and when each is
skipped) first. Check every change with `npm run shots`, and also on the test profiles
(`npm run sample -- --profile light`, then `npm run shots -- --data light`) so it still
works for people with less data.

The app has two languages. A text never goes straight into a story: add it under the
same key to `app/js/i18n/ru.js` and `app/js/i18n/en.js` and read it with
`tr('key', params)`; texts the collector makes go to `collector/lib/i18n.mjs`. Check
both languages after a change: `npm run shots -- --data sample` (Russian) and
`npm run sample -- --lang en`, then `npm run shots -- --data sample-en` (English).
Details: "Texts and languages" in `references/customize.md`.

Files in this skill

  • SKILL.md12.2 KB
  • references/customize.md8.9 KB
  • references/data-sources.md6.2 KB
  • references/quality.md4.2 KB
  • references/screens.md4.1 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.