# olef skill

Source: https://olef.dev/docs/reference/cli/skill

Generated from **Olef 3.0.2**. [All commands](https://olef.dev/docs/reference/commands) · [Capabilities and requirements](https://olef.dev/docs/reference/capabilities)

These entries describe available commands, not a sequence to run. Check prerequisites before changing app, device, or cloud state. Global options are listed in the [command catalog](https://olef.dev/docs/reference/commands#global-options).

## olef skill

Generate, install, or refresh Agent Skills (claude-code / cursor / codex / gemini / antigravity) at user or project scope

```bash
olef skill --help
```

Output: **source_text_or_json_action**.

| Argument | Description |
| --- | --- |
| `<agent>` | Target agent system. Omit together with `--sync` to refresh every already-installed skill instead Values: `claude-code`, `cursor`, `codex`, `gemini`, `antigravity`. Conflicts with: `sync`. |
| `--out <OUT>` / `-o` | Write the generated SKILL.md to this path (default: print to stdout) Conflicts with: `install`, `sync`. |
| `--install` | Install to the agent's conventional skill directory instead of stdout Conflicts with: `sync`. |
| `--scope <SCOPE>` | Installation/sync scope. User is global; project is relative to the CWD Default: `user`. Values: `user`, `project`. |
| `--sync` | Refresh every already-installed Olef skill to this CLI's version. Unmodified skills are rewritten in place; skills you've hand-edited are left alone and reported — unless you also pass --force |
| `--force` | Allow overwriting a customized or markerless destination. Without this, every install/sync preserves user-authored content |
