skills
AGENTS.md29 starsChanged 3 months agoMITView on GitHub
This file provides guidance to Codex (Codex.ai/code) when working with code in this repository. Codex plugin marketplace containing seven plugins for software development and personal productivity workflows: Plugins extend Codex with three types of content: The marketplace registry (.Codex-plugin/marketplace.json) indexes all plugins, while each plugin's manifest (plugin.json) defines metadata. Skills listed in marketplace.json become user-invocable (e.g., /skill core:commit-messages), while unlisted skills are only loaded by other skills or agents. Each plugin follows this structure: Agents are markdown files with YAML…
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,736 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 repository2 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- skill-doctorSkill
The file
We split this AGENTS.md into the rules it gives an agent
12 rules. About 0 are common, 1 is distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 116
Treat every skill change as TDD.
- Very specific: line 119
GREEN — make the minimum skill change: Update the skill only enough to pass the new case, then rerun pnpm test:skills -- [skill-name].
- Very specific: line 120
COMPARE — prove the improvement: Run pnpm eval:skills -- [skill-name] and inspect the no-skill baseline beside the skill treatment.
- Very specific: line 138
New Agent: Create .md in src/[plugin]/agents/ with frontmatter
- Very specific: line 140
New Skill: Create src/[plugin]/skills/[skill-name]/SKILL.md with frontmatter
- Very specific: line 142
New Command: Create .md in src/[plugin]/commands/
- Very specific: line 145
Create src/[plugin-name]/.Codex-plugin/plugin.json with name, version, description, author, repository, license, keywords
- Very specific: line 146
Add entry to .Codex-plugin/marketplace.json:
- Very specific: line 155
Create agents/, skills/, and/or commands/ directories as needed
- Very specific: line 156
Add .mcp.json if the plugin requires MCP servers
- Very specific: line 177
When creating skills that build on others, include a "Prerequisites" section at the top.
- Distinctive: line 181
Use the WHEN/NOT pattern for skill and agent descriptions:
≈ “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
AGENTS.md
This file provides guidance to Codex (Codex.ai/code) when working with code in this repository.
Project Overview
Codex plugin marketplace containing seven plugins for software development and personal productivity workflows:
- core – memory, commit hygiene, refactoring, prompt refinement, and branch review
- web – CSS, React, Tailwind, testing, refactoring, and design practices
- typescript – strict, schema-first TypeScript guidance
- system-design – Mermaid diagram generation from code
- product-management – PRD creation, status updates, and task orchestration
- app – Swift iOS testing, App Intent-first development, and SwiftUI architecture
- life – personal life management with GPS method for goal achievement
Plugin Architecture
Plugins extend Codex with three types of content:
- Agents - Autonomous subprocesses with specialized tools and context (defined in
agents/*.md) - Skills - Knowledge bases that load into context (defined in
skills/*/SKILL.md) - Commands - Slash commands for quick actions (defined in
commands/*.md)
The marketplace registry (.Codex-plugin/marketplace.json) indexes all plugins, while each plugin's manifest (plugin.json) defines metadata. Skills listed in marketplace.json become user-invocable (e.g., /skill core:commit-messages), while unlisted skills are only loaded by other skills or agents.
Repository Structure
.Codex-plugin/marketplace.json # Marketplace registry (plugin metadata)
src/
core/
.Codex-plugin/plugin.json
agents/ # compare-branch, refactor
skills/ # commit-messages, learn, pr, writing, yagni
web/
.Codex-plugin/plugin.json
skills/ # css, frontend-testing, react, react-testing, refactoring, tdd, web-design
typescript/
.Codex-plugin/plugin.json
skills/ # typescript-best-practices
system-design/
.Codex-plugin/plugin.json
skills/ # mermaid-generator
product-management/
.Codex-plugin/plugin.json
app/
.Codex-plugin/plugin.json
skills/ # app-intent-driven-development, swift-testingEach plugin follows this structure:
src/[plugin-name]/
.Codex-plugin/plugin.json # Plugin manifest (name, version, description)
agents/ # Agent definitions (*.md files with YAML frontmatter)
skills/[skill-name]/SKILL.md # Knowledge bases
commands/ # Slash commands (*.md files)Agent Definition Format
Agents are markdown files with YAML frontmatter in src/[plugin]/agents/:
---
name: agent-name
description: >
When to use this agent
tools: Read, Grep, Glob, Bash
model: sonnet
color: pink
---
# Agent Title
Agent instructions...Required: name, description, tools
Optional: model (sonnet/opus/haiku), color
Command Definition Format
Commands live in src/[plugin]/commands/ and include a short YAML header:
---
description: What the command does
argument-hint: <argument format>
---
# @command-name
Usage details...Skill Definition Format
Skills are SKILL.md files in src/[plugin]/skills/[skill-name]/:
---
name: skill-name
description: >
When to use this skill
---
# Skill Title
Knowledge base content...Test-Driven Skill Changes
Treat every skill change as TDD. Its Promptfoo suite at evals/[skill-name]/promptfooconfig.yaml is the executable specification; create the suite from the existing examples if it does not exist.
- RED — record the use case first. Before editing the skill, add a realistic test whose
scenariocaptures the new or changed use case and whoserubricdefines observable success. Runpnpm eval:skills:check -- [skill-name], thenpnpm test:skills -- [skill-name]against the unchanged skill. The new case must fail; a pass means the skill already covers the case or the scenario does not expose the gap. - GREEN — make the minimum skill change. Update the skill only enough to pass the new case, then rerun
pnpm test:skills -- [skill-name]. Every existing case and the new case must pass. - COMPARE — prove the improvement. Run
pnpm eval:skills -- [skill-name]and inspect the no-skill baseline beside the skill treatment. The treatment must improve the intended case without reducing performance on existing cases. The comparison command is informational, so inspect its results rather than relying on its exit code.
Existing scenarios and assertions are the regression contract. Preserve them unless the requirement itself changed. For trigger or description changes, also add the disposable skill fixture and skill-used assertion described in scripts/README.md.
A skill change is complete only when the Promptfoo config records the new scenario and rubric, configuration validation passes, all treatment tests pass, and the comparison demonstrates the intended gain without regression.
Available Content Snapshot
- core: agents
compare-branch,refactor; skillsacceptance-review,commit-messages,gauntlet-loop,learn,pr,pseudocode,reducer,ship-pr,writing,wtf,yagni - web: skills
css,frontend-testing,react,xstate,react-testing,refactoring,tdd,web-design,tailwind,eyes,chatgpt-app-sdk - typescript: skill
typescript-best-practices - system-design: skill
mermaid-generator - product-management: skills
status-updates - app: skills
app-intent-driven-development,app-store-keyword-ops,app-store-scraper,asc-screenshots,debug,ios-localize-copy,local-ai-models,swift-testing,swiftui-architecture,xcode-dev-loop - life: skill
gps-method
Adding New Content
New Agent: Create .md in src/[plugin]/agents/ with frontmatter
New Skill: Create src/[plugin]/skills/[skill-name]/SKILL.md with frontmatter
New Command: Create .md in src/[plugin]/commands/
New Plugin:
- Create
src/[plugin-name]/.Codex-plugin/plugin.jsonwith name, version, description, author, repository, license, keywords - Add entry to
.Codex-plugin/marketplace.json:{ "name": "plugin-name", "source": "./src/plugin-name", "description": "...", "skills": ["./skills/skill-name"] // Optional, only for user-invocable skills } - Create
agents/,skills/, and/orcommands/directories as needed - Add
.mcp.jsonif the plugin requires MCP servers
Version Bumping
Increment version in the relevant plugin.json following semver when updating plugins.
MCP Server Integrations
Some plugins include MCP server configurations in .mcp.json:
- core - Memory MCP (
@modelcontextprotocol/server-memory) - product-management - Task Master AI MCP for task orchestration workflows
These servers auto-load when the plugin is active.
Skill Cross-References
Skills can reference other skills as prerequisites. For example:
web:tailwindloadsweb:css,web:react,typescript:skills, andweb:web-designapp:swiftui-architectureworks alongsideapp:swift-testingandapp:app-intent-driven-development
When creating skills that build on others, include a "Prerequisites" section at the top.
Description Naming Convention
Use the WHEN/NOT pattern for skill and agent descriptions:
WHEN [trigger condition]; NOT [exclusion]; [output or behavior]Examples:
WHEN writing git/conventional commits; NOT for PR text; returns concise, why-first commit linesWHEN building SwiftUI views; NOT for UIKit or legacy patterns; provides pure SwiftUI data flow
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.

