skills-agents-ai-coding
AGENTS.md2 starsChanged 42 days agoMITView on GitHub
This is Mir's Agents & Skills for AI Coding Assistants, a collection of reusable Agent Skills and agents for CLI coding assistants, hosted in the opencode-skills repository. Skills are markdown-based instruction sets that teach AI agents specific workflows using the open Agent Skills format. Agents are markdown-based definitions that create specialized AI assistants with custom prompts, tools, and permissions. Each skill is a directory under skills/ containing a SKILL.md file. Each agent is a single .md file in the agents/…
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,774 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 repository22 other files it gives its agents.
- changelog-bump-verSkill
- gh-copilot-review-readSkill
- gh-copilot-review-resolveSkill
- gh-copilot-reviewSkill
- gh-cr-submitSkill
- gh-issue-fixSkill
- gh-issueSkill
- gh-pr-mergeSkill
- gh-protect-default-branchSkill
- gh-pr-reviewSkill
- gh-prSkill
- gh-releaseSkill
- git-branchSkill
- git-commitSkill
- git-pushSkill
- make-changelogSkill
- mir-skills-installSkill
- mir-skills-updateSkill
- python-venvSkill
- save-planSkill
- session-noteSkill
- work-reportSkill
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, 7 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
6
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
- Very specific: line 97
Skill names: use kebab-case (e.g., git-commit, session-note)
- Very specific: line 99
Agent filenames: use kebab-case (e.g., code-review.md)
- Distinctive: line 109
Never commit directly on main or master.
- Distinctive: line 110
Never push directly to main or master.
- Very specific: line 135
Create a new directory under skills/ with the skill name
- Very specific: line 136
Add a SKILL.md following the frontmatter + markdown body pattern above
- Distinctive: line 137
Update README.md to list the new skill under "Available Skills"
- Distinctive: line 139
Run git diff --check before committing.
- Very specific: line 145
Create a new .md file in agents/ with the agent name (e.g., my-agent.md)
- Very specific: line 146
Add YAML frontmatter with description, mode, model, tools, etc.
- Distinctive: line 147
Write the agent instructions in the markdown body
- Distinctive: line 148
Update README.md to list the new agent under "Available Agents"
- Distinctive: line 158
When you make significant structural changes to this project (e.g., adding/removing skills or agents, changing conventions or installation …
≈ “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
AGENTS.md
Project Overview
This is Mir's Agents & Skills for AI Coding Assistants, a collection of reusable Agent Skills and agents for CLI coding assistants, hosted in the opencode-skills repository. Skills are markdown-based instruction sets that teach AI agents specific workflows using the open Agent Skills format. Agents are markdown-based definitions that create specialized AI assistants with custom prompts, tools, and permissions.
Repository Structure
opencode-skills/
skills/ # Skills: one directory per skill, each containing a SKILL.md
changelog-bump-ver/
SKILL.md
gh-copilot-review-read/
SKILL.md
gh-copilot-review/
SKILL.md
gh-copilot-review-resolve/
SKILL.md
gh-cr-submit/
gh-issue/
gh-issue-fix/
gh-pr/
gh-pr-merge/
gh-pr-review/
gh-release/
git-branch/
git-commit/
git-push/
make-changelog/
mir-skills-install/
mir-skills-update/
python-venv/
save-plan/
work-report/
session-note/
agents/ # Agents: flat .md files, one per agent
code-review.md
README.md
AGENTS.md # This fileSkill Anatomy
Each skill is a directory under skills/ containing a SKILL.md file.
- YAML frontmatter with metadata in the repository source format:
--- name: <skill-name> description: <one-line description> license: MIT metadata: audience: developers workflow: <category> category: <category> --- - Markdown body with structured sections:
## What I do- Bullet list of capabilities## When to use me- Trigger conditions- Workflow sections with step-by-step instructions
- Code blocks with exact commands to run
- Edge cases and error handling
Agent Anatomy
Each agent is a single .md file in the agents/ directory. The filename (minus .md) becomes the agent name.
- YAML frontmatter with configuration:
--- description: <one-line description> mode: subagent # or "primary" model: <provider/model-id> temperature: <0.0-1.0> tools: write: true/false edit: true/false bash: true/false read: true/false glob: true/false grep: true/false --- - Markdown body with agent instructions:
- Role description and focus areas
- Workflow steps with exact commands
- Permissions (what the agent is/isn't allowed to do)
- Output format and structure
- Error handling
Key Conventions
- Skill names use kebab-case (e.g.,
git-commit,session-note) - Skill directory name must match the
namefield in its frontmatter - Agent filenames use kebab-case (e.g.,
code-review.md) - Each skill directory contains exactly one
SKILL.mdfile - Each agent is a single
.mdfile directly inagents/ - Skills and agents are self-contained; all instructions live in their markdown file
- Commands should use
bashcode blocks with exact syntax - Skills use the open Agent Skills format and are installed with the Skills CLI
- Source skills are authored once under
skills/ - Skills that write project artifacts should use
.opencode/...paths - Agents target the OpenCode agent runtime and its tool set (Bash, Read, Write, Edit, Glob, Grep, etc.)
- Some GitHub-focused skills may combine official API flows with clearly labeled best-effort prompt/comment flows when GitHub features are partially exposed through
gh - Never commit directly on
mainormaster; create or switch to a feature branch first - Never push directly to
mainormaster; changes must land through a pull request gh-issue-fixcarries an issue through planning, implementation, validation, commits, and a linked PR without routine approval pauses, unless the user requests a narrower scope. Use a dedicated issue branch, target the detected default branch, and include a closing issue reference; merging remains a separate action, and tool permissions and branch protections still apply.gh-pr-mergedeletes the remote source branch after verifying a successful merge unless the user requests retaining it. Preserve local branches and uncommitted work, use the source repository for fork PRs, and report merge and cleanup results separately.python-venvcreates or reuses a project-root.venvand verifies exclusion by the root.gitignore. Preserve invalid existing environments and ignore-file content; repeated runs must reuse the environment and avoid duplicate ignore rules.mir-skills-installchecks fornpxand installs all repository skills globally without interactive prompts, targetingcodex,claude-code,github-copilot, andopencodeexplicitly.mir-skills-updatechecks fornpxand runs the README commandnpx skills@latest update -gto update globally installed skills, reporting the result or command error.
Skill Installation
Install skills globally using the Skills CLI, as documented in README.md:
npx skills add mir-am/skills-agents-ai-coding -gUpdate installed skills:
npx skills@latest update -gThe mir-skills-install and mir-skills-update skills provide these workflows for agent sessions. OpenCode agent definitions remain under agents/; see the OpenCode agents documentation for agent setup.
Adding a New Skill
- Create a new directory under
skills/with the skill name - Add a
SKILL.mdfollowing the frontmatter + markdown body pattern above - Update
README.mdto list the new skill under "Available Skills" - Validate YAML frontmatter, ensure the directory name matches the skill name, and check referenced resources. Exercise changed commands in an isolated workspace or with stubs as appropriate.
- Run
git diff --checkbefore committing.
Release-oriented skills can compose with each other. For example, changelog-bump-ver prepares the latest versioned changelog entry, and gh-release publishes that entry as an annotated tag and GitHub prerelease.
Adding a New Agent
- Create a new
.mdfile inagents/with the agent name (e.g.,my-agent.md) - Add YAML frontmatter with
description,mode,model,tools, etc. - Write the agent instructions in the markdown body
- Update
README.mdto list the new agent under "Available Agents" - Validate YAML frontmatter and review the configured tools and workflow against the agent's intended task; use an isolated workspace for behavioral checks.
- Run
git diff --checkbefore committing.
CI Skip Rules
The git-commit skill checks for AGENTS.md files in target projects for CI skip rules. Changes limited to docs, config, or non-production scripts may get [skip ci] appended to commit messages.
Keeping AGENTS.md Up-to-Date
When you make significant structural changes to this project (e.g., adding/removing skills or agents, changing conventions or installation workflows, or altering the repo layout), update this file to reflect those changes. Future agents rely on AGENTS.md for accurate project context.
Documentation
- Skills: https://opencode.ai/docs/skills/
- Agents: https://opencode.ai/docs/agents/
- Agent Skills specification: https://agentskills.io/
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.

