/cyrus-setup-prerequisites
Check and install prerequisites for Cyrus — Node.js, jq, gh CLI, and the cyrus-ai npm package.
$ npx -y skills add cyrusagents/cyrus --skill cyrus-setup-prerequisites --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/cyrus-setup-prerequisites
Context preview
The summary Claude sees to decide when to auto-load this skill.
Check and install prerequisites for Cyrus — Node.js, jq, gh CLI, and the cyrus-ai npm package.
SKILL.md
cyrus-setup-prerequisites.SKILL.mdname: cyrus-setup-prerequisites
description: Check and install prerequisites for Cyrus — Node.js, jq, gh CLI, and the cyrus-ai npm package.
**CRITICAL: Never use `Read`, `Edit`, or `Write` tools on `~/.cyrus/.env` or any file inside `~/.cyrus/`. Use only `Bash` commands (`grep`, `printf >>`, etc.) to interact with env files — secrets must never be read into the conversation context.**
Setup Prerequisites
Checks system prerequisites and installs `cyrus-ai`.
Step 1: Detect Package Manager
If the user hasn't already specified their preferred package manager, ask:
> **Which package manager do you prefer?** npm, pnpm, bun, or yarn?
Store the answer for use in this and subsequent skills.
Step 2: Check System Dependencies
Run the following checks and report results:
# Node.js >= 18
node --version
# jq (required for Claude Code parsing)
jq --version
# GitHub CLI (required for GitHub integration)
gh --version
For each missing dependency, provide the install command:
| Dependency | macOS | Linux/Ubuntu | |-----------|-------|--------------| | Node.js | `brew install node` | `curl -fsSL https://deb.nodesource.com/setup_22.x \| sudo -E bash - && sudo apt install -y nodejs` | | jq | `brew install jq` | `sudo apt install -y jq` | | gh | `brew install gh` | See https://github.com/cli/cli/blob/trunk/docs/install_linux.md |
If all dependencies are present, print a checkmark for each and continue.
If any are missing, offer to install them (detect OS via `uname`). Wait for user confirmation before installing.
Step 3: Check for agent-browser (Optional)
If the user selected any integration surface (Linear, GitHub, Slack), check for `agent-browser`:
which agent-browser
**If installed**, ensure it's up to date:
npm update -g agent-browser
**If not found**, inform the user:
> `agent-browser` is optional but enables automated app creation for Linear/GitHub/Slack. Without it, you'll be guided through manual setup steps instead. > > Install with: `npm install -g agent-browser`
Do NOT block on this — it's optional. Note whether it's available for downstream skills.
Step 4: Install cyrus-ai
Check if already installed:
which cyrus
If not found, install using the user's preferred package manager:
# npm
npm install -g cyrus-ai
# pnpm
pnpm install -g cyrus-ai
# bun
bun install -g cyrus-ai
# yarn
yarn global add cyrus-ai
Verify installation:
cyrus --version
Step 5: Ensure ~/.cyrus directory exists
mkdir -p ~/.cyrus
If `~/.cyrus/.env` already exists, note it and inform the user that existing values will be preserved.
Completion
Print a summary:
Prerequisites:
✓ Node.js v22.x
✓ jq 1.7
✓ gh 2.x
✓ cyrus-ai installed
✓ agent-browser available (or: ⚠ not installed — manual setup mode)
Read more
name: cyrus-setup-prerequisites description: Check and install prerequisites for Cyrus — Node.js, jq, gh CLI, and the cyrus-ai npm package.
**CRITICAL: Never use `Read`, `Edit`, or `Write` tools on `~/.cyrus/.env` or any file inside `~/.cyrus/`. Use only `Bash` commands (`grep`, `printf >>`, etc.) to interact with env files — secrets must never be read into the conversation context.**
Setup Prerequisites
Checks system prerequisites and installs `cyrus-ai`.
Step 1: Detect Package Manager
If the user hasn't already specified their preferred package manager, ask:
> **Which package manager do you prefer?** npm, pnpm, bun, or yarn?
Store the answer for use in this and subsequent skills.
Step 2: Check System Dependencies
Run the following checks and report results:
# Node.js >= 18 node --version # jq (required for Claude Code parsing) jq --version # GitHub CLI (required for GitHub integration) gh --version
For each missing dependency, provide the install command:
| Dependency | macOS | Linux/Ubuntu | |-----------|-------|--------------| | Node.js | `brew install node` | `curl -fsSL https://deb.nodesource.com/setup_22.x \| sudo -E bash - && sudo apt install -y nodejs` | | jq | `brew install jq` | `sudo apt install -y jq` | | gh | `brew install gh` | See https://github.com/cli/cli/blob/trunk/docs/install_linux.md |
If all dependencies are present, print a checkmark for each and continue.
If any are missing, offer to install them (detect OS via `uname`). Wait for user confirmation before installing.
Step 3: Check for agent-browser (Optional)
If the user selected any integration surface (Linear, GitHub, Slack), check for `agent-browser`:
which agent-browser
**If installed**, ensure it's up to date:
npm update -g agent-browser
**If not found**, inform the user:
> `agent-browser` is optional but enables automated app creation for Linear/GitHub/Slack. Without it, you'll be guided through manual setup steps instead. > > Install with: `npm install -g agent-browser`
Do NOT block on this — it's optional. Note whether it's available for downstream skills.
Step 4: Install cyrus-ai
Check if already installed:
which cyrus
If not found, install using the user's preferred package manager:
# npm npm install -g cyrus-ai # pnpm pnpm install -g cyrus-ai # bun bun install -g cyrus-ai # yarn yarn global add cyrus-ai
Verify installation:
cyrus --version
Step 5: Ensure ~/.cyrus directory exists
mkdir -p ~/.cyrus
If `~/.cyrus/.env` already exists, note it and inform the user that existing values will be preserved.
Completion
Print a summary:
Prerequisites: ✓ Node.js v22.x ✓ jq 1.7 ✓ gh 2.x ✓ cyrus-ai installed ✓ agent-browser available (or: ⚠ not installed — manual setup mode)
Your (Claude Code|Codex|Cursor|Gemini) powered (Linear|GitHub|GitLab|Slack) agent.
Repo: cyrusagents/cyrus
Other skills on cyrus.
- /google
Search the web for information. Use when you need to look something up, find current information, or research a topic.
Open skill - /release-core-test
Invoke when dev-testing a Cyrus change that spans CYPACK (edgeworker + CLI) and CYHOST (Vercel-hosted GUI) and the hosted GUI needs to point at an unreleased `cyrus-core` from this repo. Publishes `cyrus-core` (and `claude-runner` if needed) as a `-test.N` prerelease under the
Open skill - /cyrus-setup-claude-auth
Configure Claude Code authentication for Cyrus — API key, OAuth token, or third-party provider.
Open skill - /cyrus-setup-endpoint
Configure the public webhook endpoint for Cyrus — ngrok, Cloudflare Tunnel, or custom URL.
Open skill - /cyrus-setup-github
Configure GitHub for Cyrus — gh CLI login and git config for PRs, with optional webhook setup to enable @mention responses in PR comments, automated rebases and merges, and auto-fixing based on CI failures (coming soon).
Open skill - /cyrus-setup-gitlab
Configure GitLab authentication for Cyrus — glab CLI login and git config for creating merge requests.
Open skill

