# Agent skills

> Read when an agent writes code on Sorus. Install the agent skills, see which skill covers each task, and point an agent without skills at llms.txt.

## Example

The agent skills are Sorus's rules for an agent, split by task. The `skills`
command line (<https://skills.sh>) installs them into a project.

```bash
npx skills add frondruntime/sorus
```

## Rules

- `sorus-overview` loads first: it maps every module and names the skill for
  each task, so an agent loads one task's rules, not all of them.
- `node_modules/@frondruntime/sorus/AGENTS.md` wins where it and a skill
  differ: it ships with the installed version, and the skills install from the
  repository.
- An agent without skills reads `/llms.txt`, which links each page's Markdown
  with its description, or `/llms-full.txt`, every page in one file.

## Skills

Each skill is built from `AGENTS.md` and these pages, and a test fails when a
skill differs from them.

| Skill | Loads for |
| --- | --- |
| `sorus-overview` | any work with Sorus, first: every module, its calls, and the skill for each task |
| `sorus-state` | boxes, computed values, models, updates, collections, views, watches, and autoruns |
| `sorus-react-components` | a React component that shows or changes state |
| `sorus-with-effect` | Effect Schema boxes and models, decoding from the wire, and Effect programs |
| `sorus-stages-and-live-data` | writes held until asynchronous work ends, optimistic writes, and state from a request or a socket |
| `sorus-saving-and-history` | snapshots, restore, undo, redo, and a log of every write |
| `sorus-testing-and-errors` | a test of code on Sorus, and an error to trace |
| `sorus-from-mobx` | code moving from MobX |

## See also

- [Start](./index.md): install the packages, and the first realm.
- [Why Sorus](./why.md): why the rules are what they are.
- [Errors and debugging](../guides/errors.md): what an agent sees when it breaks one.
