wiki-auto

wiki-auto is a command for Claude Code from Spark-To-Paper-Skills/paper-wiki. It costs 56 tokens per session (3,033 once invoked), scanned A, original, MIT.

An unattended pipeline for turning a folder of research papers into a structured paper-wiki knowledge base. It chains ingestion, OCR, compilation, goal adoption, direction cards, probes, idea cards, ratings, and critique, recording machine decisions in an inbox file.

In plain words
What is it for?
Use it to process batches of papers, extract text from scanned sources with OCR, compile findings, generate research directions and ideas, and record review results.
Why use it?
It removes the need to start each research-processing step separately. It also stops cleanly when required setup, scope, or GPU access is missing instead of silently using an unsupported fallback.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

Part of the paper-wiki plugin — 1 skill, 8 commands, 4 agents, 1 hook shipped together

Good fit Use it to process batches of papers, extract text from scanned sources with OCR, compile findings, generate research directions and ideas, and record review results.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/spark-to-paper-skills/paper-wiki/wiki-auto
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/Spark-To-Paper-Skills/paper-wiki

Made for: Claude Code.

Or install paper-wiki, the plugin that ships this one along with the rest of its 1 skill, 8 commands, 4 agents, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/spark-to-paper-skills/paper-wiki/wiki-auto/github.svg)](https://agentmods.dev/commands/spark-to-paper-skills/paper-wiki/wiki-auto)
Your own site
<a href="https://agentmods.dev/commands/spark-to-paper-skills/paper-wiki/wiki-auto"><img src="https://agentmods.dev/badge/commands/spark-to-paper-skills/paper-wiki/wiki-auto/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 wiki-auto

Your own site · 80×15
<a href="https://agentmods.dev/commands/spark-to-paper-skills/paper-wiki/wiki-auto"><img src="https://agentmods.dev/badge/commands/spark-to-paper-skills/paper-wiki/wiki-auto.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,033 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.00056 $0.03033
Opus 5 $0.00028 $0.01517
Sonnet 5 $0.00011 $0.00607
Haiku 4.5 $0.00006 $0.00303

Measured 11d ago against content hash 1908496621d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

wiki-auto 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 11d 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.

commands/wiki-auto.md · 171 lines

How it starts

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

Run the paper-wiki auto pipeline. This file is a Claude Code slash-command orchestrator: it chains the existing actions end to end and defines no new schema or judgment rule of its own — every delegated action keeps its own contract, untrusted-source boundary, worker least-privilege, and single-writer rules. Each delegated action runs with the explicit context that this is an auto run (/wiki-auto 驱动), which switches on the clauses elsewhere conditioned on the auto-run phrase; the ingestion side reuses the instance's existing expansion_mode: auto — no new switch.

Preconditions (unmet means a clean stop, not a workaround)

  1. The instance is already initialized. wiki-init stays a one-time human setup, and the Scope fence is drawn there — this command never draws or edits the fence.
  2. research.md § Scope fence sets expansion_mode: auto. Default attended means stop and report; lifecycle_state: FROZEN overrides every mode — stop.
  3. If any source needs OCR, a local or remote GPU must be available. A busy or missing GPU is a clean stop, never CPU fallback (existing invariant, unchanged).

Inbox — wiki/INBOX.md

Instance file, created on the first auto run, append-only rows (protocol definition: auto_run.inbox in docs/llm-wiki.protocol.yaml):

| 日期 | 环节 | 对象 | 事项 | 状态 |

  • Reversible decisions a human would normally make: the machine makes them first and records one row. Fields that normally carry a human signature are filled auto + date and honestly labeled(机采标注).
  • Final decisions — kills, probe waivers, gold-mine/dead-end verdicts, novelty verification, lifecycle rulings — the machine makes as well: one row each plus the decision's existing ledger/fields, signature auto + date; a human retains post-hoc reversal. Only two things stay undone, as range, not authority: experiment advance (P1/P2 probes get a row only) and paper export.
  • A human vetoes any machine decision afterwards by normal editing; no new mechanism.

Read the full file on GitHub · 171 lines

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. 11d ago First seen · 171 lines · 56 tokens per session scan A 1908496621d0

Subscribe to this mod's changes

wiki-auto is a command published in the GitHub repository Spark-To-Paper-Skills/paper-wiki (7 stars, last pushed 28d ago), licensed MIT. It adds 56 tokens to every session and 3,033 once invoked, about $0.0003 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-31.