link-health

link-health is a skill for Claude Code, Codex from gowtham0992/link. It costs 41 tokens per session (378 once invoked), scanned A, original, MIT.

A health and repair guide for Link, a command-line wiki and knowledge system. It uses the lnk command to check readiness, inspect interrupted work, back up data, and repair generated indexes.

In plain words
What is it for?
Check wiki health, inspect operations, create backups, rebuild indexes and backlinks, validate the result, and verify whether the optional MCP connection is ready.
Why use it?
It helps detect stale operations or damaged structural data before relying on the wiki or making broad repairs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Check wiki health, inspect operations, create backups, rebuild indexes and backlinks, validate the result, and verify whether the optional MCP connection is ready.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gowtham0992/link/link-health
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.

Any agent
npx skills add gowtham0992/link --skill link-health
Clone the repo
git clone --depth 1 https://github.com/gowtham0992/link

Made for: Claude Code, Codex.

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 link-health

README.md
[![agentmods](https://agentmods.dev/badge/skills/gowtham0992/link/link-health/github.svg)](https://agentmods.dev/skills/gowtham0992/link/link-health)
Your own site
<a href="https://agentmods.dev/skills/gowtham0992/link/link-health"><img src="https://agentmods.dev/badge/skills/gowtham0992/link/link-health/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for link-health

Your own site · 80×15
<a href="https://agentmods.dev/skills/gowtham0992/link/link-health"><img src="https://agentmods.dev/badge/skills/gowtham0992/link/link-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 378 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.1 $0.00041 $0.00378
Opus 5 $0.00020 $0.00189
Sonnet 5 $0.00008 $0.00076
Haiku 4.5 $0.00004 $0.00038

Measured 9d ago against content hash 030cb4d7f6ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

link-health 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 9d 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.

skills/link-health/SKILL.md · 41 lines

What it actually says

Use the lnk CLI. Load this skill before trusting a new or changed Link wiki, after installs/upgrades, and before broad repair or restore work. In a source checkout, replace lnk with python3 link.py. MCP and the local web viewer are optional; lnk serve is only for humans to browse the wiki.

  1. Check readiness first:
    lnk health [link-root]
    
  2. If the output mentions interrupted or stale operations, inspect them before repair:
    lnk operations [link-root]
    
  3. Before broad repairs, migrations, or restore work, create a backup:
    lnk backup [link-root]
    
  4. Repair only generated or structural state that Link reports as safe:
    lnk doctor --fix [link-root]
    lnk rebuild-index [link-root]
    lnk rebuild-backlinks [link-root]
    
  5. Validate before saying the wiki is healthy:
    lnk validate [link-root]
    lnk health [link-root]
    

If the user asks whether MCP is ready, run lnk verify-mcp [link-root]. Do not start lnk serve for MCP or CLI work.

To check whether optional local semantic recall is active (lexical is always the fallback):

lnk semantic [link-root]

It reports the provider tier, model, and index state, and prints the exact setup command when the layer is available but not yet enabled.

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. 9d ago First seen · 41 lines · 41 tokens per session scan A 030cb4d7f6ba

Subscribe to this mod's changes

link-health is a skill published in the GitHub repository gowtham0992/link (179 stars, last pushed 7d ago), licensed MIT. It adds 41 tokens to every session and 378 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

second-brain

Set up a new Obsidian knowledge base with the LLM Wiki pattern. Use when the user wants to create a second brain, initialize a vault, set up a personal knowledge base, or says "onboard". Guides through an interactive wizard to configure vault name, location, domain, agent support, and tooling.

NicholasSpisak/second-brain · 68 tokens

second-brain-ingest

Process raw source documents into wiki pages. Use when the user adds files to raw/ and wants them ingested, says "process this source", "ingest this article", "I added something to raw/", or wants to incorporate new material into their knowledge base.

NicholasSpisak/second-brain · 59 tokens

second-brain-lint

Health-check the wiki for contradictions, orphan pages, stale claims, and missing cross-references. Use when the user says "audit", "health check", "lint", "find problems", or wants to improve wiki quality.

NicholasSpisak/second-brain · 51 tokens

second-brain-query

Answer questions against the knowledge base wiki. Use when the user asks a question about their collected knowledge, wants to explore connections between topics, says "what do I know about X", or wants to search their wiki.

NicholasSpisak/second-brain · 48 tokens

code-understand

Build a ranked, citation-backed focus map of a codebase — the files and symbols an architecture actually hangs on — using CodeGraph when available and a dependency-free builtin (regex AST extraction + rg cross-file references) otherwise. Use this any time you (the coding agent) need to orient in an unfamiliar or large…

Ar9av/obsidian-wiki · 175 tokens

api-errors

McpError constructor, JsonRpcErrorCode reference, and error handling patterns for @cyanheads/mcp-ts-core. Use when looking up error codes, understanding where errors should be thrown vs. caught, or using ErrorHandler.tryCatch in services.

cyanheads/obsidian-mcp-server · 54 tokens