agentleFS
letitbkletitbk/claude-academic-setup/AGENTS.md

claude-academic-setup

AGENTS.md46 starsChanged 9 months agoMITView on GitHub

Agent-agnostic guidelines for Codex, Gemini/Antigravity, Cursor, and other agents. Mirrors CLAUDE.md — keep the two in sync so every agent honors the same rules. Precedence: system constraints > explicit user request > project AGENTS.md/CLAUDE.md > this file. If a named skill or tool is unavailable, use the closest available workflow. When starting a new task, check for clearly relevant skills and invoke them first. Key triggers: - Session start → napkin - New data → datacheck - Plots → viz…

The file

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

11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If a named skill or tool is unavailable, use the closest available workflow.

    line 7
  2. Distinctive:

    When starting a new task, check for clearly relevant skills and invoke them first.

    line 11
  3. Very specific:

    Use AskUserQuestion (via ToolSearch) for structured questions.

    line 18
  4. Distinctive:

    No features, abstractions, or error handling beyond what's needed.

    line 28
  5. Distinctive:

    Prefer concise solutions. If it looks overcomplicated, simplify.

    line 29
  6. Distinctive:

    Don't improve, refactor, or reformat code you weren't asked to change.

    line 33
  7. Distinctive:

    Remove only orphans YOUR changes created.

    line 35
  8. Distinctive:

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

    line 40
  9. Very specific:

    Keep logs/ in .gitignore. Never commit logs.

    line 42
  10. Distinctive:

    Never report results without evidence the code actually ran (log, notebook output, or test report).

    line 43
  11. Very specific:

    Never include Co-Authored-By in commit messages.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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

AGENTS.md

Agent-agnostic guidelines for Codex, Gemini/Antigravity, Cursor, and other agents. Mirrors CLAUDE.md — keep the two in sync so every agent honors the same rules.

Precedence: system constraints > explicit user request > project AGENTS.md/CLAUDE.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 invoke them first. Key triggers:

  • Session start → napkin
  • New data → datacheck
  • Plots → viz
  • Prose → humanizer / stop-slop
  • Creative work → brainstorming

Use AskUserQuestion (via ToolSearch) for structured questions. Fall back to plain text if unavailable.

2. Think Before Coding

  • State assumptions. If uncertain, ask.
  • Multiple interpretations → present them, don't pick silently.
  • 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 YOUR changes created.
  • 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 (log, notebook output, or test report).

6. Git

  • Never include Co-Authored-By in commit messages.

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.