paper-search-pro CLAUDE.md

paper-search-pro CLAUDE.md is an instructions file for coding agents from O0000-code/paper-search-pro. It costs 713 tokens per session, scanned A, original, Apache-2.0.

A repository instruction file for the paper-search-pro project, documenting rules that coding agents must preserve, such as naming, data handling, user workflows, and build behavior.

In plain words
What is it for?
Use it when modifying paper-search-pro, especially when working on journal rankings, source fetching, agent features, or the HTML report build.
Why use it?
It gives agents the project-specific constraints they need before changing code, reducing the risk of breaking established behavior or using incorrect research-metric terms.

Instructions file

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 instructions/o0000-code/paper-search-pro/claude-md
Clone the repo
git clone --depth 1 https://github.com/O0000-code/paper-search-pro

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-search-pro CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/o0000-code/paper-search-pro/claude-md.svg)](https://agentmods.dev/instructions/o0000-code/paper-search-pro/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/o0000-code/paper-search-pro/claude-md"><img src="https://agentmods.dev/badge/instructions/o0000-code/paper-search-pro/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 713 This file is loaded in full into every session.
When invoked 713 The same file — it is already loaded in full.
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.00713 $0.00713
Opus 5 $0.00357 $0.00357
Sonnet 5 $0.00143 $0.00143
Haiku 4.5 $0.00071 $0.00071

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

Security

Grade A, and why

paper-search-pro CLAUDE.md 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.

CLAUDE.md · 30 lines

How it starts

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

paper-search-pro — notes for sessions modifying this repo

Published Agent Skill (Apache 2.0). Edit the git repo here; the running copy is separate at ~/.claude/skills/paper-search-pro/ — sync to it (rsync scripts/ references/ assets/ + SKILL.md) for changes to take effect.

Invariants — do not break

  • R-04 naming: OpenAlex / SJR / 中科院(CAS) journal metrics are partitions / open impact, never "Impact Factor". Only JCR IF(YYYY) is a real Impact Factor.
  • R-19 human-path preservation: the human 14-STEP flow — especially STEP 6 (parallel classification SubAgents) and STEP 12 (HTML render) — must stay byte-identical when the agent/headless, source-switch, and journal-rank features are unused. Every new capability is opt-in additive; default = current behavior.
  • Journal-rank data is never committed (Clarivate/SCImago/CAS copyright). It is runtime-fetched from public GitHub mirrors into ~/.paper-search-pro/ranks/. scripts/journal_rank.py is the single canonical rank layer; scripts/sjr_helper.py is superseded (kept for back-compat, not the wired source).
  • Zero new hard dependencies for v2.2 (GitHub-raw fetch uses requests) — keep it that way: no playwright, no heavyweight libs.

Test

PYTHONPATH=. python3 -m pytest tests -q — ~264 offline pass. The ~12 failures in tests/test_openalex_helper.py are live OpenAlex rate-limit / key issues (environmental), not regressions.

Building the HTML report (bundle.html)

The report is TypeScript + Vite in assets/webartifacts_app/paper-report/. node_modules lives only in the installed copy (~/.claude/skills/paper-search-pro/...) — the repo gitignores it — so build there: rsync -a <repo>/…/src/ <inst>/…/src/cd <inst>/…/paper-report && pnpm exec vite buildnpx html-inline -i dist/index.html -o bundle.html → copy bundle.html back here (it's committed). Use vite build, NOT pnpm build — the tsc -b gate is pre-existingly broken (React19/TS6 drift: baseUrl deprecation + unused calendar.tsx/resizable.tsx type errors + an App.tsx union-props strictness); none affect the runtime, and bundle.html has always been a vite+inline product.

Read the full file on GitHub · 30 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 · 30 lines · 713 tokens per session scan A 07780c030764

Subscribe to this mod's changes

paper-search-pro CLAUDE.md is an instructions file published in the GitHub repository O0000-code/paper-search-pro (154 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 713 tokens to every session, about $0.0036 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.