Stackgate CLI

Your tools and skills. In the AI clients you use.

Connect your assistant to Stackgate, manage reusable skills from your chat, and keep published instructions up to date on your machine.

For Codex, Cursor, Claude Code, and Claude Desktop. Skill and rule support varies by client.

Start with your personal skill library

stackgate setup --private-global --skills

Choose your AI clients during setup. Approve access in your browser, then restart the clients to load Stackgate.

One CLI for connections and shared instructions.

Connect through MCP

Add a Stackgate MCP connection to your selected AI clients. Use your enabled cloud integrations through the gateway and run supported device-local tools on your machine.

Manage skills in your chat

With skills management enabled, ask your assistant to find, read, create, update, or archive skills. Personal changes create private releases. Company changes stay as drafts until published.

Bring published skills to your projects

Choose your personal library or company content, and register projects for targeted instructions. Sync supported skills and rules into the client directories where they are discovered.

Explore skills and rules

Install once. Choose what to connect.

macOS and Linux

curl -fsSL https://stackgate.ai/install | bash

With npm, including Windows

npm install --global @stackgate/cli

The npm installation requires Node.js 22.13 or later. The macOS and Linux installer can install a private Node runtime when needed.

Connect your clients and personal library

Select your AI clients and approve access in your browser. This command requests skills management through MCP and selects your private global skills for syncing.

stackgate setup --private-global --skills

For company content, select the company you have access to. Register projects separately for project-specific assignments. A schedule without selected content has nothing to install.

Automatic sync

Keep skills current without copying files.

After successful setup, the CLI checks for published content every 15 minutes in the background. It syncs the libraries and project assignments you selected. Your computer needs to be running and connected to reach Stackgate.

Local edits are flagged as conflicts rather than silently overwritten. You can preview changes, sync immediately, pause automatic sync, or change its interval. Your AI client may need a restart to discover new skills.

Preview changes

stackgate sync --check

Sync now

stackgate sync

Pause background sync

stackgate sync pause

Resume background sync

stackgate sync resume

Check every 30 minutes

stackgate sync configure --interval 30

See installed content and conflicts

stackgate status

Questions

Do I need to set up a cron job?

No. Setup configures a scheduler for your account: launchd on macOS, a systemd user timer on Linux, or Task Scheduler on Windows. If your environment cannot run it, you can still use stackgate sync manually.

Does MCP access install my skills?

MCP lets your assistant work with the skill library. CLI sync installs published instructions into supported client directories. Enable both when you want to manage skills from chat and use their local copies.

Does this work with every AI client?

Setup supports Codex, Cursor, Claude Code, and Claude Desktop MCP connections. Local skill and rule installation depends on the client. Claude Desktop Chat and Cowork content requires manual export; an MCP connection alone does not install local skills there.

How do company skills reach my team?

Company changes made through the skills MCP are drafts. An authorized publisher releases them through the company publishing process. Members sync published content according to their selected company and project assignments.

How do I update or check my installation?

Run stackgate update to install the latest published CLI. Use stackgate doctor to check connections, and stackgate status to inspect content sync. Restart configured AI clients after updating.

Connect your next AI session.

Install the CLI, choose your clients, and bring your instructions with you.

Install the CLI