Skip to content
Agent Memory
Command

/list-global

List all global memories

BOOST
From plugin
nemp
13924 skills24 commands
Install
> /plugin marketplace add SukinShetty/Nemp-memory
> /plugin install nemp@nemp-memory

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/list-global

Context preview

What this command does when you run it.

List all global memories

Command definition

list-global.md
description: "List all global memories"
argument-hint: ""

/nemp:list-global

List all memories saved in global storage.

Usage

/nemp:list-global

Instructions

When the user invokes `/nemp:list-global`, follow these steps:

1. Load Global Memories

if [ -f "$HOME/.nemp/memories.json" ]; then
  cat "$HOME/.nemp/memories.json"
else
  echo '{"memories":[]}'
fi

2. Format Output

Display global memories in a clean table format:

Global Memory Index (~/.nemp/memories.json)

  KEY                     UPDATED          PREVIEW
  preferred-editor        2024-01-15       VS Code with Vim keybindings...
  git-workflow            2024-01-12       Always rebase, never merge...
  coding-style            2024-01-10       4 spaces, no tabs, trailing...

Total: 3 global memories

3. Empty State

If no global memories exist:

Global Memory Index (~/.nemp/memories.json)

No global memories saved yet.

Get started:
  /nemp:save-global <key> <value>  - Save your first global memory

Examples:
  /nemp:save-global preferred-editor VS Code with Vim keybindings
  /nemp:save-global git-workflow Always rebase, never merge commits
  /nemp:save-global coding-style 4 spaces indentation, trailing commas

Global memories are available across ALL projects.

4. Sorting

Default sort: by `updated` date (most recent first)

Output Fields

  • **KEY**: The memory identifier
  • **UPDATED**: Last modified date
  • **PREVIEW**: First 40 characters of the value

Tips to Show User

After listing, remind user:

  • Use `/nemp:recall-global <key>` to see full memory content
  • Use `/nemp:forget <key>` to request deletion; verify the displayed source is global before confirming
  • Use `/nemp:save-global <key> <new-value>` to update an existing memory
  • Use `/nemp:list` to see both project AND global memories

Difference from /nemp:list

  • `/nemp:list-global` - Shows ONLY global memories
  • `/nemp:list` - Shows BOTH project and global memories in separate sections
Read more
Ships withnemp

Nemp - The memory plugin for Claude Code that remembers everything.

Get the whole plugin
Stats
139
Stars
34
Forks
Active
Maintenance
Python
Language
MIT
License
20d ago
Last commit
8mo ago
Created
2h ago
Added

Repo: SukinShetty/Nemp-memory

Other commands on nemp.