> ## Documentation Index
> Fetch the complete documentation index at: https://commander-docs.cyshel.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrations

> GitHub, GitLab, Linear, Slack, and Claude account connections.

## Claude Accounts

Commander supports multiple Claude accounts with three authentication methods:

| Method            | Description                                                                                                        |
| ----------------- | ------------------------------------------------------------------------------------------------------------------ |
| **CLI Detection** | Detects your locally logged-in Claude CLI session. Shows subscription type (Pro, Max, Team) and organization name. |
| **OAuth Login**   | Browser-based subscription login                                                                                   |
| **API Key**       | Manual key entry (stored in macOS Keychain)                                                                        |

### Multi-Account Support

You can add multiple Claude accounts to Commander:

* **Default account** — Set one account as the default for all repositories
* **Per-repository override** — Assign a specific account to each repository in Settings → Agent
* **Resolution order:** repository override → default account → best available

### Usage Limits

Each account tracks usage:

* **Usage limit** — Set a maximum spend (USD) per account
* **Current usage** — Real-time spend tracking
* **Subscription info** — For CLI accounts, Commander shows subscription type (pro, max, team) and organization

## GitHub

Connect GitHub to:

* List and link pull requests to workspaces
* View PR details (title, body, additions, deletions, changed files)
* View CI check statuses
* View and navigate PR review comments
* Reply to PR comments directly from Commander
* Auto-resolve PR comments (optional)
* Auto-fix CI failures (optional, with retry limit)

**Setup:** Settings → Integrations → Connect GitHub (OAuth flow).

## GitLab

Connect GitLab to:

* Use GitLab-hosted repositories with Commander
* Link workspaces to GitLab projects

**Setup:** Settings → Integrations → Connect GitLab (OAuth flow).

## Linear

Connect Linear to:

* Search and browse Linear issues
* Create workspaces from Linear issues
* View issue details (title, status, assignee, priority, labels)
* Link workspaces to issues
* Track issue status changes via manager events

**Setup:** Settings → Integrations → Connect Linear (OAuth flow).

## Slack

Connect Slack to:

* Read channel messages
* Send messages to channels
* Search channels
* Used by the manager for team communication

**Setup:** Settings → Integrations → Connect Slack (OAuth flow).

## Token Storage

All OAuth tokens and API keys are stored in the **macOS Keychain**. Commander only stores Keychain references (`tokenRef`, `apiKeyRef`), never raw credentials. Tokens survive app updates and reinstalls.

## GitHub Actions

View and manage GitHub Actions workflows directly from Commander:

* **View workflows** — See all workflows configured for your repository
* **View runs** — Monitor recent workflow runs with status and conclusion
* **View jobs** — Drill into individual jobs within a run
* **Dispatch** — Trigger workflows manually with custom inputs
* **Cancel** — Stop running workflow runs
* **Pin workflows** — Pin frequently-used workflows for quick access in repository settings
