Skip to content

Linear CLI integration, context injection, skill reference, and issue management.

CCM score
62 of 100
version
1.1.0
GitHub stars
25
View on GitHub

Own this plugin? Claim it

What it does

  • Includes 3 commands: new-issue, pr, and update-issue
  • Includes 1 skill: linear-cli
  • Includes 2 hooks: hooks.json and linear-context.py

Add marketplace

/plugin marketplace add CaptainCrouton89/crouton-kit

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install linear@crouton-kit

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

Linear CLI

Command-line interface for managing Linear issues directly from the terminal.

Installation & Auth

# Install (npm)
npm install -g @anthropic/linear

# Authenticate
linear auth

Core Commands

Issue Management

List Issues:

# REQUIRED: Set sort via env var (--sort flag is broken)
LINEAR_ISSUE_SORT=priority linear issue list --team DEV -s unstarted
LINEAR_ISSUE_SORT=priority linear issue list --team DEV -s started
LINEAR_ISSUE_SORT=priority linear issue list --team DEV --all-states
LINEAR_ISSUE_SORT=priority linear issue list --team DEV -A           # All assignees
LINEAR_ISSUE_SORT=priority linear issue list --team DEV -U           # Unassigned only
LINEAR_ISSUE_SORT=priority linear issue list --team DEV --limit 100  # More results

View Issue:

linear issue view DEV-123            # Terminal view with comments
linear issue view DEV-123 -j         # JSON output
linear issue view DEV-123 -w         # Open in browser
linear issue view DEV-123 -a         # Open in Linear.app
linear issue view --no-comments      # Hide comments

Create Issue:

# --team flag is REQUIRED
linear issue create --team DEV -t "Title" -d "Description"
linear issue create --team DEV -t "Title" -p DEV-100     # With parent issue
linear issue create --team DEV -t "Title" -a self        # Assign to self
linear issue create --team DEV -t "Title" -s "Todo"      # Use workflow state name
linear issue create --team DEV -t "Title" -l "Bug" -l "Urgent"  # Multiple labels
linear issue create --team DEV -t "Title" --priority 1   # 1=urgent, 4=low
linear issue create --team DEV -t "Title" --project "Network Agent"
linear issue create --team DEV --start                   # Start immediately

Update Issue:

linear issue update DEV-123 --state "In Progress"
linear issue update DEV-123 --state "Done"   # Close issue
linear issue update DEV-123 -a self          # Assign to self
linear issue update DEV-123 -a "username"    # Assign to user
linear issue update DEV-123 -p DEV-100       # Set parent
linear issue update DEV-123 --priority 2
linear issue update DEV-123 -l "Label"       # Add label
linear issue update DEV-123 -t "New Title"

IMPORTANT: The flag is --state (or -s), NOT --status. --status does not exist and will error.

Start Working:

linear issue start DEV-123           # Mark in-progress, create git branch
linear issue start DEV-123 -b custom-branch-name
linear issue start DEV-123 -f main   # Branch from specific ref

Delete Issue:

linear issue delete DEV-123          # Prompts for confirmation
echo "y" | linear issue delete DEV-123  # Auto-confirm

Git Integration

Get Issue from Branch:

linear issue id                      # Print issue ID from current branch
linear issue title                   # Print issue title
linear issue url                     # Print Linear URL
linear issue describe                # Title + Linear-issue trailer

Create PR with Issue:

linear issue pr DEV-123              # Create GitHub PR linked to issue

Comments

linear issue comment add DEV-123 -b "Comment text"
linear issue comment list DEV-123
linear issue comment update <commentId> -b "Updated text"

Projects & Teams

linear project list                  # List all projects
linear project view <projectId>      # View project details
linear team list                     # List teams
linear team id                       # Print configured team ID
linear team members                  # List team members

State Values

For issue list - only these enum values work:

StateDescription
triageNew, needs triage
backlogIn backlog
unstartedReady to start (default filter) — includes "Todo"
startedIn progress
completedDone
canceledCanceled

For issue create and issue update - use your workspace's workflow state names:

State NameDescription
"Todo"Ready to work on
"In Progress"Being worked on
"In Review"Under review
"Done"Completed
"Canceled"Canceled

Priority Values

Use with --priority flag:

ValueMeaning
1Urgent
2High
3Medium
4Low

Common Workflows

Start New Work

LINEAR_ISSUE_SORT=priority linear issue list --team DEV -U  # Find unassigned
linear issue start DEV-123           # Claim and create branch
# ... do work ...
linear issue pr                      # Create PR linked to issue

Create and Start Feature

linear issue create --team DEV -t "Add feature X" --start -a self

Bulk Update

for id in DEV-60 DEV-61 DEV-62; do
  linear issue update $id -s "In Progress" -a self
done

Configuration

Config file is unreliable. Use explicit flags and env vars instead:

# Always use --team flag for create/update/list
# Always use LINEAR_ISSUE_SORT env var for list (--sort flag is broken)
LINEAR_ISSUE_SORT=priority linear issue list --team DEV -s unstarted

Get team key with linear team list (DEV, SAL, etc.).

