Skip to main content
Install the Momentic skill so coding assistants get explicit instructions for using momentic MCP. Without it, agents are more likely to make malformed tool calls. Run this after configuring the MCP server. For full setup, see MCP. When you use an agent flag such as --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.
npx momentic install-skills [options] [installPath]
  • [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
npx momentic install-skills --cursor

--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
npx momentic install-skills --claude-code

--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
npx momentic install-skills --codex

--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
npx momentic install-skills --opencode

--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
npx momentic install-skills --copilot

Custom path

Install into a custom directory. The command creates SKILL.md in the given path exactly as provided. Custom paths do not use git-root detection.
npx momentic install-skills ~/my/custom/skills/momentic-test