paper-agent-skills: Instructions file for Codex

AGENTS.md

paper-agent-skills AGENTS.md is an instructions file for Codex, OpenCode from frowang-ai/paper-agent-skills. It costs 642 tokens per session, scanned A, original, MIT.

A set of instructions for working in a paper-related software repository. It tells the coding agent which project notes to read, which modules are production-ready, and how code, tests, memory documents, secrets, and user files should be handled.

In plain words
What is it for?
Use it when developing or maintaining the paper-agent project, especially its paper library, Zotero upload, shared runtime, synchronization, storage, and project documentation.
Why use it?
It reduces the risk of using unfinished code, losing project decisions, exposing private research data, or making changes that conflict with the repository’s conventions.

Instructions file for CodexOpenCode

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

This is frowang-ai/paper-agent-skills's own configuration. It tells Codex and OpenCode how to work on paper-agent-skills 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-agent-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to frowang-ai/paper-agent-skills. 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/frowang-ai/paper-agent-skills/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/frowang-ai/paper-agent-skills

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-agent-skills AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/frowang-ai/paper-agent-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/frowang-ai/paper-agent-skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 642 This file is loaded in full into every session.
When invoked 642 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.00642 $0.00642
Opus 5 $0.00321 $0.00321
Sonnet 5 $0.00128 $0.00128
Haiku 4.5 $0.00064 $0.00064

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

Security

Grade A, and why

paper-agent-skills 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 10d 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 · 49 lines

What it actually says

Always respond in Chinese-simplified.

Paper Agent 仓库规则

开始工作前

本项目使用 memory-docs/ 作为 Agent 项目记忆层。进入仓库后先读取:

  1. memory-docs/OVERVIEW.md
  2. memory-docs/STATUS.md
  3. memory-docs/CONVENTIONS.md

按任务继续读取:

  • 找代码入口:memory-docs/detail_mem/MAP.md
  • 判断模块是否实现:memory-docs/detail_mem/PROGRESS.md
  • 理解决策:memory-docs/detail_mem/DECISIONS.md
  • 开发统一运行时:memory-docs/design/ARCHITECTURE.md
  • 开发安装、同步、缓存和工作区:memory-docs/design/SYNC_AND_STORAGE.md

memory-docs/INDEX.md 说明完整阅读和更新协议。

当前实现与目标架构

  • 文档明确区分“当前实现”和“目标架构”;不得调用 PROGRESS.md 标为未实现的命令。
  • 代码、测试和文档冲突时,以当前代码和测试为准,并同步更新 memory-docs。
  • skills/paper-library/skills/zotero-upload/ 是当前生产模块。
  • skills/demo-zotero-connection/ 仅用于探索和诊断,生产代码不得依赖它。

工程约束

  • Python 路径使用 pathlib.Path;源码资源基于 __file__importlib.resources,项目路径显式传入。
  • 新增行为优先写 _test_*.pytest_*.py 或最小诊断脚本,再修改核心代码。
  • Skill 负责触发和编排;配置、认证、HTTP、同步和状态应进入共享运行时。
  • skills/ 是唯一权威 Skill 源,分发副本不得手工维护。
  • 不提交 .env、API Key、JWT、用户论文、Zotero 私有路径、缓存或日志。
  • 大型 Markdown/JSON/PDF 使用流式、头部预览或抽样,不无必要整文件读入上下文。
  • 不覆盖用户已有修改;同步和迁移必须遵循 manifest、hash、原子写入和冲突规则。

memory-docs 更新

  • 当前焦点或里程碑变化:更新 STATUS.md
  • 模块实现状态变化:更新 detail_mem/PROGRESS.md
  • 新增/移动入口:更新 detail_mem/MAP.md,每个概念只保留 1-2 个入口。
  • 稳定架构选择:追加 detail_mem/DECISIONS.md
  • 目标协议变化:更新 design/,并检查相关决策是否被取代。
  • 未定论交接:写入 SHORT_MEMORY/;旧方案和复盘进入 archive/
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. 10d ago First seen · 49 lines · 642 tokens per session scan A a5b5179d8444

Subscribe to this mod's changes

paper-agent-skills AGENTS.md is an instructions file published in the GitHub repository frowang-ai/paper-agent-skills (3 stars, last pushed 3d ago), licensed MIT. It adds 642 tokens to every session, about $0.0032 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.

Related

Other instructions, from other repositories

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

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,153 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

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

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

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