Skip to content

Black Friday · Save $100

All Pro plugins for Obsidian.

Find related notes, build richer context, and work with AI.

Normally $299 $199 for 12 months

14 days free for new subscriptions.

On this page

Smart Templates

Smart Templates combines the current note or selection, optional supporting context, one or more reusable Markdown templates, and a request-specific instruction.

Current Smart Templates 2.3 ends at Copy prompt in Core and Pro. Paste the prompt into the AI tool you choose.

Annotated Template Context showing the selected template, instructions, context-source chooser, and Copy prompt action

Build and copy AI prompts from Obsidian templates











Open Template Context

Run:

Smart Templates: Open template context

The ribbon opens the same shared modal. In the file navigator, right-click a Markdown or text file. Select Open template context. This action uses the selected file as the source, even when another note is active.

File-menu action for opening Template Context from the clicked file

Core and Pro use the same open command and preparation modal.



Start from the current note or selection

Opening from the editor uses the active note as the context anchor. When supported text is selected first, the selection becomes the starting context instead of the whole note.

Template Context starts from the selected editor text instead of the whole note.

If a selection unexpectedly replaced the note:

  1. Close Template Context.
  2. Clear or adjust the editor selection.
  3. Reopen Template Context.

If a file-menu action used the wrong note, open the menu from the intended file. Do not rely on the active note.

Add and review context

Choose Add context to include supporting material. Opening the chooser does not add a source by itself.

For a reusable source selection, build it with Smart Context and open it in Smart Templates.

Composite example showing two selected context sources and a separate picker view with one unselected note suggestion.

Smart Context output menu with an action to open the context in Smart Templates

The Template Context package menu manages supporting context separately from the prepared request. Core exposes Copy text, Copy link tree, and Clear this context. Pro can also expose richer Context outputs plus Open in context builder and Make a copy. The primary Copy prompt action remains separate and completes the prepared template workflow.


Configure template discovery

Open Templates settings and use the controls that match the vault convention:

After changing discovery settings, reopen Template Context and make sure that the expected picker entries appear.









Select one or more templates

Choose Select. If a template is already selected, choose Change instead. Smart Templates can use:

Built-in defaults allow a first workflow before vault-specific configuration.

When you select multiple templates, Smart Templates combines them in selection order. Review the finished request when order affects section sequence or instruction priority.

Template picker with two built-in templates selected and the shared request ready to continue

Use {{vault_tags}} in a template when the workflow should expand the vault's current tags. Verify the expansion in the finished prompt before sending it.


Add request-specific instructions

Templates should hold reusable structure. The instruction should describe what is unique about this run.

For example:

Focus on the unresolved decision, strongest evidence, and next reversible action.

Avoid repeating the complete template in the instruction. Shorter, discriminating constraints are easier to inspect and reuse.








Review the shared Template Context modal

Before choosing an output action, check:

  1. the starting note or selection
  2. any added context
  3. the selected templates and their order
  4. the request-specific instruction
  5. the visible size or scope estimate
  6. the destination you intend to use

Template suggestions and context suggestions are separate modes. Use the mode control to return to the source type you need. Selecting or clearing a template should update the request panel before you continue.




Copy the completed prompt in Core or Pro

After you review the request:

  1. Select Copy prompt.
  2. Paste the copied content into a clean composer or temporary note.
  3. Make sure that:
    • the intended context is present
    • unrelated sources are absent
    • the selected template structure is recognizable
    • the request-specific instruction is included
    • source material and instructions are clearly separated

The current Core and Pro workflow does not require a Templates model because it stops at the clipboard.














Retired Smart Templates v1 generation workflow

Smart Templates 2.3 ends at Copy prompt.

The following controls belonged to Smart Templates v1 and are not current Smart Templates controls:

An older guide that names these controls describes the retired v1 workflow.

For the current workflow, open Template Context from the intended note or selection, choose a template, and add instructions. Select Copy prompt, then paste the request into your AI tool.


Troubleshooting Smart Templates

What happened Try first
No templates appear Check the template folder, Obsidian Templates fallback, flags, filename rules, and heading detection in settings.
The wrong source is seeded Close the modal. Clear the editor selection. Reopen the modal from the intended note or file.
The request is too large Remove optional sources or build a narrower Smart Context package.
Copy prompt appears incomplete Check the context. Check the template selection. Check the instructions. Copy the prompt again. Paste it into a clean destination.
An older guide says to use Generate, Regenerate, Insert, or Create note That guide describes the retired v1 workflow. Use Copy prompt in current Smart Templates 2.3.
The pasted request is too generic Clarify the instruction or add the missing evidence. Select Copy prompt again. Examine the pasted request before sending.
You expected Smart Templates to modify a note The current workflow copies a prompt. Place reviewed output into a note through the destination workflow you chose.