link-ingest

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

A workflow for bringing new raw notes, transcripts, documents, or source pages into Link, a local knowledge system. It creates source-backed wiki pages, proposes memories for approval, and checks the resulting indexes and links.

In plain words
What is it for?
Use it when new files arrive in raw/ or when Link's sources need refreshing. It shows what needs ingesting, updates the relevant wiki pages, rebuilds indexes, and validates the knowledge base.
Why use it?
It prevents new material from sitting unprocessed or creating duplicate, stale knowledge pages. It also stops when files look unsafe, unreadable, or contain possible secrets.

Skill for Claude CodeCodex

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/gowtham0992/link/link-ingest
Any agent
npx skills add gowtham0992/link --skill link-ingest
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-ingest

README.md
[![agentmods](https://agentmods.dev/badge/skills/gowtham0992/link/link-ingest.svg)](https://agentmods.dev/skills/gowtham0992/link/link-ingest)
Your own site
<a href="https://agentmods.dev/skills/gowtham0992/link/link-ingest"><img src="https://agentmods.dev/badge/skills/gowtham0992/link/link-ingest.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 338 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00044 $0.00338
Opus 5 $0.00022 $0.00169
Sonnet 5 $0.00009 $0.00068
Haiku 4.5 $0.00004 $0.00034

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

Security

Grade A, and why

link-ingest 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.

skills/link-ingest/SKILL.md · 29 lines

What it actually says

Use lnk ingest-status as the source of truth. Load this skill when the user drops files into raw/, mentions new notes/transcripts/docs, or asks what Link should learn next. In a source checkout, replace lnk with python3 link.py. The command tells you which raw files need work and which checks must run next.

  1. Inspect the ingest plan:
    lnk ingest-status [link-root]
    
  2. If Link reports secret-looking values, unreadable files, or unsafe paths, stop and ask the user to fix or redact them.
  3. Read only the pending raw files named by the ingest plan. Create or update one wiki/sources/... page per raw file, and update existing concept/entity/exploration/memory pages before creating thin duplicates.
  4. Keep durable memory proposal-only until the user approves it:
    lnk propose-memories raw/<file> [link-root]
    
  5. After writing wiki pages, rebuild generated indexes and validate:
    lnk rebuild-index [link-root]
    lnk rebuild-backlinks [link-root]
    lnk validate [link-root]
    lnk health [link-root]
    

Do not put raw source contents into chat unless needed for the current ingest task. Preserve source paths and provenance on generated pages.

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 · 44 tokens per session scan A 8eeec9a37f47

Subscribe to this mod's changes

link-ingest is a skill published in the GitHub repository gowtham0992/link (180 stars, last pushed 2d ago), licensed MIT. It adds 44 tokens to every session and 338 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

lint

Health check for the vault: runs the deterministic linter (frontmatter, dead links, orphans, duplicates, index drift) plus editorial checks (stale claims, unlinked mentions, missing pages), then fixes what the user approves. Triggers on: "lint", "revisa el vault", "health check", "chequea el wiki", "limpia el vault"…

sturlese/hippocampus · 84 tokens

save

File the current conversation's valuable content (analysis, decision, session summary) as a structured wiki note so it isn't lost in chat history. Triggers on: "save this", "guarda esto", "guárdalo en el wiki", "/save", "$save", "file this", "apunta esto", "guarda esta conversación", "save this session".

sturlese/hippocampus · 78 tokens

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

llm-wiki

Build and maintain a persistent, interlinked Obsidian-compatible markdown wiki using Karpathy's LLM Wiki pattern. Extension-backed with auto-generated metadata, guardrails, and 14 custom tools (+3 opt-in agent-trajectory tools).

zosmaai/pi-llm-wiki · 52 tokens

ingest-l1

L1 analysis loop for the abapwiki knowledge base: for each batch it launches the abap-analyzer sub-agent in parallel, then the adversarial judge abap-deepcheck (separate session), applies only the analyses that pass the fail-closed gate, and commits. Resumes exactly after an interruption. Use this skill to document…

Gixsy95/abap_wiki · 91 tokens