skills/cyrus-setup-prerequisites/SKILL.md
Check and install prerequisites for Cyrus — Node.js, jq, gh CLI, and the cyrus-ai npm package.
npx skillsauth add ceedaragents/cyrus cyrus-setup-prerequisitesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
Checks system prerequisites and installs cyrus-ai.
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.
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.
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-browseris 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.
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
mkdir -p ~/.cyrus
If ~/.cyrus/.env already exists, note it and inform the user that existing values will be preserved.
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)
documentation
Configure Slack integration for Cyrus — create a Slack app from manifest, then guide the user to save credentials.
tools
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).
testing
Orchestrate F1 test drives to validate the Cyrus agent system end-to-end across issue-tracker, EdgeWorker, and activity rendering.
tools
Create a Linear OAuth application and configure Cyrus to use it — supports agent-browser automation or guided manual setup.