# Agent skills

Install Mojimoto's skills into Claude Code, Cursor, Codex or any agent that reads Agent Skills, so it knows how to model content, build a front end and launch a rewrite.

A skill is a folder with a `SKILL.md` file that teaches a coding agent one kind of job. The agent keeps each skill's name and description in mind and reads the rest only when that job comes up, so four skills cost it very little until they are needed.

Mojimoto publishes its skills in the open [Agent Skills](https://agentskills.io) format, which Claude Code, Cursor, Codex and most other coding agents read.

## Install them

Run this in your site's repository:

```bash
npx skills add https://mojimoto.com
```

It asks which skills you want and which agents to install them for, then writes each one into that agent's skills folder: `.claude/skills/` for Claude Code. Commit them, and everyone who works on the repository gets them.

Run it again to pick up changes.

## What you get

| Skill | The agent uses it to |
| --- | --- |
| `mojimoto` | Connect to a project, follow the rules that always hold, and choose one of the other three. |
| `mojimoto-content-modelling` | Design or change content types and fields: formats, page sections as blocks, shared content as references. |
| `mojimoto-frontend` | Read content in Next.js, Nuxt, React, Vue, Laravel or plain `fetch`, and work out why content is missing or stale. |
| `mojimoto-releases` | Rewrite a page or a whole site and launch it in one go, then retire the content it replaced. |

They are short on purpose. Each one holds the rules an agent gets wrong without being told, and points at the docs page for the rest.

## Skills, llms.txt and the MCP server

They do different jobs, and they work best together.

| | What it is | When the agent reads it |
| --- | --- | --- |
| Skills | How to do a job: the steps, in order, and what to check. | When the job comes up. |
| [llms.txt](/docs/ai/overview#llmstxt) | The full reference: every endpoint and field type. | When it needs a detail. |
| The [MCP server](/docs/ai/mcp) | A live connection to your project. | Every time it reads or writes content. |

A skill does not connect the agent to your project. For that, add the MCP server: `npx @mojimoto/cli init` does it in one command, and also saves your project's content model beside the `mojimoto` skill. `init` leaves a skill that is already there alone, so the two can be run in either order. See [Claude Code](/docs/ai/claude-code).

## Install them by hand

The skills are plain files at a fixed address. The list of them is at:

```bash
curl https://mojimoto.com/.well-known/agent-skills/index.json
```

```json
{
  "$schema": "https://schemas.agentskills.io/discovery/0.2.0/schema.json",
  "skills": [
    {
      "name": "mojimoto",
      "type": "skill-md",
      "description": "Work with a Mojimoto headless CMS project. ...",
      "url": "/.well-known/agent-skills/mojimoto/SKILL.md",
      "digest": "sha256:c08daaad..."
    }
  ]
}
```

Each skill is at `/.well-known/agent-skills/{name}/SKILL.md`. Save it as `{name}/SKILL.md` in your agent's skills folder:

```bash
mkdir -p .claude/skills/mojimoto-releases
curl -o .claude/skills/mojimoto-releases/SKILL.md \
  https://mojimoto.com/.well-known/agent-skills/mojimoto-releases/SKILL.md
```

`digest` is the SHA-256 of the file, so a tool can check it arrived as it was published.

## Try one

With the skills installed and the MCP server connected, ask for a job in plain words:

```text
We are rebuilding the contact page with new components. Set it up as a release
in Mojimoto so the old page stays live until the new one is ready.
```

The agent reads `mojimoto-releases`, creates the release, builds the new entries inside it, and stops to ask before it launches anything.
