# Skills

> The skills your agents load from disk — where Cydonia finds them, using them in a session, and switching them off from the library.

A skill is a folder holding a `SKILL.md`, as the Agent Skills format has it.
Cydonia runs your agent, and the agent loads its skills: a skill that works when
you run the agent in a terminal works in a Cydonia session.

Cydonia does not load, inject or run skills. It lists what each agent would
find, and switches a skill off or on by writing that agent's own settings.

## Using one

Type `/` in a session's message field. The list is the commands the agent
advertises, and an agent that offers its skills as commands lists them there.
An agent can also pick a skill on its own when a task calls for it.

## Where they are found

Skills are looked for under each agent's home, under your home directory and in
every open project. "Up to the repository" means the project's directory and
each one above it, up to the root of its git repository.

| Agent | Personal | Project |
| --- | --- | --- |
| Claude Code | `~/.claude/skills`, `~/.claude/skills/synced/*` | `.claude/skills`, up to the repository |
| Codex | `~/.agents/skills` | `.agents/skills`, up to the repository |
| Gemini CLI | `~/.gemini/skills`, `~/.agents/skills` | `.gemini/skills`, `.agents/skills`, in the project |
| Cursor | `~/.cursor/skills`, `~/.agents/skills`, `~/.claude/skills`, `~/.codex/skills` | `.agents/skills`, `.cursor/skills`, `.claude/skills`, `.codex/skills`, in the project |
| OpenCode | `~/.config/opencode/skills`, `~/.claude/skills`, `~/.agents/skills` | `.opencode/skills`, `.claude/skills`, `.agents/skills`, up to the repository |
| pi | `~/.pi/agent/skills`, `~/.agents/skills` | `.pi/skills` in the project; `.agents/skills` in the project and every directory above it |

An agent's home follows its variable where it has one: `CLAUDE_CONFIG_DIR`,
`CODEX_HOME`, `GEMINI_CLI_HOME` and `PI_CODING_AGENT_DIR`.

- Each folder directly under a skills directory is one skill. Under pi's, a
  `SKILL.md` at any depth is one, and the folders inside it are its own.
- A skill is named by the `name` in its `SKILL.md` front matter, or by its
  folder.
- Claude Code's plugins that are switched on contribute the `skills` folder of
  each plugin, named `plugin:skill`.
- Hidden folders are skipped; symlinked ones are followed.

## The library

**Library › Skills** lists every skill found, with its description, the
project it belongs to (none for a personal one), the agent that reads it and
its folder. Opening the tab scans the disk again.

The switch on a row writes the setting the agent itself reads:

| Agent | Setting | File written |
| --- | --- | --- |
| Claude Code | `skillOverrides`: `"<name>": "off"` | the project's `.claude/settings.local.json`; `~/.claude/settings.json` for a personal skill |
| Codex | `[[skills.config]]` with the skill's `path` and `enabled = false` | `~/.codex/config.toml` |
| Gemini CLI | `skills.disabled`, a list of names | the project's `.gemini/settings.json`; `~/.gemini/settings.json` for a personal skill |
| OpenCode | `permission.skill`: `"<name>": "deny"` | the project's `opencode.json`; `~/.config/opencode/opencode.json` for a personal skill |
| pi | `skills`: `"-<path>"` | the project's `.pi/settings.json`; `~/.pi/agent/settings.json` for a personal skill |

A skill switched off in any file the agent reads shows as off, including one
Cydonia does not write, such as a project's committed `.claude/settings.json`.
Switching it on takes out what Cydonia wrote. Where another file still switches
it off, Claude Code and OpenCode get an override back on (`"on"`, `"allow"`) in
the file Cydonia writes, and Gemini CLI has the name taken out of every file
that lists it.

## Limits

- Skills are listed for the agents you have set up. Antigravity's are not read.
- Cursor's skills, and the skills of Claude Code's plugins, are listed without
  a switch. A plugin is switched on or off in Claude Code.
- OpenCode's 2.x `permissions` array is not read; only `permission.skill`.
- The list is as of the last scan: a skill added while the tab is open shows
  after the tab is opened again.
- A switch reaches the sessions an agent starts afterwards. A session already
  running keeps what its agent read when it started.
- For an agent run through an adapter (Claude Code, Codex), the adapter is what
  reads the skills. See [How agents run](https://cydonia.sh/docs/agents/install.md#how-agents-run).
