Context Porter

Export AI session and project context to Markdown for handoff.

VS Code Marketplace ↗ Open VSX ↗ Source on GitHub ↗

Context Porter is a Visual Studio Code extension that exports AI session and project context to Markdown so you can hand it off to other tools (ChatGPT, Claude, docs, tickets) without retyping everything.

Repository: github.com/michaelsam94/contextporterext

Compatibility: Development and day-to-day use are in Cursor. The same VSIX may run in stock VS Code or Claude-based / other VS Code forks, but those environments are not fully tested yet—if something breaks outside Cursor, open an issue with your editor and version.

Features

Commands

Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P):

Command Description
Context Porter: New Export File Create a new context Markdown file.
Context Porter: Append to Session Log Append an optional title and short note to the session log.
Context Porter: Append Clipboard to Session Log Append clipboard text (sanitized) in a fenced block.
Context Porter: AI Review Active File (IDE model) Sanitize the open file and append an IDE model review section (when available).

Settings

ID Default Description
contextporterext.exportFolder context-exports Output folder relative to the workspace folder.
contextporterext.sessionLogFileName SESSION.md Session log file name inside the export folder.
contextporterext.toolLabel (empty) Override the tool field in front matter; otherwise uses the app name.
contextporterext.sanitizeExports true Enable heuristic secret redaction.
contextporterext.omitFullWorkspacePaths true Omit absolute paths in front matter.
contextporterext.extraRedactRegex [] Additional RegExp sources for custom redaction.
contextporterext.aiReview ask off / ask / always — optional LM review after a new export.
contextporterext.importCursorLocalHistory true In Cursor, try to import Composer/chat-related rows from local SQLite into new exports (experimental).

Privacy and limitations

Hiring a senior Android / Flutter engineer?

I architect and ship production mobile software — Kotlin, Jetpack Compose, Flutter — for robotics, EV infrastructure, fintech, and real-time systems. Open to remote roles in Europe and the US.

Get in touch →