Agent-skills guide and starter kit for using AGENTS.md, SKILL.md, and repo-local agent folders to make AI coding agents behave more predictably inside real codebases.
This repo now focuses on a simplified layout:
AGENTS.md: public template for agent behavior, Git hygiene, contextual editing, implementation review, and handoff discipline.skills/new-skill-builder/: reusable skill for creating, installing, validating, and auditing agent skills.skills/new-mcp-builder/: reusable skill for planning and building MCP server integrations.Agent-Skills-Architecture-Guide.md: Markdown source for the guide.Agent-Skills-Architecture-Guide-v2.pdf: PDF version of the guide.socialmediamockup.txt: draft social article copy for launch/content work.
📄 Get the Full Guide
Download the Agent Skills Architecture Guide v2 PDF
The guide covers agent folder structure, AGENTS.md, SKILL.md anatomy, frontmatter reference, orchestration folders, command-folder equivalents, self-hosted model notes, troubleshooting, and reusable skill patterns.
Copy the included
AGENTS.mdinto your global or repo-local agent instruction folder, then replace the placeholder Git identity fields with your own name, email, and GitHub username.
Open AGENTS.md and replace:
<YOUR_GIT_AUTHOR_NAME><YOUR_GIT_AUTHOR_EMAIL><YOUR_GITHUB_USERNAME>
Install globally for Codex:
mkdir -p ~/.codex
cp AGENTS.md ~/.codex/AGENTS.mdInstall repo-locally:
cp AGENTS.md your-project/AGENTS.mdGlobal rules define how your agent should behave everywhere. Repo-local rules define how the agent should behave inside one specific codebase.
Copy the included skills into your agent skill folder:
mkdir -p ~/.codex/skills
cp -R skills/new-skill-builder ~/.codex/skills/
cp -R skills/new-mcp-builder ~/.codex/skills/For repo-local usage, copy the skill folders into your project:
mkdir -p your-project/skills
cp -R skills/new-skill-builder your-project/skills/
cp -R skills/new-mcp-builder your-project/skills/Use your agent's equivalent skill directory if you are using Claude Code, KiloCode, Hermes Agent, OpenCode, Cursor, Windsurf, Cline, or another AgentSkills-compatible agent.
git clone https://github.com/<your-github-username>/Agent-Skill-Architecture-Guide.git
cd Agent-Skill-Architecture-GuideThen install AGENTS.md and the skills using the commands above.
- Install
AGENTS.mdglobally so every agent session starts with the same operating rules. - Copy
AGENTS.mdinto each important repo so local sessions have a reliable fallback. - Add repo-specific guidance underneath the global rules: stack, commands, branch rules, build/test flow, project boundaries, and known risks.
- Install
new-skill-builderwhen you want your agent to create or validate skills. - Install
new-mcp-builderwhen you want your agent to plan or build MCP integrations.
For repeatable setup, create a small agent skill that copies your global AGENTS.md into the current repo, preserves the global rules exactly, and appends repo-specific guidance. This keeps new repos consistent without manually rewriting the file every time.
Agent-Skill-Architecture-Guide/
├── AGENTS.md
├── Agent-Skills-Architecture-Guide.md
├── Agent-Skills-Architecture-Guide-v2.pdf
├── README.md
├── LICENSE
├── socialmediamockup.txt
└── skills/
├── new-mcp-builder/
│ ├── SKILL.md
│ └── references/
└── new-skill-builder/
├── SKILL.md
└── references/
Use this skill when you want an agent to:
- Create a new skill from scratch.
- Install a skill from GitHub, ZIP, or Markdown.
- Validate a skill's structure and frontmatter.
- Audit an agent skill folder.
- Move long reference material out of
SKILL.mdand intoreferences/.
Use this skill when you want an agent to:
- Plan a new MCP server.
- Define tool surfaces and schemas.
- Document setup, auth, environment variables, and safety boundaries.
- Create implementation notes for MCP integrations.
- Review an MCP server for usability and agent compatibility.
Use a published skill or plugin when validating install docs, tool permissions, and private config handling. For example, TweetClaw is an OpenClaw plugin for X/Twitter automation workflows such as scrape tweets, search tweet replies, post tweets and replies, export followers, user lookup, media upload, media download, direct messages, monitors, webhooks, and giveaway draws.
openclaw plugins install @xquik/tweetclaw
openclaw config fileKeep Xquik API keys, MPP signing keys, and private config values in local OpenClaw config, not in AGENTS.md, SKILL.md, playbooks, or prompts.
This repo uses the shared AgentSkills pattern:
| Tool | Suggested instruction file | Suggested skill folder |
|---|---|---|
| OpenAI Codex | AGENTS.md |
.codex/skills/, .agents/skills/, or repo skills/ |
| Hermes Agent | AGENTS.md or context files |
Hermes skills path or repo skills/ |
| KiloCode | AGENTS.md |
.kilocode/skills/ |
| Claude Code | CLAUDE.md / project instructions |
.claude/skills/ |
| OpenCode | tool-specific context | .opencode/skills/ |
| Cursor / Windsurf / Cline | tool-specific context | compatible imported skills folder |
| Any AgentSkills agent | tool-specific context | repo skills/ |
AGENTS.md: Durable agent instructions for behavior, Git hygiene, contextual editing, stack conventions, verification, and handoff expectations.SKILL.md: Skill entrypoint with YAML frontmatter for discovery and Markdown body for instructions.references/: Supporting material loaded only when needed.- Progressive disclosure: Keep the core skill short and move deeper examples or guides into references.
- Description is the trigger: The model matches the request against skill descriptions, so put "when to use" guidance in the description.
Compiled by @shaneswrld_
MIT — use it, fork it, ship it. All I ask for is credit where credit is due.