🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

codex-supermemory

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codex-supermemory - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
dist/cli.js

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

+3
{
"type": "commonjs"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

---
name: supermemory-forget
description: Remove outdated or incorrect information from memory. Use when user says something is no longer true, wants to delete a memory, or information has changed.
allowed-tools: Bash(node:*)
---
# Forget
Remove outdated or incorrect information from Supermemory.
## When to Use
- User says something is no longer true or has changed
- User explicitly asks to forget or delete a memory
- Information has become outdated or incorrect
## How to Forget
Describe the content to forget — the system will find and remove matching memories:
```bash
node ~/.codex/supermemory/forget-memory.js "DESCRIPTION_OF_WHAT_TO_FORGET"
```
## Examples
- User says "I no longer use React, I switched to Vue":
```bash
node ~/.codex/supermemory/forget-memory.js "user prefers React for frontend development"
```
- User says "forget that API endpoint, it changed":
```bash
node ~/.codex/supermemory/forget-memory.js "API endpoint for user authentication"
```
## After Forgetting
Confirm to the user that the memory has been removed. If they mentioned new information to replace it, use the supermemory-save skill to save the updated information.
---
name: supermemory-save
description: Save important project knowledge to memory. Use when user wants to preserve architectural decisions, significant bug fixes, design patterns, or important implementation details for future reference.
allowed-tools: Bash(node:*)
---
# Super Save
Save important project knowledge based on what the user wants to preserve.
## Step 1: Understand User Request
Analyze what the user is asking to save from the conversation.
## Step 2: Format Content
Format the content to capture the key context:
```
[SAVE:<date>]
<User> wanted to <goal/problem>.
The approach taken was <approach/solution>.
Decision: <decision made>.
<key details, files if relevant>
[/SAVE]
```
Example:
```
[SAVE:2025-06-15]
User wanted to create a skill for saving project knowledge.
The approach taken was using a separate container tag for shared team knowledge.
Decision: Keep it simple - no transcript fetching, just save what user asks for.
Files: src/save-memory.ts, src/skills/super-save/SKILL.md
[/SAVE]
```
Keep it natural. Capture the conversation flow.
## Step 3: Save
```bash
node ~/.codex/supermemory/save-memory.js "FORMATTED_CONTENT"
```
---
name: supermemory-search
description: Search your coding memory. Use when user asks about past work, previous sessions, how something was implemented, what they worked on before, or wants to recall information from earlier sessions.
allowed-tools: Bash(node:*)
---
# Super Search
Search Supermemory for past coding sessions, decisions, and saved information.
## How to Search
Run the search script with the user's query and optional scope flag:
```bash
node ~/.codex/supermemory/search-memory.js [--user|--project|--both] "USER_QUERY_HERE"
```
### Scope Flags
- `--both` (default): Search both personal and project memories in parallel
- `--user`: Search personal/user memories across sessions
- `--project`: Search project-specific memories
### Options
- `--no-profile`: Skip fetching the user profile summary (included by default)
## Examples
- User asks "what did I work on yesterday":
```bash
node ~/.codex/supermemory/search-memory.js "work yesterday recent activity"
```
- User asks "how did we implement auth" (project-specific):
```bash
node ~/.codex/supermemory/search-memory.js --project "authentication implementation"
```
- User asks "what are my coding preferences":
```bash
node ~/.codex/supermemory/search-memory.js --user "coding preferences style"
```
## Present Results
The script outputs formatted memory results with relevance information. Present them clearly to the user and offer to search again with different terms if needed.
+1
-1
{
"name": "codex-supermemory",
"version": "1.0.0",
"version": "1.0.1",
"description": "Persistent memory for OpenAI Codex CLI — powered by Supermemory",

@@ -5,0 +5,0 @@ "type": "module",