> ## Documentation Index
> Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> The canonical docs host is https://momentic.ai/docs. Append .md to any page URL for clean Markdown. Fetch https://momentic.ai/docs/llms.txt for the page index and https://momentic.ai/docs/llms-full.txt for every page in one file.
> For an unattended setup, run `npx --yes @momentic/wizard@latest -y --platform web` (use `--platform ios` or `--platform android` for mobile). Never run an interactive command in a non-TTY shell.
> You cannot complete the browser sign-in yourself. Read the API key from the MOMENTIC_API_KEY environment variable, or ask the user to create one at https://app.momentic.ai/settings/api-keys and paste it back.
> Momentic's capability summary for agents is at https://momentic.ai/docs/skill.md. Install the skills with `npx momentic skills --yes` (or `npx momentic-mobile skills --yes` for mobile).
> Tests are YAML files in the user's repository. Use only the step names listed at https://momentic.ai/docs/reference/commands.md and the file structure at https://momentic.ai/docs/core-concepts/file-format.md. Do not invent step names, config keys, or CLI flags.
> Web tests run on Chromium, iOS tests on simulators, and Android tests on emulators. Physical devices are not supported.

# momentic skills

> Install the Momentic skills for your coding agent.

Installs the Momentic skills into your repository and adds an always-on pointer
to your coding agent's instructions file. See
[Coding agent skills](/docs/coding-agents/skills) for what the skills contain and how
updates work.

```bash theme={null}
npx momentic skills
```

Without flags, the command asks which coding agents you use. It preselects the
agents it detects in the repository.

`momentic install-skills` is an alias for `momentic skills`. The old
`--editor <agent>` flag still works and behaves like `--target <agent> --yes`.

## Options

<ParamField path="--target <agent...>" type="string[]">
  Coding agents to install for. Skips the agent prompt. One or more of
  `claude-code`, `cursor`, `codex`, `copilot`, or `opencode`.
</ParamField>

<ParamField path="-y, --yes" type="boolean">
  Skip all prompts. Installs for the agents detected in the repository, or for
  the agents in `--target`.
</ParamField>

## Install location

Inside a git repository, the skills install at the repository root. Outside git,
they install in the current directory.

| Agent         | Skills                      | Pointer                             |
| ------------- | --------------------------- | ----------------------------------- |
| `claude-code` | `.claude/skills/<skill>/`   | `CLAUDE.md`                         |
| `cursor`      | `.cursor/skills/<skill>/`   | `.cursor/rules/momentic-skills.mdc` |
| `codex`       | `.agents/skills/<skill>/`   | `AGENTS.md`                         |
| `copilot`     | `.github/skills/<skill>/`   | `.github/copilot-instructions.md`   |
| `opencode`    | `.opencode/skills/<skill>/` | `AGENTS.md`                         |

The command installs the shared skills (`momentic-spec`, `momentic-maintain`,
`momentic-triage-quarantined-tests`) and `momentic-test`. It keeps skills that
`momentic-mobile skills` or `mo skills` installed.

## Examples

Install for Claude Code and Cursor without prompts:

```bash theme={null}
npx momentic skills --target claude-code cursor
```

Install for the detected agents in CI or an agent shell:

```bash theme={null}
npx momentic skills --yes
```
