agentleFS
eSoul-czeSoul-cz/skills/codex/AGENTS.md

skills / codex

AGENTS.md1 starsChanged 13 days agoMITView on GitHub

The main session decides, writes briefs and reviews. Mechanical work goes to custom agents (installed in ~/.codex/agents) with fresh context on cheaper models, so raw output stays out of the main context. Details: skill esoul-model-routing. <!-- esoul-skills:end -->

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Search or reading across files, logs, exports: agent scout (prefer it over the built-in explorer).

    line 6
  2. Distinctive:

    After two failed worker attempts, take over yourself.

    line 15
  3. Very specific:

    Keep auto-compact at about 250K (model_auto_compact_token_limit).

    line 18

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md
<!-- esoul-skills:begin -->

eSoul usage rules (esoul-skills)

The main session decides, writes briefs and reviews. Mechanical work goes to custom agents (installed in ~/.codex/agents) with fresh context on cheaper models, so raw output stays out of the main context.

  • Search or reading across files, logs, exports: agent scout (prefer it over the built-in explorer).
  • Tests, build, lint: test-runner.
  • Implementation of size M and larger: implementer.
  • Review lenses: reviewer. Risky changes (authorization, money, migrations, personal data, concurrency): critical-reviewer.
  • UAT chapters: uat-runner.
  • Commits, gh, Freelo chores: ops.
  • Any other subagent: set a cheap model explicitly (gpt-6-luna for search and runs, gpt-6.1-terra for implementation and review). Do not spawn agents that copy the whole conversation.
  • Main session: gpt-6.1-sol at medium effort. Raise effort per task (high for planning, xhigh for L or security work). Use gpt-6-astra only by exception, it is very expensive.
  • Size S: do it directly.
  • After two failed worker attempts, take over yourself.
  • One task per session. Do not read whole files, logs or JSON dumps into the main context.
  • Session title: a cheap model names the session from the first exchange, so when the session works on a GitHub issue or a Freelo task, start the first reply with the line #<issue number> <issue title> (Freelo-only work: Freelo <task id> <task title>), shortened to about 60 characters. Look the title up first if the prompt gives only a number or a link.
  • Keep auto-compact at about 250K (model_auto_compact_token_limit); a larger context only for one short session that must hold a large input at once (prefer a subagent for it).
  • Batch independent tool calls. Wait for CI in the background, never with sleep loops.

Details: skill esoul-model-routing.

<!-- esoul-skills:end -->

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.