phd-deepread-workflow: Instructions file for Codex

AGENTS.md

phd-deepread-workflow AGENTS.md is an instructions file for Codex, OpenCode from heleninsights-dot/phd-deepread-workflow. It costs 1,335 tokens per session, scanned C, original, MIT.

Installation instructions for adding the phd-deepread workflow to an AI coding agent such as Codex or Claude Code.

In plain words
What is it for?
For checking the current agent, confirming requirements, installing the workflow as a skill, and verifying the installation.
Why use it?
They explain where the workflow belongs for each agent and identify prerequisites before anything is installed.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Claude Code; reads ~/.codex paths.

This is heleninsights-dot/phd-deepread-workflow's own configuration. It tells Codex and OpenCode how to work on phd-deepread-workflow 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-deepread-workflow configures →

Reuse

Borrowing it

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

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 phd-deepread-workflow AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/heleninsights-dot/phd-deepread-workflow/agents-md"><img src="https://agentmods.dev/badge/instructions/heleninsights-dot/phd-deepread-workflow/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,335 This file is loaded in full into every session.
When invoked 1,335 The same file — it is already loaded in full.
Security scan C 2 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.01335 $0.01335
Opus 5.5 $0.00534 $0.00534
Sonnet 5.5 $0.00267 $0.00267
Haiku 4.5 $0.00134 $0.00134

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

Security

Grade C, and why

phd-deepread-workflow AGENTS.md scanned grade C with 2 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 2mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Ubuntu/Debian: `sudo apt install -y tesseract-ocr`

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

ls <SKILLS_DIR>phd-deepread/SKILL.md # ~/.claude/skills/... or ~/.codex/skills/...
AGENTS.md · 128 lines

How it starts

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

AGENTS.md — Install instructions for AI agents

This file tells an AI coding agent (e.g. Claude Code or Codex) how to install and verify the phd-deepread workflow on the user's machine. The user is non-technical and will trust you to run these steps end-to-end. Do not ask the user to type terminal commands themselves; execute them yourself and report results.

If anything in this file conflicts with the README, follow this file — the README is written for humans skimming, this is the executable spec.

Detect which agent you are (paths differ)

This workflow installs as a skill, and each agent keeps skills in a different directory. Determine yours first and use it everywhere below as <SKILLS_DIR>:

Agent <SKILLS_DIR>
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/

So the installed skill lives at <SKILLS_DIR>phd-deepread/. If you can't tell which agent you are, check which directory exists.


Prerequisites — confirm before installing

Before any install, confirm the user has both:

  1. A skill-capable AI coding agent — this workflow runs inside Claude Code or Codex. If the user has neither, point them to claude.ai/code (Claude Code) or the Codex CLI and stop here.
  2. Obsidian — the final output is a JSON canvas file that only renders in Obsidian. Without Obsidian, the user cannot visualize the paper. Point them to obsidian.md.

If the user only wants AI help reading a PDF, they don't need this tool — just drag the PDF into any AI chat and ask questions directly. This workflow is for people who want structured literature notes and a critical-thinking canvas in Obsidian.


Goal

After install, all of the following must succeed:

  1. The phd-deepread command runs from any directory.
  2. phd-deepread doctor reports core dependencies as OK.
  3. The skill is available in your agent (Claude Code or Codex), installed at <SKILLS_DIR>phd-deepread/.

The end-to-end value: extract a PDF → Claude generates a structured literature note → the user opens a 9-node critical-thinking canvas in Obsidian to visualize the paper.

Read the full file on GitHub · 128 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. 2mo ago First seen · 128 lines · 1,335 tokens per session scan C d54982a1dc8a

Subscribe to this mod's changes

phd-deepread-workflow AGENTS.md is an instructions file published in the GitHub repository heleninsights-dot/phd-deepread-workflow (64 stars, last pushed 4mo ago), licensed MIT. It adds 1,335 tokens to every session, about $0.0053 per session on Opus 5.5. A static security scan graded it C with 2 findings (asks for root, enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

phd-deepread-workflow AGENTS.md compared with instructions from other repositories

phd-deepread-workflow AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
phd-deepread-workflow AGENTS.mdheleninsights-dot/phd-deepread-workflowInstructions file644mo agoMITC1,335Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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