recall-global

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

A command that retrieves a saved memory from global storage using an exact key or a natural-language search.

In plain words
What is it for?
Looking up a preference, note, or other shared memory by key or by words from its contents.
Why use it?
It helps find information saved for use across projects without opening the memory file or remembering the exact key.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/sukinshetty/nemp-memory/recall-global.svg)](https://agentmods.dev/commands/sukinshetty/nemp-memory/recall-global)
Your own site
<a href="https://agentmods.dev/commands/sukinshetty/nemp-memory/recall-global"><img src="https://agentmods.dev/badge/commands/sukinshetty/nemp-memory/recall-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 646 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.1 $0.00004 $0.00646
Opus 5 $0.00002 $0.00323
Sonnet 5 $0.00001 $0.00129
Haiku 4.5 $0.00000 $0.00065

Measured 5d ago against content hash 3554df18896f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

recall-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 5d 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/recall-global.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/nemp:recall-global

Retrieve a memory from global storage by exact key or search.

Usage

/nemp:recall-global <key-or-query>

Arguments

  • key-or-query: Either an exact memory key OR a natural language query to search global memories

Instructions

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

1. Load Global Memories

Read ONLY from global storage:

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

2. Search Strategy

Phase 1: Exact Key Match

  • Look for a memory where key exactly matches the query
  • If found, return immediately

Phase 2: Partial Key Match

  • Look for memories where the key CONTAINS the query (case-insensitive)
  • Example: query "editor" matches key "preferred-editor"

Phase 3: Value Search

  • Search the value field for the query terms (case-insensitive)
  • Rank by number of matching words

3. Return Results

Single exact match:

Memory (global): <key>
   Value: <value>
   Created: <date>
   Updated: <date>

Multiple matches:

Found N global memories matching "<query>":

1. [key-one] - <truncated-value-preview>...
2. [key-two] - <truncated-value-preview>...

Use `/nemp:recall-global <exact-key>` for full details.

No matches:

No global memories found for "<query>"

Suggestions:
- Use `/nemp:list-global` to see all global memories
- Try different keywords
- Save a new global memory with `/nemp:save-global`
- Check project memories with `/nemp:recall`

Examples

Exact key lookup

User: /nemp:recall-global preferred-editor

Memory (global): preferred-editor
   Value: "VS Code with Vim keybindings and Monokai theme"
   Created: 2024-01-10T08:00:00Z
   Updated: 2024-01-15T10:30:00Z

Search query

User: /nemp:recall-global git workflow

Found 2 global memories matching "git workflow":

1. [git-workflow] - "Always rebase, never merge. Use conventional commits..."
2. [git-hooks] - "Pre-commit: lint + format. Pre-push: run tests..."

Use `/nemp:recall-global <exact-key>` for full details.

Read the full file on GitHub · 103 lines

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. 5d ago First seen · 103 lines · 4 tokens per session scan A 3554df18896f

Subscribe to this mod's changes

recall-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 646 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.