Agent skill

Link Audit

by thoreinstein in thoreinstein/gemini-obsidian

A skill your agent uses when the user wants to audit vault link health, find broken wikilinks, orphaned notes, or semantic clusters.

ISCAuto-check passed

Install Link Audit

skills CLI
$ npx skills add thoreinstein/gemini-obsidian --skill link-audit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install thoreinstein/gemini-obsidian link-audit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/thoreinstein/gemini-obsidian.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/link-audit .claude/skills/link-audit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
link-audit
GitHub stars
102
Token cost
~408 tokens
SKILL.md length
191 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
ISC

At a glance

A skill your agent uses when the user wants to audit vault link health, find broken wikilinks, orphaned notes, or semantic clusters.

  • Works in 3 steps: Broken Links → Orphaned Notes → Semantic Suggestions (Optional)
  • The user wants to audit vault link health
  • SKILL.md covers Phase 1 — Broken Links, Phase 2 — Orphaned Notes, Phase 3 — Semantic Suggestions… and Arguments, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Link Audit is an agent skill from thoreinstein/gemini-obsidian. Use when the user wants to audit vault link health, find broken wikilinks, orphaned notes, or semantic clusters. Triggers on "link audit", "broken links", "link health", "graph cleanup", or "find orphans".

Its SKILL.md is about 410 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Obsidian. The repository describes itself as: A Gemini CLI extension for interfacing with an Obsidian vault with local first RAG capabilities. The licence is ISC.

When your agent uses it

  • The user wants to audit vault link health
  • Find broken wikilinks
  • Semantic clusters

Example prompts

  • “link audit”
  • “broken links”
  • “link health”
  • “/link-audit”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Broken Links
  2. Orphaned Notes
  3. Semantic Suggestions (Optional)

What it can do on your machine

Read from SKILL.md and the folder at commit 9156cba. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Link Audit loads about 408 tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 191 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~54
When it runs · the whole SKILL.md, loaded when a task matches
~408

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from thoreinstein/gemini-obsidian at commit 9156cba, republished under its ISC licence (© thoreinstein). 191 words, ~408 tokens.

