memo
Skill0 starsChanged 5 months agoMITView on GitHub
Browse past Claude Code sessions as an HTML viewer — the Bash scripts Claude ran, why it ran them (description + thinking), and whether each worked or failed, grouped by session. Can also list sessions in the terminal and produce a compact markdown digest of one past session to load as context into the current session. Use when the user wants to find/recover a command from an earlier session, review what was run, see which scripts failed, list their past sessions, or pull a past session's context into this one. Triggers — "what did claude run", "find that script from earlier", "show my claude history", "which commands failed", "list my sessions", "load that session", "recall the session where I set up X", "summarize my last session".
6 other projects use a version of this.
Adopted by
Most recently taken up by
- nhhthong/cliotheir own version, first seen Sep 29, 2026
- gregmos/memoforgetheir own version, first seen Sep 24, 2026
- kpatdev/my-skillstheir own version, first seen Aug 8, 2026
- anthropics/claude-for-legaltheir own version, first seen May 15, 2026
- raphaelDkhn/worldbuildertheir own version, first seen Apr 10, 2026
- Shawyeok/skillstheir own version, first seen Mar 19, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- anthropics/claude-for-legal★ 9.6ksame name
- gregmos/memoforge★ 38same name
- raphaelDkhn/worldbuilder★ 4same name
- nhhthong/clio★ 2same name
- Shawyeok/skills★ 1same name
- kpatdev/my-skills★ 0same 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.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 0 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Run from the user's current directory.
- Very specific: line 34
If memo isn't on PATH, the module form works from any directory once the package is pip-installed:
- Very specific: line 51
Only sessions with failures → --failed-only
- Very specific: line 75
When the user wants to *see which* past sessions exist (rather than open the HTML), use the list subcommand.
- Very specific: line 94
When the user wants to *recall* or *carry over* what happened in an earlier session (not browse the HTML), use the digest subcommand.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Memo Viewer
Reads the local Claude Code transcripts in ~/.claude/projects/ — every session's
Bash commands, reasons, thinking, pass/fail status, and cost, plus the skills/subagents
each session used.
Commands at a glance
| Command | Use when the user wants to… | Output |
memo (generate) | browse history visually | HTML page (opens in browser) |
memo list | see which sessions exist | terminal listing — return the text |
memo digest | recall / carry a past session into this one | markdown primer — return the text |
Pick the one matching intent; details for each below. All three accept the same
scoping flags (--here, --project, --days, --failed-only, --limit, --source).
Run from the user's current directory; default to --here to scope to their project.
How to run
Run from the user's current directory (do not cd elsewhere). By default,
scope to the project the user is currently in with --here — it keeps only
sessions whose working directory is the current project (or a subdirectory):
memo --open --hereIf memo isn't on PATH, the module form works from any directory once the
package is pip-installed:
python3 -m memo --open --here
--herekeys on the current directory — so it must run from the user's project root (where their Claude Code session is working), not from memo's own repo. That's why there's nocdabove.
Narrowing
--here is the default scoping. Combine or replace it as the user asks:
- All projects (not just the current one) → drop
--here:memo --open - A different/named project →
--here <DIR>or--project <substring-of-cwd>(e.g.--project quizlab) - Only sessions with failures →
--failed-only - Recent activity only →
--days <N>(e.g.--days 7) - Most recent N only →
--limit <N> - A specific AI tool →
--source claude|copilot|codex|gemini|cursor(repeatable; default: all) - Custom output path →
--out <path>(defaultdist/index.html)
Example — "failed commands from the last week in this project":
memo --open --here --failed-only --days 7After running
Report the output path and the session/command counts the tool prints. The page opens in the browser with live search, source/project filters, a "failed only" toggle, expandable sessions, a 💰 Cost page, and per-project skills/subagents. The tool does all the parsing — do not parse the JSONL yourself.
Note: Claude's thinking text is only sometimes persisted in transcripts; when it is
cached/absent the viewer omits it (the per-command description is the reliable "why").
List — see the sessions for this project
When the user wants to see which past sessions exist (rather than open the HTML),
use the list subcommand. It prints one newest-first row per session — short id,
date, command/fail counts, and title — straight to the terminal. Return that text;
don't open a browser.
# Sessions for the current project:
memo list --here
# Across all projects, last 7 days, failures only:
memo list --failed-only --days 7Each row leads with a short session-id prefix that memo digest <prefix> accepts,
so list then digest is the natural pair: list to find the session, digest to
pull it into the current conversation.
Digest — load a past session into this one
When the user wants to recall or carry over what happened in an earlier session
(not browse the HTML), use the digest subcommand. It prints a compact markdown
primer — goal, key decisions, the commands that ran (and which failed), and files
touched — small enough to drop straight into the current conversation as context.
The subcommand's output is the primer; return it to the user / read it into context
rather than opening a browser.
# Most recent session in the current project:
memo digest --here --last
# A specific session by a substring of its title (newest match wins).
# Put the selector FIRST, before --here, so it isn't read as --here's directory:
memo digest "auth refactor" --here
# A specific session by id, across all projects:
memo digest 0c1f2e3a-....All generate filters apply (--here, --project, --days, --source, …) to
narrow which sessions are candidates. Add --out <path> to write the markdown to a
file instead of stdout.
Gotcha:
--heretakes an optional directory, somemo digest --here "auth"reads"auth"as the directory. Always pass the title selector before--here(or use--project <substr>instead, which has no such ambiguity).
This complements — it does not replace — Claude Code's native claude --resume <id>:
resume re-enters the whole old conversation (and its full context); a digest is a
small one-time snapshot you pull into a different session.
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.

