metadata-extractor

metadata-extractor is an agent for coding agents from trapoom555/claude-paperloom. It costs 63 tokens per session (1,165 once invoked), scanned A, original, Apache-2.0.

A paper-reading helper that extracts a research paper’s basic details and assesses its credibility, experimental care, and reproducibility from its text.

In plain words
What is it for?
It helps create the metadata and quality section of a research-paper page, including authors, publication details, DOI or arXiv identifier, and research-topic fields.
Why use it?
It removes the need to manually fill in paper metadata and make an initial quality assessment.

Agent

Part of the claude-paperloom plugin — 4 commands, 4 agents shipped together

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.

agentmods
npx agentmods add agents/trapoom555/claude-paperloom/metadata-extractor
Clone the repo
git clone --depth 1 https://github.com/trapoom555/claude-paperloom

Or install claude-paperloom, the plugin that ships this one along with the rest of its 4 commands, 4 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 metadata-extractor

README.md
[![agentmods](https://agentmods.dev/badge/agents/trapoom555/claude-paperloom/metadata-extractor.svg)](https://agentmods.dev/agents/trapoom555/claude-paperloom/metadata-extractor)
Your own site
<a href="https://agentmods.dev/agents/trapoom555/claude-paperloom/metadata-extractor"><img src="https://agentmods.dev/badge/agents/trapoom555/claude-paperloom/metadata-extractor.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,165 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00063 $0.01165
Opus 5 $0.00032 $0.00583
Sonnet 5 $0.00013 $0.00233
Haiku 4.5 $0.00006 $0.00117

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

Security

Grade A, and why

metadata-extractor 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 5d 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/metadata-extractor.md · 81 lines

How it starts

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

You produce the frontmatter metadata + quality block for a research paper page.

Input (from the invoking command)

{
  "vault_path":       "/Users/<you>/PaperLoom",
  "paper_text_path":  "<vault>/.sources/<sha>.meta.txt",   // first 2 pages only
  "summary_text":     "## Key Takeaways\n...",   // finished markdown from lite-drafter — used for fields only
  "source_url":       "https://arxiv.org/abs/...",
  "arxiv_id":         "1706.03762",     // or null
  "doi":              null,             // or "10.xxxx/..."
  "existing_fields":  ["nlp", "attention-mechanism", "rlhf", ...]  // kebab slugs already in vault/fields/
}

paper_text_path points to the first 2 pages of the paper — that is sufficient for title, authors, publication date, venue, and your quality read. Use summary_text for fields; the finished summary reflects the paper's actual focus more precisely than the raw text. If you cannot find something that should be on page 1–2 (e.g. authors on a double-blind preprint), say so in rationale and return your best guess rather than asking for more input.

What to do

  1. Read the cached paper text at paper_text_path.
  2. Extract these fields from the content (use the provided arxiv_id / doi / source_url as authoritative where applicable):
    • title — exact title as it appears.
    • authors — list of "Surname, Given". Preserve order.
    • publication-date — ISO YYYY-MM-DD. For arxiv, use the first-submitted date. For journal papers, use publication date.
    • venue — conference / journal / "Preprint" if only on arXiv.
    • fields — 2–5 kebab-case tags. Derive these from summary_text (the finished paper summary), not from the brief — the summary is a richer, more focused signal of the paper's actual topics. Reuse existing_fields wherever they semantically match — do not create natural-language-processing if nlp already exists. Only mint new field slugs when none in the existing list fit.
  3. Assess quality — fill the quality block. Anchor in the paper itself; do not invent venue prestige:
    • credibility (1–5, integer): overall trust given methodology + claims-vs-evidence fit.
    • experimental-rigor (1–5, integer): sample sizes, ablations, baselines, statistical treatment.
    • reproducibility: code-released | partial | none.
    • Do not compute overallscripts/assemble_paper.py computes it from the three components. Emit null.
    • rationale: one sentence explaining the component scores, citing specifics from the paper.
  4. Do not compute the slug — emit null for slug. scripts/assemble_paper.py computes YYYY-MM-<short-title-kebab> from publication-date + title.

Read the full file on GitHub · 81 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. 5d ago First seen · 81 lines · 63 tokens per session scan A d81b0a823309

Subscribe to this mod's changes

metadata-extractor is an agent published in the GitHub repository trapoom555/claude-paperloom (95 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 63 tokens to every session and 1,165 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-30.

Related

Other agents, from other repositories

paper-auditor

Autonomous paper consistency verification. Use when asked to audit, verify, or cross-check a research paper against code and data. Triggers on phrases like "audit my paper", "verify paper against code", "cross-check claims", "paper consistency check", or "are my numbers right".

fcakyon/phd-skills · 63 tokens

doc-drift-auditor

Read-only audit for fuzzy drift the CI teeth (driftguard.rs) cannot catch — eval numbers stale vs the current env-hash, design-doc/decision rot, memory->repo dangling pointers, and stale worktrees. Run locally on a schedule. Produces a findings report only; never edits.

7xuanlu/wenlan · 68 tokens

secretary

Decide whether a question really needs the owner. Consult this agent BEFORE asking the owner anything - it answers from the vault's decision policy and either settles the question (DECIDE) or tells you to escalate (ESCALATE). Read-only; it judges, it never acts.

atman-33/workhub · 59 tokens

task-swarm-coder

CODER subagent dispatched by the task-swarm orchestrator. Writes or modifies implementation code only, strictly within its @writes boundary. Never reviews, never scores, never accepts. Invoked solely by the orchestrator inside the task-swarm flow — users should not spawn it directly.

qxbyte/pluginhub · 63 tokens

clinical-modeler

Use this agent when the user needs to read, write, review, or edit local archetype (.adl), template (.oet, Archetype Designer .t.json, .opt), or composition files in the workspace. It writes only to the local workspace, and can perform read-only MCP lookups (terminology resolution, RM/AM type specs, guides, and…

Cadasto/openehr-assistant-plugin · 407 tokens

notebook-author

Drafts and executes a chapter's paired computational notebook against plan targets. Internal specialist dispatched by the bookwright writer orchestrator and the /bookwright:notebook command via Task; not intended for direct invocation.

queelius/claude-anvil · 46 tokens