Using Agent Skills
addyosmani/agent-skills
Meta-skill for choosing which workflow skill fits the task at hand, plus always-on habits: surface assumptions, stop on confusion, push back, keep it simple and stay in scope.
“Generates or updates an AGENTS.md file”
$ npx skills add agent-substrate/substrate --skill agents-md -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install agent-substrate/substrate agents-md --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/agent-substrate/substrate.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/agents-md .claude/skills/agents-md && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "agents-md" agent skill from https://github.com/agent-substrate/substrate/tree/main/.agents/skills/agents-md into .claude/skills/agents-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agents-md", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/agent-substrate/substrate/tree/main/.agents/skills/agents-mdType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add agent-substrate/substrate --skill agents-md -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install agent-substrate/substrate agents-md --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agent-substrate/substrate.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/agents-md .agents/skills/agents-md && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "agents-md" agent skill from https://github.com/agent-substrate/substrate/tree/main/.agents/skills/agents-md into .agents/skills/agents-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agents-md", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add agent-substrate/substrate --skill agents-md -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install agent-substrate/substrate agents-md --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agent-substrate/substrate.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/agents-md .cursor/skills/agents-md && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "agents-md" agent skill from https://github.com/agent-substrate/substrate/tree/main/.agents/skills/agents-md into .cursor/skills/agents-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agents-md", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/agent-substrate/substrate.git --path .agents/skills/agents-md--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add agent-substrate/substrate --skill agents-md -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install agent-substrate/substrate agents-md --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agent-substrate/substrate.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/agents-md .gemini/skills/agents-md && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "agents-md" agent skill from https://github.com/agent-substrate/substrate/tree/main/.agents/skills/agents-md into .gemini/skills/agents-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agents-md", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install agent-substrate/substrate agents-mdInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add agent-substrate/substrate --skill agents-md -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/agent-substrate/substrate.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/agents-md .github/skills/agents-md && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "agents-md" agent skill from https://github.com/agent-substrate/substrate/tree/main/.agents/skills/agents-md into .github/skills/agents-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agents-md", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add agent-substrate/substrate --skill agents-md -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install agent-substrate/substrate agents-md --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agent-substrate/substrate.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/agents-md .opencode/skills/agents-md && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "agents-md" agent skill from https://github.com/agent-substrate/substrate/tree/main/.agents/skills/agents-md into .opencode/skills/agents-md/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "agents-md", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
agents-mdAgents Md is a skill in agent-substrate/substrate (4.5k stars). Its SKILL.md is about 635 tokens. Licence: Apache-2.0.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 0b91488. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Agents Md loads about 635 tokens when it runs. Until then it costs about 12 tokens; SKILL.md has 381 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from agent-substrate/substrate at commit 0b91488, republished under its Apache-2.0 licence (© agent-substrate). 381 words, ~635 tokens.
.claude/skills/agents-md/SKILL.md (or your agent's skills folder).Generate or update AGENTS.md files in key folders of the project. Ensure the target AGENTS.md file accurately reflects the current status of the code.
There must always be an AGENTS.md file in the project root. The AGENTS.md file at the root of the project may include the following sections:
AGENTS.md files in subfolders may be even more concise and specific to those subfolders.
To maximize agent performance and token efficiency, adhere to the following:
Each AGENTS.md should be short. Approx. 100-150 lines total. Link to a handful of relevant, focused reference documents in the same repo, as needed.
While only one AGENTS.md is allowed per folder, you can create an AGENTS.md file in any folder. Rather than putting everything in the root AGENTS.md, move highly specific advice to AGENTS.md in the most relevant folders of the project.
When documentation that would have helped you is missing, add references in the docs/ folder found at the project root. When these get out of date, update them.
When references describe workflows, the tasks should be described as numbered steps. For example:
When there are multiple ways of doing something in the codebase, use a decision table like the following:
| Question | Boop | Bop |
|---|---|---|
| Is foo a bar baz? | ✅ | |
| Is foo a quux? | ✅ |
If you think they are particularly good examples, include snippets from actual code in the repo, up to approx. 10 lines in length. These should only be the most relevant examples and representative of patterns that would be good to repeat in future code. Their purpose is to improve code reuse by agents, rather than each agent reinventing the wheel.
If you think it would help, you can include a few simple domain specific rules. Not too many, or agents will get stuck trying to handle too many rules. A general example of a domain specific rule is "Use a finance-specific numeric type for any financial calculations."
When adding warnings against doing something, also make a concrete suggestion for the correct approach. "Don't do X, do Y instead."
© agent-substrate, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/agents-md of agent-substrate/substrate.
Open the folder on GitHubat commit 0b91488
Agents Md next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Agents Md this skillagent-substrate/substrate | 4.5k | — | ~635 | Automated safety check: Pass | Apache-2.0 | |
| Using Agent Skillsaddyosmani/agent-skills | 102k | 4 repos | ~2.4k | Automated safety check: Pass | MIT | |
| Claude ReflectBayramAnnakov/claude-reflect | 1.7k | 2 repos | ~627 | Automated safety check: Pass | MIT | |
| Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills | 21k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Task Observerrebelytics/one-skill-to-rule-them-all | 3.2k | 1 repos | ~12k | Automated safety check: Pass | CC-BY-4.0 | |
| Writing For Agentsbestofjs/bestofjs | 3.1k | 17 repos | ~2.7k | Automated safety check: Pass | MIT |
addyosmani/agent-skills
Meta-skill for choosing which workflow skill fits the task at hand, plus always-on habits: surface assumptions, stop on confusion, push back, keep it simple and stay in scope.
BayramAnnakov/claude-reflect
Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md.
KKKKhazix/khazix-skills
Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.
rebelytics/one-skill-to-rule-them-all
Monitors task execution for skill improvement opportunities.
bestofjs/bestofjs
Writing documents for agents. An agent skill from bestofjs/bestofjs.
microsoft/SkillOpt
Runs an on-demand or nightly sleep cycle that reviews past Claude Code sessions and proposes validated updates to CLAUDE.md and skills.
agent-substrate/substrate
Posts pull request review findings as GitHub draft (pending) inline comments for a human to edit and submit, instead of publishing them straight to the PR author.
agent-substrate/substrate
Triages open GitHub issues by applying the correct labels. An agent skill from agent-substrate/substrate.
agent-substrate/substrate
Detects flaky Go tests by analyzing GitHub Actions workflow runs across the last 7 days and all PRs — covering both the run-tests job (unit/integration) and the e2e-test job (gVisor and microVM…
agent-substrate/substrate
Reviews CRDs for compliance with Kubernetes API conventions.
agent-substrate/substrate
Generates a security status report based on docs/threats.json by spinning up sub-agents for each threat to compute a quality score.
Categories
Run `npx skills add agent-substrate/substrate --skill agents-md -a claude-code`. Or copy the skill folder (.agents/skills/agents-md in agent-substrate/substrate) into .claude/skills/agents-md in your project. Claude Code loads it when a task matches its description.
Run `npx skills add agent-substrate/substrate --skill agents-md -a codex`. Or copy the skill folder (.agents/skills/agents-md in agent-substrate/substrate) into .agents/skills/agents-md in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add agent-substrate/substrate --skill agents-md -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agents-md, .gemini/skills/agents-md, .github/skills/agents-md and .opencode/skills/agents-md in your project.
SKILL.md names no scripts, command-line tools or credentials: Agents Md is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Agents Md is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 635 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Agents Md: Using Agent Skills (addyosmani/agent-skills, 102k stars), Claude Reflect (BayramAnnakov/claude-reflect, 1.7k stars), Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars) and Task Observer (rebelytics/one-skill-to-rule-them-all, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
agent-substrate (a GitHub organization) maintains it in agent-substrate/substrate, which has 4,459 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 7, 2026.
Source: agent-substrate/substrate on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.