scientific_writing_agent: Instructions file for Codex

AGENTS.md

scientific_writing_agent AGENTS.md is an instructions file for Codex, OpenCode from Rezenders/scientific_writing_agent. It costs 940 tokens per session, scanned A, original, Apache-2.0.

Writing guidance for a LaTeX research paper. It focuses on technical accuracy, consistent meaning, clear scientific language, and publication-ready structure.

In plain words
What is it for?
Use it when drafting, revising, or checking a scientific manuscript, including its research questions, terminology, arguments, and journal or conference style.
Why use it?
It helps an agent improve wording and organization without changing the paper’s intended claims or weakening technical precision.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions .claude-plugin; mentions AGENTS.md; mentions Codex.

This is Rezenders/scientific_writing_agent's own configuration. It tells Codex and OpenCode how to work on scientific_writing_agent 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 scientific_writing_agent configures →

Reuse

Borrowing it

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

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 scientific_writing_agent AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/rezenders/scientific_writing_agent/agents-md"><img src="https://agentmods.dev/badge/instructions/rezenders/scientific_writing_agent/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 940 This file is loaded in full into every session.
When invoked 940 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.00940 $0.00940
Opus 5.5 $0.00376 $0.00376
Sonnet 5.5 $0.00188 $0.00188
Haiku 4.5 $0.00094 $0.00094

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

Security

Grade A, and why

scientific_writing_agent 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 17d 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 · 90 lines

How it starts

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

AGENTS.md

This file provides repository policy for Codex-style agents. The harness-independent workflow source is .agents/.

Canonical Workflow Layer

  • .agents/agents/ contains shared agent role instructions.
  • .agents/skills/ contains shared manuscript workflows.
  • .agents/context/ contains focused project context templates and project-specific guardrails.
  • .claude/, .codex/, and .pi/ are adapters only. Keep harness-specific settings and plugin metadata there, but do not maintain divergent workflow copies.

When updating workflows, edit .agents/ first. Use generated mirrors for harnesses that require a specific directory layout. Avoid symlinks in Overleaf-compatible repositories.

What This Repository Is

This repository is a reusable scientific-writing agent template for LaTeX research papers. Downstream paper projects should replace placeholders such as <PROJECT_NAME>, <MAIN_TEX>, <SECTION_FILE>, <KEY_MACRO>, <IMPLEMENTATION_REFERENCE>, and <EVALUATION_CLAIM> with project-specific facts.

The goal is to support technically rigorous, internally consistent, publication-ready scientific manuscripts. Edits must improve clarity, precision, coherence, and argument strength without changing intended technical meaning.

Editing Priorities

Apply these priorities in order:

  1. technical correctness;
  2. consistency with the manuscript;
  3. clarity and precision;
  4. concise academic style;
  5. grammar and fluency.

Do not optimize prose elegance at the expense of precision.

Human-Controlled Writing Workflow

For substantive drafting or rewriting, preserve this workflow:

  1. establish an explicit passage contract using .agents/context/passage-contract.md;
  2. optionally create an argument plan for complex rhetorical work;
  3. produce one primary draft;
  4. run read-only diagnostic review when needed;
  5. ask the human to accept, reject, or modify findings;
  6. perform at most one targeted revision from accepted findings;
  7. run final diff, consistency, and build checks.

Read the full file on GitHub · 90 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. 17d ago Changed · +6 tokens per session df3fd9db2a85
  2. 1mo ago Changed · -154 lines · -771 tokens per session ceacf0ff28a2
  3. 2mo ago First seen · 244 lines · 1,705 tokens per session scan A 61779c3952db

Subscribe to this mod's changes

scientific_writing_agent AGENTS.md is an instructions file published in the GitHub repository Rezenders/scientific_writing_agent (14 stars, last pushed 17d ago), licensed Apache-2.0. It adds 940 tokens to every session, about $0.0038 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

scientific_writing_agent AGENTS.md compared with instructions from other repositories

scientific_writing_agent AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scientific_writing_agent AGENTS.mdRezenders/scientific_writing_agentInstructions file1417d agoApache-2.0A940Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode