linear-cli

Manage Linear issues via CLI with authentication, issue updates, and GraphQL queries.

6|4|Updated Nov 1, 2025
One-click install
npx skills add https://github.com/Montte-erp/montte-nx --skill linear-cli-montte-erp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: linear-cli
Source: https://github.com/Montte-erp/montte-nx/tree/main/.agents/skills/linear-cli
Command: npx skills add https://github.com/Montte-erp/montte-nx --skill linear-cli-montte-erp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @std/path, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill removes the friction of switching between a browser and terminal to manage Linear work items, enabling fast, automatable issue and project workflows directly from the command line.

Core Features & Use Cases

  • Authentication Management: Login, logout, list and print API tokens for workspace credentials.
  • Issue Lifecycle: Create, update, list, view, start, and delete issues including rich markdown descriptions via file flags.
  • Comments, Relations & Attachments: Add, update, list and delete comments, link issues, manage relations, and attach files.
  • Project & Organization Operations: Manage teams, projects, initiatives, labels, cycles and milestones and perform bulk operations or use GraphQL for advanced queries.
  • Use Case: Integrate into CI or developer workflows to auto-create issues from errors, bulk-migrate descriptions from files, or seed projects and labels programmatically.

Quick Start

Create a new issue using a prepared markdown file by running the CLI command that creates an issue with the --description-file flag.

Frequently Asked Questions about linear-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create Linear issues from the command line using a markdown file?

To create Linear issues from the command line, use the CLI to create an issue with the --description-file flag, passing a prepared markdown file to populate the issue's rich text description.

Can I automate Linear issue tracking and updates within a CI workflow?

Yes, you can automate Linear issue tracking in CI workflows by executing CLI commands to auto-create issues from errors, update statuses, and manage labels programmatically during pipeline execution.

What's the best way to run advanced GraphQL queries against Linear without leaving the terminal?

The best way to run advanced GraphQL queries against Linear from the terminal is using the CLI, which supports executing raw GraphQL queries and curl HTTP requests for advanced organization and project operations.

Do I need the linear CLI installed locally to manage issue comments and relations?

Yes, you need the linear CLI available on your PATH or executable via npx to manage issue comments, link relations, and attach files directly from your terminal environment.

How to manage Linear authentication and API tokens for terminal-based workflows?

Manage Linear authentication for terminal workflows by using CLI commands to login, logout, list, and print API tokens, enabling secure credential management for automated branch workflows.