Slash Command139 estrellas del repoactualizado 24d ago
list-global
The `/nemp:list-global` command displays all globally stored memories from the `~/.nemp/memories.json` file in a formatted table showing the memory key, last update date, and a preview of the content. Use this command to review cross-project memories you've saved, with options to recall full content, delete memories, or update existing ones.
Instalar en Claude Code
Copiarmkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/SukinShetty/Nemp-memory/HEAD/commands/list-global.md -o ~/.claude/commands/list-global.mdDespués abre una sesión nueva de Claude Code; el slash command carga automáticamente.
Definición
list-global.md
# /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
```bash
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 sectionsDel mismo repositorio
activateSlash Command
Activate Nemp Pro with your license key
activitySlash Command
View captured activity log
auto-captureSlash Command
Enable or disable automatic activity capture
auto-exportSlash Command
Enable or disable automatic cross-provider memory export
auto-syncSlash Command
Enable or disable automatic syncing to CLAUDE.md
contextSlash Command
Search memories by keyword and show relevant context
cortexSlash Command
Nemp Cortex — memory intelligence layer (Pro)
decaySlash Command
Cortex decay engine — auto-archive stale memories (Pro)