links

links is a skill for Claude Code, Codex from thoreinstein/obsidian-rag. It costs 38 tokens per session (221 once invoked), scanned A, a copy of links, MIT.

A note-connection tool for Obsidian, a linked-note application. It shows the notes referenced by a chosen note and the notes that reference it.

In plain words
What is it for?
Use it to inspect outgoing links, incoming backlinks, and the local connection map around a note.
Why use it?
It helps reveal related information that may be hard to find by reading one note alone.

Skill for Claude CodeCodex

Part of the obsidian-rag plugin — 13 skills, 2 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/thoreinstein/obsidian-rag/links
Any agent
npx skills add thoreinstein/obsidian-rag --skill links
Clone the repo
git clone --depth 1 https://github.com/thoreinstein/obsidian-rag

Made for: Claude Code, Codex.

Or install obsidian-rag, the plugin that ships this one along with the rest of its 13 skills, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for links

README.md
[![agentmods](https://agentmods.dev/badge/skills/thoreinstein/obsidian-rag/links.svg)](https://agentmods.dev/skills/thoreinstein/obsidian-rag/links)
Your own site
<a href="https://agentmods.dev/skills/thoreinstein/obsidian-rag/links"><img src="https://agentmods.dev/badge/skills/thoreinstein/obsidian-rag/links.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 221 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00038 $0.00221
Opus 5 $0.00019 $0.00111
Sonnet 5 $0.00008 $0.00044
Haiku 4.5 $0.00004 $0.00022

Measured 4d ago against content hash fd4e3e8da6a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

links scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to links — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/links/SKILL.md · 29 lines

What it actually says

Explore Note Connections

Map the link graph around a specific note.

Workflow

  1. Call obsidian_get_links on the specified note to find outgoing links
  2. Call obsidian_get_backlinks on the same note to find incoming links
  3. Present a connection map:
    • Outgoing links: Notes this note references
    • Incoming links: Notes that reference this note

Arguments

The note path or name follows the skill invocation. Example: /links Projects/MyProject.md

Tips

  • If the user provides just a name (no path), try searching for it first with obsidian_search_notes
  • For obsidian_get_backlinks, pass the note name without the .md extension
  • For obsidian_get_links, pass the full relative path with .md
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 29 lines · 38 tokens per session scan A fd4e3e8da6a1

Subscribe to this mod's changes

links is a skill published in the GitHub repository thoreinstein/obsidian-rag (2 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 221 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to links, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

cdb-scan

Map this codebase into project memory — a code graph of every symbol and how they connect, plus a written profile of stack, layout, conventions and workflows. Re-run any time to refresh both in place. Use when memory is newly installed on an existing project, or when the project has changed enough that the stored map…

Avijit07x/claude-db · 72 tokens

refresh-context-map

USE WHEN AIDEV anchors / per-dir AGENTS.md / ADRs have changed in this repo and the smart-context-surfacing PreToolUse hook needs an updated manifest. Rebuilds .claude-leverage-context-map.json at the repo root by running scripts/build-context-map.py. Read-only on source — only writes the manifest.

Filip-Podstavec/claude-leverage · 75 tokens

superbrain-distill

Internal SuperBrain skill — run by the detached capture child to distill a session-event delta into routed Obsidian notes. Not for direct user invocation.

m3talux/superbrain · 36 tokens

checkpoint

Save the current session to TokenMizer graph memory. Creates a persistent checkpoint with all tasks, decisions, files, and errors — resumable in any future session. Use when user says "save", "checkpoint", "remember this", "I'm done for today", or session is getting long.

Shweta-Mishra-ai/tokenmizer · 61 tokens

resume

Load a previous session from TokenMizer graph memory. Returns a compact context block (100-600 tokens) covering goals, completed work, decisions, open tasks, and files. Inject this as system context to continue exactly where you left off. Use when user says "resume", "continue from last time", "load my project", "what…

Shweta-Mishra-ai/tokenmizer · 86 tokens

garden-tending

Tend the knowledge garden — diagnose vault health, condense project memos into project.md overviews, create/merge cross-project topics, fix broken links, archive superseded notes, extend trails. Trigger on "tend the garden", "condense", "update project overview", "check vault health", "where are we with X?", "what…

linxule/memex-plugin · 131 tokens