Skip to content

About

Your coding year as a swipeable, Wrapped-style story app. Built by your agent from local git, GitHub and Claude Code / Codex logs. Two Agent Skills: the recap builder and the design language behind it.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Year in Code

Your coding year as a swipeable story app, built by your agent from data that never leaves your machine.

Commits, repos, languages, late nights, prompts, tool calls, the models that wrote the most, and a builder status you earned. 31 animated stories, a foil card pack to tear open, GIFs to share.

MIT license Agent Skills Local only


A count of prompts sent to coding agents, climbing through four colours A foil pack torn open into trading cards of the top five models, ending on a holographic card An iridescent Midnight Shipper badge

Recorded from the sample data that ships with the repo. Yours will have your numbers.

What this is

Two Agent Skills in one repo. They work in Claude Code, Codex, Cursor and anything else that reads SKILL.md.

Skill What it does
year-in-code Parses your local git history, GitHub activity and coding-agent logs, then builds and runs a 31-story recap of your year. Includes the parsers, the React app and a GIF recorder.
wrapped-2026-design The design language behind it: a measured, frame-by-frame study of the Spotify Wrapped 2026 look, written so an agent can build new work in that style.

Quick start

Claude Code

claude plugin marketplace add Nik-code/year-in-code
claude plugin install year-in-code@year-in-code

Any other agent (Codex, Cursor, OpenCode and more, through the skills CLI)

npx skills add Nik-code/year-in-code

Then ask:

Make my year in code. My repos are in ~/code.

Your agent runs the parsers, asks which repos are private, drafts the list of things you shipped, and opens the app. Ten minutes, most of it reading logs.

Just want to see it? The app runs on made-up sample data out of the box:

git clone https://github.com/Nik-code/year-in-code && cd year-in-code/skills/year-in-code/template && npm install && npm run dev

What you get

Six stories: top languages, top repo, biggest day, the year as heat, things shipped, and a share poster

Story From
Tool calls run on your behalf, counting up live Claude Code, Codex
Your first real commit of the year, to the minute git
Prompts sent, with praise that escalates as the number climbs Claude Code, Codex
How often you said please, thanks, and hit stop mid-answer Claude Code
The words your prompts start with Claude Code, Codex
The month you switched agents Claude Code, Codex
Your peak coding hour and what happened after midnight git, agents
Top languages by lines you actually added git
Builder status: Midnight Shipper, Dawn Patrol, Weekend Warrior, Streak Keeper, Agent Wrangler or Steady Hand computed
Top repos, counted down through a cloud of covers git
What you shipped, as sleeves in a crate you flick through you and your agent
Top models as a foil card pack: tear it open, flip the cards, the winner is holographic Claude Code, Codex
The one day that got out of hand git
Your year as a heat map, longest streak, quietest stretch git, agents
The latest a commit ever went in git
GitHub contributions from your first year to this one GitHub
Share posters and a replay all

No agent logs? You get a 20-story git recap. No GitHub CLI? That story drops out. Only local git is required.

How it works

flowchart LR
  A[local git repos] --> P1[git.py]
  B[gh CLI] --> P2[github.py]
  C["~/.claude logs"] --> P3[claude.py]
  D["~/.codex logs"] --> P4[codex.py]
  P1 & P2 & P3 & P4 --> J[data/*.json]
  K[config.json<br>launches.json] --> M
  J --> M[merge.py] --> Y[year.json] --> APP[React story app] --> G[GIF / MP4 / static site]
Loading
  • Parsers are plain Python, standard library only. Each reads one source and writes a JSON file of counts. A missing source says so and exits cleanly.
  • merge.py combines them into the one file the app reads, applies your renames and hidden repos, and picks your builder status from the data.
  • The app is Vite, React and plain CSS. Two runtime dependencies. No UI kit, no chart library, no 3D engine: the band art is one small canvas, the badge is one SVG, the holographic cards are CSS blend modes.
  • record.mjs drives a headless Chrome over the DevTools protocol with Node's built-in WebSocket and hands frames to ffmpeg. Zero npm packages.

Privacy

This reads your commit history and your agent logs, so the rules are strict.

  • Everything runs on your machine. The only network use is github.py reading your own account through the gh CLI you are already logged in to, and the app loading three fonts from Google Fonts.
  • Aggregates only. Counts, names and dates. Never prompt text, file contents, email addresses or absolute paths. Two commit subjects (your first and your latest-night commit) are the only free text that reaches the app.
  • Hide work repos by name. Put "hide": ["client-*"] in config.json and they vanish from every list while still counting in your totals. The skill asks you about this before it builds.
  • Nothing is uploaded. Sharing is your call: check each GIF for private names first.

The design skill

wrapped-2026-design is a reference you can use on its own for anything that should feel like a modern music recap: a year in review for your product, a fitness or reading rewind, a launch page.

  • The system: charcoal ground, one ink per story, ordered contour bands, stepped film grain, extra-wide display type, a bar that times each entrance.
  • 16 screen templates with layout, timings and the component each needs.
  • Motion tokens measured to about 33 ms, including number behaviours and object physics.
  • Build notes from implementing all of it: why bands need plateaus, a field recipe for each art form, holographic card layers, an iridescent badge in pure SVG, a foil pack that tears.
  • Starter assets: tokens.css, a dependency-free bands.js, and a one-file demo.
open skills/wrapped-2026-design/assets/demo.html

It is an unofficial study. It teaches the language and deliberately leaves out Spotify's logo, name, typefaces and artwork. Bring your own.

Make it yours

Want Do
A different greeting, hidden or renamed repos, a closing quote data/config.json
The "things I shipped" crate data/launches.json
Different copy app/src/stories.tsx: every line of text is there
Another builder status ?status=dawn to preview, "status" in config.json to keep
A new story Pick a template, add a figure in merge.py, add an entry. Guide
Another agent (Cursor, Aider, Gemini CLI) Write a parser that emits this shape. PRs welcome
GIFs or video node scripts/record.mjs hello prompts:9 status
A hosted version npm run build, then put dist/ anywhere static

FAQ

Does it need Claude Code? No. Git alone gives you a full recap. Claude Code and Codex logs add the agent stories. The skills themselves run in any agent that supports the Agent Skills format.

Can I run it without an agent at all? Yes. Run the four parsers and merge.py by hand; the commands are in SKILL.md.

How far back do agent logs go? As far as they exist on this machine. If old sessions were cleaned up, the totals are a floor, not a ceiling.

Are the numbers right? Each parser writes a notes list explaining how every figure was counted: commits are deduplicated across clones and worktrees, automatic subagent sessions are kept apart from your prompts, imported code is left out of the language table.

Is this affiliated with Spotify? No. It is an independent project inspired by the format. The design skill is a study of a public design; no Spotify assets, fonts or trademarks are included.

Contributing

Parsers for more agents, new stories and new builder statuses are the most useful additions. Keep parsers read-only, aggregate-only and standard-library-only, and keep sample data fictional.

License

MIT. Fonts are loaded from Google Fonts under their own open licenses (Anybody, Figtree, Anton).

About

Your coding year as a swipeable, Wrapped-style story app. Built by your agent from local git, GitHub and Claude Code / Codex logs. Two Agent Skills: the recap builder and the design language behind it.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages