Promptfire is an Obsidian plugin for assembling, formatting, and exporting vault context to LLMs — with targets, templates, token budgets, and smart note detection.
Find a file
luca-tty 45a0de063e feat: add multi-target export profiles for one-click multi-format export
Export Profiles bundle targets into named groups, enabling instant
multi-format export (e.g. XML for Claude + Markdown for ChatGPT +
Plain for Gemini) via a single "Export context (multi-target)" command.

- Add ExportProfile interface, generateProfileId, BUILTIN_PROFILES
- Add per-target outputPath override for file output location
- Add export-multi-target command with active profile resolution
- Add ExportProfileModal for creating/editing profiles
- Add profile management UI in Settings > Output
- Add profile dropdown in generator modal for target pre-selection
- Clean up stale profile references on target deletion

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 14:03:45 +01:00
.github/workflows feat: initial release of Claude Context plugin 2026-02-05 16:55:43 +01:00
docs docs: slim down README and extract detailed docs to docs/ 2026-02-06 12:46:15 +01:00
src feat: add multi-target export profiles for one-click multi-format export 2026-02-11 14:03:45 +01:00
.editorconfig feat: initial release of Claude Context plugin 2026-02-05 16:55:43 +01:00
.gitignore feat: initial release of Claude Context plugin 2026-02-05 16:55:43 +01:00
.npmrc feat: initial release of Claude Context plugin 2026-02-05 16:55:43 +01:00
AGENTS.md feat: rename plugin from "Claude Context" to "Promptfire" 2026-02-06 12:42:16 +01:00
esbuild.config.mjs feat: initial release of Claude Context plugin 2026-02-05 16:55:43 +01:00
eslint.config.mts feat: initial release of Claude Context plugin 2026-02-05 16:55:43 +01:00
LICENSE feat: initial release of Claude Context plugin 2026-02-05 16:55:43 +01:00
manifest.json feat: rename plugin from "Claude Context" to "Promptfire" 2026-02-06 12:42:16 +01:00
package-lock.json feat: rename plugin from "Claude Context" to "Promptfire" 2026-02-06 12:42:16 +01:00
package.json feat: rename plugin from "Claude Context" to "Promptfire" 2026-02-06 12:42:16 +01:00
README.md docs: slim down README and extract detailed docs to docs/ 2026-02-06 12:46:15 +01:00
styles.css feat: add context intelligence for auto-detecting related notes 2026-02-11 13:25:25 +01:00
tsconfig.json feat: initial release of Claude Context plugin 2026-02-05 16:55:43 +01:00
version-bump.mjs feat: initial release of Claude Context plugin 2026-02-05 16:55:43 +01:00
versions.json feat: initial release of Claude Context plugin 2026-02-05 16:55:43 +01:00

Promptfire

Obsidian TypeScript License Version

Copy your vault's conventions, structure, and content to any LLM with a single hotkey.

The Problem

When working with AI assistants on your Obsidian vault, you constantly re-explain your folder structure, link style, tag conventions, and frontmatter requirements. This is repetitive, error-prone, and wastes tokens.

The Solution

Promptfire stores your vault's conventions in a dedicated folder and copies everything to clipboard with one hotkey. Output adapts automatically for different LLMs (Claude, GPT-4, Gemini, etc.), and a built-in history tracks every context you generate.

Key Features

  • Multi-LLM output targets with per-model token limits, formats (XML, Markdown, Plain), and truncation strategies
  • Prompt templates with placeholders and conditionals for reusable workflows
  • Additional context sources from freetext, external files, or shell commands
  • Frontmatter presets to configure context per-note via ai-context YAML
  • Granular section selection to include only the headings you need
  • Context history with diff, search, and one-click restore
  • Context generator that walks you through setting up vault conventions

See the full documentation for details on each feature.

Quick Start

1. Generate context files

Ctrl+P > "Promptfire: Generate context files"

2. Add output targets Settings > Promptfire > Output Targets > "Add Built-in Targets"

3. Copy & paste

Ctrl+P > "Promptfire: Copy context to clipboard"

Paste into Claude, ChatGPT, or any AI assistant.

Documentation

Topic Description
Getting Started Installation, first run, commands
Output Targets Multi-LLM formats and truncation
Templates Prompt templates, placeholders, conditionals
Context Sources Freetext, file, and shell sources
Frontmatter Presets Per-note ai-context YAML configuration
Section Selection Granular heading and block selection
History Context history, diff, and restore
Settings Full settings reference
Advanced Truncation strategies, priority order, XML format

Contributing

Contributions welcome! Fork the repo, create a feature branch, run npm run build to verify, and submit a pull request. Report bugs and request features via Codeberg Issues.

License

MIT License - see LICENSE for details.