Synthesize

From nikhilsitaram/claude-memory-system · View interactive version

Synthesize is an AI agent skill from the GitHub repository nikhilsitaram/claude-memory-system. Use when processing pending session transcripts into daily summaries — first session of the day, on manual request, or on schedule

How to use this skill

Skill file

Synthesize Skill

Launch a subagent to process memory transcripts into daily summaries and selectively route key learnings to long-term memory.

Execution

IMPORTANT: This skill MUST be executed by launching a subagent. Do NOT run synthesis in the main context.

  1. Get the synthesis prompt, model, and pre-extracted data:

```bash

uv run --no-project $HOME/.claude/scripts/load_memory.py --synthesis-prompt

```

  1. Launch a synthesis subagent (foreground — manual /synthesize always blocks so user sees results).

IMPORTANT: Do NOT read the prompt file. Pass the file path to the subagent and let it read the file itself. This avoids the main agent regenerating ~50K tokens of prompt content.

```

Task(

subagent_type: "general-purpose",

model: <model from first line>,

prompt: "Read <prompt_file path> and follow the instructions in it exactly. Use only Write and Bash tools."

)

```

  1. Report the subagent's summary to the user.

Reference: Tag Types

Actions: implement, improve, document, analyze

Decisions: design, tradeoff, scope

Learnings: gotcha, pitfall, pattern

Lessons: insight, tip, workaround

Reference: Pinning Criteria

Items in long-term memory can be moved to ## Pinned section (protected from decay):

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.