# Index Memory

> Save conversation Q&A pairs to persistent memory for later retrieval

- Skill: `couzip/index-memory` (Agent Skill)
- Install (CLI): `npx skillmds@latest add couzip/index-memory`
- Raw SKILL.md: https://api.skillmd.com/api/skills/couzip/index-memory/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: couzip (https://skillmd.com/u/couzip)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/couzip/index-memory

---


# Index Conversation to Memory

Save recent Q&A pairs to the index.

## Arguments

- If `$ARGUMENTS` is a number: save that many Q&A pairs
- If `$ARGUMENTS` is empty: save the most recent 1 Q&A pair

**Count:** $ARGUMENTS (default: 1)

## Steps

1. Identify the recent Q&A pairs (specified count)
2. Call store_memory with the formatted content

## Format

Content must be in this format:

    Human: User's question
    Assistant: Claude's response

For multiple pairs, concatenate them.

## Example Call

Call store_memory with:

- content: "Human: How do I use CC-Forever?\nAssistant: CC-Forever is a plugin for persistent conversation memory..."
- project: current directory name
- tags: ["manual-index"]

## Completion

Report the number of Q&A pairs saved.

