add-linearlisted
Install: claude install-skill sliamh11/Deus
# Add Linear
This skill adds Linear project management tools to host-side Claude Code sessions via the `@tacticlaunch/mcp-linear` MCP server. Once installed, you can create/update issues, manage projects and cycles, search your backlog, and track workflow states from conversation.
## Phase 1: Pre-flight
### Check if already configured
```bash
grep -q '"linear"' ~/.claude/mcp.json 2>/dev/null && echo "ALREADY_CONFIGURED" || echo "NOT_CONFIGURED"
grep -q "LINEAR_API_TOKEN" ~/deus/.env 2>/dev/null && echo "TOKEN_SET" || echo "NO_TOKEN"
```
- If both configured and token set, skip to Phase 3 (Verify).
- If configured but no token, skip to Phase 2 step 1 only.
- Otherwise, continue to Phase 2.
## Phase 2: Install and Configure
### Step 1: Get API token
Tell the user:
> I need a Linear Personal API key. This is a one-time setup:
>
> 1. Open Linear → Settings → API → Personal API keys
> 2. Click "Create key", give it a label like "Deus"
> 3. Copy the token (format: `lin_api_...`) and paste it here
Once the user provides the token:
Add to `~/deus/.env`:
```bash
grep -q LINEAR_API_TOKEN ~/deus/.env || echo 'LINEAR_API_TOKEN=<pasted-value>' >> ~/deus/.env
```
Verify it's gitignored:
```bash
cd ~/deus && git check-ignore .env || echo "WARNING: .env is NOT gitignored"
```
### Step 2: Configure MCP
Read `~/.claude/mcp.json`, merge the new entry into the existing `mcpServers` object:
```json
"linear": {
"command": "/bin/sh",
"args": ["-c", "set -a && . $HOME/deus/.env &&