- Home
- Skills
- Productivity
- Vault Import: Backfill Your Old AI Coding Sessions
Works with the AI Agents you already use
Vault Import: Backfill Your Old AI Coding Sessions
Imports a project's past Claude Code and Antigravity sessions into your Obsidian vault, one dated note per session, with no duplicates.
$5
Vault Import: Backfill Your Old AI Coding Sessions
Example session with this skill installed
/vault-import
- Read your context and instructions
- Compiled the vault import
Found 5 Claude Code sessions for shop-app. After skipping what doesn't qualify, 2 are left:
| Date | Msgs | Id |
|---|---|---|
| 2026-10-26 | 17 | e60b56b4 |
| 2026-10-26 | 15 | dfa8d2fd |
Skipped: 51ac05e7 (2 messages, under the minimum), 13f7e026 (only ran /vault-import), 582d4288 (this session).
Import all 2, a date range, or specific ones?
all
Imported 2 sessions and skipped 3, all dated 2026-10-26.
Chats/2026-10-26.md: createdsrc/cart.jswithaddItem,removeItem,total(integer cents, in-memory Map)Chats/2026-10-26-2.md: addedtotalWithTax()with 18% VAT, rounded once at the endREADME.md: created with Overview, Key Decisions (integer cents, in-memory cart, VAT rounding), a Progress Log entry per session, and 3 open TODOs
Each chat log starts with <!-- session: <id> -->, so running /vault-import again won't duplicate them.
Connects securely to your tools. The creator never sees your data.
About this skill
Started using a vault halfway through a project? Your agents' memory only goes back to that day. Vault Import fills in everything before it.
How it works
- Lists every past Claude Code session for the current project, with dates and message counts. Antigravity transcripts work too.
- Hides sessions that are already in the vault (matched by session id, including ones written by Vault Autosync), sessions that are too short, the session you're in, and sessions that only ran vault skills.
- Asks which ones to import: all of them, a date range, or a few you pick.
- Writes one dated chat log per session, oldest first: the goal, what changed, decisions, and problems and fixes.
- Updates the project README once at the end, with a progress log entry per session and the latest decisions and TODOs.
Run it again any time: sessions that are already in the vault are never imported twice.
Good to know
- The helper scripts are zero-dependency Node.js and only read local files.
- Secrets and keys are never copied into your notes.
- Afterwards it offers to turn the biggest decisions into ADRs if Vault ADR is installed.
- Tested end to end in real Claude Code sessions.
Requirements: Node.js 18+, an Obsidian vault (or any Markdown folder), and an agent that can run shell commands (Claude Code, Codex, Cursor and others).
- Reads Claude Code history automatically. Antigravity transcripts aren't grouped by project, so the agent asks you which conversations belong to the project.
- Claude Code only keeps transcripts it hasn't cleaned up. Very old sessions may already be gone from ~/.claude/projects.
- Sessions with fewer than 4 messages are skipped.
- The project is matched by the workspace folder path, so sessions from a folder you've since moved or renamed won't be listed.
- Long imports use agent tokens: each session is condensed locally first, but the agent still reads and summarizes it.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 21 days ago
Requires
Permissions
File Scopes
Terminal: runs the bundled Node.js scripts to list and condense local session transcripts (read-only). Writes Markdown only inside your vault's projects folder. No network access.