clist: Instructions file for Codex

AGENTS.md

clist AGENTS.md is an instructions file for Codex, OpenCode from aropan/clist. It costs 1,061 tokens per session, scanned C, original, Apache-2.0.

A short operating guide for CLIST, a service that combines competitive-programming problems from different sources. It defines rules for safe code changes, where project information lives, and how coding agents should work.

In plain words
What is it for?
Use it when changing CLIST code, documentation, skills, database fields, or external integrations.
Why use it?
It helps agents make small, compatible changes without breaking public interfaces or running risky commands. It also points them to the right documentation before editing.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/aropan/clist/agents-md"><img src="https://agentmods.dev/badge/instructions/aropan/clist/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,061 This file is loaded in full into every session.
When invoked 1,061 The same file — it is already loaded in full.
Security scan C 1 finding. 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.01061 $0.01061
Opus 5.5 $0.00424 $0.00424
Sonnet 5.5 $0.00212 $0.00212
Haiku 4.5 $0.00106 $0.00106

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

Security

Grade C, and why

clist AGENTS.md scanned grade C with 1 finding 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 1mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

approval**: no `git push`, `git reset --hard`, `git clean -fd`, no `rm -rf`,
AGENTS.md · 85 lines

How it starts

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

AGENTS.md

Short operating contract for AI coding agents working in the CLIST repository. It holds only the invariants every agent must see without a click; everything else lives in docs/ and in the skills.

The per-tool files — CLAUDE.md, GEMINI.md, and .github/copilot-instructions.md — are symlinks to this file, so Claude, Gemini, Copilot, Cursor, Codex, and any other agent read the same rules.

What CLIST is: a competitive-programming aggregator — see docs/project-context.md.


Golden rules

  • Make small, reviewable changes. No large refactors or architectural changes unless explicitly asked.
  • Inspect before editing. Read the relevant files and state a short plan before changing code.
  • Match surrounding code — naming, structure, comment density, imports. Prefer existing project patterns over introducing new abstractions or dependencies.
  • Do not rename public APIs, model fields, DB columns, env vars, or external contracts without asking.
  • Never run destructive or outward-facing commands without explicit approval: no git push, git reset --hard, git clean -fd, no rm -rf, no DROP/DELETE/TRUNCATE, no deploys, no docker ... prune.
  • Create or switch branches only when the user explicitly asks. A request to commit changes does not imply creating a separate branch.
  • Commit or push only when the user asks.
  • Never print or commit secrets — see docs/git-and-safety.md.
  • After editing, run the narrowest relevant check first, then broaden — see docs/testing.md, docs/linting-formatting.md, and the run-and-verify skill.
  • Be honest about what was and wasn't verified.

Documentation index

Doc Use it for
docs/project-context.md What CLIST is; the dual Django + legacy PHP codebase
docs/repository-map.md Where things live in src/, legacy/, config/; risk per area
docs/development-environment.md Docker Compose, the long-running dev service, manage.py commands
docs/testing.md Django test runner; narrow → broad policy
docs/linting-formatting.md Ruff, Biome, PHP-CS-Fixer, editor integration
docs/git-and-safety.md Git policy, off-limits files, destructive-command ban
docs/infrastructure.md Docker services, supervisord, RQ queues, config/ tree, monitoring
docs/parsers.md 1-paragraph overview + pointer to the add-parser skill
docs/migrations.md 1-paragraph overview + pointer to the safe-migration skill

Read the full file on GitHub · 85 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. 1mo ago Changed · +2 lines · +29 tokens per session 36e832a2c3f3
  2. 2mo ago First seen · 83 lines · 1,032 tokens per session scan C 494e54d9c5e6

Subscribe to this mod's changes

clist AGENTS.md is an instructions file published in the GitHub repository aropan/clist (439 stars, last pushed yesterday), licensed Apache-2.0. It adds 1,061 tokens to every session, about $0.0042 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

clist AGENTS.md compared with instructions from other repositories

clist AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clist AGENTS.mdaropan/clistInstructions file439yesterdayApache-2.0C1,061Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode