1. Habit
  2. Skills
  3. Session History skill
rohitg00 · 14K installs

Session History skill
Runs by itself, every Monday morning.

Never lose track of past work.

Install the Session History skill and make it a habit: follow https://gethabit.dev/skills/rohitg00/session-history.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

14K installs30K starsApache-2.0 licenceSource on GitHub ↗

Session History

by rohitg00 · 14K installs

The skill

Shows what your agent did in past sessions as a simple timeline.

Only when you ask.

Time saved

Never lose track of past work. You pick up faster after a break.

↻ Runs by itselfevery Monday morning

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after 20 sessions or when nextCursor is null, with one retry.

  1. 01

    Find the project

    Your agent takes the exact project id from the host, or pages with nextCursor and matches the cwd.

  2. 02

    Fetch sessions

    It calls memory_sessions with a limit of 20 and keeps the scope filters on every page.

  3. 03

    Build the timeline

    Newest first, each line shows the short session id, project, start time and status.

  4. 04

    Add highlights

    For sessions with observations it adds type and title, the count, and summary decisions when they exist.

  5. 05

    Check the list

    Nothing is invented or merged, and a partial page is marked as partial.

  6. 06

    Save the log

    The timeline is added to the run log for next week.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Session History skill helps.

Use it when

  • ✓ You ask what was done last time
  • ✓ You want an overview of past sessions
  • ✓ You return to a project after a break

Skip it when

  • – You need a search by topic
  • – agentmemory is not installed

Questions

Session History skill, answered.

What does it need?

The memory_sessions tool from the agentmemory project must be available to your agent.

What if there is no history?

An empty list is a real result. The loop writes that nothing was found and does not fill the gap.

How is it different from recap or recall?

recap groups the same data by date, and recall searches all sessions by topic. This one gives a plain timeline.

How do I install the Session History skill?

Copy the prompt at the top into your agent. It installs the skill from rohitg00/agentmemory and sets up the habit. Or run npx skills add rohitg00/agentmemory --skill session-history.

Is the Session History skill free?

Yes. It is published under Apache-2.0. Habit is free too.

Session History. Now as a habit.

Install the Session History skill and make it a habit: follow https://gethabit.dev/skills/rohitg00/session-history.md

  • Free
  • No account
  • Undo in one line

All rohitg00 skills →More notes skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by rohitg00, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.