paper-trail-identify

paper-trail-identify is a command for Claude Code from roomi-fields/paper-trail. It costs 76 tokens per session (491 once invoked), scanned A, original, MIT.

A read-only command that compares the paper mentions in a State-of-the-Art review with the entries in its research-paper registry.

In plain words
What is it for?
Use it before cleanup or downloading to decide which references to reuse, create, or review.
Why use it?
It shows whether each mention already has a registry entry, its current status, whether a PDF exists, and what should happen next before anything is changed.

Command for Claude Code

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

Part of the paper-trail plugin — 6 skills, 22 commands, 6 agents, 3 hooks shipped together

Good fit Use it before cleanup or downloading to decide which references to reuse, create, or review.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/roomi-fields/paper-trail/paper-trail-identify
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/roomi-fields/paper-trail

Made for: Claude Code.

Or install paper-trail, the plugin that ships this one along with the rest of its 6 skills, 22 commands, 6 agents, 3 hooks.

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 paper-trail-identify

README.md
[![agentmods](https://agentmods.dev/badge/commands/roomi-fields/paper-trail/paper-trail-identify.svg)](https://agentmods.dev/commands/roomi-fields/paper-trail/paper-trail-identify)
Your own site
<a href="https://agentmods.dev/commands/roomi-fields/paper-trail/paper-trail-identify"><img src="https://agentmods.dev/badge/commands/roomi-fields/paper-trail/paper-trail-identify.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 491 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.00076 $0.00491
Opus 5 $0.00038 $0.00246
Sonnet 5 $0.00015 $0.00098
Haiku 4.5 $0.00008 $0.00049

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

Security

Grade A, and why

paper-trail-identify 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 8d 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/paper-trail-identify.md · 51 lines

What it actually says

/paper-trail:identify <SOTA-path> — Rapport d'identification (read-only)

Étape 1 du pipeline cible refondu (avant purge / acquire / linkify). Produit un rapport sans toucher au SOTA ni au registre.

Usage

/paper-trail:identify <SOTA-path>

Ce que fait Claude

  1. Extrait les sections bibliographiques :

    python3 -m pipeline ingest <SOTA-path> --extract-only
    

    Retourne un JSON [{header, is_excluded, raw_text, ...}].

  2. Pour chaque section non exclue, invoque le sub-agent paper-trail:citation-parser (en parallèle), qui écrit chaque JSON dans /tmp/section_<i>_citations.json.

  3. Consolide les JSON en un seul fichier /tmp/citations_<sota_stem>.json.

  4. Lance le rapport :

    python3 -m pipeline identify <SOTA-path> \
        --citations-json /tmp/citations_<sota_stem>.json
    

    Affiche pour chaque mention :

    • action recommandée (reuse / reuse_retracted / create / skipped_low)
    • slug matché ou would-be-created
    • état actuel + présence PDF
    • PDF orphelin trouvé éventuel
  5. Présente le récap + propose les passes suivantes :

    • /paper-trail:purge <SOTA> si wikilinks vers retracted détectés
    • /paper-trail:acquire <SOTA> pour les fiches sans PDF
    • /paper-trail:linkify <SOTA> pour insérer les wikilinks finaux

Style

  • Concis. Pas de jargon technique.
  • En cas d'erreur sur une section, propose un retry ciblé.
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. 8d ago First seen · 51 lines · 76 tokens per session scan A eeb668268bfb

Subscribe to this mod's changes

paper-trail-identify is a command published in the GitHub repository roomi-fields/paper-trail (5 stars, last pushed 5d ago), licensed MIT. It adds 76 tokens to every session and 491 once invoked, about $0.0004 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.