
Linear Api
- 119 installs
- 128 repo stars
- Updated July 24, 2026
- finesssee/linear-cli
Run raw GraphQL queries and mutations against the Linear API for advanced operations not covered by other linear-cli commands.
About
Executes raw GraphQL queries and mutations against the Linear API through linear-cli, including variable passing. A developer uses it for advanced Linear operations that the higher-level CLI commands do not cover.
- linear-cli api query and mutate with -v variable flags
- Escape hatch for operations beyond the standard command set
Linear Api by the numbers
- 119 all-time installs (skills.sh)
- Ranked #1,289 of 3,282 Productivity & Planning skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/finesssee/linear-cli --skill linear-apiAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 119 |
|---|---|
| repo stars | ★ 128 |
| Last updated | July 24, 2026 |
| Repository | finesssee/linear-cli ↗ |
What it does
Run raw GraphQL queries and mutations against the Linear API for advanced operations not covered by other linear-cli commands.
Files
Raw GraphQL API
# 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
| Flag | Purpose |
|---|---|
-v key=val | GraphQL variables |
--output json | JSON output |
--compact | Compact JSON |
Exit Codes
0=Success, 1=Error, 2=Not found, 3=Auth error