citation-explorer

citation-explorer is an agent for Claude Code from Oshayr/LLM-Wiki. It costs 33 tokens per session (365 once invoked), scanned A, original, MIT.

A research agent that follows the citation links around a paper or topic. Citations are references that one research paper makes to other papers.

In plain words
What is it for?
Use it with a DOI, paper title, URL, or topic to trace earlier and later work, rank relevant papers, and recommend papers for wiki inclusion.
Why use it?
It helps you find important related papers without relying only on a single keyword search.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the llm-wiki plugin — 5 skills, 10 agents shipped together

Good fit Use it with a DOI, paper title, URL, or topic to trace earlier and later work, rank relevant papers, and recommend papers for wiki inclusion.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/oshayr/llm-wiki/citation-explorer
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.

Clone the repo
git clone --depth 1 https://github.com/Oshayr/LLM-Wiki

Made for: Claude Code.

Or install llm-wiki, the plugin that ships this one along with the rest of its 5 skills, 10 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 citation-explorer

README.md
[![agentmods](https://agentmods.dev/badge/agents/oshayr/llm-wiki/citation-explorer/github.svg)](https://agentmods.dev/agents/oshayr/llm-wiki/citation-explorer)
Your own site
<a href="https://agentmods.dev/agents/oshayr/llm-wiki/citation-explorer"><img src="https://agentmods.dev/badge/agents/oshayr/llm-wiki/citation-explorer/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 citation-explorer

Your own site · 80×15
<a href="https://agentmods.dev/agents/oshayr/llm-wiki/citation-explorer"><img src="https://agentmods.dev/badge/agents/oshayr/llm-wiki/citation-explorer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 365 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.
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.00033 $0.00365
Opus 5.5 $0.00013 $0.00146
Sonnet 5.5 $0.00007 $0.00073
Haiku 4.5 $0.00003 $0.00036

Measured 1mo ago against content hash c655e2657b48, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

citation-explorer 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 1mo 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.

agents/citation-explorer.md · 48 lines

What it actually says

Citation Explorer Agent

You explore citation chains to find relevant papers for the wiki using web search.

Process

  1. Identify the seed paper — use the provided DOI, title, or topic
  2. Trace citations — use bin/citation_graph.py for structured traversal:
    • Forward citations: python3 bin/citation_graph.py forward <identifier>
    • Backward citations: python3 bin/citation_graph.py backward <identifier>
    • Snowball (deep exploration): python3 bin/citation_graph.py snowball <identifier> --depth 2
    • Supplement with web search for papers not covered by APIs
  3. Analyze results — identify the most relevant papers by:
    • Citation count (impact)
    • Recency (prefer recent papers)
    • Title/abstract relevance to existing wiki content
  4. Recommend top 5-10 papers for wiki ingestion
  5. Optionally ingest the top papers using the wiki-writer agent

Input

  • A DOI (e.g., 10.1234/example)
  • A paper title or URL
  • A research topic

Output

  • Top recommended papers with: title, year, citation count, DOI, relevance reason
  • Summary of citation relationships found

Constraints

  • Use web search for all lookups
  • Maximum depth 2 for citation chains (to avoid scope creep)
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. 1mo ago First seen · 48 lines · 33 tokens per session scan A c655e2657b48

Subscribe to this mod's changes

citation-explorer is an agent published in the GitHub repository Oshayr/LLM-Wiki (50 stars, last pushed 5mo ago), licensed MIT. It adds 33 tokens to every session and 365 once invoked, about $0.0001 per session on Opus 5.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 agents, from other repositories

ia-database-guardian

Reviews database schema, constraints, and migration code for safety. Use when PRs touch migrations, data models, ID mappings, enum conversions, backfills, or persistent data. Postgres-specific query, index, and type patterns defer to the ia-postgresql skill; this agent is the migration-safety review gate.

iliaal/whetstone · 69 tokens

ia-best-practices-researcher

Researches external framework docs, version-specific constraints, and industry conventions for any technology. Use when you need authoritative external documentation.

iliaal/whetstone · 34 tokens

code-explorer

Read-only codebase explorer — searches, maps, and explains code structure. Use when a skill needs to delegate codebase exploration without risk of modification.

harnessprotocol/harness-kit · 34 tokens

consistency-auditor

Checks a manuscript against canonical docs for timeline, factual, character-state, and spatial contradictions. Internal specialist dispatched by the worldsmith reviewer orchestrator via the Agent tool; not intended for direct invocation.

queelius/claude-anvil · 45 tokens

format-validator

Checks that the paper builds cleanly and meets venue formatting requirements. Internal specialist dispatched by the papermill writer and reviewer orchestrators via the Agent tool; not intended for direct invocation.

queelius/claude-anvil · 40 tokens

ingest-release

Record a single release tag as a git-release document in an AKB vault — release notes from the matching GitHub Release (annotated tag message fallback), commits bucketed by convtype. Requires range commits pre-ingested.

dnotitia/akb · 49 tokens