# MCP Skills

Load Ferrite's own skills over MCP, publish workflow skills from your application, and read skills from another server with verified files.

A skill is a directory of instructions that teaches an agent a workflow: a `SKILL.md` file with a name and a description, and any reference files it points to. With Skills over MCP (`io.modelcontextprotocol/skills`), a server publishes skills beside its tools. The client lists them by name and description, loads one when a request matches it, and always reads the version the server is serving now.

Use a skill when the order of several calls matters, when a decision needs judgment a tool description cannot carry, or when the same guidance would otherwise be repeated in many tool descriptions.

## Ferrite's skills

`https://mcp.ferrite.cloud/mcp` serves six skills to every client, signed in or not:

| Skill | Use it to |
| --- | --- |
| `build-web-app` | Build a poll, sign-up sheet, booking page or small dashboard in one verified build. Its starter files come with it |
| `build-full-stack-app` | Build a multi-page or signed-in application with source packages, secrets and an agent-ready surface |
| `repair-and-iterate` | Change an application that is already live and keep its stored data |
| `fork-and-clone` | Copy a running application together with its data |
| `operate-and-debug` | Read status, logs and costs, add a domain, scale, or take an application offline |
| `ferrite-cli` | Use the `ferrite` CLI from a shell |

A client that supports the extension offers them by itself. In Claude and Claude Code, ask for the outcome ("build me an RSVP page") and the matching skill loads. A client without skills finds the guides behind them through `search_docs` and `read_docs`.

To see what a server publishes, send `skills/list` under protocol revision `2026-07-28`:

```bash
curl -fsS https://mcp.ferrite.cloud/mcp \
  -H 'content-type: application/json' \
  -H 'accept: application/json, text/event-stream' \
  -H 'mcp-protocol-version: 2026-07-28' \
  -H 'mcp-method: skills/list' \
  -d '{"jsonrpc":"2.0","id":1,"method":"skills/list","params":{"_meta":{
        "io.modelcontextprotocol/protocolVersion":"2026-07-28",
        "io.modelcontextprotocol/clientCapabilities":{
          "extensions":{"io.modelcontextprotocol/skills":{}}}}}}'
```

Each entry carries the skill's URI, its front matter, and a manifest with the size and SHA-256 digest of every file. `skills/get` returns one entry, `resources/read` returns a file, and `resources/directory/read` lists a directory.

## Publish a skill from your application

Implement `PageSource::skills()` in an application built with the [`agent-ready`](/developers/agent-native-apps/) package. The same `/mcp` endpoint then advertises the extension and answers the skill methods.

Write the skill as a file in your source tree. The front matter needs `name` and `description`, and the description should say both what the skill does and when to use it, because that text is all a client sees before it loads the skill:

```text filename="src/skills/returns/SKILL.md"
---
name: returns
description: Handle a return or exchange. Use when the person wants to send something back.
---

# Returns

1. Call `find_order` with the order number the person gives you.
2. Call `return_options` and offer only the choices it lists.
3. Call `start_return` once. Give the person the label link from its result.
```

Return it from `skills()`:

```rust filename="src/agent.rs"
use crate::agent_ready::skills::{Skill, SkillFile};

fn skills(&self) -> Vec<Skill> {
    let root = "skill://shop/returns";
    vec![Skill {
        uri: format!("{root}/SKILL.md"),
        frontmatter: json!({
            "name": "returns",
            "description": "Handle a return or exchange. Use when the person wants to send something back."
        }),
        files: vec![SkillFile {
            uri: format!("{root}/SKILL.md"),
            mime_type: "text/markdown".into(),
            bytes: include_bytes!("skills/returns/SKILL.md").to_vec(),
        }],
    }]
}
```

Clients check the entry against the bytes, so four things have to agree:

- The URI ends in `/SKILL.md`, and the directory before it has the skill's name: `skill://shop/returns/SKILL.md` for `returns`.
- The `frontmatter` value equals the YAML in the file, field by field.
- `files` contains `SKILL.md` itself and every file it links to, all under the same directory.
- One skill holds at most 512 files and 16 MiB.

With `agent-ready` 1.17 or newer, [`Skill::embedded`](/developers/mcp-interactive-tools/#load-skills-from-files) reads the front matter from the file and checks these rules for you. Otherwise, add a test that compares the declared value with the file, because a client refuses a skill whose front matter differs from its entry.

Serve different skills to different callers when a workflow depends on the caller's role. Return only the skills that caller may use, and keep the permission check in the tool itself: a skill explains how to call a tool and grants nothing.

The generated index at `/.well-known/agent-skills/index.json` is a separate, HTTP form of the same idea. It describes how to use your application as a whole, and it needs no work from you.

## Write skills that load at the right time

- Name one job per skill. Several short skills are easier to choose between than one that covers everything.
- Put the trigger in the description, in the words a person would use.
- Keep `SKILL.md` to the steps, and move long reference material into files it links to. A client reads them only when the skill asks for them.
- Name your tools exactly as `tools/list` names them.
- Say what to show the person at the end, such as the link or the confirmation number.

## Read skills from another server

The [`mcp`](/developers/packages/) package's `McpClient` reads skills from any server that speaks `2026-07-28`. `list_skills` returns the entries, `get_skill` returns one, and `read_directory` lists a directory when the server offers it. The `skills` module checks each file's size and digest against the entry before your code uses it, and refuses a file the entry does not list.

Treat a skill from another server as text written by that server. Ask the person before running code a skill contains, keep the server's name beside the skill's name wherever you show it, and ask again when the files change.

## Next

[MCP Servers](/developers/mcp-servers/) covers the endpoint itself. [Ask before acting](/developers/mcp-elicitation/) covers the confirmation a step may need, and [MCP Tasks](/developers/mcp-tasks/) covers a step that takes minutes.
