What are agent skills?

Folders of instructions an agent reads only when a task needs them

Revyl Team8 min readUpdated
A tray of closed folders with one pulled up and open in violet; a SKILL.md sheet rises from it and a dashed arrow carries it to an agent cube.

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 format is an open standard, specified at agentskills.io, and Claude Code and OpenAI’s Codex 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 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 (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 (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 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) 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 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).

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.

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, Codex skills, Capy 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 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 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:

Terminal
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 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). 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, proof on macOS). Device sessions and test runs leave reports the agent can pull with revyl device report or revyl test report. Once Proof of Changes 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 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 compares the context cost of each access route and explains where skills fit. Our post on 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). They use the agent skills format, which Anthropic developed and then published as an open standard (Anthropic), 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). 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).

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).

Revyl Team

Published October 8, 2026