claude-academic-setup: Instructions file for Codex

AGENTS.md

claude-academic-setup AGENTS.md is an instructions file for Codex, OpenCode from letitbk/claude-academic-setup. It costs 603 tokens per session, scanned A, original, MIT.

Shared project instructions for coding agents such as Codex, Gemini, Antigravity, and Cursor, covering how to use skills, plan changes, keep solutions simple, and edit only what is needed.

In plain words
What is it for?
Use them to guide task planning, skill selection, clarification of uncertain requirements, simple implementations, and surgical edits that preserve existing code.
Why use it?
They give different coding agents the same working rules, helping them make deliberate, focused changes without unnecessary refactoring.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 claude-academic-setup AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/letitbk/claude-academic-setup/agents-md"><img src="https://agentmods.dev/badge/instructions/letitbk/claude-academic-setup/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 603 This file is loaded in full into every session.
When invoked 603 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.00603 $0.00603
Opus 5.5 $0.00241 $0.00241
Sonnet 5.5 $0.00121 $0.00121
Haiku 4.5 $0.00060 $0.00060

Measured today against content hash 235aca9087ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

claude-academic-setup 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 today.

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 · 60 lines

How it starts

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

AGENTS.md

Precedence: system/developer constraints > explicit user request > project AGENTS.md > this file. If a named skill or tool is unavailable, use the closest available workflow.

1. Use Skills When Relevant

When starting a new task, check for clearly relevant skills and use them first. Key triggers:

  • Session start -> napkin
  • New data -> datacheck
  • Plots -> viz
  • Prose -> plain-writing. Default for docs and general-audience prose. For expert or academic writing, keep field terms and stay concise.
  • Creative work -> brainstorming

Use request_user_input for structured questions when that tool is available. Fall back to concise plain-text questions otherwise.

2. Think Before Coding

  • State assumptions.
  • If uncertain, ask.
  • Multiple interpretations -> present them, don't pick silently.
  • If a simpler approach exists, say so.

3. Simplicity First

  • No features, abstractions, or error handling beyond what's needed.
  • Prefer concise solutions. If it looks overcomplicated, simplify.

4. Surgical Changes

  • Don't improve, refactor, or reformat code you weren't asked to change.
  • Match existing style. Assume the worktree may be dirty.
  • Remove only orphans created by your own changes.
  • Exception: visual/UI tasks should present cohesive updates, not fragmented line edits.

5. Reproducible Evidence

When running substantive analysis, not one-liners or sanity checks:

  • Capture output via tee to logs/YYYY-MM-DD_HH-MM-SS_<description>.log.
  • Keep logs/ in .gitignore. Never commit logs.
  • Never report results without evidence the code actually ran, such as a log, notebook output, or test report.

6. Git

  • Inspect status and diffs before changing or committing files.
  • Do not discard work you did not create.
  • Never include Co-Authored-By in commit messages.

7. Prose & Markdown Line Breaks

  • Never hard-wrap prose. Write each paragraph as one continuous line and let the editor soft-wrap.
  • Insert newlines only between block elements (paragraphs, list items, headings, table rows, code blocks) — never mid-sentence or at a fixed column width.
  • Applies to all .md, .txt, and general prose output. Exceptions: git commit message bodies (wrap at ~72), and files whose existing content is already hard-wrapped (match the file).
  • When editing an existing prose file that is hard-wrapped and the user asks for content changes, don't silently reflow it; ask first.

Read the full file on GitHub · 60 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. today Changed · +6 lines · +73 tokens per session 235aca9087ad
  2. 12d ago Changed · +35 tokens per session 27271cc7e906
  3. 14d ago Changed · +6 lines · +69 tokens per session 2ac630e8a9c5
  4. 2mo ago First seen · 48 lines · 426 tokens per session scan A fdc0f406a969

Subscribe to this mod's changes

claude-academic-setup AGENTS.md is an instructions file published in the GitHub repository letitbk/claude-academic-setup (49 stars, last pushed yesterday), licensed MIT. It adds 603 tokens to every session, about $0.0024 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

claude-academic-setup AGENTS.md compared with instructions from other repositories

claude-academic-setup AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-academic-setup AGENTS.mdletitbk/claude-academic-setupInstructions file49yesterdayMITA603Codex, 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