linear-pr

linear-pr is a skill for Claude Code from nesszer/linear-cli. It costs 32 tokens per session (379 once invoked), scanned A, original, MIT.

A workflow tool that connects Linear, an issue-tracking app, with GitHub pull requests, which are proposed code changes for review. It creates branches and pull requests from Linear issues.

In plain words
What is it for?
Use it to start work on a Linear issue, create or inspect its Git branch, open a draft or regular GitHub pull request, and mark the issue done.
Why use it?
It keeps the code review linked to the work item, reducing manual branch names, pull request details, and status updates.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to start work on a Linear issue, create or inspect its Git branch, open a draft or regular GitHub pull request, and mark the issue done.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nesszer/linear-cli/linear-pr
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nesszer/linear-cli --skill linear-pr
Clone the repo
git clone --depth 1 https://github.com/nesszer/linear-cli

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for linear-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/nesszer/linear-cli/linear-pr/github.svg)](https://agentmods.dev/skills/nesszer/linear-cli/linear-pr)
Your own site
<a href="https://agentmods.dev/skills/nesszer/linear-cli/linear-pr"><img src="https://agentmods.dev/badge/skills/nesszer/linear-cli/linear-pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for linear-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/nesszer/linear-cli/linear-pr"><img src="https://agentmods.dev/badge/skills/nesszer/linear-cli/linear-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 379 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00379
Opus 5.5 $0.00013 $0.00152
Sonnet 5.5 $0.00006 $0.00076
Haiku 4.5 $0.00003 $0.00038

Measured 1mo ago against content hash d676f58c927c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

linear-pr scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/linear-pr/SKILL.md · 73 lines

What it actually says

Linear PR Creation

Create GitHub pull requests linked to Linear issues using linear-cli.

Create PR

# Create PR linked to Linear issue
linear-cli g pr LIN-123

# Draft PR
linear-cli g pr LIN-123 --draft

# Specify base branch
linear-cli g pr LIN-123 --base main

# Open in browser after creation
linear-cli g pr LIN-123 --web

Git Branch Operations

# Create and checkout branch for issue
linear-cli g checkout LIN-123

# Custom branch name
linear-cli g checkout LIN-123 -b my-custom-branch

# Just show branch name (don't create)
linear-cli g branch LIN-123

# Create branch without checkout
linear-cli g create LIN-123

Complete Workflow

# 1. Start work (assigns, sets In Progress, creates branch)
linear-cli i start LIN-123 --checkout

# 2. Make changes and commit
git add . && git commit -m "Fix the bug"

# 3. Create PR
linear-cli g pr LIN-123

# 4. Mark done
linear-cli i update LIN-123 -s Done

Get Current Issue

# Get issue from current git branch
linear-cli context
linear-cli context --output json

Tips

  • PR title/description auto-generated from issue
  • Use --draft for work-in-progress
  • Branch pattern: username/lin-123-issue-title
  • Requires gh CLI for GitHub operations
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 73 lines · 32 tokens per session scan A d676f58c927c

Subscribe to this mod's changes

linear-pr is a skill published in the GitHub repository nesszer/linear-cli (138 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 379 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

batch

Research and plan a large-scale change, then execute it in parallel across 5–30 isolated worktree agents that each open a PR.

asgeirtj/system_prompts_leaks · 30 tokens

team-release

Orchestrate the release team — release-manager, qa-lead, devops-engineer, producer — to execute a release from candidate to deployment.

Donchitos/Claude-Code-Game-Studios · 33 tokens

operating-github-cli

Default GitHub skill for the action agent. Use githubcli for any GitHub request — create/list/view/close issues and PRs, assign, labels, repos, releases, checks, github.com/owner/repo URLs, or gh api. Prefer over shellrun/!gh. Run these with githubcli in the current agent turn.

Tracer-Cloud/opensre · 75 tokens

github

Drive GitHub via the official gh CLI — repos, issues, pull requests, releases, gists, Actions runs, and raw REST through gh api. Use when the user asks to inspect or manage GitHub.

AtomicBot-ai/atomic-agent · 48 tokens

testdino-releases

Use when the user wants to browse, inspect, create, or update releases/milestones in a TestDino project. Covers listreleases, getrelease, createrelease, and updaterelease. Accepts counter-style IDs like MS-12.

anthropics/claude-plugins-community · 56 tokens

create-milestone

Create a GitHub milestone for an upcoming release. Suggests the next version based on the latest release, gathers all merged PRs and closed issues since that release, presents a draft with two tables (Issues and PRs) for user approval, then creates the milestone and assigns all approved items.

agentic-community/mcp-gateway-registry · 64 tokens