cyrus-setup-prerequisites
Original:🇺🇸 English
Translated
Check and install prerequisites for Cyrus — Node.js, jq, gh CLI, and the cyrus-ai npm package.
2installs
Sourceceedaragents/cyrus
Added on
NPX Install
npx skill4agent add ceedaragents/cyrus cyrus-setup-prerequisitesTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →CRITICAL: Never use , , or tools on or any file inside . Use only commands (, , etc.) to interact with env files — secrets must never be read into the conversation context.
ReadEditWrite~/.cyrus/.env~/.cyrus/Bashgrepprintf >>Setup Prerequisites
Checks system prerequisites and installs .
cyrus-aiStep 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:
bash
# Node.js >= 18
node --version
# jq (required for Claude Code parsing)
jq --version
# GitHub CLI (required for GitHub integration)
gh --versionFor each missing dependency, provide the install command:
| Dependency | macOS | Linux/Ubuntu |
|---|---|---|
| Node.js | | |
| jq | | |
| 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 ). Wait for user confirmation before installing.
unameStep 3: Check for agent-browser (Optional)
If the user selected any integration surface (Linear, GitHub, Slack), check for :
agent-browserbash
which agent-browserIf installed, ensure it's up to date:
bash
npm update -g agent-browserIf not found, inform the user:
is optional but enables automated app creation for Linear/GitHub/Slack. Without it, you'll be guided through manual setup steps instead.agent-browserInstall 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:
bash
which cyrusIf not found, install using the user's preferred package manager:
bash
# npm
npm install -g cyrus-ai
# pnpm
pnpm install -g cyrus-ai
# bun
bun install -g cyrus-ai
# yarn
yarn global add cyrus-aiVerify installation:
bash
cyrus --versionStep 5: Ensure ~/.cyrus directory exists
bash
mkdir -p ~/.cyrusIf already exists, note it and inform the user that existing values will be preserved.
~/.cyrus/.envCompletion
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)