원클릭으로
linear-api
Execute raw GraphQL queries and mutations against the Linear API. Use for advanced operations not covered by other commands.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Execute raw GraphQL queries and mutations against the Linear API. Use for advanced operations not covered by other commands.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Manage issue attachments - link URLs, create, update, delete. Use when attaching files or links to issues.
Manage issue comments - list, create, update, delete. Use when reading or posting comments on issues.
Configure linear-cli - auth (API key + OAuth), workspaces, diagnostics, setup wizard.
Manage Linear sprint cycles - list, create, update, delete, complete. Use when managing cycles.
Mark the current branch's issue as Done. Use as a quick shortcut to close the issue you're working on.
Export Linear data to CSV, Markdown, or JSON. Use when exporting issues or projects.
| 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 |
# 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 -
| Flag | Purpose |
|---|---|
-v key=val | GraphQL variables |
--output json | JSON output |
--compact | Compact JSON |
0=Success, 1=Error, 2=Not found, 3=Auth error