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.
npx skills add 0xmariowu/Autosearch --skill citation-indexgit clone --depth 1 https://github.com/0xmariowu/AutosearchWrote 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.
[](https://agentmods.dev/skills/0xmariowu/autosearch/citation-index)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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.
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:
- Strip tracking params:
utm_*,gclid,fbclid,ref=,source=. - Strip fragments (
#section-1) unless the URL is an anchor-addressed resource (e.g. docs page). - Lowercase host but keep path case.
- Collapse multiple slashes (
//→/) except for the scheme. - Platform-specific:
- YouTube:
watch?v=IDform is canonical; striplist=playlist params. - arXiv: strip version suffix for de-dup (
v2→""); keep title for reference. - GitHub issues: canonicalize
githubissues.com/X/Y/Ztogithub.com/X/Y/issues/Z.
- YouTube:
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)
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.
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.
- 1mo ago First seen · 145 lines · 0 tokens per session scan A 9a38476debb0
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.
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.
development-assistant
Guides through adding new features, MCP tools, analyzers, and extending the patent creator system.
mpep-search
Expert system for searching USPTO MPEP, 35 USC statutes, 37 CFR regulations, and post-Jan 2024 updates.
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 ...…
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…
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…