# What are agent skills?

Canonical: https://revyl.com/blog/what-are-agent-skills/
Published: 2026-10-08
Last updated: 2026-12-02

> Agent skills are SKILL.md folders that coding agents load on demand. How they load, where Claude Code and Codex find them, and how to write a good one.

Agent skills are folders that hold a `SKILL.md` file of instructions, plus optional scripts and reference files, that an AI agent loads on demand when a task calls for them. The [agent skills](https://revyl.com/glossary/agent-skills/) format is an open standard, specified at [agentskills.io](https://agentskills.io/specification), and [Claude Code](https://code.claude.com/docs/en/skills) and [OpenAI's Codex](https://developers.openai.com/codex/skills) both build on it. Revyl, verification infrastructure for cloud agents, ships skills that teach an agent to check the running application it just changed in a web browser, an iOS simulator or an Android emulator, and to read what Revyl Atlas observed of the app's screens before it changes a flow. Revyl also gives agents macOS computers to build, run and test software in.

## What is inside a skill?

A skill is a directory, and only `SKILL.md` is required:

```text
my-skill/
├── SKILL.md      # required: metadata + instructions
├── scripts/      # optional: executable code
├── references/   # optional: documentation
└── assets/       # optional: templates, resources
```

`SKILL.md` opens with YAML frontmatter, followed by plain Markdown instructions. The [specification](https://agentskills.io/specification) (checked December 1, 2026) requires two fields:

| Field | Rule |
|---|---|
| `name` | 1 to 64 characters of lowercase letters, numbers and hyphens. It can't start or end with a hyphen or contain two hyphens in a row, and it must match the name of the skill's directory |
| `description` | 1 to 1,024 characters, never empty, that say what the skill does and when to use it |

The optional fields are `license`, `compatibility`, `metadata` and an experimental `allowed-tools`. Codex also reads an optional `agents/openai.yaml` for display metadata, invocation policy and tool dependencies, which can name an MCP server.

## How does an agent load a skill?

Agents load skills in stages, which the standard calls progressive disclosure. In the standard's discovery stage, the agent reads only the name and description of each installed skill at startup. When a task matches a description, it reads that skill's full `SKILL.md`. While it follows the instructions, it opens bundled files or runs bundled scripts as it needs them.

Anthropic's [Agent Skills overview](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview) (checked December 1, 2026) puts numbers on each stage: about 100 tokens per skill for the metadata, under 5k tokens for the instructions, and nothing for bundled files until the agent reads them. When Claude runs a bundled script through Bash, the script's code stays out of the context window and only its output enters it.

Codex sets a budget for the first stage. Its opening list of skills includes each skill's file path, and by default it takes at most 2% of the model's context window, or 8,000 characters when the window size is unknown (checked December 1, 2026). With many skills installed, Codex shortens descriptions first and may leave some skills out of the list with a warning. `skills.max_context_tokens` sets a different budget, up to 10,000 tokens.

You can call a skill by name (`$` or `/skills` in Codex, `/skill-name` in Claude Code), or the agent picks one when your request matches its description. Descriptions guide that automatic selection, and a vague description makes it less reliable.

## How do skills fit with MCP servers, tools and AGENTS.md?

| | What it is | What it gives the agent |
|---|---|---|
| Skill | A folder with `SKILL.md`, plus optional scripts and references | A procedure it loads when the task matches |
| Tool | A named function with an input schema | One action it can call, such as an API request |
| MCP server | A server that can expose tools, resources or prompts through the [Model Context Protocol](https://modelcontextprotocol.io/docs/learn/server-concepts) | Capabilities an application can discover; a tool is one action a skill might tell the agent to call |
| `AGENTS.md` | "A README for agents" kept in the repository ([agents.md](https://agents.md)) | Project instructions such as build steps, tests and conventions |

When an MCP server exposes a tool, a skill can teach the agent when to call it. Anthropic's [engineering post on skills](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills) says skills can "complement Model Context Protocol (MCP) servers by teaching agents more complex workflows that involve external tools and software," and a Codex skill can declare the MCP server it depends on in `agents/openai.yaml` ([OpenAI, Customization](https://learn.chatgpt.com/docs/customization/overview)).

`AGENTS.md` and `CLAUDE.md` hold guidance for the whole project. Claude Code's `/doctor` checkup offers to move always-loaded guidance into skills and nested `CLAUDE.md` files that load on demand. A workable rule: guidance the agent needs on every task goes in `AGENTS.md`, and guidance for one kind of task becomes a skill.

For MCP servers that drive iOS and Android, see [mobile MCP servers compared](https://revyl.com/compare/mobile-mcp-servers-compared/).

## Where do skills live in each agent?

| Agent | Project skills | Personal skills | Also |
|---|---|---|---|
| Claude Code | `.claude/skills/<name>/SKILL.md` | `~/.claude/skills/<name>/SKILL.md` | Enterprise skills from managed settings, nested `<subdir>/.claude/skills/`, and directories passed with `--add-dir` |
| Codex | `.agents/skills` in every directory from where you launch Codex up to the repository root | `$HOME/.agents/skills` | Admin skills in `/etc/codex/skills` and system skills bundled with Codex |
| Capy | `.agents/skills/<name>/` or `.claude/skills/<name>/` at the repository root, preferring `.agents/skills/` | Drive skills in a personal scope | Organization and project Drive skills, and plugin skills |

Sources: [Claude Code skills](https://code.claude.com/docs/en/skills), [Codex skills](https://developers.openai.com/codex/skills), [Capy skills](https://docs.capy.ai/skills).

Commit repository skills to share them with cloud sessions. Claude Code's cloud sessions don't read `~/.claude/skills/` from your machine, and Capy reads repository skills from the branch a thread starts from.

By default, Revyl's installer writes one shared copy to `.agents/skills/`, which Codex and OpenCode read directly, and when you select Claude Code it adds per-skill links in `.claude/skills/`. `--global` installs for your user instead of the project, and `--copy` keeps a separate copy in each selected agent's folder.

## How do you write a good skill?

Start with the description, because it helps the agent decide when to load the skill. It should say what the skill does and when to use it. Anthropic's [authoring guide](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices) sets "Helps with documents" against "Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction." Codex shortens descriptions when many skills are installed, so lead with the main use case and the words a user would type.

The rest of the advice from Anthropic, OpenAI and the spec:

- Give each skill one job. OpenAI's first best practice is "Keep each skill focused on one job," and Anthropic warns against names like `helper` or `utils`.
- Keep `SKILL.md` under 500 lines, Anthropic's suggested limit (checked December 1, 2026). Move detail into reference files that sit one level below `SKILL.md`.
- Prefer written instructions, and add a script when you need deterministic behavior or an external tool. When Claude runs the script through Bash, only its output enters the context.
- Try prompts against the description and check that the agent picks the skill when it should, and leaves it alone when it shouldn't.
- Install skills only from sources you trust, and read bundled scripts before you run them, as Anthropic recommends.

### A complete skill

Here is a small skill that follows those rules. Save it as `.agents/skills/review-doc-links/SKILL.md` in a repository, where Codex finds it, or under `.claude/skills/` for Claude Code:

```markdown
---
name: review-doc-links
description: Check relative links in changed Markdown files. Use before publishing a docs change.
---

1. List the Markdown files changed on this branch.
2. Resolve each relative link from its file's directory.
3. Report every missing target with the source file and line.
```

The name matches the folder, and the description says what the skill does and when to use it. Test both sides of that description. "I rewrote the setup guide, check its links before I publish" should load the skill. "Fix the typo in the README title" shouldn't, because the request isn't about links or publishing.

## What do Revyl's skills teach an agent?

Revyl ships its skills with the CLI. The main one, `revyl-cli`, holds the rules for every Revyl task and routes the agent to one guide per job, such as running the app, reading Atlas or writing a test. Depending on the CLI version, each guide is a standalone skill or a file under `references/` in `revyl-cli`. [All Revyl skill workflows](https://docs.revyl.com/agents/skills) are listed in the docs.

The `dev-loop` guide shows how a skill puts verification inside the agent's own loop. Revyl's docs describe that loop as "make a code change, start the app, and iterate on the feedback." Say a developer asks, "Change the checkout button label and show me it on iOS." The request matches the guide's job, running and checking the app on a cloud device or browser, so the agent loads it. It runs its development build with `revyl dev` on a cloud iOS simulator, makes the edit and, in an Expo or React Native app, lets most JavaScript and TypeScript changes hot reload through Metro, or rebuilds when the change needs a new binary, then drives the screen and takes a screenshot. Before it says what the screen shows, the rules have it open that image, because a screenshot URL or a file path alone isn't visual verification. For a web app, the agent opens a separate Chrome session instead. That is shift left in practice: the check happens in the session where the code is still being written, ahead of CI and review.

### Install them

In your app's Git checkout, use a shell with `curl` and `sh`. Run this:

```bash
curl -fsSL https://revyl.com/install.sh | sh
export PATH="$HOME/.revyl/bin:$PATH"
revyl skill install --codex --cli --yes
revyl skill list --installed
```

We ran these commands on December 1, 2026 in a clean `node:24` Docker container with Revyl CLI v0.2.116. The install and list commands ran inside an empty Git repository at `/root/my-app`, and the container had no Revyl credentials. The output, trimmed:

```text
revyl-cli: installed (.agents/skills/revyl-cli/SKILL.md)
revyl-cli-create: installed (.agents/skills/revyl-cli-create/SKILL.md)
revyl-cli-analyze: installed (.agents/skills/revyl-cli-analyze/SKILL.md)
...
revyl-cli-auth-bypass: installed (.agents/skills/revyl-cli-auth-bypass/SKILL.md)
Reload your agent's skills or restart it if the new skills do not appear.
revyl-cli	/root/my-app/.agents/skills/revyl-cli
revyl-cli-analyze	/root/my-app/.agents/skills/revyl-cli-analyze
revyl-cli-atlas	/root/my-app/.agents/skills/revyl-cli-atlas
...
revyl-cli-dev-loop	/root/my-app/.agents/skills/revyl-cli-dev-loop
```

The [agent setup docs](https://docs.revyl.com/agents/mcp) cover installing for Claude Code or OpenCode and signing the CLI in, which the dev loop needs. Revyl's Free plan includes up to 1,200 free device minutes a month on iOS, Android and web, with no card ([pricing](https://revyl.com/pricing/)). Revyl computers, macOS workspaces where agents build and test apps, come with Pro: add a card to unlock them, and the 1,200 free device minutes a month still cover their sessions.

## Beyond skills: what else does Revyl run?

Revyl is verification infrastructure for cloud agents, and the skills above are one way in. Through the Revyl CLI, its MCP server or those skills, agents start web browsers, iOS simulators and Android emulators. In a Revyl computer, a macOS workspace, a skill-guided agent can run and check any software that works on a Mac: a command-line tool, a desktop or Electron app, a web app's local dev stack in Safari, an iOS Simulator build, or a build or test command ([Revyl computers](https://docs.revyl.com/computers), [proof on macOS](https://docs.revyl.com/agents/proof-mac)). Device sessions and test runs leave reports the agent can pull with `revyl device report` or `revyl test report`. Once [Proof of Changes](https://docs.revyl.com/agents/proof) is enabled, each pull request with a build gets a proof status on the pull request by default, and a proof that exercised the change shows its confidence score, coverage and screenshots, with a recording link for web, iOS and Android sessions, so the reviewer has evidence the software ran. Atlas holds the screens, states and transitions observed in web, iOS and Android sessions, each tied to its evidence, and the `atlas` guide lets an agent read it before it changes a flow. Revyl's Free plan includes up to 1,200 free device minutes a month on iOS, Android and web, with no card. Revyl computers, macOS workspaces where agents build and test apps, come with Pro: add a card to unlock them, and the 1,200 free device minutes a month still cover their sessions.

If you build agents for your own customers, [Revyl's partner program](https://revyl.com/partners/) gives each customer a Revyl workspace that your agent works in through the CLI, its MCP server or the API.

If you're choosing how agents should use your own tool, [MCP vs API vs CLI](https://revyl.com/blog/mcp-vs-api-vs-cli/) compares the context cost of each access route and explains where skills fit. Our post on [agent verification](https://revyl.com/blog/what-is-agent-verification/) explains the check Revyl's skills teach an agent to run.

## What else do people ask about agent skills?

### What are Claude skills?

Claude skills are folders of instructions, scripts and resources that Claude loads when a task needs them. A skill can teach Claude to work with PDF files or to apply a team's brand guidelines to documents ([Claude Help Center](https://support.claude.com/en/articles/12512176-what-are-skills)). They use the agent skills format, which Anthropic developed and then published as an open standard ([Anthropic](https://claude.com/blog/skills)), so the same folders carry over to other agents that read the standard. Bundled scripts and tool dependencies still need a host that can run them, and Claude Code adds frontmatter options of its own, such as control over who can invoke a skill, which other agents may ignore.

### Do agent skills work in Codex?

Yes. Codex skills build on the open agent skills standard, and standalone skills work in the ChatGPT desktop app, the Codex CLI and the IDE extension ([Codex skills](https://developers.openai.com/codex/skills)). Codex reads skills from `.agents/skills` in the repository and from `$HOME/.agents/skills`. To call a skill yourself, type `@` in ChatGPT, or run `/skills` or type `$` in the Codex CLI or the IDE extension; Codex can also pick a skill when its description matches the task ([OpenAI, Build skills](https://learn.chatgpt.com/docs/build-skills)).

### What else does Revyl do?

Revyl is verification infrastructure for cloud agents. Skills are one route in; the CLI, an MCP server and one plugin for Codex and Claude Code are the others. Through any of them, an agent runs the application it changed in a web browser, an iOS simulator, an Android emulator or a macOS computer, and each session or test leaves a report it can read back. With Proof of Changes enabled, pull requests with a build get a proof status by default. Atlas holds the screens and states observed in web, iOS and Android sessions, for people and agents to read. Free includes up to 1,200 free device minutes a month on iOS, Android and web, with no card, and 2 devices at once, with unlimited developers and agents ([pricing](https://revyl.com/pricing/)).

## Start on Revyl

Revyl is verification infrastructure for cloud agents.

- Web browsers, iOS simulators, Android emulators and macOS computers.
- Atlas: the behavior observed in web, iOS and Android sessions.
- Free plan: Up to 1,200 free device minutes every month, no card, 2 devices at once, and unlimited developers and agents, no seat fees.
- Pro: pay as you go, no monthly fee, with 10 devices at once.
- Revyl computers, macOS workspaces where agents build and test apps, come with Pro. Add a card to unlock them, and your 1,200 free minutes still cover their sessions.
- Proof of changes, once enabled: by default, a status on each PR with a build.
- A proof that exercised the change shows its score and screenshots, and on web, iOS and Android its recording.
- Agents include Claude Code, Codex, GitHub Copilot coding agent, Devin and Amp. See Agents and MCP for setup instructions.
- They connect through the Revyl CLI, MCP server, skills or plugin.

Sources: [Pricing](https://revyl.com/pricing/) · [Proof of changes](https://docs.revyl.com/agents/proof) · [Agents and MCP](https://docs.revyl.com/agents/mcp)

One command installs the Revyl CLI:

```sh
curl -fsSL https://revyl.com/setup | sh
```

[Start free](https://app.revyl.ai/signup) · [Pricing](https://revyl.com/pricing/)

Building agents into your own product? [Integrate Revyl into your agent platform](https://docs.revyl.com/partners).
