PhD-Zero: Skill for Codex

.agents/skills/paper-writing/SKILL.md

paper-writing is a skill for Codex from TenureAI/PhD-Zero. It costs 96 tokens per session (746 once invoked), scanned A, original, MIT.

A writing workflow for computer science and artificial-intelligence research papers. It helps turn supported evidence, experiments, and citations into paper sections or LaTeX.

In plain words
What is it for?
Use it to draft or revise abstracts, introductions, related work, methods, experiments, conclusions, rebuttals, and LaTeX content.
Why use it?
It keeps paper writing tied to actual evidence and the needs of the section being written, instead of producing unsupported claims or generic prose.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is TenureAI/PhD-Zero's own configuration. It tells Codex how to work on PhD-Zero 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 PhD-Zero configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TenureAI/PhD-Zero. 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/TenureAI/PhD-Zero/main/.agents/skills/paper-writing/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/TenureAI/PhD-Zero

Made for: Codex.

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-writing

README.md
[![agentmods](https://agentmods.dev/badge/skills/tenureai/phd-zero/paper-writing.svg)](https://agentmods.dev/skills/tenureai/phd-zero/paper-writing)
Your own site
<a href="https://agentmods.dev/skills/tenureai/phd-zero/paper-writing"><img src="https://agentmods.dev/badge/skills/tenureai/phd-zero/paper-writing.svg" alt="Measured on agentmods" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 746 The whole file, excluding the scripts and references it only reads on demand.
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.1 $0.00096 $0.00746
Opus 5 $0.00048 $0.00373
Sonnet 5 $0.00019 $0.00149
Haiku 4.5 $0.00010 $0.00075

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

Security

Grade A, and why

paper-writing 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 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/fetch_arxiv_source.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/skills/paper-writing/SKILL.md · 95 lines

How it starts

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

Paper Writing

Mission

Provide a section-aware paper-writing workflow that is:

  1. evidence-first
  2. progressively disclosed
  3. LaTeX- and structure-friendly
  4. optimized for CS and AI papers

Do not load all writing guidance at once. Start here, then open only the reference file needed for the current section.

Activation Gate

Activate this skill only when the user explicitly asks for paper-writing output.

Use this skill for:

  1. drafting a paper or a named paper section
  2. revising existing paper prose
  3. writing rebuttal text
  4. turning existing claims, evidence, and results into paper-ready prose

Do not use this skill for:

  1. topic scoping
  2. literature investigation without a writing deliverable
  3. feasibility analysis
  4. experiment design
  5. experiment execution
  6. deciding whether a project is paper-worthy

Default Workflow

  1. identify paper type and draft stage
  2. load references/workflow.md
  3. load only the section file needed right now
  4. if related-work style mining is needed, load references/arxiv-source-workflow.md
  5. use scripts/fetch_arxiv_source.py to inspect exemplar paper sources
  6. write only what is supported by actual evidence, experiments, and citations

Loading Map

Open these references on demand:

  1. references/source-index.md
    • external sources and what each one informs
  2. references/workflow.md
    • overall writing order, collaboration rules, and section contracts
  3. references/abstract.md
    • abstract structure and compression rules
  4. references/introduction.md
    • problem framing, gap, contributions, and section logic
  5. references/related-work.md
    • literature grouping, synthesis, comparison writing, and citation density
  6. references/arxiv-source-workflow.md
    • how to download and inspect arXiv LaTeX sources
  7. references/method.md
    • method narrative, notation, pipeline order, and algorithm exposition
  8. references/architecture-figures.md
    • architecture drawing heuristics and code-based tooling
  9. references/experiments.md
    • evaluation logic, ablations, robustness, and error analysis
  10. references/tables-and-layout.md
  • result tables, layout, appendix splitting, and figure-table coordination

Read the full file on GitHub · 95 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. 6d ago First seen · 95 lines · 96 tokens per session scan A 7372ca4044cd

Subscribe to this mod's changes

paper-writing is a skill published in the GitHub repository TenureAI/PhD-Zero (52 stars, last pushed 5mo ago), licensed MIT. It adds 96 tokens to every session and 746 once invoked, about $0.0005 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 skills, from other repositories

proof-checker

Rigorous mathematical proof verification and fixing workflow. Reads a LaTeX proof, identifies gaps via cross-model review (Codex GPT-5.4 xhigh), fixes each gap with full derivations, re-reviews, and generates an audit report. Use when user says "检查证明", "verify proof", "proof check", "审证明", "check this proof", or wants…

AI4Scientist/nano-scientist · 90 tokens

paper-illustration

Generate publication-quality AI illustrations for academic papers using Gemini image generation. Creates architecture diagrams, method illustrations with Claude-supervised iterative refinement loop. Use when user says "生成图表", "画架构图", "AI绘图", "paper illustration", "generate diagram", or needs visual figures for papers.

AI4Scientist/nano-scientist · 67 tokens

paper-navigator

Find and read academic papers: disambiguate queries, discover papers (search, citation traversal, recommendations, arXiv monitoring, trending, GitHub search), evaluate (TLDR, citations, code, SOTA), and read with structured analysis (3-level strategy). Use when: finding papers, reading a paper, related work, citation…

AI4Scientist/nano-scientist · 141 tokens

paper-write

Draft LaTeX paper section by section from an outline. Use when user says "写论文", "write paper", "draft LaTeX", "开始写", or wants to generate LaTeX content from a paper plan.

AI4Scientist/nano-scientist · 50 tokens

evo-memory

Manages persistent research memory across ideation and experimentation cycles. Maintains two stores: Ideation Memory MI (feasible/unsuccessful directions) and Experimentation Memory ME (reusable strategies for data processing, model training, architecture, debugging). Three evolution mechanisms: IDE (after…

AI4Scientist/nano-scientist · 186 tokens

experiment-pipeline

Guides structured 4-stage experiment execution with attempt budgets and gate conditions: Stage 1 initial implementation (reproduce baseline), Stage 2 hyperparameter tuning, Stage 3 proposed method validation, Stage 4 ablation study. Integrates with evo-memory (load prior strategies, trigger IVE/ESE) and…

AI4Scientist/nano-scientist · 129 tokens