Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Agentic Note References

imavinashimavinash92 downloads

Copy a citation with file link, line numbers, and a custom prompt for AI agents.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates8

An Obsidian plugin that copies a formatted note reference to the clipboard — ready to paste into any AI agent chat.

How it works

Editor mode (Live Preview / Source)

  1. Place your cursor on a line, or select a range of lines.

  2. Press Ctrl+Alt+I (or run Copy agentic citation from the command palette).

  3. A picker appears — type to filter, arrow keys or mouse to choose:

    • Default — built-in ref mode; uses the Default citation template from Settings
    • Custom modes — ref modes you define in Settings, in the order you set
    • Reading mode — built-in preset read mode; uses the Reading mode template
  4. The formatted citation is copied to the clipboard.

Reading mode

Press Ctrl+Alt+I while in Reading mode and the same picker appears.

  • Reading mode is listed first and uses the Reading mode template.
  • Ref modes remain available too; when selected, they use the note's current editor cursor/selection for line numbers.

Settings

Go to Settings → Agentic Note References.

Path format

Controls how {{filename}} resolves in every template:

Option Example
File name only (default) My Note
Relative to vault root folder/My Note.md
Absolute filesystem path /home/user/vault/folder/My Note.md

Editor mode — Default citation template

The template used by the built-in Default ref mode in the picker.

Default value:

[[{{filename}}]] — Lines {{from}}–{{to}}

Here is the referenced section:

Reading mode template

The template used by the built-in Reading mode option in the picker.

Default value: [[{{filename}}]]

Custom ref modes

Click Add ref mode to create a new mode. Each mode has:

  • Name — shown in the picker list
  • Template — the text that gets copied

Use the ↑ / ↓ buttons to reorder modes. Their order in Settings is the order they appear among the ref modes in the picker.

Template placeholders

Placeholder Expands to Available in
{{filename}} File reference per path format All modes
{{from}} Starting line number (1-indexed) Ref modes only
{{to}} Ending line number (1-indexed) Ref modes only
{{lines}} Line 5 or Lines 3–7 Ref modes only

In the Reading mode template, {{from}}, {{to}}, and {{lines}} are not available — use only {{filename}}.

Use \n for explicit newlines in any template.


Installation

git clone <repo> ~/.obsidian/plugins/agentic-note-references
cd ~/.obsidian/plugins/agentic-note-references
npm install && npm run build

Enable Agentic Note References in Settings → Community Plugins.

Development

Build and sync to your vault in one step:

./sync.sh

Options:

-n, --no-build      Skip npm build (copy existing main.js)
-v, --vault <path>  Target vault root  (default: ~/obsidian/notes)
-s, --src   <path>  Plugin source dir  (default: ~/github/obsidian-agentic-note-references)

After syncing, reload the plugin in Obsidian: Settings → Community Plugins → toggle off/on.

99%
HealthExcellent
ReviewPassed
About
Copy a citation with file link, line numbers, and a custom prompt ready to paste into any AI agent chat. Select text or place the cursor to capture the referenced lines to the clipboard using a configurable citation template and file path format with placeholders for filename and line numbers.
AILinksTemplating
Details
Current version
1.3.0
Last updated
4 days ago
Created
2 weeks ago
Updates
8 releases
Downloads
92
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
AGPL-3.0
Report bugRequest featureReport plugin
Author
imavinashimavinashavinashkanaujiya
GitHubavinashkanaujiya
  1. Community
  2. Plugins
  3. AI
  4. Agentic Note References

Related plugins

Smart Connections

AI link discovery copilot. See related notes as you write. Lookup using semantic (vector) search across your vault. Zero-setup local model for embeddings, no API keys, private.

Whisper

Speech-to-text using OpenAI Whisper.

PodNotes

Write notes on podcasts with ease.

QuickAdd

Quickly add new notes or content to your vault.

Templater

Create and use dynamic templates.

Copilot

Your AI Copilot: Chat with Your Second Brain, Learn Faster, Work Smarter.

Claudian

Embeds Claude Code/Codex as an AI collaborator in your vault. Your vault becomes agent's working directory, giving it full agentic capabilities: file read/write, search, bash commands, and multi-step workflows.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.

Text Generator

Generate text content using GPT-3 (OpenAI).