Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
finesssee avatar

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-api

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs119
repo stars128
Last updatedJuly 24, 2026
Repositoryfinesssee/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

SKILL.mdMarkdownGitHub ↗

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

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

Exit Codes

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

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.