PromptCrate — Local AI Prompt Library
Your team's AI prompts, versioned in Git and runnable in one click. Private by design: prompts never leave your machine.
Most prompt "managers" are cloud notebooks. PromptCrate treats prompts like code: plain Markdown files you keep in your repo, review in pull requests, and run against a local model with a single click.
Works with Ollama out of the box. No API keys. No subscription to use the core. No telemetry.
Why PromptCrate
You already have prompts scattered across chats, notes and browser tabs. They drift, nobody reviews them, and the good ones disappear when a teammate leaves.
PromptCrate fixes that:
- Prompts are files.
.PromptCrate/prompts/*.prompt.md, committed with your code.
- Variables, not copy-paste. Fill
{{selection}}, {{language}} or your own {{topic}} at run time.
- One-click runs. Stream the response into a side panel, then insert it into the editor.
- Offline and private. Everything goes to your local Ollama server.
Features (free)
| Feature |
What it does |
| Prompt library sidebar |
Browse, search, create, edit, duplicate and delete prompts |
| Starter library |
10 production-ready prompts (code review, tests, commit messages, SQL, regex…) |
| Variables |
{{selection}}, {{file}}, {{filePath}}, {{language}}, {{clipboard}}, {{date}}, {{model}} and any custom {{variable}} |
| Run on selection |
Right-click a selection → Run Prompt on Selection… |
| Streaming panel |
Watch tokens arrive, then Copy or Insert into the editor |
| Model per prompt |
Pin a model or temperature in the prompt's frontmatter |
| Ollama status |
A status-bar indicator tells you if the server is reachable |
Quickstart
Install Ollama from ollama.com and pull a coding model:
ollama pull qwen2.5-coder:7b
Install PromptCrate from the Marketplace (or code --install-extension promptcrate-0.1.0.vsix).
Open the PromptCrate view in the activity bar. The starter library is created for you on first launch.
Run a prompt. Click the play icon, or right-click code and choose Run Prompt on Selection….
If your Ollama runs somewhere else, set PromptCrate.ollama.baseUrl.
A prompt is a Markdown file with optional frontmatter:
---
name: Code Review
description: Reviews a diff for bugs and style
tags: [review, quality]
model: qwen2.5-coder:7b
temperature: 0.2
---
You are a senior engineer reviewing {{language}} code.
Focus on real bugs first, then readability.
```{{language}}
{{selection}}
```
Only name, description, tags, model and temperature are interpreted. Everything after the frontmatter is sent to the model.
Settings
| Setting |
Default |
Description |
PromptCrate.ollama.baseUrl |
http://localhost:11434 |
Ollama server URL |
PromptCrate.ollama.model |
qwen2.5-coder:7b |
Default model |
PromptCrate.ollama.temperature |
0.2 |
Default temperature |
PromptCrate.ollama.numCtx |
16384 |
Context window requested from Ollama |
PromptCrate.promptsFolder |
.PromptCrate/prompts |
Where prompts live in the workspace |
PromptCrate.insertMode |
replaceSelection |
replaceSelection, insertAtCursor or newEditor |
PromptCrate Pro
The free core is complete and stays free. Pro adds the features teams ask for:
- Library export / import — move a curated prompt set between machines and repos.
- Run history — reopen any previous prompt/response pair.
- Priority support and early access to new providers.
Pro is a license key you buy once from our store; the extension validates it against the Lemon Squeezy license API. No account, no telemetry.
Running a team? We can issue seat-based keys — open an issue and we'll get back to you.
Privacy
PromptCrate sends prompt text only to the Ollama URL you configure (default localhost). It does not collect telemetry, does not phone home, and does not send your code anywhere else. The only outbound request is the optional Pro license check.
Requirements
- VS Code 1.85 or newer
- Ollama running locally (or on your network)
Support
Open an issue with your VS Code version, Ollama version, and the exact prompt that failed.
License
MIT for the free core. See LICENSE.