Skip to content
Back to skills

Codebase Time Machine

ASecurity

Tells the story of a codebase from its git history as an entertaining documentary, with eras, key contributors, plot twists (reverts, giant commits, long silences), cursed files, and the current state, backed by a git analysis script. Useful for onboarding, retrospectives, anniversaries, and fun. Use when the user asks for the history of a repo, how a project evolved, a repo story or timeline, or "who built what and when".

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
ai-agentspythongobashgit

Security analysis

A100/100

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

Scanned November 7, 2026

npx -y skills add milad-ahmd/agent-skills --skill codebase-time-machine --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codebase Time Machine?

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

Security grade badge for Codebase Time Machine
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/milad-ahmd-codebase-time-machine/badge)](https://www.skillsdirectory.com/skills/milad-ahmd-codebase-time-machine)

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: codebase-time-machine
description: Tells the story of a codebase from its git history as an entertaining documentary, with eras, key contributors, plot twists (reverts, giant commits, long silences), cursed files, and the current state, backed by a git analysis script. Useful for onboarding, retrospectives, anniversaries, and fun. Use when the user asks for the history of a repo, how a project evolved, a repo story or timeline, or "who built what and when".
---

# Codebase Time Machine ⏳

"In the beginning, there was `Initial commit`…"

## 1. Collect the facts

```bash
python3 scripts/git_timeline.py [path/to/repo]        # defaults to current directory
python3 scripts/git_timeline.py . --max 5000          # limit for huge repos
git -C <repo> tag --sort=creatordate | tail -20       # releases, if any
```

The script reports the span, commits per year, top authors, the biggest commits, the most-changed ("cursed") files, reverts and hotfixes, and the longest silence. Read key commits (`git show --stat <hash>`) before narrating them.

## 2. Narrate (default style: nature documentary; also epic, noir, sports commentary or plain)

```markdown
# 🎬 <Project>: The Story So Far
## Prologue: <first commit date, first message, first files>
## Chapter 1: <era name> (<years>): what was built, by whom, defining commits
## Chapter 2: ...   (split eras by activity bursts, long gaps, big refactors, major tags)
## 🎭 The Cast: top contributors and what they shaped (no judgments about people)
## 🌪️ Plot Twists: reverts, giant commits, the great silence of <dates>
## 👻 Cursed Files: most-changed files and why they keep changing
## 📍 Present Day: current state, active areas
## 🧭 Lessons for newcomers: where the dragons are, what to read first
```

## Rules

- **Facts come only from git.** Quote commit messages exactly, with their short hashes. Speculation is labelled as such ("probably", "it seems").
- Be kind about people. Celebrate them; never mock them. Don't print email addresses.
- For private or company repos, ask before producing anything meant to be shared publicly.

Files in this skill

  • SKILL.md2.1 KB
  • scripts/git_timeline.py3.2 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.