paper-fetch-skill: Instructions file for Codex

AGENTS.md

paper-fetch-skill AGENTS.md is an instructions file for Codex, OpenCode from Dictation354/paper-fetch-skill. It costs 965 tokens per session, scanned A, original, MIT.

Repository instructions for paper-fetch-skill, a tool for resolving known research papers, obtaining their full text, checking the results, and reporting them. They also define testing practices and platform-specific rules for macOS, Windows, and Linux.

In plain words
What is it for?
Use them when changing paper retrieval, full-text acceptance, reports, tests, release checks, or macOS adaptation and offline-support contracts.
Why use it?
They keep the project focused on known-paper retrieval instead of turning it into an open-ended search system. They also prevent platform checks and test commands from being run in ways that produce misleading results.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is Dictation354/paper-fetch-skill's own configuration. It tells Codex and OpenCode how to work on paper-fetch-skill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything paper-fetch-skill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Dictation354/paper-fetch-skill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Dictation354/paper-fetch-skill/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Dictation354/paper-fetch-skill

Made for: Codex, OpenCode.

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-fetch-skill AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/dictation354/paper-fetch-skill/agents-md/github.svg)](https://agentmods.dev/instructions/dictation354/paper-fetch-skill/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/dictation354/paper-fetch-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/dictation354/paper-fetch-skill/agents-md/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 paper-fetch-skill AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/dictation354/paper-fetch-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/dictation354/paper-fetch-skill/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 965 This file is loaded in full into every session.
When invoked 965 The same file — it is already loaded in full.
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.00965 $0.00965
Opus 5.5 $0.00386 $0.00386
Sonnet 5.5 $0.00193 $0.00193
Haiku 4.5 $0.00097 $0.00097

Measured 1mo ago against content hash eab6a0ceb9b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

paper-fetch-skill AGENTS.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 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.

AGENTS.md · 27 lines

How it starts

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

Working Style

  • 默认使用简体中文。
  • 优先复用项目已有实现和依赖;不要仅因存在网络上的成熟包而新增依赖。
  • 仅当改动影响公开行为、使用方式或项目契约时,同步对应文档。
  • 提交时除非明确说明,不要触发 GitHub CI。

Testing

  • 默认并行运行测试,复用 pyproject.toml 中的 pytest 配置,不要在常规 unit / integration / golden 验证中添加 -n 0。
  • 完整 unit 验证使用 PYTHONPATH=src uv run python -m pytest tests/unit -q。
  • 完整 integration 验证使用 PYTHONPATH=src uv run python -m pytest tests/integration -q。
  • 完整 golden 验证使用 PYTHONPATH=src uv run python -m pytest tests/golden -q;默认 pytest 和 preflight 只执行 unit+integration,发布前用 scripts/dev-preflight.sh --with-golden。
  • unit 仅保留最小片段/contract scenario 和边界 mock;真实进程/浏览器契约归 integration,整篇论文、完整资产和内容回放归 golden。共享 helper 放在 tests/support/,不要反向导入测试模块。
  • 只有 live 测试、依赖共享外部状态的测试,或明确需要排查顺序/竞态问题时,才使用 -n 0 串行运行,并在结果中说明原因。
  • 仅当测试命令、依赖、平台矩阵或 CI 契约发生变化时同步 GitHub CI;普通代码修改不改 CI 配置。
  • 每次更改版本号准备发布版本时,需要运行上述完整 unit、integration、golden 以及 uv run python scripts/sync_version.py --check;发布候选还需按 docs/deployment.md 运行相应 build/install 终验。

macOS Adaptation

  • 修改 Unix 安装器、macOS 离线支持矩阵、安全不变量、Camoufox / Playwright 浏览器边界或原生/portable 证据边界时,同步精简后的 docs/macos-adaptation-contract.toml、对应测试和相关说明;全平台 release 资产事实继续由 workflow、installer manifest 与 release asset owner 维护,不复制进 macOS 契约。
  • 先运行 python scripts/validate_macos_adaptation.py。原生 Windows 使用 scripts/test-macos-contract.ps1;WSL/Linux 使用 scripts/test-macos-contract.sh,且必须使用原生 Linux Python/venv。
  • Windows 或 WSL 绿灯不能替代 .github/workflows/verify.yml 的原生 macos-15/CPython 3.14 gate;release 的 CPython 3.11–3.14 原生矩阵由 .github/workflows/offline.yml 覆盖。/mnt/* 下的 WSL checkout 只能执行降级的静态契约验证,不能提供 symlink、文件模式、大小写或原生 macOS 证据。

Project Boundaries

  • paper-fetch 只负责已知论文的身份解析、全文获取、验收与报告;不扩展为开放式领域检索、通用研究平台或新的工作流框架。
  • PDF 解析与转换质量不纳入改进、fixture 补齐或验收目标;以现有 pymupdf4llm 输出为边界,禁止在其上做任何格式清洗或内容修复,包括 shared/provider/组装/渲染层的标题修复、页眉页脚删除、断行合并、引用分条或重排、公式/OCR/表格修复及占位图修复。已有清洗代码、测试或历史规则不构成例外;完整约束见 docs/extraction-rules.md#rule-pdf-conversion-boundary。
  • 保留并复用现有状态机、五个预设、resolver/provider adapter、CLI/MCP 落盘语义、cache/artifact、统一 acceptance、来源追踪和合法访问约束。
  • 单一 provider、执行面或失败路径的问题默认局部修复;除非存在明确的跨 provider 契约或回归证据,不调整全局 cache、retry、fallback、browser 或错误分类策略。

Read the full file on GitHub · 27 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. 1mo ago Changed · +3 lines · +256 tokens per session eab6a0ceb9b0
  2. 1mo ago Changed · +1 lines · +53 tokens per session 41ed58810b91
  3. 1mo ago First seen · 23 lines · 656 tokens per session scan A 6d3260428a8b

Subscribe to this mod's changes

paper-fetch-skill AGENTS.md is an instructions file published in the GitHub repository Dictation354/paper-fetch-skill (250 stars, last pushed 7d ago), licensed MIT. It adds 965 tokens to every session, about $0.0039 per session on Opus 5.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 instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,649 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,549 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens