/universe:rewind <file> [period]from universe
Shows historical versions of files with annotated explanations of why each change was made, classifying changes as intentional design decisions, bug fixes, or accumulated patches.
Ships in universe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Show me this code as it was, and explain what changed. Not a raw diff — an annotated evolution that explains WHY each change was made, which changes were intentional design decisions, and which were accumulated patches.
With timewarp-mcp (preferred): Call timewarp_history with the file and period to get
structured commit data — this tells you total commits, classifications, and authors for the
file during the rewind period. Use this to understand the volume and nature of changes before
diving into individual commits. If timewarp_trends is available, use it to note whether
the file is still on a growth/churn trajectory today.
Rename detection: Before looking up the historical version, check if the file was
renamed: git log --follow --diff-filter=R --format="%H %s" -- {file}. If a rename
is found, use the old path for historical lookups. Note the rename in the output:
"This file was renamed from {old-path} to {new-path} on {date}."
Then find the specific historical commit:
# Find the commit closest to the requested time
git log --oneline --before="{date}" -1 -- {file}
# Or if a commit hash was given, use it directly
git show {commit}:{file}
If the file didn't exist at the requested time, find the earliest version:
git log --oneline --diff-filter=A --follow -- {file}
Read the historical version and the current version. Note:
Annotate the top 8-10 most significant changes between the two versions. If there are more changes, note the remainder count: "...and N additional minor changes not annotated." This limit keeps the report focused on what matters.
For each significant change, find the commit(s) that introduced it and explain WHY:
# Find commits between the two points
git log --oneline {old-commit}..HEAD -- {file}
Classify each change:
Report format:
## Rewind — {file}
**Then:** {date/commit} ({lines} lines, {functions} functions)
**Now:** {lines} lines, {functions} functions
**Changes:** +{added} -{removed} lines across {n} commits
### Summary
{2-3 sentences: what's fundamentally different and why}
### Key Changes
1. **{Change description}** (commit {hash}, {date})
Type: {design decision / bug fix / accumulated patch / dependency-driven}
Why: {from commit message / PR context / inferred}
Lines: +{n} -{n}
2. **{Another major change}** (commit {hash}, {date})
Type: {classification}
Why: {why it happened}
Lines: +{n} -{n}
### What Stayed the Same
{What hasn't changed — core API, fundamental approach, key abstractions.
This is useful for understanding what's stable vs volatile.}
### Observations
{Any patterns: "most changes are bug fixes in the validation logic, suggesting
it's under-tested" or "the core algorithm hasn't changed, just the interfaces around it"}
Save results to .timewarp/rewind-{sanitized-file}-{date}.json with:
Path sanitization: Replace / with -- and remove leading dots in the filename.
Example: src/services/auth-service.ts becomes src--services--auth-service.ts.
Read existing caches: Before starting, check .timewarp/ for:
drift-* files — if the same file has drift data, note whether changes align with driftforecast-* files — if the file is on a concerning trajectory, mention itdissect-* files — if complexity archaeology exists, reference the structural commits/dissect — For deeper analysis of HOW a specific complexity layer was added/explain — For understanding the current code in full contextreferences/rewind-patterns.md — Change classification rubric, annotation methodology,
"What Stayed the Same" detection guidanceWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
file-history, git-history, code-evolution, change-annotation
20 skills in this plugin
/check-rulesThis skill should be used when the user asks to "check adherence", "check rule adherence", "are my rules being followed", "is Claude following my instructions", "how effective is my CLAUDE.md", "rule compliance", "instruction effectiveness", "how are my rules performing", "which rules are being violated", "audit my rules", "check my CLAUDE.md", mentions "/check-rules", or wants to know whether their coding agent instruction rules are actually being followed across Claude Code sessions./discoverUse when the user wants to infer reusable project conventions from existing code and turn them into instruction rules: "discover conventions", "infer rules from code", "what rules should I add", "generate rules from this codebase", or "/discover". This is for convention mining, not for checking rule adherence or explaining how a specific module works./dissectThis skill should be used when the user asks "when did this get complicated", "why is this file so complex", "how did this evolve", "complexity history", "trace the evolution", "what happened to this code", "dissect this file", mentions "/dissect", or wants to understand how a file or function became complex by tracing its evolution through git history./driftThis skill should be used when the user asks "has this module drifted", "is this code still doing what it was designed for", "scope creep analysis", "architectural drift", "what was this originally for", "how has this changed over time", mentions "/drift", or wants to detect when code has quietly evolved away from its original purpose./explainUse when the user wants a deep explanation of a specific file, module, or implementation flow: "explain this code", "walk me through this file", "why is this structured this way", or "/explain". Best for focused code understanding with history context, not for repo-wide architecture mapping, recent-change summaries, or generic "what happened?" requests./forecastThis skill should be used when the user asks "what's about to become a problem", "predict issues", "trend analysis", "which files are growing", "what's getting worse", "complexity forecast", "what should I refactor next", mentions "/forecast", or wants to predict which files are on concerning trajectories before they become critical.npx claudepluginhub mbwsims/claude-universe --plugin universeOther plugins' skills for the same job