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 709 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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 709 This file is loaded in full into every session.
When invoked 709 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.00709 $0.00709
Opus 5 $0.00354 $0.00354
Sonnet 5 $0.00142 $0.00142
Haiku 4.5 $0.00071 $0.00071

Measured 3d ago against content hash 41ed58810b91, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 3d 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 · 24 lines

What it actually says

Working Style

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

Testing

  • 默认并行运行测试,复用 pyproject.toml 中的 pytest 配置,不要在常规 unit / integration 验证中添加 -n 0
  • 完整 unit 验证使用 PYTHONPATH=src uv run python -m pytest tests/unit -q
  • 完整 integration 验证使用 PYTHONPATH=src uv run python -m pytest tests/integration -q
  • 只有 live 测试、依赖共享外部状态的测试,或明确需要排查顺序/竞态问题时,才使用 -n 0 串行运行,并在结果中说明原因。
  • 仅当测试命令、依赖、平台矩阵或 CI 契约发生变化时同步 GitHub CI;普通代码修改不改 CI 配置。
  • 每次更改版本号准备发布版本时,需要运行上述完整 unit、integration 以及 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 只负责已知论文的身份解析、全文获取、验收与报告;不扩展为开放式领域检索、通用研究平台或新的工作流框架。
  • 保留并复用现有状态机、五个预设、resolver/provider adapter、CLI/MCP 落盘语义、cache/artifact、统一 acceptance、来源追踪和合法访问约束。
  • 单一 provider、执行面或失败路径的问题默认局部修复;除非存在明确的跨 provider 契约或回归证据,不调整全局 cache、retry、fallback、browser 或错误分类策略。
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. 3d ago Changed · +1 lines · +53 tokens per session 41ed58810b91
  2. 7d 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 (239 stars, last pushed yesterday), licensed MIT. It adds 709 tokens to every session, about $0.0035 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 instructions, from other repositories

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

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 · 6,785 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,296 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,469 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, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens