Skip to content

itselliott/preamble

Repository files navigation

Preamble

The persistent context library you bring to every AI chat. Set it once, paste it anywhere.

Tired of re-explaining your background, projects, and preferences to ChatGPT, Claude, Gemini, and Perplexity every conversation? Preamble keeps that context in one place — pick what's relevant, copy it as a formatted prompt prefix, paste, go.

100% local. No accounts, no servers, no analytics.


Setup

Same flow as Semantic Cmd-F.

cd C:\Repo\preamble
npm install
npm run build

Load the extension at chrome://extensions → Developer mode → Load unpacked → select the preamble folder.

Use it

  1. Click the Preamble icon in the toolbar (or press Ctrl+Shift+M). The side panel opens.
  2. The first time, three example memories are seeded. Edit, delete, or add your own.
  3. Click memory cards to select them. Click Copy as prompt — your context lands in your clipboard, formatted nicely.
  4. Paste into any AI chat. Type your real question after the ---.

Categories

  • Identity — who you are
  • Projects — what you're working on right now
  • Preferences — how you want answers (concise, detailed, code-first, etc.)
  • Tools — your stack, OS, language preferences
  • Writing style — how the AI should write back to you
  • Other — anything that doesn't fit

What's not in v1

  • Auto-injection into chat input fields (ChatGPT, Claude, etc.) — coming in v1.1
  • Semantic search across memories
  • Auto-extraction of memories from past conversations
  • Cloud sync

Tech

  • MV3 Chrome extension
  • chrome.sidePanel API for the UI (Chrome 114+)
  • chrome.storage.local for the memory vault
  • Vanilla JS — no framework
  • esbuild for bundling

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors