- Add export profiles, smart context, and snapshots to README features - Document export profiles workflow and edge cases in output-targets.md - Add per-target outputPath and intelligence settings to settings.md - Add smart-context.md for context intelligence documentation - Restructure history.md to include snapshots section - Add new commands to getting-started.md - Update repo URLs to GitHub Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.3 KiB
1.3 KiB
Smart Context
Auto-detect related notes based on links, tags, folder proximity, and shared frontmatter properties.
Usage
Ctrl+P > "Promptfire: Copy smart context (auto-detect related notes)"
Requires an active note. Promptfire analyzes the note's connections and presents a ranked list of related notes. Select which ones to include, then copy.
How Scoring Works
Each note receives a relevance score based on configurable signal weights:
| Signal | Description |
|---|---|
| Forward links | Notes linked from the active note |
| Backlinks | Notes that link to the active note |
| Shared tags | Notes sharing tags with the active note |
| Folder proximity | Notes in nearby folders |
| Shared properties | Notes with matching frontmatter values |
Settings
Configure in Settings > Promptfire > Intelligence:
- Token budget - Maximum tokens for smart context output
- Max notes - Maximum related notes to consider
- Min score - Notes below this threshold are excluded
- Signal weights - Fine-tune the importance of each signal
- Link depth - How many hops to follow forward links (1-3)
- Exclude paths - Folders to skip during analysis
- Exclude tags - Notes with these tags are skipped
- Property keys - Which frontmatter keys to compare