Tips

  • Issue IDs follow pattern: TEAM-123 (e.g., DEV-123)
  • Use -a self to assign to yourself
  • --no-interactive skips prompts for scripting
  • Pipe to jq for JSON: linear issue view DEV-123 -j | jq .title

Additional Resources

See references/api-patterns.md for advanced GraphQL API usage patterns.

From the CaptainCrouton89/crouton-kit README

crouton-kit — a Claude Code plugin marketplace: slash commands, agents, hooks and skills for development workflows

crouton-kit

plugins license

crouton-kit is a marketplace of plugins for Claude Code. The registry is .claude-plugin/marketplace.json, and each plugin is a directory under plugins/. A plugin is made of slash commands, background agents, auto-applied rules, lifecycle hooks and skills, in whatever mix it needs.

The plugins cover day-to-day development work: committing and opening pull requests (git-smart), code review and debugging (devcore), a requirements-to-review feature workflow (rpi), frontend design (web), Linear issues (linear), and guides for writing Claude Code artifacts such as hooks, rules and skills (authoring). A few wrap other Crouton Labs tools: crtr routes slash commands to the crouter CLI, grove manages parallel project instances, capture takes screenshots and HAR files through the Chrome DevTools Protocol, and humanloop covers the hl decision TUI and termrender.

Install

Inside Claude Code, add the marketplace, then install the plugins you want:

/plugin marketplace add crouton-labs/crouton-kit
/plugin install git-smart@crouton-kit

Commands are namespaced by plugin, so the one above gives you /git-smart:commit, /git-smart:pr, /git-smart:push, /git-smart:rebase and /git-smart:save. After the marketplace updates, run /reload-plugins to pick up the new version.

Some plugins need tools outside Claude Code. crtr needs the crtr binary on your PATH, and ai-cli runs a bundled script that calls the Claude Code SDK (see below). Each plugin's plugin.json says what it requires.

Plugins

PluginWhat it does
devcoreCore development agents and code quality hooks
git-smartSmart git commits with security and quality review
rpiFeature development workflow: arch → plan → implement → review → fix
learnInteractive commands to help you understand code
knowledge-captureRequirements gathering, interviews, and learning commands
dev-utilitiesDeveloper utilities (notifications, command creation)
webWeb development tools including frontend design workflows
hookifyCreate configurable hooks from markdown rule files
linearLinear CLI integration: context injection, skill reference, issue management
authoringGuides for authoring CLAUDE.md, hooks, rules, skills, commands and scripts
ai-cliCLI for running Claude Code SDK sessions with configurable modes
ai-workflowMulti-step agent workflows: chain headless ai-cli runs with branching
captureApp state capture (screenshots, HAR, console, logs) via CDP
socialX (Twitter) posting, engagement and growth tools
humanloopHuman-in-the-loop decision TUI (hl) and terminal rendering (termrender)
groveManage parallel project instances: plant, adopt, uproot, monitor
crtrRouting-only slash commands that bridge Claude Code to the crtr CLI

Develop

git clone git@github.com:crouton-labs/crouton-kit.git
cd crouton-kit
claude --plugin-dir ./plugins/devcore --plugin-dir ./plugins/web   # load plugins from the checkout

A new plugin needs two files: plugins/<name>/.claude-plugin/plugin.json and an entry for it in .claude-plugin/marketplace.json. Without the registry entry Claude Code does not see the plugin. Do not edit versions by hand: a GitHub Actions workflow bumps the version in both files on every push to main, based on the conventional commit prefix (feat: is minor, fix: and the rest are patch, feat!: is major). The authoring guide is plugins/CLAUDE.md, and bin/new-worktree creates a sibling git worktree for a new branch.

ai-cli is the one plugin with a build step. From plugins/ai-cli/, npm run build bundles src/cli.ts into bin/ai (a built copy is committed), and node bin/ai -m <mode> -p "<prompt>" runs a Claude Code session in one of the modes in modes/*.md. node bin/ai --list shows the modes.

Details

Marketplace
CaptainCrouton89/crouton-kit
Source
plugins/linear
Category
Community
Keywords
linear, issues, project-management
Listed since
Apr 7, 2026

Questions

What does the linear plugin add to Claude Code?

The linear plugin adds Linear CLI integration for Claude Code: a linear-cli skill that handles creating, listing, starting, updating and viewing Linear issues, and linking pull requests to them. It also provides the /new-issue, /pr and /update-issue commands, plus a UserPromptSubmit hook that injects context.

How do I install the linear plugin?

Run /plugin marketplace add CaptainCrouton89/crouton-kit first, then run /plugin install linear@crouton-kit inside Claude Code. The second command installs the linear plugin from that marketplace.

Where does the linear plugin rank in its category?

The linear plugin is in the Productivity & Notes category on Claude Marketplaces, alongside obsidian, beeminder-automation, calendarhero-automation, Clockify Automation and file-organizer. It stands out for its focus on managing Linear issues from the command line.

More from CaptainCrouton89/crouton-kit

All 19

Similar to linear

More Productivity & Notes