skills / global
AGENTS.md2 starsChanged 12 days agoMITView on GitHub
These rules apply across all repositories. - Write idiomatic, maintainable code that follows the repository's existing conventions. - Before adding new logic, functions, helpers, classes, or similar code, check whether something already defined does the same thing. Prefer reusing, extending, or consolidating it over adding a parallel implementation. - Do not keep, add, or preserve legacy code, compatibility paths, or deprecated behavior unless the repository explicitly documents that legacy support is intentional. - Important: you MUST use /dependency-add when adding…
- Pipes a download into a shell
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,542 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 repository78 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adaptSkill
- agenda-cleanSkill
- agenda-implementSkill
- agenda-plan-createSkill
- agenda-plan-refineSkill
- agenda-readinessSkill
- agenda-roadmapSkill
- agendaSkill
- agenda-task-createSkill
- agents-md-compressSkill
- agents-md-initSkill
- approachSkill
- autopilotSkill
- carefulSkill
- checksSkill
- cliSkill
- criteriaSkill
- cryptographySkill
- debug-cleanupSkill
- debugSkill
- debug-traceSkill
- decideSkill
- dependency-addSkill
- dependency-judgeSkill
- dependency-tree-compressSkill
- edge-caseSkill
- exploreSkill
- fallbacksSkill
- fast-modeSkill
- fix-lintsSkill
- formal-verificationSkill
- fragileSkill
- gaps-recordSkill
- gaps-settleSkill
- gapsSkill
- git-commitSkill
- git-worktree-finishSkill
- git-worktree-pruneSkill
- git-worktreeSkill
- harvestSkill
- instructionsSkill
- interviewSkill
- nix-flake-initSkill
- nixSkill
- optionsSkill
- pattern-kernelSkill
- pattern-state-machineSkill
- pattern-versioningSkill
- pendingSkill
- readonlySkill
- recommendedSkill
- referenceSkill
- research-literatureSkill
- researchSkill
- research-webSkill
- review-assumptionsSkill
- review-bugsSkill
- review-critical-pathsSkill
- The first 60 shown.
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
14 rules. About 0 are common, 10 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Write idiomatic, maintainable code that follows the repository's existing conventions.
- Distinctive: line 13
Before adding new logic, functions, helpers, classes, or similar code, check whether something already defined does the same thing.
- Distinctive: line 16
Do not keep, add, or preserve legacy code, compatibility paths, or deprecated behavior unless the repository explicitly documents that …
- Very specific: line 21
Ask me only about human decisions: direction, scope, product or architecture choices with broad implications, my preferences, and anything …
- Very specific: line 32
When running large builds, checks, tests, or other CPU-intensive commands, use nice -n 10 or another suitable positive niceness value on …
- Distinctive: line 34
When you need a tool that is missing from the current environment and does not belong in the project's dependencies, such as a one-off …
- Distinctive: line 42
Never execute code fetched from a remote location unless I have explicitly approved that specific execution.
- Distinctive: line 51
Never commit private notes to a public repository.
- Distinctive: line 56
Read-only inspection of GitHub repositories and metadata is allowed.
- Distinctive: line 60
Avoid creating Git worktrees.
- Distinctive: line 61
Avoid using git stash or git stash pop unless absolutely necessary.
- Distinctive: line 62
Avoid using git checkout unless absolutely necessary.
- Very specific: line 74
Before starting any task, plan, or roadmap entry in a repository's .agenda/, claim it by writing > Assignee: <your agent ID> and > Assignee …
- Very specific: line 76
If an entry already names a different assignee, do not work on it unless that claim is stale per /agenda-readiness.
≈ “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
Global agent working agreements
These rules apply across all repositories.
Communication
- Strictly adhere to the Gricean maxims for efficient communication.
- Focus on concise, human-facing details that matter to me. Omit technical details, small unnecessary details, and technical notes unless I explicitly ask for them or the response needs them.
Code quality
- Write idiomatic, maintainable code that follows the repository's existing conventions.
- Before adding new logic, functions, helpers, classes, or similar code, check whether something already defined does the same thing. Prefer reusing, extending, or consolidating it over adding a parallel implementation.
- Do not keep, add, or preserve legacy code, compatibility paths, or deprecated behavior unless the repository explicitly documents that legacy support is intentional.
Decisions
- Settle technical decisions yourself with
/decideinstead of asking me. Treat this as a standing delegated decision, so adopt its recommendation, scale its research to the decision, and briefly report what you chose and why so I can override it. - Ask me only about human decisions: direction, scope, product or architecture choices with broad implications, my preferences, and anything that needs my input, approval, accounts, or money.
/decidedefines which decisions are technical and which are human; when unsure, treat the decision as human.
Dependencies
- Important: you MUST use
/dependency-addwhen adding any new third-party dependency to a project. It vets candidates and decides when my explicit approval is needed. Dependencies we own, such as my own packages and libraries, are exempt.
Resource usage
- When running large builds, checks, tests, or other CPU-intensive commands, use
nice -n 10or another suitable positive niceness value on the top-level command. - In projects that provide a development environment, such as a dev shell, container, or pinned toolchain, run project tooling such as compilers, package managers, linters, and test runners inside it rather than relying on globally installed versions.
- When you need a tool that is missing from the current environment and does not belong in the project's dependencies, such as a one-off utility for file conversion or other ad hoc operations, run it ephemerally instead of installing it.
Network request metadata
- When making browser or
curlfetches, using fetch libraries or tooling, or writing network code, avoid project-, user-, or machine-specific or otherwise identifyingUser-Agentvalues. Prefer randomized, anonymous user agents that reveal minimal or no metadata over custom or branded values. Use an identifying user agent only when the project specifically requires it, and document that requirement where it is configured.
Remote code execution
- Never execute code fetched from a remote location unless I have explicitly approved that specific execution. This covers hosted Bash or shell scripts and code in other interpreters such as Python or JavaScript, remote installers, bootstrap commands, and one-liners, for example:
- piping downloads into an interpreter:
curl ... | sh,curl ... | bash,wget -O- ... | sh,bash <(curl ...),python -c "$(curl ...)"; - loading remote code in place:
source <(curl ...),eval "$(curl ...)", or equivalents; - scripts hosted on GitHub, GitLab, gists, paste sites, vendor domains, or documentation pages.
- piping downloads into an interpreter:
- Fetched code may be malicious. A URL, an official-looking source, popularity, or a tool's recommendation is not approval.
- Fetching remote content to read or inspect it is allowed. If you intend to execute a fetched script, save it locally, review it, and ask me first. Use reviewed, local, repository-owned code for normal work rather than remote execution shortcuts.
Public repositories
- Never commit private notes to a public repository. Public files, docs, comments, and commit messages never mention me or this machine.
GitHub and remote changes
- Never perform GitHub remote write actions without my explicit approval for that specific action. This includes pushing commits, creating or publishing repositories or projects, changing repository visibility, archiving or unarchiving repositories, modifying repository settings, secrets, or branch protections, opening or modifying pull requests or issues, merging, releasing, publishing packages, leaving comments or reviews, and any other non-read-only
ghor GitHub operation. - Read-only inspection of GitHub repositories and metadata is allowed; ask before any operation that changes remote state, even when it appears reversible.
Git workflow
- Avoid creating Git worktrees; work in the existing checkout unless I explicitly request a worktree.
- Avoid using
git stashorgit stash popunless absolutely necessary. They can lead to corruption, and other agents may be working on the same data; do not stash or pop their work. - Avoid using
git checkoutunless absolutely necessary. It discards uncommitted work and leads to data loss, including work other agents may have in progress.
Subagents
- Never use subagents.
Other agents
- Do not message other agents, not even when creating, finishing, or committing in a worktree. Message another agent only when you need to ask it a question or request something from it; never send announcements, status notices, or heads-ups such as "I am moving into a worktree" or "I am about to commit". A message wakes the other agent, which then re-reads its whole conversation at full price for no benefit.
Claiming work
- Before starting any task, plan, or roadmap entry in a repository's
.agenda/, claim it by writing> **Assignee:** <your agent ID>and> **Assignee branch:** <your branch>under its H1, as/agendadefines. Do this before any other work on it, so other agents see it is taken and do not collide. - Make the claim on the default branch, in the main checkout's copy of the entry, even when you work in a worktree; a claim only on a worktree branch is invisible to other agents. Release it there too.
- If an entry already names a different assignee, do not work on it unless that claim is stale per
/agenda-readiness. Remove your claim when the entry is done or you stop without finishing it.
Completion report
- When you fully finish longer-running work, such as an agenda plan or task, a goal, a loop, or another multi-step implementation effort, end your final response with a completion report just before you stop. Do not add it when simply answering questions or handling quick, small requests, nor to intermediate progress updates, clarifying questions, or pauses where you are waiting on the user.
- Build the report by invoking
/checksand/gapsand using what they produce. Do not write either part from memory or by imitating a previous report; the skills decide what to include, such as which checks apply and which gaps are already recorded. - The report has two parts in this order, separated by one blank line:
- A
🧪 **Checks**heading followed by the/checkssummary. Omit this part when no repository checks apply to the work. - The
/gapsoutput, exactly as the skill formats it.
- A
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.

