<< All versions

Skill v1.0.0

currentAutomated scan100/100
nesszer/linear-cli/linear-api
──Details
PublishedNovember 2, 2026 at 11:45 PM
Content Hashsha256:52991399b5355f30...
Git SHAa41205e50faa
──Files
Files (1 file, 878 B)
SKILL.md878 Bactive
SKILL.md · 42 lines · 878 B

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 metadata: version: "1.0.0"


Raw GraphQL API

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 -

Flags

FlagPurpose
-v key=valGraphQL variables
--output jsonJSON output
--compactCompact JSON

Exit Codes

0=Success, 1=Error, 2=Not found, 3=Auth error

All versions