Download SKILL.mdSave it as .claude/skills/link-audit/SKILL.md (or your agent's skills folder).
name
link-audit
description
Use when the user wants to audit vault link health, find broken wikilinks, orphaned notes, or semantic clusters. Triggers on "link audit", "broken links", "link health", "graph cleanup", or "find orphans".

Comprehensive audit of link health: broken wikilinks, orphaned notes, and semantic suggestions.

  1. Call obsidian_get_broken_links (optionally with subfolder argument).
  2. Present broken links grouped by originating file.
  3. For each, suggest: delete the link, create a stub note, or correct the target name.
  4. Offer to fix each with obsidian_replace_in_note (wrong name → correct name).

Phase 2 — Orphaned Notes

  1. Call obsidian_list_notes to enumerate all notes in scope.
  2. For each candidate orphan, call obsidian_get_backlinks.
  3. Notes with zero backlinks and not in Daily Notes/ are orphan candidates.
  4. Present orphan list with options: link from a relevant note, move to archive, or delete.

Phase 3 — Semantic Suggestions (Optional)

If the user asks for deeper suggestions:

  1. For each orphan, call obsidian_rag_query with the orphan title as query, limit: 5.
  2. If strong matches exist, suggest [[wikilink]] connections.

Arguments

Optional subfolder: /link-audit Engineering/

Tips

  • For large vaults, always scope to a subfolder first; a full-vault orphan scan is slow
  • Broken links in Daily Notes/ are usually harmless; offer to skip them
  • Never make edits without per-change user confirmation
  • Run /obsidian:index first if obsidian_get_broken_links seems incomplete

© thoreinstein, ISC. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/link-audit of thoreinstein/gemini-obsidian.

Open the folder on GitHubat commit 9156cba

Compare with similar skills

Link Audit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Link Audit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Link Audit this skillthoreinstein/gemini-obsidian102—~408Automated safety check: PassISC
Obsidian BasesAtmosphere/atmosphere3.8k22 repos~3.2kAutomated safety check: PassApache-2.0
Knap Markdown Templateskepano/obsidian-skills49k2 repos~986Automated safety check: PassMIT
JSON Canvasheyitsnoah/claudesidian2.6k18 repos~3.5kAutomated safety check: PassMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0
Bounded AutoresearchAgriciDaniel/claude-obsidian15k1 repos~1.6kAutomated safety check: PassMIT

Similar skills

  • Obsidian Bases

    Atmosphere/atmosphere

    Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries.

    3.8k GitHub starsUsed in 22 repos~3.2k tokens
    Backend & APIsAuto-check passed
  • Knap Markdown Templates

    kepano/obsidian-skills

    Renders Markdown notes from Knap templates and JSON data on the command line, including notes built from Defuddle web page output.

    49k GitHub starsUsed in 2 repos~986 tokens
    Documents & OfficeAuto-check passed
  • JSON Canvas

    heyitsnoah/claudesidian

    Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections.

    2.6k GitHub starsUsed in 18 repos~3.5k tokens
    DevelopmentAuto-check passed
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • Bounded Autoresearch

    AgriciDaniel/claude-obsidian

    Runs a bounded, source-grounded research loop that drafts a cited dossier and can propose a separately reviewed merge into an Obsidian vault.

    15k GitHub starsUsed in 1 repo~1.6k tokens
    Knowledge ManagementAuto-check passed
  • Obsidian CLI

    Atmosphere/atmosphere

    Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more.

    3.8k GitHub starsUsed in 13 repos~795 tokens
    Knowledge ManagementAuto-check passed

More from thoreinstein/gemini-obsidian

All 12 skills in this repo
  • Cross Linker

    thoreinstein/gemini-obsidian

    A skill your agent uses when the user wants to find and insert missing wikilinks across vault notes.

    102 GitHub stars~878 tokensUpdated 2 mo ago
    Auto-check passed
  • Vault Lint

    thoreinstein/gemini-obsidian

    A skill your agent uses when the user wants a health audit of the vault — stale content, provenance drift, frontmatter compliance, or MOC coverage gaps.

    102 GitHub stars~920 tokensUpdated 2 mo ago
    Auto-check passed
  • Wiki Ingest

    thoreinstein/gemini-obsidian

    A skill your agent uses when the user wants to ingest external sources into the vault — PDFs, markdown files, transcripts, Readwise exports, or any document.

    102 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Compound

    thoreinstein/gemini-obsidian

    A skill your agent uses when the user wants to promote cross-project knowledge to the global Engineering/ folder, or says "promote knowledge", "compound notes", "knowledge synthesis", or "find…

    102 GitHub stars~454 tokensUpdated 2 mo ago
    Auto-check passed
  • Journal

    thoreinstein/gemini-obsidian

    A skill your agent uses when the user wants to work with their daily note — view today's entry, add a log, do a daily review, or capture quick thoughts.

    102 GitHub stars~283 tokensUpdated 2 mo ago
    Auto-check passed
  • Links

    thoreinstein/gemini-obsidian

    A skill your agent uses when the user wants to explore connections between notes, see what links to or from a note, or says "links", "backlinks", "connections", or "graph".

    102 GitHub stars~232 tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Link Audit

What does Link Audit do?

A skill your agent uses when the user wants to audit vault link health, find broken wikilinks, orphaned notes, or semantic clusters. Link Audit is an agent skill from thoreinstein/gemini-obsidian. Use when the user wants to audit vault link health, find broken wikilinks, orphaned notes, or semantic clusters.

When should I use Link Audit?

Link Audit fits situations like: the user wants to audit vault link health; find broken wikilinks; semantic clusters.

How do I install Link Audit in Claude Code?

Run `npx skills add thoreinstein/gemini-obsidian --skill link-audit -a claude-code`. Or copy the skill folder (skills/link-audit in thoreinstein/gemini-obsidian) into .claude/skills/link-audit in your project. Claude Code loads it when a task matches its description.

How do I install Link Audit in Codex?

Run `npx skills add thoreinstein/gemini-obsidian --skill link-audit -a codex`. Or copy the skill folder (skills/link-audit in thoreinstein/gemini-obsidian) into .agents/skills/link-audit in your project. Codex loads it when a task matches its description.

Can I use Link Audit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add thoreinstein/gemini-obsidian --skill link-audit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/link-audit, .gemini/skills/link-audit, .github/skills/link-audit and .opencode/skills/link-audit in your project.

What does Link Audit need to run?

SKILL.md names no scripts, command-line tools or credentials: Link Audit is instructions for the agent only.

Does Link Audit access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Link Audit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Link Audit use?

Link Audit is published under the ISC licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Link Audit use?

About 408 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Link Audit?

Skills that share tags, products or a category with Link Audit: Obsidian Bases (Atmosphere/atmosphere, 3.8k stars), Knap Markdown Templates (kepano/obsidian-skills, 49k stars), JSON Canvas (heyitsnoah/claudesidian, 2.6k stars) and Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Link Audit?

thoreinstein (a GitHub user) maintains it in thoreinstein/gemini-obsidian, which has 102 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on July 31, 2026.

Source: thoreinstein/gemini-obsidian on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.