# Send Linear CLI to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-linear",
    "name": "Linear CLI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/cipher-shad0w/openclaw-linear",
    "canonicalUrl": "https://clawhub.ai/cipher-shad0w/openclaw-linear",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/openclaw-linear",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-linear",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/api.md",
      "references/document.md",
      "references/issue.md",
      "references/project.md",
      "references/team.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "openclaw-linear",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T23:27:49.015Z",
      "expiresAt": "2026-05-11T23:27:49.015Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-linear",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-linear",
        "contentDisposition": "attachment; filename=\"openclaw-linear-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "openclaw-linear"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openclaw-linear"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-linear",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-linear",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-linear/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-linear/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-linear/agent.md"
  }
}
```
## Documentation

### Linear

A CLI to manage Linear issues from the command line, with git and jj integration.

### Prerequisites

The linear command must be available on PATH. To check:

linear --version

If not installed:

Homebrew: brew install schpet/tap/linear
Deno: deno install -A --reload -f -g -n linear jsr:@schpet/linear-cli
Binaries: https://github.com/schpet/linear-cli/releases/latest

### Setup

Create an API key at https://linear.app/settings/account/security
Authenticate: linear auth login
Configure your project: cd my-project-repo && linear config

### Available Commands

linear auth               # Manage Linear authentication
linear issue              # Manage Linear issues
linear team               # Manage Linear teams
linear project            # Manage Linear projects
linear project-update     # Manage project status updates
linear milestone          # Manage Linear project milestones
linear initiative         # Manage Linear initiatives
linear initiative-update  # Manage initiative status updates
linear label              # Manage Linear issue labels
linear document           # Manage Linear documents
linear config             # Interactively generate .linear.toml configuration
linear schema             # Print the GraphQL schema to stdout
linear api                # Make a raw GraphQL API request

### List and view issues

# List your unstarted issues
linear issue list

# List issues in a specific state
linear issue list -s started
linear issue list -s completed

# List all assignees' issues
linear issue list -A

# View the current branch's issue
linear issue view

# View a specific issue
linear issue view ABC-123

### Create and manage issues

# Create an issue interactively
linear issue create

# Create non-interactively
linear issue create -t "Fix login bug" -d "Users can't log in with SSO" -s "In Progress" -a self --priority 1

# Update an issue
linear issue update ABC-123 -s "Done" -t "Updated title"

# Add a comment
linear issue comment add ABC-123 -b "This is fixed in the latest build"

# Delete an issue
linear issue delete ABC-123 -y

### Start working on an issue

# Pick an issue interactively, creates a git branch and marks it as started
linear issue start

# Start a specific issue
linear issue start ABC-123

# Create a PR with issue details pre-filled
linear issue pr

### Projects and milestones

# List projects
linear project list

# Create a project
linear project create -n "Q1 Launch" -t ENG -s started --target-date 2026-03-31

# List milestones for a project
linear milestone list --project <projectId>

### Documents

# List documents
linear document list

# Create a document from a file
linear document create --title "Design Spec" --content-file ./spec.md --project <projectId>

# View a document
linear document view <slug>

### Teams

# List teams
linear team list

# List team members
linear team members

### Discovering Options

Run --help on any command for flags and options:

linear --help
linear issue --help
linear issue list --help
linear issue create --help

### Using the Linear GraphQL API Directly

Prefer the CLI for all supported operations. The api command is a fallback for queries not covered by the CLI.

### Check the schema

linear schema -o "${TMPDIR:-/tmp}/linear-schema.graphql"
grep -i "cycle" "${TMPDIR:-/tmp}/linear-schema.graphql"
grep -A 30 "^type Issue " "${TMPDIR:-/tmp}/linear-schema.graphql"

### Make a GraphQL request

# Simple query
linear api '{ viewer { id name email } }'

# With variables
linear api 'query($teamId: String!) { team(id: $teamId) { name } }' --variable teamId=abc123

# Complex filter via JSON
linear api 'query($filter: IssueFilter!) { issues(filter: $filter) { nodes { title } } }' \\
  --variables-json '{"filter": {"state": {"name": {"eq": "In Progress"}}}}'

# Pipe to jq
linear api '{ issues(first: 5) { nodes { identifier title } } }' | jq '.data.issues.nodes[].title'

### Using curl directly

curl -s -X POST https://api.linear.app/graphql \\
  -H "Content-Type: application/json" \\
  -H "Authorization: $(linear auth token)" \\
  -d '{"query": "{ viewer { id } }"}'

### Reference Documentation

For detailed subcommand documentation with all flags and options:

issue - Manage Linear issues (list, create, update, start, view, comment, PR, delete)
team - Manage Linear teams (list, create, delete, members, autolinks)
project - Manage Linear projects (list, view, create)
document - Manage Linear documents (list, view, create, update, delete)
api - Make raw GraphQL API requests

### Configuration

The CLI supports environment variables or a .linear.toml config file:

OptionEnv VarTOML KeyExampleTeam IDLINEAR_TEAM_IDteam_id"ENG"WorkspaceLINEAR_WORKSPACEworkspace"mycompany"Issue sortLINEAR_ISSUE_SORTissue_sort"priority" or "manual"VCSLINEAR_VCSvcs"git" or "jj"

Config file locations (checked in order):

./linear.toml or ./.linear.toml (current directory)
<repo-root>/linear.toml or <repo-root>/.linear.toml
<repo-root>/.config/linear.toml
~/.config/linear/linear.toml
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: cipher-shad0w
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T23:27:49.015Z
- Expires at: 2026-05-11T23:27:49.015Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/openclaw-linear)
- [Send to Agent page](https://openagent3.xyz/skills/openclaw-linear/agent)
- [JSON manifest](https://openagent3.xyz/skills/openclaw-linear/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/openclaw-linear/agent.md)
- [Download page](https://openagent3.xyz/downloads/openclaw-linear)