Skip to content

Custom Prompts Guide

Tharushka Dinujaya edited this page Sep 18, 2025 · 3 revisions

Custom Prompts Guide

Create reusable AI commands that adapt to your content using smart placeholders.

What Are Custom Prompts?

Reusable AI instructions that:

  • Adapt to any content with placeholders
  • Execute instantly via Command Palette or chat
  • Save time on repetitive tasks
  • Maintain consistent output quality

Creating Prompts

  1. SettingsVaultAICustom PromptsAdd Prompt
  2. Fill in:
    • Name: Short identifier (e.g., "Summarize", "Improve")
    • Description: What it does
    • Prompt Content: Your instruction with placeholders

Smart Placeholders

{{selection}} - Currently selected text {{content}} - Full note content {{title}} - Current note title

Example Prompts

Improve Writing

Improve this text for clarity and flow: {{selection}}

Create Summary

Create a brief summary of this note: {{content}}

Explain Concept

Explain this concept in simple terms: {{selection}}

Meeting Notes

Extract action items from these meeting notes: {{content}}

Academic Tone

Rewrite this in formal academic style: {{selection}}

Using Prompts

Via Chat Interface

  1. Open VaultAI chat
  2. Click 📝 Prompts button
  3. Select your prompt

Via Command Palette

  1. Press Ctrl/Cmd+P
  2. Search "Custom Prompt: [name]"
  3. Execute instantly

Via Hotkeys

  1. SettingsHotkeys
  2. Search for your prompt
  3. Assign keyboard shortcut

Advanced Prompts

Multi-Step Instructions

Analyze this text and provide:
1. Main themes (3-5 items)
2. Key insights
3. Potential questions

Content: {{selection}}

Role-Based Prompts

As a professional editor, review this text for:
- Grammar and style
- Clarity improvements
- Structure suggestions

Text: {{selection}}

Tips

  • Be specific in instructions
  • Test prompts with different content types
  • Use action words: "analyze", "improve", "create"
  • Organize prompts by purpose (writing, analysis, etc.)
  • Keep names short and memorable

Management

Edit Prompts: Settings → VaultAI → Custom Prompts Delete Unused: Regular cleanup for better organization Export/Import: Copy plugin folder to share prompts

Next Steps

Clone this wiki locally