cyrus-setup-prerequisites

SkillAI & models

This skill lets your AI check a machine for the tools Cyrus needs and install any that are missing. It covers Node.js, jq, the gh CLI, and the cyrus-ai package, so setup happens without you tracking down each tool yourself.

Available today. Use it from your connected AI after setup.

Add the skill, then ask your AI to check for the Cyrus prerequisites. It will see what is already installed and install whatever is missing.

Then ask your AI: use the cyrus-setup-prerequisites skill

What your AI can do with it

  • Check whether Node.js, jq, gh CLI, and cyrus-ai are installed
  • Install Node.js when it is missing
  • Install jq when it is missing
  • Install the gh CLI when it is missing
  • Install the cyrus-ai package
  • Get Cyrus ready to run by putting all its required tools in place

What this skill tells your AI

The instructions your AI receives, as published by cyrusagents/cyrus in skills/cyrus-setup-prerequisites/SKILL.md and read by ahel’s review.

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:

DependencymacOSLinux/Ubuntu
Node.jsbrew install nodecurl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - && sudo apt install -y nodejs
jqbrew install jqsudo apt install -y jq
ghbrew install ghSee 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)

Signals

GitHub stars
802
Forks
166
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
cyrus-setup-prerequisites
Source
github.com/cyrusagents/cyrus