Raw GraphQL API

SkillProductivity

Execute raw GraphQL queries and mutations against the Linear API. Use for advanced operations not covered by other commands.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Raw GraphQL API skill

What this skill tells your AI

The instructions your AI receives, as published by nesszer/linear-cli in skills/linear-api/SKILL.md and read by ahel’s review.

# 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

Signals

GitHub stars
133
Forks
18
Last commit
Jul 2026

ahel review

  • S4info
    community integration — published by nesszer, not linear

Automated review, not a security audit. Ruleset v1.

Advanced
Catalog kind
skill
Gateway key
linear-api
Source
github.com/nesszer/linear-cli