INSIGHTS/WHITEPAPER
Toolkit MasterWHITE PAPER

The Agent Skills Playbook

How to package your team's know-how as reusable skills and instruction files — and set them up in Claude, ChatGPT, Codex, and other AI coding agents.

PUBLISHED BY
Toolkit Master
VERSION
1.0
DATE
October 2026
READING TIME
16 minutes
EXECUTIVE SUMMARY

Every team ends up retyping the same instructions to its coding agent: how we write commits, how we review migrations, what a good test looks like. A skill is how you stop doing that.

A skill is a folder with a short instruction file and, optionally, reference documents and scripts. The agent reads only a one-line description up front and loads the rest when a task actually calls for it. That makes skills cheap to install in quantity and easy to share through version control.

This paper explains what skills are, how they differ from prompts, rules files, and tools, how to write one that triggers reliably, and how to set them up in Claude, ChatGPT, Codex, and other agents. It closes with the security and governance practices that keep a shared skill library from becoming a liability.

THE CORE IDEA

Write the procedure down once, in a form the agent can load on demand, instead of explaining it in every conversation.

01 — WHY SKILLS EXIST

Agents are capable and context-free

A coding agent arrives at your repository knowing a great deal about software in general and nothing about how your team works. Closing that gap by hand means long prompts, pasted style guides, and corrections repeated across sessions and across people.

WITHOUT SKILLS

Each developer carries their own prompts. Quality depends on who asked, and the best phrasing lives in someone's notes app.

WITH SKILLS

The procedure is a reviewed file in the repo. Everyone, and every agent, starts from the same instructions.

02 — WHAT A SKILL IS

Three levels, loaded only as needed

The design principle is progressive disclosure: the agent pays for information only when it becomes relevant.

LEVEL 1
Metadata

Only the name and description are read up front — a few dozen tokens per skill. This is what the agent uses to decide whether the skill is relevant.

LEVEL 2
Instructions

When a task matches, the body of SKILL.md is loaded. Keep it focused: the steps, the rules, the gotchas.

LEVEL 3
Resources

Reference files and scripts are opened only when the instructions point at them, so a skill can carry far more material than it costs to have installed.

03 — SKILLS VS. THE ALTERNATIVES

Pick the lightest tool that works
WHERE IT LIVESWHEN IT LOADSBEST FOR
PromptIn the chatEvery time you paste itOne-off requests
Rules fileIn the repo (CLAUDE.md, AGENTS.md)Always, at session startShort, universal conventions
SkillA folder with a SKILL.mdOn demand, when the task matchesRepeatable procedures with files and scripts
Tool / MCP serverA running processWhen the agent calls itReaching live systems and data

A useful rule: if it must be true in every session, it is a rule. If it is a procedure for a specific kind of task, it is a skill. If it needs live access to a system, it is a tool.

04 — ANATOMY OF A SKILL

A folder and one required file
my-skill/A folder named after the skill
my-skill/SKILL.mdRequired. Frontmatter plus the instructions
my-skill/references/Optional. Longer docs loaded only when needed
my-skill/scripts/Optional. Deterministic code the agent can run
my-skill/assets/Optional. Templates, fixtures, images
SKILL.md / EXAMPLE
---
name: pr-description
description: Writes a pull request description from the current git diff.
  Use when the user asks for a PR description, PR summary, or release
  notes for a change.
---

# PR description

1. Run `git diff main...HEAD --stat` and read the changed files.
2. Write the description using references/template.md.
3. Lead with WHY the change exists, not a file-by-file list.
4. List anything a reviewer should test by hand.
5. Never include secrets, internal URLs, or ticket text verbatim.

05 — WRITING A SKILL THAT TRIGGERS

The description is the trigger

The agent decides whether to load a skill from its description alone. State what the skill does and when to use it, using the words a user would actually say.

WEAK

Helps with PRs.

STRONG

Writes a pull request description from the current git diff. Use when the user asks for a PR description, summary, or release notes.

WEAK

Database stuff.

STRONG

Reviews SQL migrations for locking, rollback, and data-loss risk. Use before applying or approving any migration.

Write numbered steps, not essays. The agent follows instructions better than it absorbs background.

06 — SETTING UP SKILLS IN CLAUDE

