npm package: @helmai/cli
Description: Helm CLI - Intelligent context injection for AI coding assistants
Latest version: 1.2.44

# Helm CLI

Intelligent context injection for AI coding assistants.

Helm hooks into Claude Code and Cursor to automatically inject your project rules, knowledge, and team context into every prompt — without you having to think about it.

## Installation

### macOS / Linux

```bash
curl -fsSL https://tryhelm.ai/install | bash
```

### All platforms (macOS, Linux, Windows)

```bash
npm install -g @helmai/cli
```

Also works with `pnpm add -g @helmai/cli` and `bun add -g @helmai/cli`.

**Requirements:** Node.js 18+ (npm install only)

## Getting Started

```bash
helm init
```

This detects your IDE and coding agents, authenticates via browser, and connects to [Helm](https://tryhelm.ai) for team rule sync and Admiral agent orchestration.

## Commands

### Core

| Command | Description |
|---|---|
| `helm init` | Set up Helm in your project or globally |
| `helm status` | Show current config, detected IDEs, and stack |
| `helm dashboard` | Open the Helm dashboard |
| `helm update` | Update to the latest version |
| `helm logout` | Clear saved credentials |

### Rules & Knowledge

| Command | Description |
|---|---|
| `helm rule add <text>` | Add a rule to `.helm/standing-orders.md` |
| `helm save [title]` | Save a knowledge snippet for context injection |
| `helm sync` | Pull rules from your organization |
| `helm sync --push` | Push local rules to your organization |
| `helm link` | Link this project to Helm |
| `helm project` | Create or link a project to Helm Admiral |

### MCPs

| Command | Description |
|---|---|
| `helm mcps` | Show MCP status |
| `helm mcps list` | Browse the full MCP catalog |
| `helm mcps install <name>` | Install an MCP |
| `helm mcps remove <name>` | Remove an MCP |
| `helm mcps configure <name>` | Set API key / config for an MCP |

### Other

| Command | Description |
|---|---|
| `helm qc` | Run quality checks on staged files |
| `helm clean` | Remove Helm hooks and config traces |
| `helm skills promote <skill>` | Promote a skill for your team |

## `helm init` Options

```bash
helm init                        # Interactive setup
helm init --yes                  # Non-interactive, auto-confirm
helm init --team <invite-token>  # Join an existing team
```

## Supported IDEs

- **Claude Code**
- **Cursor**

## Features

- **Context injection** — Automatically injects project rules, knowledge, and team context into every AI prompt
- **Team rule sync** — Share and sync rules across your organization
- **Admiral** — Orchestrate multiple AI coding agents from a single dashboard
- **MCP management** — Install, configure, and manage Model Context Protocol servers
- **Quality checks** — Run pre-commit quality checks powered by your project rules

## Sprite Execution (MVP)

When a run is marked for hosted execution, the daemon can execute it in a Sprite sandbox.

Required environment variables on the runner machine:

- `SPRITE_TOKEN` (or `SPRITES_TOKEN`)

Optional:

- `SPRITES_API_URL` (defaults to `https://api.sprites.dev`)
- `HELM_SPRITE_HOURLY_RATE_USD` (used for estimated compute-cost events)

Agent provider variables should also be available to the daemon for in-sandbox runs:

- `ANTHROPIC_API_KEY`
- `OPENAI_API_KEY`

## License

MIT