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

Linear

  • 165 installs
  • 26.4k repo stars
  • Updated July 24, 2026
  • openai/symphony

Symphony Linear GraphQL skill using linear_graphql client tool for issues, comments, and uploads.

About

Symphony skill for Linear GraphQL work via the linear_graphql client tool that reuses configured Linear auth. Sends one operation per call with query and optional variables JSON. Treats top-level errors array as failure even when the tool completes. Documents introspection patterns for discovering mutations and input shapes. Common workflows cover querying issues by key or id, creating and editing comments, uploading attachments, and managing issue state transitions. Emphasizes narrowly scoped queries requesting only needed fields and progressive discovery through __type introspection when operations are unfamiliar.

  • linear_graphql tool with session-scoped Linear auth from Symphony app-server
  • One GraphQL operation per tool call with variables object support
  • Introspection queries for Mutation fields and input object shapes
  • Issue lookup by key, identifier filter, or internal id
  • Comment create, edit, and attachment upload workflows documented

Linear by the numbers

  • 165 all-time installs (skills.sh)
  • +31 installs in the week ending Jul 26, 2026 (Skillselion tracking)
  • Ranked #636 of 2,719 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
At a glance

linear capabilities & compatibility

Capabilities
linear graphql query · linear issue lookup · linear comment edit · linear attachment upload · graphql introspection
Works with
jira
Use cases
orchestration · project management
npx skills add https://github.com/openai/symphony --skill linear

Add your badge

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

Listed on Skillselion
Installs165
repo stars26.4k
Last updatedJuly 24, 2026
Repositoryopenai/symphony

How do I run Linear GraphQL operations from a Symphony app-server session?

Execute raw Linear GraphQL operations during Symphony app-server sessions using the linear_graphql client tool with session auth.

Who is it for?

Symphony users automating Linear issue reads, comment edits, or attachment uploads via GraphQL.

Skip if: Standalone Linear usage outside Symphony or REST-only Linear integrations.

When should I use this skill?

User needs raw Linear GraphQL during Symphony sessions for comments, uploads, or issue queries.

What you get

Targeted GraphQL query or mutation executed with session auth and errors handled from top-level errors array.

Files

SKILL.mdMarkdownGitHub ↗

Linear GraphQL

Use this skill for raw Linear GraphQL work during Symphony app-server sessions.

Primary tool

Use the linear_graphql client tool exposed by Symphony's app-server session. It reuses Symphony's configured Linear auth for the session.

Tool input:

{
  "query": "query or mutation document",
  "variables": {
    "optional": "graphql variables object"
  }
}

Tool behavior:

  • Send one GraphQL operation per tool call.
  • Treat a top-level errors array as a failed GraphQL operation even if the

tool call itself completed.

  • Keep queries/mutations narrowly scoped; ask only for the fields you need.

Discovering unfamiliar operations

When you need an unfamiliar mutation, input type, or object field, use targeted introspection through linear_graphql.

List mutation names:

query ListMutations {
  __type(name: "Mutation") {
    fields {
      name
    }
  }
}

Inspect a specific input object:

query CommentCreateInputShape {
  __type(name: "CommentCreateInput") {
    inputFields {
      name
      type {
        kind
        name
        ofType {
          kind
          name
        }
      }
    }
  }
}

Common workflows

Query an issue by key, identifier, or id

Use these progressively:

  • Start with issue(id: $key) when you have a ticket key such as MT-686.
  • Fall back to issues(filter: ...) when you need identifier search semantics.
  • Once you have the internal issue id, prefer issue(id: $id) for narrower reads.

Lookup by issue key:

query IssueByKey($key: String!) {
  issue(id: $key) {
    id
    identifier
    title
    state {
      id
      name
      type
    }
    project {
      id
      name
    }
    branchName
    url
    description
    updatedAt
    links {
      nodes {
        id
        url
        title
      }
    }
  }
}

Lookup by identifier filter:

query IssueByIdentifier($identifier: String!) {
  issues(filter: { identifier: { eq: $identifier } }, first: 1) {
    nodes {
      id
      identifier
      title
      state {
        id
        name
        type
      }
      project {
        id
        name
      }
      branchName
      url
      description
      updatedAt
    }
  }
}

Resolve a key to an internal id:

query IssueByIdOrKey($id: String!) {
  issue(id: $id) {
    id
    identifier
    title
  }
}

