list-global

list-global is a command for coding agents from SukinShetty/Nemp-memory. It costs 4 tokens per session (516 once invoked), scanned A, original, MIT.

A command that lists saved global memories from a local file, such as preferred tools or coding habits.

In plain words
What is it for?
Use it to inspect the global memory index and review each memory's key, update date, and preview.
Why use it?
It gives you a readable view of information stored for use across projects and clearly shows when no memories have been saved.

Command

Part of the Nemp-memory plugin — 1 skill, 24 commands, 1 hook shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/sukinshetty/nemp-memory/list-global
Clone the repo
git clone --depth 1 https://github.com/SukinShetty/Nemp-memory

Or install Nemp-memory, the plugin that ships this one along with the rest of its 1 skill, 24 commands, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for list-global

README.md
[![agentmods](https://agentmods.dev/badge/commands/sukinshetty/nemp-memory/list-global.svg)](https://agentmods.dev/commands/sukinshetty/nemp-memory/list-global)
Your own site
<a href="https://agentmods.dev/commands/sukinshetty/nemp-memory/list-global"><img src="https://agentmods.dev/badge/commands/sukinshetty/nemp-memory/list-global.svg" alt="Measured on agentmods" height="20"></a>
Per session 4 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 516 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00004 $0.00516
Opus 5 $0.00002 $0.00258
Sonnet 5 $0.00001 $0.00103
Haiku 4.5 $0.00000 $0.00052

Measured 4d ago against content hash 6692bb6029ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

list-global scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/list-global.md · 82 lines

What it actually says

/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-global <key> to delete a global memory
  • 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
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 82 lines · 4 tokens per session scan A 6692bb6029ae

Subscribe to this mod's changes

list-global is a command published in the GitHub repository SukinShetty/Nemp-memory (128 stars, last pushed 2mo ago), licensed MIT. It adds 4 tokens to every session and 516 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.