compress

Extract curated insights from Claude Code sessions into Obsidian vault notes.

Updated Apr 4, 2026
One-click install
npx skills add https://github.com/abhattacherjee/obsidian-brain --skill compress-abhattacherjee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compress
Source: https://github.com/abhattacherjee/obsidian-brain/tree/main/skills/compress
Command: npx skills add https://github.com/abhattacherjee/obsidian-brain --skill compress-abhattacherjee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Claude Code sessions are ephemeral; valuable context and decisions disappear after each run. compress saves curated insights from the current session to the Obsidian vault, preserving decisions, patterns, and fixes for long-term recall.

Core Features & Use Cases

  • Interactive extraction: select multiple insights across the session and store them as structured notes.
  • Single-topic extraction: target a specific topic from the conversation and create a focused note.
  • Vault integration: writes frontmatter with date, source_session, and project context, and stores notes under claude-insights in Obsidian for easy retrieval.
  • Context preservation: links back to the originating session to enable bidirectional navigation in the graph view.

Quick Start

Run /compress after a Claude Code session to save curated insights to your Obsidian vault.

Frequently Asked Questions about compress

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I save Claude Code session insights to Obsidian?

To save Claude Code session insights to Obsidian, run the /compress command after your session to extract curated decisions and patterns, then write them as structured notes with frontmatter directly into your vault for long-term retrieval.

Can I select multiple insights from a Claude Code session to store as notes?

Yes, you can select multiple insights from a Claude Code session. Compress supports interactive multi-insight extraction, allowing you to curate various decisions across the conversation and store them as structured notes in your Obsidian vault.

How does compress organize saved notes in an Obsidian vault?

Compress organizes saved notes in an Obsidian vault by storing them under a dedicated claude-insights directory. It enforces a frontmatter structure with date, source session, and project context to enable fast search and cross-note graph navigation.

Do I need to configure Obsidian vault write access before saving session notes?

Yes, you need Obsidian vault write access configured before saving session notes. Compress reads your vault configuration and validates write access to ensure it can successfully create notes with session linkage and timestamps.

What is the best way to extract a single topic from a Claude Code conversation?

The best way to extract a single topic from a Claude Code conversation is using single-topic extraction. Compress targets a specific topic from the session and creates a focused note with session linkage and timestamps in your Obsidian vault.