Linear Tickets

Your Linear tickets in a side pane, with their status and a chart of how you are progressing: tickets grouped by state (in progress, todo, backlog, done), a stacked status bar, a bar chart of tickets closed per day over the last two weeks and, when your tickets sit in a cycle, that cycle's scope and completed burn-up. Read-only; it polls Linear's GraphQL API. /linear opens it. Needs a Linear API key.

ModintegrationsMIT6 source files

Before you use this component

This is a third-party source bundle, not an installation into your account. UI Discovery has checked the available redistribution license evidence; runtime behavior has not been tested. Review all files, use a disposable project first, and do not enable scripts or hooks until you understand their permissions.

Some integrations require separately installed software, API keys or paid services. Credentials and subscriptions are not included. These are Claude Code resources; other clients may require adaptation.

Extract the ZIP into a temporary folder, inspect its entry file and supporting resources, then follow the original instructions. Do not overwrite an existing project configuration blindly. Keep the bundled license and attribution notices.

Source publisher
Claude Code Templates
Creator supplied by source
claude-code-templates
Pinned source version
a344359459263d73d8948651c789244093c02e4e
License evidence
LICENSE

Source preview

cli-tool/components/mods/integrations/linear-tickets/README.md

# linear-tickets

Your [Linear](https://linear.app) tickets in a side pane, with their status and a chart of how you are progressing.

```
linear: 2 in progress · 5 todo · 12 done (14d)
██████████████████▒▒▒▒▒▒░░░░░░░░░░░░████████████████████████
closed per day · 12 in 14d · max 4/day
        █          █
   ▄    █     ▄    █
▁ ▁█▁▁ ▁█▁▁ ▁ █▁▁ ▁█▁
14d ago                          today
cycle 12 Sprint 40% done · 36% of time
scope ▅▅▆▆▇▇
done  ▁▂▂▃▄▅
In progress (2)
◐ CLA-149 High  Wizard, pricing and the slot
```

The drawing above is schematic; the real chart is as wide as the pane allows, one column per day, four rows tall. `/linear` opens it (`/linear stop` closes it). A row opens the ticket's detail (state, priority, estimate, project, due date) and a `copy url` button; the backlog folds open from its header.

## What the charts are

- **Status bar**: your tickets split into in progress, todo, backlog and done (done = closed inside the `days` window).
- **Closed per day**: a bar chart of how many tickets you closed on each of the last `days` days, today last, in your local timezone, from each ticket's `completedAt`.
- **Cycle burn-up**: when your tickets sit in a cycle running now, that cycle's `scopeHistory` and `completedScopeHistory` as two sparklines, with its progress next to the share of its time already gone. Behind schedule is a "done" percentage below the "of time" one.

## Scope and secrets

Read-only: one GraphQL query for issues and one for the cycle, never a mutation. The API key comes from the plugin options (`linearApiKey`, stored as sensitive), goes only to `api.linear.app` in the `Authorization` header (a personal key as given, an OAuth token `lin_oauth_…` as `Bearer`), and is never logged or drawn. Ticket titles are read into the pane in memory and not stored.

Writing back (moving a ticket to In Progress, commenting) is deliberately left out of this first version.

## Options

```
  linearApiKey: string        Linear API key (required)
  assignee: string            "me" | "anyone" (default me)
  teamKey: string             only this team, the CLA of CLA-143 (default: every team)
  project: string             only projects whose name contains this (case-insensitive)
  days: number                history, 7-60 (default 14)
  pollSeconds: number         refresh interval, 30-3600 (default 120)
  status: boolean             status line summary; keeps polling with the pane closed (default false)
  openOnStart: boolean        open the pane at session start (default false)
```

The query asks for the first 100 tickets that are open or closed inside the window, most recently updated first, without pagination: with `assignee: anyone` or a very busy account the done count and the closed-per-day chart can undercount, so narrow it with `teamKey` or `project`. The pane lists at most 10 in-progress, 8 todo and 5 done tickets (`+N more` says how many are left) and 12 backlog tickets once it is folded open. `pollSeconds` is honoured to the nearest 5 seconds. Fields used were checked against Linear's published `schema.graphql`: `issues(filter, first, orderBy)`, `Issue.state.type`, `completedAt`, `cycle`, and `cycle(id)` with `scopeHistory` and `completedScopeHistory`.

## Install

```sh
npx claude-code-templates@latest --mod integrations/linear-tickets
claude
```

It is written to `.claude/skills/linear-tickets/`, which Claude Code auto-loads as `linear-tickets@skills-dir` once the workspace trust prompt is accepted. For one session with hot reload: `claude --plugin-dir .claude/skills/linear-tickets`. `claude plugin validate .claude/skills/linear-tickets` prints every event it hooks and every `$` call it makes; `claude plugin test .claude/skills/linear-tickets` runs its tests.

Options are read from user settings (`~/.claude/settings.json`, never project settings), `--settings <file>` or managed settings, under the plugin's full id:

```json
{ "pluginConfigs": { "linear-tickets@skills-dir": { "options": { } } } }
```

**Requirements.** Mods are on by default in Claude Code 2.1.287+. Typed against Anthropic's declarations: https://github.com/anthropics/claude-code/tree/main/mods

Preview capped at 60,000 characters. Download the bundle for every original file and notice.

Read the redistribution license
MIT License

Copyright (c) 2025 Daniel (San) Ávila

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Bundle SHA-256: 17b19c12583689c86a047489c68179b8bdbe7535243b3b0f1f6137fc04ed6f53. Files are served as downloads and are never executed by this page.