Read the issue once the internal id is known:

query IssueDetails($id: String!) {
  issue(id: $id) {
    id
    identifier
    title
    url
    description
    state {
      id
      name
      type
    }
    project {
      id
      name
    }
    attachments {
      nodes {
        id
        title
        url
        sourceType
      }
    }
  }
}

Query team workflow states for an issue

Use this before changing issue state when you need the exact stateId:

query IssueTeamStates($id: String!) {
  issue(id: $id) {
    id
    team {
      id
      key
      name
      states {
        nodes {
          id
          name
          type
        }
      }
    }
  }
}

Edit an existing comment

Use commentUpdate through linear_graphql:

mutation UpdateComment($id: String!, $body: String!) {
  commentUpdate(id: $id, input: { body: $body }) {
    success
    comment {
      id
      body
    }
  }
}

Create a comment

Use commentCreate through linear_graphql:

mutation CreateComment($issueId: String!, $body: String!) {
  commentCreate(input: { issueId: $issueId, body: $body }) {
    success
    comment {
      id
      url
    }
  }
}

Move an issue to a different state

Use issueUpdate with the destination stateId:

mutation MoveIssueToState($id: String!, $stateId: String!) {
  issueUpdate(id: $id, input: { stateId: $stateId }) {
    success
    issue {
      id
      identifier
      state {
        id
        name
      }
    }
  }
}

Attach a GitHub PR to an issue

Use the GitHub-specific attachment mutation when linking a PR:

mutation AttachGitHubPR($issueId: String!, $url: String!, $title: String) {
  attachmentLinkGitHubPR(
    issueId: $issueId
    url: $url
    title: $title
    linkKind: links
  ) {
    success
    attachment {
      id
      title
      url
    }
  }
}

If you only need a plain URL attachment and do not care about GitHub-specific link metadata, use:

mutation AttachURL($issueId: String!, $url: String!, $title: String) {
  attachmentLinkURL(issueId: $issueId, url: $url, title: $title) {
    success
    attachment {
      id
      title
      url
    }
  }
}

Introspection patterns used during schema discovery

Use these when the exact field or mutation shape is unclear:

query QueryFields {
  __type(name: "Query") {
    fields {
      name
    }
  }
}
query IssueFieldArgs {
  __type(name: "Query") {
    fields {
      name
      args {
        name
        type {
          kind
          name
          ofType {
            kind
            name
            ofType {
              kind
              name
            }
          }
        }
      }
    }
  }
}

Upload a video to a comment

Do this in three steps:

1. Call linear_graphql with fileUpload to get uploadUrl, assetUrl, and any required upload headers. 2. Upload the local file bytes to uploadUrl with curl -X PUT and the exact headers returned by fileUpload. 3. Call linear_graphql again with commentCreate (or commentUpdate) and include the resulting assetUrl in the comment body.

Useful mutations:

mutation FileUpload(
  $filename: String!
  $contentType: String!
  $size: Int!
  $makePublic: Boolean
) {
  fileUpload(
    filename: $filename
    contentType: $contentType
    size: $size
    makePublic: $makePublic
  ) {
    success
    uploadFile {
      uploadUrl
      assetUrl
      headers {
        key
        value
      }
    }
  }
}

Usage rules

  • Use linear_graphql for comment edits, uploads, and ad-hoc Linear API

queries.

  • Prefer the narrowest issue lookup that matches what you already know:

key -> identifier search -> internal id.

  • For state transitions, fetch team states first and use the exact stateId

instead of hardcoding names inside mutations.

  • Prefer attachmentLinkGitHubPR over a generic URL attachment when linking a

GitHub PR to a Linear issue.

  • Do not introduce new raw-token shell helpers for GraphQL access.
  • If you need shell work for uploads, only use it for signed upload URLs

returned by fileUpload; those URLs already carry the needed authorization.

Related skills

FAQ

What tool do I use for Linear GraphQL?

Use the linear_graphql client tool exposed by Symphony's app-server session with query and optional variables.

How do I discover an unfamiliar mutation?

Run targeted __type introspection on Mutation fields and the specific input object through linear_graphql.

How are GraphQL errors reported?

A top-level errors array means the operation failed even if the tool call itself completed.

This week in AI coding

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

unsubscribe anytime.