spark init
Interactive setup for IDE integration.
Synopsis
spark initDescription
spark init walks you through setting up Spark for your IDE and the current project (or globally). It prompts you to pick a scope (project or global) and a set of IDEs (Claude Code, and/or "Other" for Cursor / Windsurf / etc.), then installs the appropriate integration for each.
For Claude Code, spark init runs:
claude plugin marketplace add memcoai/marketplace
claude plugin install spark-cli@MemCo --scope <project|user>For Other IDEs (Cursor, Windsurf, Codex CLI, etc.), spark init installs agent skills via the skills CLI (opens in a new tab) — by default npx skills add memcoai/spark-cli-skills (or memcoai/spark-teams-cli-skills for Teams accounts).
If you want a faster, non-interactive setup that always uses project scope, use spark enable instead.
You only need to run spark init once per project (or once globally). After setup, your AI agent will use Spark on every task.
Arguments
This command has no required arguments.
Flags
This command has no command-specific flags. Global flags apply.
Interactive prompts
- Scope — Project (only this directory) or global (all projects).
- IDE selection — Multi-select between Claude Code and Other (Cursor / Windsurf / Codex / etc.).
What it installs
| IDE selection | Integration |
|---|---|
| Claude Code | spark-cli@MemCo plugin from the memcoai/marketplace Claude Code marketplace |
| Other | Agent skills via npx skills add memcoai/spark-cli-skills (or memcoai/spark-teams-cli-skills for Teams) |
The variant (spark-cli vs spark-teams-cli) is detected from your authenticated organization.
Examples
Interactive setup
cd my-project
spark initFollow the prompts to choose scope and IDEs.
Typical first-run flow
# 1. Install the CLI
npm install -g @memco/spark
# 2. Authenticate
spark login
# 3. Set up IDE integration
spark init
# 4. Start coding — your agent now uses Spark on every taskVerify setup
spark statusAfter running spark init, use spark status to confirm the integration is active and up to date.
Related commands
spark enable— Quick non-interactive project setupspark disable— Remove Spark from the current projectspark status— Verify setup and configuration- Global Flags — Flags available on all commands