autosearch:citation-index

autosearch:citation-index is a skill for Claude Code from 0xmariowu/Autosearch. It costs 0 tokens per session (1,345 once invoked), scanned A, original, MIT.

A citation index that gives each unique web address one stable reference number across a research report. It also removes tracking parts of URLs and combines citation lists from different sections or agents.

In plain words
What is it for?
It is for cleaning URLs, deduplicating sources, assigning citation numbers, and merging references from multiple report sections.
Why use it?
It prevents the same source from receiving different numbers or different sources being mixed under one number.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the autosearch plugin — 63 skills, 1 command, 1 agent shipped together

Good fit It is for cleaning URLs, deduplicating sources, assigning citation numbers, and merging references from multiple report sections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0xmariowu/autosearch/citation-index
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 0xmariowu/Autosearch --skill citation-index
Clone the repo
git clone --depth 1 https://github.com/0xmariowu/Autosearch

Made for: Claude Code.

Or install autosearch, the plugin that ships this one along with the rest of its 63 skills, 1 command, 1 agent.

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 autosearch:citation-index

README.md
[![agentmods](https://agentmods.dev/badge/skills/0xmariowu/autosearch/citation-index/github.svg)](https://agentmods.dev/skills/0xmariowu/autosearch/citation-index)
Your own site
<a href="https://agentmods.dev/skills/0xmariowu/autosearch/citation-index"><img src="https://agentmods.dev/badge/skills/0xmariowu/autosearch/citation-index/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 autosearch:citation-index

Your own site · 80×15
<a href="https://agentmods.dev/skills/0xmariowu/autosearch/citation-index"><img src="https://agentmods.dev/badge/skills/0xmariowu/autosearch/citation-index.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,345 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.00000 $0.01345
Opus 5.5 $0.00000 $0.00538
Sonnet 5.5 $0.00000 $0.00269
Haiku 4.5 $0.00000 $0.00135

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

Security

Grade A, and why

autosearch:citation-index 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.

The scan reads SKILL.md. This mod also ships 1 executable file (__init__.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

autosearch/skills/meta/citation-index/SKILL.md · 145 lines

How it starts

The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Citation Index — Stable URL-to-Number Map

Borrowed from STORM's StormArticle.url_to_unified_index + deepagents research_agent/prompts.py citation consolidation. Keeps citations stable across report sections and subagent outputs.

State

citation_index:
  entries:
    # URL (canonicalized) → entry
    "https://arxiv.org/abs/2401.12345":
      number: 1
      title: "First paper title"
      first_seen_section: "introduction"
      used_in_sections: ["introduction", "background", "method"]
      source_channel: "search-arxiv"
    "https://github.com/foo/bar/issues/42":
      number: 2
      title: "Issue: memory leak"
      first_seen_section: "implementation-notes"
      used_in_sections: ["implementation-notes"]
      source_channel: "search-github-issues"
  next_number: 3

URL Canonicalization Rules

Before indexing, normalize the URL:

  1. Strip tracking params: utm_*, gclid, fbclid, ref=, source=.
  2. Strip fragments (#section-1) unless the URL is an anchor-addressed resource (e.g. docs page).
  3. Lowercase host but keep path case.
  4. Collapse multiple slashes (// → /) except for the scheme.
  5. Platform-specific:
    • YouTube: watch?v=ID form is canonical; strip list= playlist params.
    • arXiv: strip version suffix for de-dup (v2 → ""); keep title for reference.
    • GitHub issues: canonicalize githubissues.com/X/Y/Z to github.com/X/Y/issues/Z.

Different URL canonicalizations → different citation numbers. A URL that points to the same resource but failed canonicalization is a bug; log it and merge.

Write Path

When a subagent / section outputs evidence:

for ev in evidence:
    url = canonicalize(ev.url)
    if url not in index.entries:
        index.entries[url] = Entry(
            number=index.next_number,
            title=ev.title,
            first_seen_section=current_section,
            used_in_sections=[current_section],
            source_channel=ev.source_channel,
        )
        index.next_number += 1
    else:
        if current_section not in index.entries[url].used_in_sections:
            index.entries[url].used_in_sections.append(current_section)

Read the full file on GitHub · 145 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 145 lines · 0 tokens per session scan A 9a38476debb0

Subscribe to this mod's changes

autosearch:citation-index is a skill published in the GitHub repository 0xmariowu/Autosearch (54 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,345 tokens. 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

prior-art-search

Systematic 7-step methodology for comprehensive patent prior art searches and patentability assessments using BigQuery and CPC classification.

RobThePCGuy/Claude-Patent-Creator · 26 tokens

development-assistant

Guides through adding new features, MCP tools, analyzers, and extending the patent creator system.

RobThePCGuy/Claude-Patent-Creator · 24 tokens

mpep-search

Expert system for searching USPTO MPEP, 35 USC statutes, 37 CFR regulations, and post-Jan 2024 updates.

RobThePCGuy/Claude-Patent-Creator · 32 tokens

sanity-form-component-suspense

Fix a Sanity Studio custom form component (components.input, components.field, components.item, or a plugin's form.components) that suspends without its own Suspense boundary, so it loads without layout shift and never blocks new documents. Use when the console warns "The custom input/field/item component ...…

sanity-io/agent-toolkit · 149 tokens

content-modeling-best-practices

Structured content modeling guidance for schema design, content architecture, content reuse, references versus embedded objects, separation of concerns, and taxonomies across Sanity and other headless CMSes. Use this skill when designing or refactoring content types, deciding field shapes, debating reusable versus…

sanity-io/agent-toolkit · 84 tokens

seo-aeo-best-practices

SEO and AEO best practices for metadata, Open Graph, sitemaps, robots.txt, hreflang, JSON-LD structured data, EEAT, and content optimized for search engines and AI answer surfaces. Use this skill when implementing page SEO, technical SEO, schema markup, international SEO, AI-overview readiness, or improving content…

sanity-io/agent-toolkit · 90 tokens