whatidid
Skill1 starsChanged 57 days agoMITView on GitHub
Produces a structured "what did I do today" report by reading Claude Code session JSONL files, extracting user instructions and tool summaries, calling the Anthropic API for goal/task analysis, and rendering an HTML report with KPI cards, goals table, and token cost breakdown. The report answers: what goals were pursued, what tasks were completed, how much time was spent, and what the ROI was relative to the seat cost. Not for: Real-time session introspection, cross-repo analysis beyond git metadata, or…
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- microsoft/What-I-Did-Copilottheir own version, first seen Jun 2, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- microsoft/What-I-Did-Copilot★ 51same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository76 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- godmode:agent-governanceSkill
- godmode:agent-improvement-loopSkill
- agents-skill-saveSkill
- baml-add-typesSkill
- godmode:brainstormSkill
- godmode:capSkill
- godmode:changelogSkill
- godmode:ci-fixSkill
- godmode:code-reviewSkill
- godmode:context-mapSkill
- godmode:cross-issueSkill
- godmode:crs-discoverSkill
- godmode:crs-hook-testingSkill
- godmode:crs-installSkill
- godmode:crs-propose-rulesSkill
- godmode:crs-validateSkill
- godmode:dead-codeSkill
- godmode:decomposeSkill
- godmode:dep-auditSkill
- godmode:dep-bumpSkill
- godmode:designSkill
- devloop-session-primerSkill
- godmode:dialecticSkill
- godmode:doc-maintainerSkill
- godmode:doc-reviewSkill
- godmode:doc-syncSkill
- godmode:doc-writerSkill
- doob-db-inspectorSkill
- doob-release-managerSkill
- godmode:doublecheckSkill
- dual-forge-pr-mergeSkill
- gh-bulk-issuesSkill
- godmode:health-scoreSkill
- godmode:ingestSkill
- godmode:introspectionSkill
- godmode:issue-triageSkill
- godmode:memory-bankingSkill
- godmode:mergeSkill
- godmode:mini-context-graphSkill
- godmode:mistake-trackerSkill
- godmode:moaSkill
- notfiles-release-workflowSkill
- godmode:observability-as-infrastructureSkill
- godmode:parallel-agentsSkill
- godmode:pattern-learnerSkill
- planning-with-cruxSkill
- godmode:pr-authorSkill
- godmode:receiving-reviewSkill
- godmode:refactoringSkill
- godmode:release-notesSkill
- release-readiness-checkSkill
- remote-upstream-triageSkill
- repo-gap-backlogSkill
- godmode:rust-conventionsSkill
- rustqualSkill
- rustqual-workspaceSkill
- rust-release-workflow-authorSkill
- godmode:self-reflectSkill
- session-wrap-commit-pushSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
When you need an objective log of what was worked on for a given date
- Distinctive: line 27
When asked to "report on today", "what did I do", or given a date argument
- Very specific: line 49
Use $ARGUMENTS if provided (format: YYYY-MM-DD).
- Very specific: line 53
Run helpers/harvest.rs [YYYY-MM-DD] via rust-script.
- Very specific: line 143
Update report.py → _MODEL_PRICING when rates change.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
What Did I Do — Daily Activity Report
Overview
Produces a structured "what did I do today" report by reading Claude Code session JSONL files, extracting user instructions and tool summaries, calling the Anthropic API for goal/task analysis, and rendering an HTML report with KPI cards, goals table, and token cost breakdown.
The report answers: what goals were pursued, what tasks were completed, how much time was spent, and what the ROI was relative to the seat cost.
When to Use
- At the end of a workday to generate a standup/status report
- When you need an objective log of what was worked on for a given date
- When asked to "report on today", "what did I do", or given a date argument
Not for: Real-time session introspection, cross-repo analysis beyond git metadata, or project planning.
Helpers & References
| File | Purpose |
helpers/whatidid.rs | Entrypoint — orchestrates harvest → analyze → report |
helpers/harvest.rs | Scans ~/.claude/projects/*/*.jsonl for today's sessions |
helpers/analyze.rs | Calls Anthropic API; caches result to cache/YYYY-MM-DD.json |
helpers/report.rs | Renders HTML with KPI cards and goals table; opens in browser |
references/architecture.whatidid.md | Data flow, session format, token cost model |
references/effort-estimation.whatidid.md | Effort estimation heuristics |
Steps
1. Resolve the target date
Use $ARGUMENTS if provided (format: YYYY-MM-DD). Otherwise default to today.
2. Harvest session data
Run helpers/harvest.rs [YYYY-MM-DD] via rust-script.
Scans all ~/.claude/projects/<project-slug>/*.jsonl files. Each JSONL line has a
timestamp field (ISO 8601). Events with a matching date prefix are included.
Key event types extracted:
type: "human"→message.content[].text(user instructions; noise-filtered)type: "assistant"→message.content[]text blocks +tool_usenames- Metadata from every line:
cwd,gitBranch,sessionId,slug
Noise filtered from human turns: single-word confirmations ("ok", "yes", "act"),
<system-reminder> injections, <current_datetime> tags.
Output: JSON array of session records with messages[], tool_calls, read_calls,
edit_calls, bash_calls.
3. Analyze with Anthropic API
Run helpers/analyze.rs <sessions.json> [YYYY-MM-DD] via rust-script.
Requires ANTHROPIC_API_KEY in environment. Inject via:
op run --env-file=$HOME/dev/.env -- rust-script helpers/whatidid.rsBuilds a transcript from harvested sessions (cwd, branch, SIGNALS block with tool
counts, then interleaved human/assistant turns). Sends to claude-haiku-4-5-20251001.
Model prompt lives in prompts/analysis.txt. Returns structured JSON digest:
goals[] each with tasks[], human_hours, domain_skills, tech_skills.
Caches result to cache/YYYY-MM-DD.json — re-runs skip the API call.
4. Compute KPIs
total_human_hours = sum(goal.human_hours for goal in goals)
human_value = total_human_hours × 72 # $72/hr blended rate
seat_cost_per_mo = 39 # Claude Code Pro seat
leverage = human_value / seat_cost_per_moToken cost model: prefix-matched against report.rs → MODEL_PRICING.
Fallback: $3.00 input / $15.00 output per 1M tokens.
5. Generate HTML report
Run helpers/report.rs <digest.json> [YYYY-MM-DD] via rust-script.
Layout:
Header bar — date, primary_focus, session count
Narrative — day_narrative (2 sentences from digest)
KPI cards — Hours | Human value | Leverage
Goals table — Goal | Tasks (bullet list) | Hours | SkillsWritten to /tmp/whatidid-YYYY-MM-DD.html. Opened automatically via open.
6. Report to user
[1/3] harvesting sessions for 2026-05-17...
[2/3] analyzing with Claude...
[3/3] rendering report...
Date: 2026-05-17 | Goals: 5 | Hours: 6.5h
Human value: $468 | Leverage: 12x
Report: /tmp/whatidid-2026-05-17.htmlToken Cost Model
| Provider | Model prefix | Input $/1M | Output $/1M |
| Anthropic | claude-opus-4 | $15.00 | $75.00 |
| Anthropic | claude-sonnet-4 | $3.00 | $15.00 |
| Anthropic | claude-haiku | $0.80 | $4.00 |
| OpenAI | gpt-5, gpt-4o | $2.50 | $10.00 |
| OpenAI | gpt-4.1 | $2.00 | $8.00 |
| OpenAI | o3 | $10.00 | $40.00 |
| gemini-2.5-pro | $1.25 | $10.00 | |
| gemini-2.5-flash | $0.15 | $0.60 |
Fallback (unknown model): $3.00 input / $15.00 output.
Update report.py → _MODEL_PRICING when rates change.
Common Mistakes
- Including injected context as user instructions — filter
<current_datetime>,<system-reminder>, and single-word approval messages ("ok", "yes", "go") before building the transcript. - Double-counting sessions — a single working session may span midnight; use
created_at(session start) notupdated_atas the date key. - Calling the API without a cached result check — always check
cache/YYYY-MM-DD.jsonbefore hitting GitHub Models; the API has rate limits. - Hardcoding model names — use prefix matching in
_MODEL_PRICINGso new model variants don't silently fall through to zero cost.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

