agentleFS
SamiDghimSamiDghim/memo/skill/SKILL.md

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".

11 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions11 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 11

    1. anthropics/claude-for-legal★ 9.5ksame name
    2. AIOSAI/AIPass★ 323same name
    3. gregmos/memoforge★ 38same name
    4. jagoff/memo★ 25same name
    5. raphaelDkhn/worldbuilder★ 3same name
    6. nhhthong/clio★ 2same name
    7. Shawyeok/skills★ 1same name
    8. h-wata/claude-skills★ 0same name
    9. kpatdev/my-skills★ 0same name
    10. kpatdev/skills★ 0same name

    1 more not listed

    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 11 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
  1. Very specific:

    Run from the user's current directory.

    line 22
  2. Very specific:

    If memo isn't on PATH, the module form works from any directory once the package is pip-installed:

    line 34
  3. Very specific:

    Only sessions with failures → --failed-only

    line 51
  4. Very specific:

    When the user wants to *see which* past sessions exist (rather than open the HTML), use the list subcommand.

    line 75
  5. Very specific:

    When the user wants to *recall* or *carry over* what happened in an earlier session (not browse the HTML), use the digest subcommand.

    line 94

“Common” is measured: kept by at least 6 in 10 of the 11 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

CommandUse when the user wants to…Output
memo (generate)browse history visuallyHTML page (opens in browser)
memo listsee which sessions existterminal listing — return the text
memo digestrecall / carry a past session into this onemarkdown 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 --here

If memo isn't on PATH, the module form works from any directory once the package is pip-installed:

python3 -m memo --open --here

--here keys 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 no cd above.

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> (default dist/index.html)

Example — "failed commands from the last week in this project":

memo --open --here --failed-only --days 7

After 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 7

Each 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: --here takes an optional directory, so memo 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.