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.
npx agentmods add commands/sukinshetty/nemp-memory/save-globalgit clone --depth 1 https://github.com/SukinShetty/Nemp-memoryWrote 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.
[](https://agentmods.dev/commands/sukinshetty/nemp-memory/save-global)<a href="https://agentmods.dev/commands/sukinshetty/nemp-memory/save-global"><img src="https://agentmods.dev/badge/commands/sukinshetty/nemp-memory/save-global.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00007 | $0.00721 |
| Opus 5 | $0.00003 | $0.00360 |
| Sonnet 5 | $0.00001 | $0.00144 |
| Haiku 4.5 | $0.00001 | $0.00072 |
Grade A, and why
save-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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/nemp:save-global
Save a memory to global storage that persists across all projects.
Usage
/nemp:save-global <key> <value>
Arguments
key: A unique identifier for this memory (use kebab-case, e.g.,preferred-editor,git-workflow)value: The content to remember (string, can be multi-word)
Instructions
When the user invokes /nemp:save-global, follow these steps:
1. Parse Arguments
Extract the key (first argument) and value (everything after the key).
2. Storage Location
Always use global storage: ~/.nemp/memories.json
This memory will be available in ALL projects.
3. Ensure Directory Exists
Create the ~/.nemp directory if it doesn't exist:
mkdir -p "$HOME/.nemp"
4. Read or Initialize Storage
Check if the storage file exists and read it:
if [ -f "$HOME/.nemp/memories.json" ]; then
cat "$HOME/.nemp/memories.json"
else
echo '{"memories":[]}' > "$HOME/.nemp/memories.json"
echo '{"memories":[]}'
fi
5. Create Memory Entry
Create a memory object with this structure:
{
"key": "<user-provided-key>",
"value": "<user-provided-value>",
"created": "<ISO-8601-timestamp>",
"updated": "<ISO-8601-timestamp>",
"projectPath": null,
"tags": [],
"scope": "global"
}
6. Update or Insert
- If a memory with the same key exists, UPDATE it (preserve
created, updateupdatedandvalue) - If no memory with that key exists, INSERT the new memory
7. Write Back to Storage
Write the updated memories array back to ~/.nemp/memories.json using the Write tool.
8. Confirm to User
Tell the user:
- Memory saved globally:
<key> - Storage location: ~/.nemp/memories.json
- Total global memories: N
Example
User: /nemp:save-global preferred-editor VS Code with Vim keybindings and Monokai theme
Response:
Memory saved globally: preferred-editor
Value: "VS Code with Vim keybindings and Monokai theme"
Location: ~/.nemp/memories.json (global)
Total global memories: 3
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.
- 3d ago First seen · 106 lines · 7 tokens per session scan A 6976f9208d5e
save-global is a command published in the GitHub repository SukinShetty/Nemp-memory (128 stars, last pushed 2mo ago), licensed MIT. It adds 7 tokens to every session and 721 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.
Other commands, from other repositories
README
Git workflow and quality assurance commands for the claude-skills repository.
convert-to-todowrite-tasklist-prompt
Purpose: Transform verbose, context-heavy slash commands into efficient TodoWrite tasklist-based methods with parallel subagent execution for 60-70% speed improvements.
security-audit
Perform a comprehensive security audit of the codebase to identify potential vulnerabilities, insecure patterns, and security best practice violations.
encode-repo
Bootstrap a repository into Forgetful's knowledge base.
statusbar-style
Switch the status-bar style (classic / capsule / hairline).
issue-amend
Re-snapshot the active issue's scope from the spec, clear verified and reviewed receipts, and record the change as a permanent amendment.