skills
AGENTS.md3 starsChanged 58 days agoMITView on GitHub
This file owns the instructions for every coding harness (Claude Code, Codex, opencode, Pi). Keep shared rules here and scope harness-specific rules to their named harness. Edit instructions here. Assign review duties by the task, not by whether an agent is a subagent. - The coordinator owns integration, findings decisions, approval requests, authorized fixes, validation, commits, publication, handoffs and the final report. An agent assigned the whole workflow is a coordinator; a simplifier owns its assigned edits; a findings-only reviewer…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,691 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 repository30 other files it gives its agents.
- ask-claudeSkill
- ask-codexSkill
- backend-testingSkill
- cleanup-and-archiveSkill
- cleanupSkill
- code-reviewSkill
- coding-standardsSkill
- designSkill
- design-technical-diagramsSkill
- de-slopSkill
- feedback-hardeningSkill
- frontend-ui-validationSkill
- grillingSkill
- grill-with-docsSkill
- handoffSkill
- html-explanationsSkill
- just-do-itSkill
- clawhub-local-testSkill
- openclaw-stg-testSkill
- pr-proof-packSkill
- reducing-cognitive-loadSkill
- session-recallSkill
- skill-cleanerSkill
- speak-fking-englishSkill
- to-specSkill
- to-ticketsSkill
- typescript-disciplineSkill
- wait-efficientlySkill
- writing-for-agentsSkill
- writing-good-testsSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
51 rules. About 0 are common, 32 are distinctive, and 19 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈32
Distinctive · estimate
This author's own choices. Worth a look.
19
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
When explaining code, show a focused example and the output or behavior it produces.
- Distinctive: line 36
Treat logs and test results as supporting evidence.
- Distinctive: line 38
Keep replies concise, concrete, and free of repetition while preserving necessary evidence and qualifications.
- Very specific: line 41
Use speak-fking-english for substantial writing, requested rewrites, unclear explanations, or when a delivery workflow requires it.
- Distinctive: line 44
When user input is genuinely required, use the harness's native structured question UI when it is available, including outside …
- Very specific: line 49
Before closing a substantive task, after a user correction, and before reporting a blocked workflow, assess whether feedback-hardening is …
- Very specific: line 59
Before implementing or reviewing code, read coding-standards in its
- Distinctive: line 69
Start with the requested outcome, the changed behavior and its owner.
- Distinctive: line 74
Before implementing changed behavior, the execution owner records a brief proof sketch in the current task context, using existing notes …
- Very specific: line 79
Use writing-good-tests to choose proof, including when no new permanent test is needed.
- Distinctive: line 81
Treat backward compatibility as the user's decision.
- Distinctive: line 85
Avoid speculative abstractions, configuration, and indirection.
- Distinctive: line 86
Keep the diff as small as the requirement allows.
- Distinctive: line 91
Never trade a working product for unfinished complexity.
- Distinctive: line 92
Keep components modular and concerns clearly separated.
- Very specific: line 96
Before creating or changing agent instructions, use writing-for-agents to select the applicable authoring guidance.
- Distinctive: line 104
Prefer repository-owned or dependency-owned solutions over custom infrastructure logic.
- Distinctive: line 107
Before implementing common behavior:
- Distinctive: line 109
Search the repository for an existing utility, module, or established pattern.
- Distinctive: line 113
If no installed solution is suitable, assess whether a well-maintained external dependency would be safer and simpler than custom code.
- Distinctive: line 118
When selecting an existing or new dependency, search the codebase for other custom implementations of the same behavior.
- Distinctive: line 135
Run tests to verify changed behavior, investigate a concrete failure or uncertainty, or satisfy an applicable required check.
- Very specific: line 142
Keep test cleanup tied to the changed behavior and the coverage needed to prove it.
- Very specific: line 146
Before implementing code, load writing-good-tests, even when no test changes are planned.
- Distinctive: line 152
Do not add deterministic tests of skill prose, headings, links, or routing wording.
- Very specific: line 155
Do not write tests for linters.
- Distinctive: line 163
Before repairing a review-discovered bug, apply the evidence checks in code-review's Resolve and finish requirements.
- Distinctive: line 166
Keep evidence tied to the reviewed revision and label what was actually observed.
- Distinctive: line 177
Use GPT-6.1 Sol at high by default for coordination, integration, verification, ordinary review, implementation, test design and …
- Very specific: line 180
Use GPT-6 Luna at max for established test, lint, typecheck and prepared acceptance execution, bounded investigation and focused research.
- Distinctive: line 193
Use GPT-6.1 Sol/high for substantive code, test, skill-prompt, UI and artifact changes.
- Very specific: line 194
Use Luna/max for bounded retrieval and inventory work, such as session-recall searches and skill-cleaner inventories, and for prepared …
- Very specific: line 197
Keep test design and failure diagnosis with Sol.
- Very specific: line 200
Keep coordination, review decisions, integration, final verification, permission decisions and delivery with the coordinator.
- Very specific: line 228
Use wait-efficiently for worker assignments and results, pending agents, CI monitoring, long-running commands and timed delays.
- Distinctive: line 244
Stop when it is met and report further polish as optional follow-ups.
- Distinctive: line 253
Before stopping, apply the communication proof requirements, reconcile the result against the original request and every accepted …
- Distinctive: line 257
If the outcome remains incomplete, state exactly what remains, what evidence was established, and which blocker prevents completion.
- Very specific: line 263
Use explicitly requested skills and required workflow lenses.
- Distinctive: line 277
Treat publication as a separate authority from local implementation.
- Very specific: line 282
Always use the installed repo-queue skill for authorized GitHub or Bitbucket Cloud PR merges on this machine, even when the user does not …
- Distinctive: line 312
Never add, remove, or modify that reaction on the user's behalf.
- Distinctive: line 317
When the user asks for code review, use only the requested review workflow.
- Very specific: line 319
Do not substitute or add unrelated review workflows or review bots, including autoreview, unless the user explicitly asks for them.
- Distinctive: line 328
Stop on the first test error.
- Distinctive: line 330
Do not post prose PR or issue comments on the user's behalf.
- Very specific: line 337
Never use as any in TypeScript.
- Very specific: line 339
No decorative comment separators (=====, -----) in code.
- Very specific: line 345
Before writing or changing Effect code, read node_modules/effect/AGENTS.md completely.
- Distinctive: line 356
Use the available Claude Chrome integration for website interaction, authenticated browser state, screenshots, and browser-driven …
- Distinctive: line 368
Keep the normal main session as coordinator, using Claude Fable 5.1 at high by default, and preserve explicit user model and effort …
≈ “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.
Files
Global agent instructions
This file owns the instructions for every coding harness (Claude Code, Codex, opencode, Pi). Keep shared rules here and scope harness-specific rules to their named harness. Edit instructions here.
Review responsibilities
Assign review duties by the task, not by whether an agent is a subagent.
- The coordinator owns integration, findings decisions, approval requests, authorized fixes, validation, commits, publication, handoffs and the final report. An agent assigned the whole workflow is a coordinator; a simplifier owns its assigned edits; a findings-only reviewer inspects and reports.
- Give fresh reviewers the target, requirements, neutral assignment and available proof without implementation rationale or prior findings. Use a configured findings-only role when available and retain the applicable domain lenses below.
- Reviewers return supported findings, evidence, unresolved concerns and verification limits. They do not edit, manage repairs, publish or run handoff workflows. The coordinator confirms findings under code-review's evidence requirements and resolves their priority and disposition.
- Reading a skill does not expand the assignment or authorize its workflow. Safety, security, permission boundaries, and applicable repository constraints remain binding on every agent; role instructions are not a sandbox.
Communication
- Lead with the outcome, then explain what changed and why.
- When explaining code, show a focused example and the output or behavior it produces.
- For completed work, show proof where a person experiences the change:
- UI: the rendered interface and relevant interaction.
- Terminal: the command, output, and user flow.
- Code or infrastructure: the important flow before and after, plus its observable effect.
- Treat logs and test results as supporting evidence. Use the changed behavior itself as the primary proof.
- Keep replies concise, concrete, and free of repetition while preserving
necessary evidence and qualifications. Leave hashes, receipt paths and
internal identifiers out of replies unless the reader needs them to act.
Use
speak-fking-englishfor substantial writing, requested rewrites, unclear explanations, or when a delivery workflow requires it; routine short replies need no extra skill read. - When user input is genuinely required, use the harness's native structured question UI when it is available, including outside planning-only modes. Do not ask questions when repository evidence, safe investigation, or a reasonable low-risk assumption can resolve the uncertainty.
- When asking questions, use a synchronous tool that waits for the user's reply. In Codex, use
request_user_inputwhere available and permitted; do not userequest_user_input_async. If no suitable synchronous tool is available, ask in the final response and wait for the user's reply. This preference avoids missed async-question notifications; it does not require asking about routine choices. - Before closing a substantive task, after a user correction, and before
reporting a blocked workflow, assess whether
feedback-hardeningis useful. Apply this judgment after every code review, including clean reviews; these events do not automatically require a separate task. The coordinator owns the decision and any handoff; findings-only reviewers send observations in their existing report. Follow the skill for the decision, handoff, repair authority and completion.
Coding standards
Before implementing or reviewing code, read coding-standards in its
Read expectations mode. Use the standards source supplied in the task;
otherwise, when working in this skills repository, use its local
skills/coding-standards/SKILL.md, and use the installed skill in other
projects. Follow its applicable principles and the project's recorded
exceptions. That skill owns the standards and the assessment required in
review.
Implementation design
- Start with the requested outcome, the changed behavior and its owner. Read callers, dependencies, tests, docs and history as needed to establish the affected contract and resolve uncertainty. Trace complete flows when a change crosses ownership, lifecycle, security or data boundaries; a local text edit does not require the same investigation.
- Before implementing changed behavior, the execution owner records a brief
proof sketch in the current task context, using existing notes when available:
the intended caller-visible result,
reachable failures tied to the changed contract, nearest existing coverage,
and what remains unproven. This adds no separate document or approval gate.
Use
writing-good-teststo choose proof, including when no new permanent test is needed. - Treat backward compatibility as the user's decision. If the preferred design requires breaking changes, explain why, what will break, and the migration path, then ask before proceeding. Do not add compatibility layers by default.
- Choose the simplest implementation that fully meets the current requirements. Avoid speculative abstractions, configuration, and indirection.
- Keep the diff as small as the requirement allows. Before review, remove code, tests and documentation the requirement does not need, and report the net lines added and removed with the result.
- Grow the system in layers. Start from the smallest version that works end to end, and add each new capability on top of a product that already works. Never trade a working product for unfinished complexity.
- Keep components modular and concerns clearly separated.
- Make architectural decisions for the long term. Do not implement a stopgap intended to be replaced later without the user's explicit approval. Explain the durable alternative and why the stopgap is necessary.
- Before creating or changing agent instructions, use
writing-for-agentsto select the applicable authoring guidance. For skill changes, read the skill'sBASE.mdfirst and keep shared behaviour there, then adapt every supported profile complete; a profile may cover a model family. Variant files or shared-content links record coverage.
Dependency-first implementation
Prefer repository-owned or dependency-owned solutions over custom infrastructure logic.
Before implementing common behavior:
- Search the repository for an existing utility, module, or established pattern.
- Inspect already-installed dependencies for a native solution. Check the installed version and read its current documentation or source.
- If no installed solution is suitable, assess whether a well-maintained external dependency would be safer and simpler than custom code. Do not install, replace, or upgrade a dependency without the user's explicit permission. Explain the proposed package, why it is needed, and its important maintenance, security, licensing, runtime, and bundle-size trade-offs.
- When selecting an existing or new dependency, search the codebase for other
custom implementations of the same behavior.
- Replace them in the current change only when they solve the same problem, the replacement is small and low-risk, and relevant tests can prove behavior was preserved.
- Otherwise, report the cleanup candidates and ask before expanding the task or PR.
- Implement custom logic only when the repository and suitable dependencies do
not meet the requirement. State why the existing options were unsuitable and
verify the behavior under
writing-good-tests.
Apply this especially to routing, parsing, validation, serialization, retries, queues, caching, middleware, request context, telemetry, date and time handling, resource lifecycle, and graceful shutdown.
Test and review design
- Run tests to verify changed behavior, investigate a concrete failure or uncertainty, or satisfy an applicable required check. Reuse passing results while the code, dependencies, configuration and environment they cover remain applicable. Before repeating or broadening a run, identify what invalidated that evidence or what question remains unanswered. A new commit, rebase or metadata-only edit alone does not justify rerunning unrelated suites. Preserve checks explicitly required on the final revision.
- Keep test cleanup tied to the changed behavior and the coverage needed to
prove it. Touching a test file does not by itself require reorganizing the
file or repairing unrelated tests. Apply
writing-good-teststo retention; preserve explicitly required checks and justified consequential proof. - Before implementing code, load
writing-good-tests, even when no test changes are planned. Apply its integration-first policy and separate temporary verification from permanent coverage. Also load it before changing tests or test infrastructure and during review of production behavior or test changes. A coding task does not automatically require new tests. - Validate skill instructions through independent agent exercises and review. Do not add deterministic tests of skill prose, headings, links, or routing wording. Keep deterministic tests for executable scripts and machine-readable contracts such as schemas and metadata.
- Do not write tests for linters. A linter is proved by running it on the
repository inside
validate:effect; the tree is its fixture, and a rule that misfires shows up there. - During code review, load
reducing-cognitive-loadwhile assessing the initial diff and every proposed fix so reduction happens inside the review loop.
Evidence before review fixes
- Before repairing a review-discovered bug, apply the evidence checks in code-review's Resolve and finish requirements. A reproduction through the actual application using realistic local fixtures can qualify; production data is not required.
- Keep evidence tied to the reviewed revision and label what was actually observed. A type-permitted value or invented unreachable state is not proof.
- Preserve privacy, access and repair-authority boundaries. This grants no production access and never authorizes causing an incident to obtain evidence.
Model turns
Model cost depends on the model, generated tokens, and input/cache usage. Repeated model turns can add cost; elapsed time in a held tool call is not itself model generation.
- Use GPT-6.1 Sol at high by default for coordination, integration, verification,
ordinary review, implementation, test design and substantive debugging or repairs.
The coordinator may complete small local steps when delegation would not help.
Use GPT-6 Luna at max for established test, lint, typecheck and prepared acceptance
execution, bounded investigation and focused research.
writing-good-testsowns execution batches and result records. The Claude Code mapping below replaces these defaults in that harness. - Reserve GPT-6 Astra at high for optional read-only oracle consultation when an unresolved decision merits another assessment. Give the oracle a bounded question, the relevant revision, evidence and constraints. It returns advice, supporting evidence, trade-offs and uncertainty; it does not edit, manage repairs, spawn workers, approve, publish or take ownership of the workflow. The coordinator evaluates the advice and retains all decisions and delivery. Consultation adds no mandatory review or completion gate; ordinary review stays on the default model family.
- Assign skill execution by the work, not by which model variants are installed.
Use GPT-6.1 Sol/high for substantive code, test, skill-prompt, UI and artifact changes.
Use Luna/max for bounded retrieval and inventory work, such as
session-recallsearches andskill-cleanerinventories, and for prepared validation batches, including UI and local-preview checks when the worker has the required tools. Keep test design and failure diagnosis with Sol;writing-good-testsowns the executor's batch and failure boundaries. Apply the harness-specific worker mapping below where it replaces the shared model choices. - Keep coordination, review decisions, integration, final verification,
permission decisions and delivery with the coordinator. Complete
handoff,ask-codexand cleanup workflows retain their existing owners and authority; only suitable bounded steps may be delegated when their contracts allow it. Shared standards and domain skills remain available to every consuming model: reading one does not make that model the execution owner. Keep existing findings-only reviewer exclusions. Small local steps and unavailable worker capabilities follow the delegation and launcher rules here; do not spawn a worker solely to load a skill or wait. - Apply an explicit user model or effort override only to its named task. Set model and effort through the launcher; a prompt cannot override a launcher's fixed settings. If the selected configuration is unavailable, report that limitation instead of silently substituting another model or effort.
- Delegate useful independent work on demand. Do not create the full model tree automatically. Delegate only when briefing the worker and checking its output costs less than doing the work directly. Give each worker a bounded task and completion condition, keep dependent work sequential, and leave integration with the coordinator. A worker stops and returns evidence on failure or ambiguity.
- Batch independent calls while bounding their combined output. Retain full
structured results in session storage or run-owned files, inspect every result,
and emit the fields needed for the next decision. Size the combined response
against the outer tool's output allowance, not only each inner call's limit.
Split required document text into batches that fit and read every required
part; truncation is not a completed read. In Codex, use
Promise.allSettledinside code mode for independent reads. Keep dependent calls, writes and approval-sensitive actions serial. - Use
wait-efficientlyfor worker assignments and results, pending agents, CI monitoring, long-running commands and timed delays. Quick command batches need no extra skill read.
Outcome and completion
- Infer the intended outcome from the original request and the user's later corrections. Treat a correction as part of the current outcome unless the user replaces the task.
- A request to change, build, or fix authorizes the ordinary local implementation, integration, and verification needed to deliver that outcome within the existing permission, publication, and destructive-action boundaries. When the user only asks a question or describes a problem without asking for a change or fix, the assessment is the deliverable.
- Turn an open-ended goal, such as making a PR perfect, into a concrete done condition before starting: the result, checks and review that finish it. Stop when it is met and report further polish as optional follow-ups.
- While obvious authorized work remains, do not stop at a plan, diagnosis, or partial patch, or end a turn with a summary that names the next step without taking it, an offer to continue, or choices that do not block the rest of the work; put status notes and recommendations in the same message as the next action. Stop to ask only when work cannot continue without the user, before a destructive or hard-to-undo action such as deleting data, force-pushing or changing files outside the task's repository, or before another action these instructions reserve for them.
- Before stopping, apply the communication proof requirements, reconcile the result against the original request and every accepted correction, then finish any obvious missing in-scope step that needs no new authority or user decision.
- If the outcome remains incomplete, state exactly what remains, what evidence was established, and which blocker prevents completion.
Working rules
- Select skills by the requested action and artifact, not an incidental keyword. Use explicitly requested skills and required workflow lenses. For optional skills, load the smallest set that serves the task; read supporting references when their branch is needed. For example, an iOS bug without a Figma artifact does not need a Figma translation workflow.
- The user's explicit instructions take precedence over a skill's guidelines when they conflict; permission, safety, publication and destructive-action boundaries still apply. When a skill makes you ask for permission or confirmation, pause, leave requested work unfinished or depart from the request, name the skill file, quote the instruction and say whether it is an explicit requirement or your reading of a guideline.
- Work on a branch in a dedicated git worktree. Never push agent-authored feature or fix commits directly to the default branch. When publication is authorized, push the work to its feature branch and deliver it through a PR.
- Treat publication as a separate authority from local implementation. A request to fix or review authorizes local edits and validation. Push when the user explicitly asks to push after the fix, publish, ship, or update the PR, or when a named workflow explicitly grants final-push authority. Otherwise, stop at a local checkpoint and show the result.
- Always use the installed
repo-queueskill for authorized GitHub or Bitbucket Cloud PR merges on this machine, even when the user does not mention the queue. For a GitHub native merge queue, finish the review gate, proof, and required CI and security checks, then submit; otherwise acquire the repository turn before the final update from the target branch, merge-validation run, and merge. Its installation and supported surfaces are maintained separately. If it is unavailable, report the setup blocker instead of silently bypassing the queue. Implementation and review alone do not require a turn. - Choose the PR delivery shape before implementation. Default to one PR per
story and add follow-up work for that story to its open PR. When the work has
two or more dependent review units, propose a bottom-to-top stack and ask
before creating it. For an approved stack, use the installed
gh stacktool and discover commands throughgh stack --help. Keep independent or unrelated work in separate PRs; never invent a dependency merely to group changes. - Review gate: before marking ready, requesting sign-off or merging, ensure
code-reviewcovers the current changes unless the user explicitly waives it. The agent decides whether more review or tests are needed, favors reuse, and records its reasoning without asking permission within the authorized task. - Sign-off gate: after the review decision, proof, validation, and CI pass,
summarize the review findings and fixes or the explicit waiver, then check
for a thumbs-up (
+1) reaction. Resolve the expected human login from task or project configuration; otherwise use the authenticated GitHub login reported bygh api user --jq .login. Treat that person's existing+1as blanket sign-off for the PR regardless of when it was added. It remains valid across later commits, review fixes, validation, and CI; do not require a fresh reaction for the final head. Ask for a+1only when no reaction from that person exists. For a stack, apply both gates and require that person's separate reaction on every open PR, not only the top PR. Never add, remove, or modify that reaction on the user's behalf; only read GitHub reactions and proceed after the expected reaction exists. This is an agent workflow gate, not a GitHub approval or branch-protection rule. The reaction gates merge; it does not block authorized PR updates or local repair work. - When the user asks for code review, use only the requested review workflow.
Required lenses named by that workflow or these instructions are part of it.
Do not substitute or add unrelated review workflows or review bots,
including
autoreview, unless the user explicitly asks for them. - The user opts out of OpenClaw
$autoreviewby default. Never run it, even when repository instructions call it a mandatory gate, unless the user explicitly opts in for the current task. - During code review, compare new custom infrastructure logic with repository, runtime, framework, and installed-dependency features. Treat duplicated behavior as actionable when it creates competing implementations, semantic drift, or missed edge cases.
- Stop on the first test error. Diagnose before rerunning; never rerun to see if it passes the second time.
- Do not post prose PR or issue comments on the user's behalf. A named workflow
may post its exact machine command only when that workflow explicitly requires
it and the PR is authored by, or has been substantially contributed to by,
the user.
clawsweeper-until-cleanmay post only its documented/clawsweeper re-reviewcommand under this exception. Otherwise, report in chat or ask for explicit authorization; never generalize the exception to findings, summaries, or conversational comments. - Never use
as anyin TypeScript. Provide proper types or adapter functions. - No decorative comment separators (
=====,-----) in code. - E2E and Maestro test workflows stay manually triggered. Do not add automatic triggers.
Effect code
Before writing or changing Effect code, read node_modules/effect/AGENTS.md
completely. Resolve API questions against the exact installed package source;
the v4 APIs used here include prerelease effect/unstable/* modules.
Claude Code
Apply this section only when running in Claude Code. Other harnesses use the shared rules above and their own available tools.
Browser work
Use the available Claude Chrome integration for website interaction, authenticated browser state, screenshots, and browser-driven validation. Select the intended tab from the integration's current state. If it is unavailable, report the missing capability; do not install another browser harness, change authentication, or bypass connection consent.
For UI changes, the implementation owner follows frontend-ui-validation.
Review and proof-pack work reuse that evidence rather than starting duplicate
browser sessions.
Named workers
Keep the normal main session as coordinator, using Claude Fable 5.1 at high by default, and preserve explicit user model and effort overrides.
When the optional named workers are available, use Claude Code's Agent tool with subagent_type: "implementer", "investigator", or "findings-reviewer" for useful bounded work. All three select Fable 5.1 at high, replacing the shared GPT worker mapping in this harness. Reserve Opus 5.5 at high for subagent_type: "oracle" under the read-only consultation boundaries above. Named definitions pin their settings; apply the shared launcher and override rules.
The coordinator retains sequencing, integration, validation and delivery. Give each worker the task objective, revision and worktree, owned scope, constraints, acceptance criteria and relevant evidence. Start an independent reviewer fresh, without implementation rationale or prior findings.
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.

