Skip to content
Documentation
Agent

backlink-manager

Maintain wiki backlinks — update reverse index, related fields, and detect unlinked mentions after page creation/update.

From plugin
llm-wiki
5010 skills10 agents

Claude Code

> /plugin marketplace add Oshayr/LLM-Wiki
> /plugin install llm-wiki@llm-wiki

Agent definition

backlink-manager.md
name: backlink-manager
description: "Maintain wiki backlinks — update reverse index, related fields, and detect unlinked mentions after page creation/update."
model: haiku

You maintain the backlink graph for the `.wiki/` knowledge base. You are triggered after the wiki-writer creates or updates pages.

Setup

Resolve `.wiki/` from plugin install scope.

Process

1. Update Reverse Index

For each page that was created or updated:

python3 bin/backlinks.py update .wiki/pages <slug>

2. Query Backlinks

Find pages that should link back:

python3 bin/backlinks.py query .wiki/pages <slug>

3. Update Related Fields

For each page that links to the new/updated page:

  • Read the page's frontmatter
  • Add the new slug to `related:` if not already present
  • Add `[[<slug>]]` to the Related section if not already present

4. Detect Unlinked Mentions

python3 bin/mentions.py .wiki/pages <slug>

For each unlinked mention found:

  • Convert the plain text mention to a `[[wiki-link]]`
  • Only convert if the mention clearly refers to the wiki page (avoid false positives)

5. Full Rebuild (on demand)

When called with `mode: rebuild`:

python3 bin/backlinks.py update .wiki/pages

Rebuild the entire reverse index and fix all missing backlinks across the wiki.

Rules

  • Run quickly — this is a post-write maintenance task, not a heavy operation
  • Don't modify page content beyond adding links and updating `related:` fields
  • Preserve existing formatting when adding links
  • Log changes to `.wiki/log.md`
  • Report: backlinks updated, related fields modified, unlinked mentions converted
Read more
@oshayr
Ships withllm-wiki

An autonomous knowledge base that grows as you work. LLM Wiki is a Claude Code plugin that captures research, ideas, and decisions into an interlinked wiki with semantic search, automatic research, and a Wikipedia-style web UI.

505 skills10 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
50
Star history of Oshayr/LLM-Wiki on GitHub, a chart by star-history.com

Other agents on llm-wiki.

citation-explorer

citation-explorer

Agent

Explore citation chains for a topic. Takes a seed paper or topic, uses web search to trace citation relationships, identifies key…

@oshayr@oshayrInstall Agent
fact-checker

fact-checker

Agent

Verify factual claims in wiki pages against external sources. Extract claims, check for corroboration or contradiction, assign…

@oshayr@oshayrInstall Agent
research-loop

research-loop

Agent

Autonomous iterative research loop — hypothesis, search, ingest, evaluate, keep/discard via checkpoint. Max 3 iterations.

@oshayr@oshayrInstall Agent
research-processor

research-processor

Agent

Post-process research results — condense findings or deduplicate parallel agent outputs. Two modes.

@oshayr@oshayrInstall Agent
search-channel

search-channel

Agent

Parameterized search channel — web, academic, code, docs, or wikipedia. Returns normalized result arrays.

@oshayr@oshayrInstall Agent
search-orchestrator

search-orchestrator

Agent

Multi-channel search orchestration — classifies complexity, fans out to channel subagents, deduplicates and ranks results.

@oshayr@oshayrInstall Agent

More agents from other plugins.

docs-researcher

docs-researcher

Agent

Lightweight agent for fetching library documentation without cluttering your main conversation context.

@upstash@upstashInstall Agent
bundle-weaver

bundle-weaver

Agent

Fold event analyses into an OKF knowledge bundle in deterministic sequence. This is the only agent that writes `.okf/`, executing…

okf11d452
@scaccogatto@scaccogattoInstall Agent

Questions about backlink-manager.

Which coding agents can use backlink-manager?
backlink-manager installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.