Five steps from empty folder to working skill
01
Pick a scope
A personal skill lives in your home directory's skills folder and follows you across projects. A project skill lives in the repo's .claude/skills folder and is shared with everyone who clones it.
02
Create the folder and SKILL.md
One folder per skill, one SKILL.md inside it, with name and description in the frontmatter.
03
Reload and check
Start a new session and ask the agent which skills it has available. If yours is missing, the frontmatter or the folder location is the usual cause.
04
Invoke or let it trigger
Describe the task naturally and the description does the matching, or name the skill explicitly in your request.
05
Commit it
Project skills are code. Put them in version control and review changes to them like any other change.
TERMINAL
# project skill, shared with the team
mkdir -p .claude/skills/pr-description
$EDITOR .claude/skills/pr-description/SKILL.md

# personal skill, available in every project
mkdir -p ~/.claude/skills/pr-description
Claude Code

Reads skills from the personal and project skills folders on disk. Best fit for engineering workflows that need the filesystem and shell.

Claude apps

Skills can be enabled in settings and, on supported plans, uploaded as a packaged folder. Document skills (spreadsheets, slides, PDFs) are the common starting point.

Claude API

Skills can be attached to a request through the code-execution environment, so the same skill works in your own product.

07 — CHATGPT & CODEX

Four places to put instructions

ChatGPT's chat product does not use a skills folder the way Claude Code does, but it has equivalent layers. Use the narrowest one that covers your case.

01
Custom instructions
Account-level text that applies to every conversation. Use it for stable preferences: tone, stack, formatting, what to avoid. Keep it short.
02
Projects
A workspace with its own instructions and reference files. This is the closest ChatGPT equivalent to a project-scoped skill: the context loads whenever you work inside that project.
03
Custom GPTs
A packaged assistant with instructions, uploaded knowledge, and optional actions. Use one when several people need the same procedure without setting anything up.
04
Codex and AGENTS.md
For coding work, the Codex CLI and cloud agent read an AGENTS.md file from the repo, and recent releases also support skill folders in the SKILL.md style. Check OpenAI's current docs for the exact location and behavior.
AGENTS.md / EXAMPLE
# AGENTS.md

## Commands
- Install: npm ci
- Test: npm test
- Lint: npm run lint

## Conventions
- TypeScript strict mode. No `any` without a comment.
- Server logic lives in /lib. Components never call the database.

## Boundaries
- Never edit files under /migrations without asking.
- Never read .env files. Reference secrets by variable name.

08 — OTHER AGENTS & A PORTABLE LAYOUT

Write once, point from everywhere

Cursor, Copilot, Gemini CLI and others each have their own rules or instructions file. Rather than maintain a copy per tool, keep one source of truth and let each tool's file reference it.

01
One source of truth
Keep the procedure in a single SKILL.md. Do not maintain separate copies per tool.
02
Thin per-tool pointers
Let CLAUDE.md, AGENTS.md, and editor rule files each contain a few lines that point at the shared skill.
03
Plain markdown, plain scripts
Avoid vendor-specific syntax inside the body. Plain steps and standard shell or Python scripts travel anywhere.
04
Test in each agent
Behavior differs between agents. Run the same task in each one you support and compare.

09 — TEN SKILLS WORTH WRITING FIRST

Start with what you repeat most
01
PR description

Turns a diff into a reviewer-friendly summary.

02
Commit message

Applies your team's commit format consistently.

03
Code review

Checks changes against your own review checklist.

04
Test writer

Writes tests from the requirement, not from the implementation.

05
Migration review

Flags locking, missing rollbacks, and data loss.

06
Bug triage

Reproduces, narrows, and records root cause before fixing.

07
Release notes

Summarizes merged changes for users, not developers.

08
API client

Calls an internal API the way your team expects.

09
Document builder

Produces reports and decks in your house template.

10
Onboarding guide

Walks a new hire through setup in your repo.

10 — TESTING AND ITERATING

Treat a skill like code
01Write three realistic prompts that should trigger the skill and three that should not
02Run each in a fresh session and note whether the skill loaded
03Read the output against what you would accept from a colleague
04When it fails, change one thing at a time: description, then steps, then resources
05Re-run the full set after every edit, so a fix for one case does not break another

11 — SECURITY AND GOVERNANCE

A skill is executable trust
R1
Untrusted skills

A skill can instruct the agent and ship scripts that run on your machine. Installing one is closer to installing a package than saving a note.

