--cursor, --claude-code, --codex,
--opencode, or --copilot, Momentic installs the skill locally. If your
current working directory is inside a git repository, it installs at that
repository’s root. If not, it installs in the current working directory.
- [installPath]: Optional target directory. Mutually exclusive with all agent flags. Either provide a path to install to a custom directory, or use one agent flag below, never both.
Options
Use exactly one of these: either a custom[installPath] or one of the agent
flags below.
--cursor
Install into Cursor’s skill directory.
- In a git repository:
<git-root>/.cursor/skills/momentic-test/SKILL.md - Outside git:
<cwd>/.cursor/skills/momentic-test/SKILL.md
--claude-code
Install into Claude Code’s skill directory.
- In a git repository:
<git-root>/.claude/skills/momentic-test/SKILL.md - Outside git:
<cwd>/.claude/skills/momentic-test/SKILL.md
--codex
Install into Codex’s skill directory.
- In a git repository:
<git-root>/.agents/skills/momentic-test/SKILL.md - Outside git:
<cwd>/.agents/skills/momentic-test/SKILL.md
--opencode
Install into OpenCode’s skill directory.
- In a git repository:
<git-root>/.opencode/skills/momentic-test/SKILL.md - Outside git:
<cwd>/.opencode/skills/momentic-test/SKILL.md
--copilot
Install into Copilot (VS Code)‘s skill directory.
- In a git repository:
<git-root>/.github/skills/momentic-test/SKILL.md - Outside git:
<cwd>/.github/skills/momentic-test/SKILL.md
Custom path
Install into a custom directory. The command createsSKILL.md in the given
path exactly as provided. Custom paths do not use git-root detection.