linear-api
Execute raw GraphQL queries and mutations against the Linear API. Use for advanced operations not covered by other commands.
Configure linear-cli - auth (API key + OAuth), workspaces, diagnostics, setup wizard.
$ npx -y skills add nesszer/linear-cli --skill linear-config --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/linear-configContext preview
The summary Claude sees to decide when to auto-load this skill.
Configure linear-cli - auth (API key + OAuth), workspaces, diagnostics, setup wizard.
name: linear-config description: Configure linear-cli - auth (API key + OAuth), workspaces, diagnostics, setup wizard. allowed-tools: Bash
# First-time setup wizard linear-cli setup # Set API key linear-cli config set-key YOUR_API_KEY # Show config linear-cli config show # Auth commands linear-cli auth login # Store API key linear-cli auth oauth # OAuth 2.0 browser flow (PKCE) linear-cli auth oauth --client-id ID # Custom OAuth app linear-cli auth status # Check auth status (shows type, expiry) linear-cli auth revoke # Revoke OAuth tokens linear-cli auth logout # Remove key # Workspaces linear-cli config workspace-add work KEY linear-cli config workspace-list linear-cli config workspace-switch work linear-cli config workspace-current # Profiles linear-cli --profile work i list # Use profile # Diagnostics linear-cli doctor # Check config and connectivity linear-cli doctor --fix # Auto-fix common issues # Shell completions (static) linear-cli config completions bash > ~/.bash_completion.d/linear-cli # Shell completions (dynamic, context-aware) linear-cli completions dynamic bash >> ~/.bashrc linear-cli completions dynamic zsh >> ~/.zshrc linear-cli completions dynamic fish >> ~/.config/fish/completions/linear-cli.fish
| Variable | Purpose | |----------|---------| | `LINEAR_API_KEY` | API key override | | `LINEAR_CLI_PROFILE` | Profile override | | `LINEAR_CLI_OUTPUT` | Default output format | | `LINEAR_CLI_YES` | Auto-confirm prompts | | `LINEAR_CLI_NO_PAGER` | Disable pager |
A fast, comprehensive command-line interface for Linear built in Rust. Manage issues, projects, cycles, sprints, documents, and more -- entirely from your terminal.
Execute raw GraphQL queries and mutations against the Linear API. Use for advanced operations not covered by other commands.
Manage issue attachments - link URLs, create, update, delete. Use when attaching files or links to issues.
Bulk operations on Linear issues. Use when updating multiple issues at once.
Manage issue comments - list, create, update, delete. Use when reading or posting comments on issues.
Create Linear issues. Use when creating bugs, tasks, or feature requests.
Manage Linear sprint cycles - list, create, update, delete, complete. Use when managing cycles.