Skip to content
Back to skills

Memory Save

ASecurity

Save current session context to claude-mem

  • 15 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 12, 2026
securitysecurity

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add baekenough/second-brain --skill memory-save --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Memory Save?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Memory Save
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/baekenough-memory-save/badge)](https://www.skillsdirectory.com/skills/baekenough-memory-save)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: memory-save
description: Save current session context to claude-mem
scope: core
argument-hint: "[--tags <tags>] [--include-code]"
disable-model-invocation: true
user-invocable: true
---

# Memory Save Skill

Save current session context to claude-mem for persistence across context compaction.

## Options

```
--tags, -t       Additional tags for the memory
--include-code   Include code changes in the save
--summary, -s    Custom summary (otherwise auto-generated)
--verbose, -v    Show detailed save information
```

## Workflow

```
1. Collect session context
   ├── Tasks completed
   ├── Decisions made
   ├── Open items
   └── Code changes (if --include-code)

2. Format with metadata
   ├── project: my-project
   ├── session: {date}-{uuid}
   ├── tags: [session, ...user_tags]
   └── created_at: {timestamp}

3. Store in claude-mem
   └── chroma_add_documents

4. Report result
```

## Storage Format

```yaml
project: my-project
session: {date}-{uuid}
tags: [session, task, decision]
content:
  summary: Brief description of session context
  tasks_completed: List of completed tasks
  decisions: Key decisions made
  open_items: Unfinished work
```

## Output Format

### Success
```
[sys-memory-keeper:save]

Saving session context...

Context collected:
  Tasks: 3 completed
  Decisions: 2 recorded
  Open items: 1 pending

Metadata:
  Project: my-project
  Session: 2025-01-24-a1b2c3d4
  Tags: [session, task, decision]

[Done] Session context saved successfully.
Memory ID: mem_abc123
```

### With Tags
```
[sys-memory-keeper:save --tags "authentication,oauth"]

Saving session context...

Metadata:
  Project: my-project
  Session: 2025-01-24-a1b2c3d4
  Tags: [session, task, decision, authentication, oauth]

[Done] Session context saved successfully.
Memory ID: mem_abc123
```

### Verbose
```
[sys-memory-keeper:save --verbose]

Collecting session context...

Tasks Completed:
  1. Implemented OAuth flow
  2. Added JWT token validation
  3. Created authentication middleware

Decisions Made:
  1. Use RS256 for JWT signing
     Rationale: Better security for distributed systems
  2. Token expiry: 1 hour
     Rationale: Balance security and user experience

Open Items:
  1. Refresh token implementation
     Status: In progress

Saving to claude-mem...

Document content:
  ## Session Summary
  Date: 2025-01-24
  ...

[Done] Session context saved.
Memory ID: mem_abc123
```

## Related

- memory-recall - Search and recall memories

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…