svengau

Linear Watcher — Development skill for Claude Code

Development community

Watch Linear cards and wake Claude Code when one of them needs work.

How to install Linear Watcher

This entry records only its repository, not the path inside it, so there is no exact command to give. Open svengau/linear-watcher and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Linear Watcher does

Watch Linear cards and wake Claude Code when one of them needs work.

Alternatives in Development

  • Galatea Garden Wake Bridge — 独立的 Galatea Garden 智能体唤醒桥:订阅 Garden SSE 事件,并通过可替换的 Runtime Adapter 将消息注入 Codex、Claude Code 等 Agent Runtime 225 ★
  • Job Watcher — Monitor and manage VASP jobs 155 ★
  • Hermes Agent Pixel — Watch your Hermes agent work live as a character in the Pixel Agents office — a push-based bridge integrating 19 ★

README

linear-watcher

Watch [Linear](https://linear.app) cards and wake [Claude Code](https://claude.com/claude-code) when one of them needs work.

It polls (and optionally listens through a webhook) for the issues in `Todo` (or those carrying a given label), and runs `claude -p "/linear SMA-123"` in your repository whenever a new card shows up, a card changes state, or a human comment asks for it.

Zero runtime dependencies — Node builtins only.

Install

npm i -g linear-watcher      # or: npx linear-watcher

Then, from the repository you want Claude to work in:

linear-watcher init          # installs .claude/commands/linear.md
linear-watcher               # start watching

`init` drops a starting-point `/linear` slash command in `.claude/commands/`. It encodes a full ticket workflow (branch, implement, test, PR, reply to reviewers) — read it and adapt it to your project before relying on it.

Authentication

The watcher needs a Linear API key, taken from the first of:

  1. LINEAR_API_KEY in the environment;
  2. env.LINEAR_API_KEY in /.claude/settings.local.json (the file Claude Code already uses, and which is usually gitignored).

Create one at [linear.app/settings/api](https://linear.app/settings/api).

Usage

linear-watcher                    # poll every 10 minutes
linear-watcher --tunnel           # + cloudflared tunnel and Linear webhook
linear-watcher --once --dry-run   # one cycle, never start claude
linear-watcher --help
Option Default Role
--http — start the HTTP server (dashboard, GET /health); implied by --tunnel and PUBLIC_URL
--tunnel — open a cloudflared quick tunnel and register a Linear webhook, so events wake the watcher instantly
--once — run a single cycle and exit (cron, CI)
--dry-run — log what would happen, never start claude
--verbose — explain every decision (see [Troubleshooting](#trouble