Skip to content
Agent Memory
Command

/session

Show clickable Supermemory URL for the current ongoing session transcript

From plugin
claude-supermemory
2.7k4 skills4 commands
Install
> /plugin marketplace add supermemoryai/claude-supermemory
> /plugin install supermemory@supermemory-plugins

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/session

Context preview

What this command does when you run it.

Show clickable Supermemory URL for the current ongoing session transcript

Command definition

session.md
description: Show clickable Supermemory URL for the current ongoing session transcript
allowed-tools: ["Bash", "Read"]

Current Session Document

Show a direct link to the current Claude Code session's transcript in Supermemory.

Steps

1. Read the session data (prefer the new JSON file):

   cat ~/.supermemory-claude/last-session.json 2>/dev/null || cat ~/.supermemory-claude/last-session-document-id 2>/dev/null || echo ""

2. If data exists:

  • When it's JSON with `id` + `containerTag`, build:

`https://app.supermemory.ai/?view=list&project=<containerTag>&doc=<id>`

  • Otherwise fall back to the simple `/documents/<id>` format.

3. Output a clean link:

   **Supermemory session document:**
   [View in Supermemory](THE_CORRECT_URL)

4. (Optional on macOS) Also run:

   open "THE_CORRECT_URL" 2>/dev/null || true

5. If nothing is saved yet:

   No Supermemory document yet for this session.
   Keep chatting — it will be created automatically on the next autosave.

Always produce a real working Markdown link (no placeholders).

Ships withclaude-supermemory

A Claude Code plugin that gives your AI persistent memory across sessions using Supermemory. Your agent remembers what you worked on - across sessions, across projects.

Get the whole plugin
Stats
2,736
Stars
167
Forks
Active
Maintenance
JavaScript
Language
3d ago
Last commit
6mo ago
Created

Repo: supermemoryai/claude-supermemory