Automated summary
This skill guides writing, updating, and pruning an AGENTS.md file so it holds only non-discoverable, operationally significant instructions for coding agents.
Strengths
- Enforces an explicit discoverability filter that strips stack summaries, directory overviews, and generic advice
- Includes a per-line quality gate (non-discoverable, still accurate, materially reduces mistakes)
- Names the source files to inspect first (README, PROJECT.md, Cursor rules, Copilot instructions, GEMINI.md, CI config)
- Recommends incremental improvement and hierarchical AGENTS.md files for large repositories
Limitations
- Provides no template or worked example of a well-written AGENTS.md
- Quality rests entirely on the agent's judgement of what counts as discoverable, with no automated check
- Beyond listing input files, it does not address technical validation such as exact file location or cross-tool compatibility
Use it when bootstrapping agent instructions for a new repository or when an existing AGENTS.md has grown long, generic, or stale.
Skip it if you want a fill-in-the-blank template or a general architecture overview document for the project.
Security analysis
SafeThe skill is purely editorial guidance for writing an AGENTS.md file. It declares no tools, contains no executable commands, network calls, or secret handling, and no prompt-injection attempts. The only action implied is reading repository files and editing a markdown document, which carries no meaningful execution risk.
No concerns found
How this analysis is madename: init description: Creates, updates, or optimizes an AGENTS.md file for a repository with minimal, high-signal instructions covering non-discoverable coding conventions, tooling quirks, workflow preferences, and project-specific rules that agents cannot infer from reading the codebase. Use when setting up agent instructions or Claude configuration for a new repository, when an existing AGENTS.md is too long, generic, or stale, when agents repeatedly make avoidable mistakes, or when repository workflows have changed and the agent configuration needs pruning. Applies a discoverability filter—omitting anything Claude can learn from README, code, config, or directory structure—and a quality gate to verify each line remains accurate and operationally significant. metadata: tags: initialization, agents, context-engineering, agents-md, maintenance
When to use
Use this skill when creating or updating AGENTS.md for a repository.
Use it especially when:
- the current
AGENTS.mdis long, generic, or stale - agents repeatedly make the same avoidable mistakes
- repository workflows changed and agent guidance needs pruning
Instructions
Treat AGENTS.md as a living list of non-discoverable landmines and workflow gotchas, not a codebase overview.
Core rule: discoverability filter
Before adding any line, ask:
Can an agent discover this by reading the repo (
README, code, config, scripts, directory tree)?
- If yes: do not include it in
AGENTS.md. - If no, and it materially affects task success/cost/safety: include it.
What earns a line
Include only guidance that is:
- Non-discoverable from repository files alone
- Operationally significant (changes commands, outcomes, or safety)
- Actionable (specific enough to execute)
Typical examples:
- Non-standard tooling choices (e.g. use
uvinstead ofpip) - Command caveats (e.g. tests must run with
--no-cachedue to fixture behavior) - Hidden constraints/landmines (deprecated directories still imported in production)
- Critical local conventions that are not encoded in lint/tests/config
What to remove or avoid
Do not include:
- Tech stack summaries
- Directory structure overviews
- Architecture descriptions agents can infer from code
- Generic best-practice advice
- Rules already enforced by tooling (linters, typecheck, tests, CI)
- Mandatory boilerplate headers unless the repo explicitly requires one
Recommended structure
Prefer short, high-signal sections such as:
Scope & routing(which areas need separate/module-local AGENTS files)Non-discoverable commandsLandmines / do-not-touch areasTask-specific constraints
For large repos, recommend hierarchical AGENTS.md files near relevant modules instead of one monolithic root file.
Source files to check first
- Existing
AGENTS.md README.mdPROJECT.md(if present)- Cursor rules (
.cursor/rules/or.cursorrules) - Copilot instructions (
.github/copilot-instructions.md) GEMINI.md- CI/workflow files and package manager config (for command/tooling mismatches)
If AGENTS.md exists, improve it incrementally instead of replacing it blindly.
Maintenance mindset
AGENTS.md is temporary guidance, not permanent configuration.
When recurring issues appear:
- Prefer fixing the root cause in code/tooling (lint rule, test, script, structure)
- Keep only the minimum instruction needed until the root cause is solved
- Prune stale instructions aggressively
Quality gate before finalizing
For each line in AGENTS.md, verify:
- Is it non-discoverable?
- Is it still accurate today?
- Does it materially reduce mistakes/cost/time?
Delete any line that fails one of these checks.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/initialize-agents-md-mvugylrb/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/initialize-agents-md-mvugylrb' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/initialize-agents-md-mvugylrb/download' --output '.skill-downloads/initialize-agents-md-mvugylrb/SKILL.md.part' && mv '.skill-downloads/initialize-agents-md-mvugylrb/SKILL.md.part' '.skill-downloads/initialize-agents-md-mvugylrb/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/initialize-agents-md-mvugylrb/SKILL.md' && test -s '.skill-downloads/initialize-agents-md-mvugylrb/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/init' && cp -R '.skill-downloads/initialize-agents-md-mvugylrb' '.claude/skills/init'Cursor
test -f '.skill-downloads/initialize-agents-md-mvugylrb/SKILL.md' && test -s '.skill-downloads/initialize-agents-md-mvugylrb/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/init' && cp -R '.skill-downloads/initialize-agents-md-mvugylrb' '.cursor/skills/init'Codex
test -f '.skill-downloads/initialize-agents-md-mvugylrb/SKILL.md' && test -s '.skill-downloads/initialize-agents-md-mvugylrb/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/init' && cp -R '.skill-downloads/initialize-agents-md-mvugylrb' '.agents/skills/init'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/initialize-agents-md-mvugylrb'openskills read 'initialize-agents-md-mvugylrb'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/initialize-agents-md-mvugylrb/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Supabase Docs Authoring
Documentation
Write, edit, and review Supabase documentation content including guides, tutorials, reference docs, and partials. Follow style guides and MDX/TOML validation rules.
Create Architecture Decision Record
Documentation
Create a new Architecture Decision Record with sequential numbering, register it in the AgentDB graph, and link related ADRs.
Plan update with deep research
Documentation
Updates a plan document by launching parallel subagents to analyze a topic across all compiler passes, then consolidates findings into the plan doc.