codomyrmex / scripts
AGENTS.md10 starsChanged 38 days agoMITView on GitHub
Define execution and maintenance safety for repository automation. - Run from the repository root unless the script explicitly documents another working directory. - Use uv run --locked and the appropriate dependency group. - Read the nearest nested AGENTS file before editing or executing a script. - Run GitNexus impact analysis before changing a function or class. - Prefer explicit check, dry-run, output, and apply modes. - Make --help and missing-mode invocations read-only for maintained mutators. - Keep output deterministic, repository-relative,…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,700 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository47 other files it gives its agents.
- .agent/AGENTS.mdAGENTS.md
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .agents/skills/agent-interop/AGENTS.mdAGENTS.md
- .agents/skills/AGENTS.mdAGENTS.md
- .agents/skills/first-principles/AGENTS.mdAGENTS.md
- .agents/skills/mcp-tool-use/AGENTS.mdAGENTS.md
- .agents/skills/red-team/AGENTS.mdAGENTS.md
- .agents/skills/systems-thinking/AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- config/AGENTS.mdAGENTS.md
- .cursor/skills/AGENTS.mdAGENTS.md
- .cursor/skills/codomyrmex/AGENTS.mdAGENTS.md
- .cursor/skills/desloppify/AGENTS.mdAGENTS.md
- .cursor/skills/fractals/AGENTS.mdAGENTS.md
- data/AGENTS.mdAGENTS.md
- .devcontainer/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- evaluations/AGENTS.mdAGENTS.md
- examples/AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- .github/commands/AGENTS.mdAGENTS.md
- .github/ISSUE_TEMPLATE/AGENTS.mdAGENTS.md
- .github/scripts/AGENTS.mdAGENTS.md
- .github/workflows/AGENTS.mdAGENTS.md
- .jules/AGENTS.mdAGENTS.md
- .pipelines/AGENTS.mdAGENTS.md
- projects/AGENTS.mdAGENTS.md
- src/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- .workflows/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-interopSkill
- first-principlesSkill
- mcp-tool-useSkill
- red-teamSkill
- systems-thinkingSkill
- agent-interopSkill
- first-principlesSkill
- mcp-tool-useSkill
- qmdSkill
- red-teamSkill
- systems-thinkingSkill
- CodomyrmexSkill
- desloppifySkill
- Fractals orchestratorSkill
- CodomyrmexSkill
The file
We split this AGENTS.md into the rules it gives an agent
9 rules. About 1 is common, 6 are distinctive, and 2 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈6
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
- Distinctive: line 11
Run from the repository root unless the script explicitly documents another working directory.
- Very specific: line 13
Use uv run --locked and the appropriate dependency group.
- Distinctive: line 14
Read the nearest nested AGENTS file before editing or executing a script.
- Distinctive: line 15
Run GitNexus impact analysis before changing a function or class.
- Distinctive: line 16
Prefer explicit check, dry-run, output, and apply modes.
- Common: line 18
Keep output deterministic, repository-relative, and credential-free.
- Distinctive: line 21
Use real temporary repositories and subprocesses in tests.
- Very specific: line 22
Update README, AGENTS, SPEC/PAI/security, Makefile/justfile, and changelog parity when a contributor-facing CLI changes.
- Distinctive: line 37
Treat generation, cleanup, dependency installation, publication, deployment, Git operations, external messaging, and broad filesystem …
≈ “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.
Files
<!-- agents: curated -->Agent guidance for repository scripts
Purpose
Define execution and maintenance safety for repository automation.
Development Guidelines
- Run from the repository root unless the script explicitly documents another working directory.
- Use
uv run --lockedand the appropriate dependency group. - Read the nearest nested AGENTS file before editing or executing a script.
- Run GitNexus impact analysis before changing a function or class.
- Prefer explicit check, dry-run, output, and apply modes.
- Make
--helpand missing-mode invocations read-only for maintained mutators. - Keep output deterministic, repository-relative, and credential-free.
- Preserve curated documentation, existing dirty changes, and submodule boundaries.
- Use real temporary repositories and subprocesses in tests.
- Update README, AGENTS, SPEC/PAI/security, Makefile/justfile, and changelog parity when a contributor-facing CLI changes.
Key Files
- README.md — supported script categories and entry points
- SPEC.md — script-surface specification
doc_inventory.py— authoritative volatile metricssrc_structure_audit.py— source/documentation parityrasp_gap_report.py— README/AGENTS pair auditrun_all_scripts.py— orchestrator CLI wrapper; missing-mode invocation defaults to--dry-rundocumentation/— canonical documentation tooling
High-risk categories
Treat generation, cleanup, dependency installation, publication, deployment, Git operations, external messaging, and broad filesystem repair as mutating. Resolve their exact targets before execution and request new authority when the operation exceeds the user's stated scope.
Validation
uv run --locked ruff check scripts tests
uv run --locked ruff format --check scripts tests
uv run --locked ty check --output-format concise scripts tests
uv run --locked pytest -q <relevant-test-path>For documentation and manuscript scripts, also run make docs-check and
make manuscript-check.
Navigation
- Human overview
- Documentation scripts
- Repository agent contract
- Repository root
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
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.

