linear-attachments
Manage issue attachments - link URLs, create, update, delete. Use when attaching files or links to issues.
Execute raw GraphQL queries and mutations against the Linear API. Use for advanced operations not covered by other commands.
$ npx -y skills add nesszer/linear-cli --skill linear-api --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/linear-apiContext preview
The summary Claude sees to decide when to auto-load this skill.
Execute raw GraphQL queries and mutations against the Linear API. Use for advanced operations not covered by other commands.
name: linear-api description: Execute raw GraphQL queries and mutations against the Linear API. Use for advanced operations not covered by other commands. allowed-tools: Bash
# Run a query
linear-cli api query '{ viewer { id name email } }'
# Query with variables
linear-cli api query -v teamId=abc '{ team(id: $teamId) { name } }'
# Run a mutation
linear-cli api mutate -v title="Bug" '
mutation($title: String!) {
issueCreate(input: { title: $title, teamId: "..." }) {
issue { id identifier }
}
}
'
# Pipe query from file
cat query.graphql | linear-cli api query -| Flag | Purpose | |------|---------| | `-v key=val` | GraphQL variables | | `--output json` | JSON output | | `--compact` | Compact JSON |
`0`=Success, `1`=Error, `2`=Not found, `3`=Auth error
A fast, comprehensive command-line interface for Linear built in Rust. Manage issues, projects, cycles, sprints, documents, and more -- entirely from your terminal.
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.
Configure linear-cli - auth (API key + OAuth), workspaces, diagnostics, setup wizard.
Create Linear issues. Use when creating bugs, tasks, or feature requests.
Manage Linear sprint cycles - list, create, update, delete, complete. Use when managing cycles.