Tools
Agent Skill Architecture Guide
A comprehensive reference for building and organizing AI agent skills across Claude Code, KiloCode, OpenClaw, and OpenAI Codex. Covers SKILL.md specifications, folder structures, mode-scoped skills, agent orchestration, and self-hosted model configuration.
README
# Agent Skills Architecture Kit
It's Feb 16 2026.. here is the modern, up to date agentic folder protocal and build out guide for OpenClaw, Claude Code, KiloCode, OpenAI Codex, and any AgentSkills-compatible agent. The repo features drag and drop agent folders with 'new-skill' and 'mcp-builder' skills preinstalled to architect any new agent skill or mcp install/creation โ ready to use with Claude Code, KiloCode, OpenAI Codex, OpenClaw, and any AgentSkills-compatible agent.
๐ Get the Full Guide
[Download the Agent Skills Architecture Guide (PDF)] โ covers folder structure, SKILL.md anatomy, frontmatter reference, OpenClaw vs Claude Code comparison diagrams, [claude, kilo, codex, legacy agent] agent folder diagrams, self-hosted model config (Ollama / LM Studio ), troubleshooting, and more.
> Follow [@shaneswrld_](https://twitter.com/shaneswrld_) and dm "agent skills" to get the PDF download link.
---

## ๐ Install
### Option 1: Download and drag (easiest)
> Drop-in `.claude/`, `.kilocode/`, `.codex/`, and `.agents/` folders with a skill installer, architecture reference, and starter config โ ready to use with Claude Code, KiloCode, OpenAI Codex, OpenClaw, and any AgentSkills-compatible agent.
1. Download this repo as a ZIP (green **Code** button โ **Download ZIP**)
2. Unzip it
3. Drag the `.claude/` folder into your project root
4. If you use KiloCode, also drag `.kilocode/` in
5. If you use OpenAI Codex, drag `.codex/` in (or `.agents/` + `AGENTS.md`)
6. Done โ your agent now has the `new-skill` installer and a starter config
### Option 2: Clone
```bash
git clone https://github.com/shane9coy/agent-skills-kit.git
# Claude Code:
cp -r agent-skills-kit/.claude/ your-project/.claude/
# KiloCode:
cp -r agent-skills-kit/.kilocode/ your-project/.kilocode/
# OpenAI Codex:
cp -r agent-skills-kit/.codex/ your-project/.codex/
# Legacy Codex / .agents convention:
cp -r agent-skills-kit/.agents/ your-project/.agents/
cp agent-skills-kit/AGENTS.md your-project/AGENTS.md
```
---
## ๐ What's Inside
```
agent-skills-kit/
โโโ .claude/ # Claude Code
โ โโโ CLAUDE.md # Starter project config
โ โโโ skills/
โ โโโ new-skill/
โ โโโ SKILL.md # Skill installer / scaffolder / validator
โ โโโ references/
โ โโโ claude-skills-guide.md # Architecture reference for the agent
โ
โโโ .kilocode/ # KiloCode
โ โโโ AGENTS.md # KiloCode project memory (AGENTS.md standard)
โ โโโ skills/
โ โโโ new-skill/
โ โโโ SKILL.md
โ โโโ references/
โ โโโ claude-skills-guide.md
โ
โโโ .codex/ # OpenAI Codex
โ โโโ AGENTS.md # Codex project memory
โ โโโ skills/
โ โโโ new-skill/
โ โโโ SKILL.md
โ โโโ references/
โ โโโ claude-skills-guide.md
โ
โโโ .agents/ # Legacy / generic AgentSkills
โ โโโ skills/
โ โโโ new-skill/
โ โโโ SKILL.md
โ โโโ references/
โ โโโ claude-skills-guide.md
โ
โโโ AGENTS.md # Codex project memory (root-level fallback)
โโโ README.md
โโโ LICENSE
```
All four folders contain identical skills โ use whichever matches your tool. KiloCode also reads `.claude/skills/` as fallback, so Claude + KiloCode users only need `.claude/`. Codex reads `.codex/skills/` natively and falls back to `.agents/skills/`.
---
## ๐ What `new-skill` Does
Once installed, your agent gets 5 workflows:
| # | Workflow | How to trigger |
|---|---------|---------------|
| 1 | **Create a skill from scratch** | "create a new skill for X" |
| 2 | **Install from GitHub / zip / markdown** | "install this skill: \<url\>" |
| 3 | **Install the MCP Builder skill** | "set up the mcp-builder skill" |
| 4 | **Validate a skill** | "check if my skill is set up correctly" |
| 5 | **Audit entire agent folder** | "scan and fix my .claude/.codex/.kilocode structure" |
---
## ๐ Compatibility
The [AgentSkills spec](https://github.com/anthropics/skills) is a shared standard. This kit works with:
| Tool | Skill folder | Memory file |
|------|-------------|-------------|
| **Claude Code** | `.claude/skills/` | `CLAUDE.md` |
| **KiloCode** | `.kilocode/skills/` (also reads `.claude/skills/`) | `AGENTS.md` (reads `CLAUDE.md` as fallback) |
| **OpenAI Codex** | `.codex/skills/` (also reads `.agents/skills/`) | `AGENTS.md` |
| **OpenClaw** | `~/.openclaw/skills/` or `<workspace>/skills/` | `AGENTS.md` + `SOUL.md` |
| **OpenCode** | `.opencode/skills/` (also reads `.claude/skills/`) | โ |
| **Cursor / Windsurf / Cline** | `.claude/skills/` via openskills | โ |
| **Any AgentSkills agent** | `.agents/skills/` | โ |
KiloCode also supports **mode-specific skills** โ drop skills into `skills-code/`, `skills-architect/`, `skills-debug/`, etc. to scope them to specific agent modes.
---
## ๐ Key Concepts (from the PDF guide)
- **SKILL.md** โ the only required file. YAML frontmatter (`name` + `description`) for discovery, markdown body for instructions.
- **Description is the trigger** โ the model matches your request against descriptions, not the body. Put all "when to use" info in the description.
- **Progressive disclosure** โ frontmatter is always loaded (~24 tokens/skill), body loads on trigger, references/ load on demand, scripts/ execute on demand.
- **Quote your descriptions** โ unquoted YAML with special characters silently breaks registration.
- **Keep SKILL.md under 500 lines** โ move depth to `references/`.
---
## ๐ค Credits
Compiled by **s.coy**
[@shaneswrld_](https://twitter.com/shaneswrld_) | [github.com/shane9coy](https://github.com/shane9coy)
---
## ๐ License
MIT โ use it, fork it, ship it.
tools
Comments
Sign in to leave a comment