R2
Prompt injection through resources

A reference file or fetched page can contain instructions aimed at the agent. Treat content a skill reads as data, not as commands.

R3
Secrets in skill files

Skills get committed and shared. Reference credentials by variable name; never write the value into a skill.

R4
Silent drift

A skill nobody owns slowly stops matching how the team works, and the agent keeps following it faithfully.

GOVERNANCE
  • Read every file in a third-party skill, including scripts, before enabling it
  • Pin or vendor skills you depend on rather than tracking someone else's main branch
  • Review changes to skills in pull requests, the same as application code
  • Give each skill a named owner and a last-reviewed date
  • Run agents that use skills inside the permission boundary described in The Agent Data Boundary

See The Agent Data Boundary for the permission architecture that keeps a misbehaving skill from reaching beyond the project.

12 — COMMON MISTAKES

Eight ways skills go wrong
01
A vague description

The description is the trigger. Say what the skill does and when to use it.

02
One giant skill

Split by job. A skill that does five things triggers on the wrong tasks.

03
Everything in SKILL.md

Move long reference material into separate files that load on demand.

04
Duplicating the rules file

Always-on conventions belong in CLAUDE.md or AGENTS.md, not in a skill.

05
Describing instead of instructing

Write numbered steps and explicit rules, not background essays.

06
Never testing

A skill that has not been run against realistic prompts is a guess.

07
Skipping scripts

If a step must be exact (a format, a calculation), put it in code instead of prose.

08
No owner

Unowned skills drift. Assign someone and review on a schedule.

13 — ROLLOUT CHECKLIST

From first skill to shared library
BEFORE WRITING
Decide it earns a skill
The task repeats at least weekly
A person could follow written steps to do it
It is not already an always-on rule
You have a real example of good output
BEFORE SHARING
Ship it safely
Description says what it does and when to use it
Tested on prompts that should and should not trigger it
No secrets, tokens, or internal URLs inside
Scripts read and understood by a second person
ONGOING
Keep it healthy
A named owner exists
It lives in version control
Reviewed on a schedule
Retired when the process changes

Conclusion

Skills turn individual prompting habits into shared, reviewable infrastructure. The format is simple on purpose: a folder, a markdown file, a description that says when to use it.

Start with one task your team repeats every week. Write it as numbered steps, test it against real prompts, commit it, and give it an owner. The second skill is easier than the first.

NEXT STEP
Building a skill library for your team?

Reach out — we're happy to talk through which workflows are worth turning into skills first.

SOURCES AND FURTHER READING

The following resources informed the practices described in this paper.

1
Anthropic
Agent Skills documentation · Claude Code documentation (skills, memory, CLAUDE.md) · Introducing Agent Skills
Primary reference for the SKILL.md format, folder locations, and progressive disclosure. Details change between releases; confirm against current documentation.
2
OpenAI
ChatGPT Help Center (Custom Instructions, Projects, GPTs) · Codex documentation (AGENTS.md and skills)
Primary reference for ChatGPT and Codex setup. Feature availability varies by plan and release.
3
AGENTS.md and the Agent Skills open specification
agents.md · agentskills.io
Community and vendor-maintained conventions for portable agent instructions. Referenced for format guidance only.
EDITORIAL STATUS

Agent products change quickly. File locations, feature names, and plan availability described here reflect general behavior at the time of writing and should be confirmed against each vendor's current documentation before you rely on them. Where a detail is vendor-specific, this paper deliberately stays high level.

INDEPENDENCE AND NON-ENDORSEMENT NOTICE

This publication is an independent work of Toolkit Master. It is not affiliated with, sponsored by, endorsed by, or otherwise associated with Anthropic, OpenAI, Cursor, GitHub, Google, or any other organization referenced herein. References to products, standards, and publications are provided solely for informational and educational purposes. All third-party trademarks, names, and logos remain the property of their respective owners.

LEGAL AND USE DISCLAIMER

This white paper is provided for general informational and educational purposes only. It does not constitute legal, cybersecurity, compliance, or professional advice. The practices described may not be appropriate for every organization or environment, and no representation or warranty is made that following them will prevent security incidents, data loss, or other risks. Toolkit Master assumes no responsibility for actions taken based solely on the information in this publication.

toolkitmaster.com
© 2026 Toolkit Master. All rights reserved.