From raisely
Ensures the Raisely CLI (`@raisely/cli`) is installed before running any Raisely campaign work. Checks for the `raisely` binary and installs the latest version via npm if missing, or installs a user-specified version when provided. Use this before any task that runs `raisely init`, `raisely update`, `raisely deploy`, `raisely create`, `raisely local`, `raisely start`, `raisely list`, or any other `raisely` command, or before pulling, pushing, syncing, deploying, previewing, or scaffolding a Raisely campaign or custom component locally.
How this skill is triggered — by the user, by Claude, or both
Slash command
/raisely:raisely-ensure-cliThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run this skill at the very start of any task that touches a Raisely campaign locally, before invoking the `raisely` binary or guiding the user through one of its commands.
Run this skill at the very start of any task that touches a Raisely campaign locally, before invoking the raisely binary or guiding the user through one of its commands.
Trigger this skill before any of the following:
raisely <anything> (init, update, deploy, create, local, start, list, login, logout).raisely command.Skip this skill only when the task is purely about Raisely API calls or MCP tools and never shells out to raisely.
Run:
raisely --version
If it prints a version, you're done. Continue with the user's task.
If the command fails with command not found (or exits non-zero because the binary is missing), continue to step 2.
Default to the latest version on npm.
Use a different version only when the user explicitly asked for one (for example "install raisely cli 2.3.1" or "use @raisely/[email protected]"). When unsure, ask the user once before installing a non-latest version.
Run:
node --version && npm --version
If either is missing, stop and tell the user the Raisely CLI needs Node.js (v13+) and npm before it can be installed. Do not try to install Node yourself.
For the latest version:
npm install -g @raisely/cli
For a specific version requested by the user:
npm install -g @raisely/cli@<version>
If the install fails with EACCES or another permission error, retry with sudo:
sudo npm install -g @raisely/cli
Ask the user before running anything with sudo.
Run raisely --version again and confirm it prints a version. If it still fails, surface the install output to the user and stop.
Once the CLI is available, return to the work that triggered this skill (raisely local, raisely deploy --force, etc.). Do not re-run the check on every subsequent command in the same session; one successful check per session is enough.
@raisely/cli; the binary is raisely.raisely login) is a separate concern handled by individual commands. This skill does not run raisely login; let the command that needs auth trigger the OAuth flow.nvm, install into the currently active Node version.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub raisely/claude-plugin --plugin raisely