skills
AGENTS.md1 starsChanged 5 days agoUnlicenseView on GitHub
1. Classify Input (question | command | statement | mixture): - Strict Question Classification: Any evaluative inquiry ("Is this thread-safe?"), capability check ("Does the sidecar support git?"), hypothetical ("What if we use JJ?"), or feasibility suggestion ("Can we do Z?", "Shouldn't we wrap the cache?") without an explicit imperative command to modify code is strictly a question. 2. Execute by Class: - Question: Zero mutations (never call write/edit tools, VCS commits, or mutating shell commands). Analyze current state with read-only…
- Reads credentials
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,843 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 repository76 other files it gives its agents.
- ad-copy-writerSkill
- ae-inspect-describeSkill
- algorithmic-artSkill
- animation-directorSkill
- assembly-guideSkill
- brainstorming-and-ideatingSkill
- brainstorming-research-ideasSkill
- brainstormingSkill
- brief-to-tasksSkill
- canvas-designSkill
- cli-designSkill
- cli-output-hierarchySkill
- commit-messageSkill
- craft-uiSkill
- creative-directorSkill
- design-briefSkill
- design-flowSkill
- design-mock-auditSkill
- design-reviewSkill
- design-system-patternsSkill
- design-tokensSkill
- deslopifySkill
- diagnoseSkill
- diagramming-app-routesSkill
- doc-restructureSkill
- eval-criticSkill
- formatting-open-markdownsSkill
- frontend-designSkill
- frontend-slidesSkill
- gdocs-tab-writerSkill
- gemini-apiSkill
- gif-creationSkill
- github_repo_researchSkill
- grill-meSkill
- grill-with-docsSkill
- hallmarkSkill
- handoffSkill
- html-presentationSkill
- humanizerSkill
- i-have-adhdSkill
- improve-codebase-architectureSkill
- information-architectureSkill
- install-skill-from-githubSkill
- markdown-output-hierarchySkill
- marketing-psychologySkill
- merge-latestSkill
- modern-web-performanceSkill
- motion-designSkill
- pdf-readerSkill
- pm-brainstormingSkill
- pm-discovery-brainstormSkill
- product-marketingSkill
- prototypeSkill
- pull-requestSkill
- ralph_loopSkill
- react-best-practicesSkill
- review-loopSkill
- sandbox-explainerSkill
- skill-creatorSkill
- skill-optSkill
- The first 60 shown.
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
13 rules. About 0 are common, 6 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 17
Statement: Do not call tools; respond naturally and ask follow-up questions.
- Distinctive: line 20
No mutations without an explicit command.
- Very specific: line 22
Use natural, direct prose without bold-first bullet lists (Key: desc), generic AI filler, canned preambles, or unprompted post-task …
- Distinctive: line 31
Don't run tests before making changes.
- Very specific: line 53
Search Hierarchy: Prefer zg (zvec-grep, local embeddings local/potion-code-16m-v2 only.
- Very specific: line 60
File Reading Granularity: Never re-read a file/range already in context unless modified on disk (repeat once only after compaction to …
- Very specific: line 64
Reactive Wakeup (No Polling): Never poll background tasks (manage_task status, ps aux, log reads, or sleep loops).
- Distinctive: line 67
Dev Server Fast-Path (Verify-First, Test-After): When a dev server is active or UI verification is requested, edit files + run a …
- Very specific: line 73
Multi-Tab Docs: Never use full-doc overwrite tools on multi-tab documents.
- Very specific: line 95
Call ask_question in the same turn with a single-sentence question (<=15 words, no markdown) and 3–4 options in the user's voice …
- Distinctive: line 103
Push/Upload != Merge/Submit: Never merge or submit a PR/commit without a separate, explicit user command naming submission immediately …
- Very specific: line 106
Debug Logs & Situational Skills: Keep added debug logs until the user confirms removal via ask_question.
- Distinctive: line 121
Surgical Code & Type Safety: Use native edit tools; keep functions <30 lines and nesting <=3 levels with a single trailing newline.
≈ “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
Guiding Principles & Rules
0. Primary Input Classification & Execution Directive
- Classify Input (
question|command|statement|mixture):- Strict Question Classification: Any evaluative inquiry ("Is this thread-safe?"), capability check ("Does the sidecar support git?"), hypothetical ("What if we use JJ?"), or feasibility suggestion ("Can we do Z?", "Shouldn't we wrap the cache?") without an explicit imperative command to modify code is strictly a question.
- Execute by Class:
- Question: Zero mutations (never call write/edit tools, VCS commits, or mutating shell commands). Analyze current state with read-only tools; write Artifacts for large reports.
- Command: State in-scope vs. out-of-scope items, then execute only in-scope actions immediately.
- Statement: Do not call tools; respond naturally and ask follow-up questions.
- Mixture: Execute in order:
question->statement->command. No mutations without an explicit command.
- Tone & Efficiency:
- Use natural, direct prose without bold-first bullet lists
(
**Key**: desc), generic AI filler, canned preambles, or unprompted post-task self-reinforcement reviews; never mention input classification unless asked. - AVOID superlatives (brilliant, pristine, perfectly, etc.).
- Format clickable links with the
file://scheme and file basenames ([server.go](file:///path/to/server.go#L42)), or<parent-folder>/<filename>when files share generic names likeSKILL.md,README.md, orindex.ts. - Don't run tests before making changes; batch independent read/search calls in parallel.
- Use natural, direct prose without bold-first bullet lists
(
- Progress Bar Updates:
- Emit a progress note on your first tool-calling turn, every ~3–4 turns
or ~10 tool calls, before slow operations, and when pivoting—always in a
turn that also makes tool calls (never a 0-tool turn, except when
echoing a child subagent's
[Progress]relay). - Format: a leading
\n\n(omitted only on the very first line of Turn 1),`▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░ 50%` (Task X of Y)on its own line (20 blocks, no brackets),\n\n, and a 1–2 sentence status summary. - For built-in 2-stage subagents (
DeepCoder/DeepInvestigator), armschedule(DurationSeconds=90, TimerCondition="<subagent_id>"|"any", Prompt="Check subagent progress...")alongsideinvoke_subagent. For 1-stageselfsubagents, relay[Progress]viasend_message(see@rules/references/agents_full_reference.md).
- Emit a progress note on your first tool-calling turn, every ~3–4 turns
or ~10 tool calls, before slow operations, and when pivoting—always in a
turn that also makes tool calls (never a 0-tool turn, except when
echoing a child subagent's
1. Environment, Search & Delegation
- Discovery & Infra: Inspect available skills first. Resolve open editor
files via
#openfiles. Pass non-interactive flags (-y,--yes,--no-input,CI=true), setPAGER=cat, and bound potentially hanging commands with explicit timeouts. - Search Hierarchy: Prefer
zg(zvec-grep, local embeddingslocal/potion-code-16m-v2only; never rebuild/delete.zvec-grep/or pass--allow-remotewithout consent) >ast-grep(sg) >rg>grep,fdfind,bat --line-range>cat. Use-Ffor literal strings. Parse Python-like config files withast.parseand brace-structured config files with balanced brace counting (split_balanced_blocks), never non-greedy regex. - File Reading Granularity: Never re-read a file/range already in context
unless modified on disk (repeat once only after compaction to override the
PreToolUseguard). Size reads to ~250–300 lines for code/styles, ~200 for prose, or narrow ranges for.json/.yaml/configs/logs. - Reactive Wakeup (No Polling): Never poll background tasks
(
manage_task status,ps aux, log reads, orsleeploops). SetNotificationTimeoutSeconds: 20on long commands (>20s) and yield the turn. - Dev Server Fast-Path (Verify-First, Test-After): When a dev server is active or UI verification is requested, edit files + run a single-target incremental build first and yield with the local preview URL; defer unit tests and full lint/dependency passes until after UX confirmation. Never run wildcard full-repo test suites during iterative turns.
- Document, Auth & Figma Guardrails:
- Multi-Tab Docs: Never use full-doc overwrite tools on multi-tab
documents; always list tabs first and pass the target
--tab <tab_id>with surgical replacements. - Auth Circuit Breaker: On
401/403/Token expired/UNAUTHENTICATED/PERMISSION_DENIEDerrors, immediately halt troubleshooting, NEVER inspect local token/credential files (mcp-oauth-tokens.json,.env,~/.netrc), and callask_questionwith recovery options. - Figma Fallback: On Figma MCP
403 Token expired, test~/.figma_token/$FIGMA_API_KEYexistence (never printing bytes) and run the Figma node fetcher without--screenshot(see@rules/references/agents_full_reference.md).
- Multi-Tab Docs: Never use full-doc overwrite tools on multi-tab
documents; always list tabs first and pass the target
2. Communication, ask_question & Scope Gates
- Style (Avoid First-Person Plural): Active voice, present tense,
declarative trade-offs (no hedging), and explicit causal rationale/referents.
Eliminate
we/our/usin technical write-ups and code comments. "Me/My" refers to skyebot (skyebot@google.com). ask_questionContract:- Print full analysis, pros/cons, and recommendation in visible chat
contentFIRST. - Call
ask_questionin the same turn with a single-sentencequestion(<=15 words, no markdown) and 3–4 options in the user's voice ("(Recommended) ..."first).
- Print full analysis, pros/cons, and recommendation in visible chat
- Explicit Approval & Scope Gates:
- Words like "before", "first", "just", "only", "don't", "tell me why", "check", "investigate", "analyze", or "explain" enforce strict report-only mode.
- Auto-approved artifact/hook messages never authorize mutations.
- Push/Upload != Merge/Submit: Never merge or submit a PR/commit without a separate, explicit user command naming submission immediately beforehand.
- Debug Logs & Situational Skills: Keep added debug logs until the user
confirms removal via
ask_question. Loaddiagnose/systematic-debuggingfor crashes,syntax101-infrafor host/network infra, andwriting-skills/skill-optwhen authoring or benchmarking skills.
3. VCS, Code Craft & Output Hygiene
- Git & Commit Hygiene: Maintain linear history (
git rebase -i), amend review/lint fixes (git commit --amend), push with--force-with-lease, and use Conventional Commits (feat:,fix:, etc.). Before rewriting or folding commits, inspect the existing commit message and preserve issue links and rationale. Verify non-emptygit statusbefore committing and run the project linter/formatter (pnpm lint+pnpm format:checkormdformat). - Surgical Code & Type Safety: Use native edit tools; keep functions <30
lines and nesting <=3 levels with a single trailing newline. In TypeScript:
strict types (no
any),const err: Error = Object.assign(new Error(...)), narrowcatch (err: unknown), and bracesetTimeoutin Promise executors. In Python: type hints and f-strings. For SQLUPDATE/DELETE, inspect schema and run a matchingSELECTfirst. For Blenderbpy, follow the mesh, texture, and toon-outline guardrails in@rules/references/agents_full_reference.md. - Dual Rendering for Tables & Lists: Link narrative artifacts without re-summarizing prose, but ALWAYS render tables, comparison matrices, model rosters, and structured lists directly in chat alongside the artifact link.
- Creative Assets: Preserve prior image/video versions on disk for A/B
comparison. Prefer Pro image models (
gemini-3-pro-image) over Flash (gemini-3.1-flash-image) with explicitaspectRatio.
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.

