linear-cli

linear-cli is a skill for Claude Code, Codex from Peiiii/nextclaw. It costs 45 tokens per session (1,358 once invoked), scanned A, original, MIT.

A setup and safety guide for managing Linear issues from the terminal through linear-cli. Linear is a project and issue-tracking service used to organize software work.

In plain words
What is it for?
Use it to list, view, start, create, update, or delete issues, add comments, manage related project records, and connect branches or Jujutsu workspaces to issues.
Why use it?
It checks installation, authentication, repository settings, and the boundaries of read and write actions before changing project data.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/peiiii/nextclaw/linear-cli
Any agent
npx skills add Peiiii/nextclaw --skill linear-cli
Clone the repo
git clone --depth 1 https://github.com/Peiiii/nextclaw

Made for: Claude Code, Codex.

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-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/peiiii/nextclaw/linear-cli.svg)](https://agentmods.dev/skills/peiiii/nextclaw/linear-cli)
Your own site
<a href="https://agentmods.dev/skills/peiiii/nextclaw/linear-cli"><img src="https://agentmods.dev/badge/skills/peiiii/nextclaw/linear-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,358 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00045 $0.01358
Opus 5 $0.00023 $0.00679
Sonnet 5 $0.00009 $0.00272
Haiku 4.5 $0.00005 $0.00136

Measured yesterday against content hash 68537f300d09, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

linear-cli 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 yesterday.

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-cli/SKILL.md · 158 lines

How it starts

The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Linear CLI (schpet/linear-cli)

Overview

Use this skill to help the user work through a local linear installation from inside NextClaw.

This skill is intentionally decoupled:

  • The skill owns explanation, onboarding, readiness checks, workflow choice, and risk handling.
  • The linear CLI owns actual execution against Linear’s API and the user’s git or Jujutsu workspace.

From the user’s point of view, the experience should feel complete:

  • install the CLI if needed,
  • ensure authentication and project configuration,
  • verify readiness with observable commands,
  • then run the real task.

Do not pretend the environment is ready when it is not.

What This Skill Covers

  • Issue workflows: list, view, start, create, update, delete, comments, PR helpers (when gh is available as documented upstream).
  • Team, project, milestone, and document commands exposed by the installed CLI.
  • Git branch–based “current issue” semantics and Jujutsu Linear-issue trailers when the user uses jj.
  • First-use setup: API key, linear auth login, and linear config in the target repository.
  • Readiness checks and bounded troubleshooting.

What This Skill Does Not Cover

  • Inventing flags or subcommands that do not appear in linear --help or the installed CLI help for the relevant subcommand.
  • Claiming Linear workspace permissions or plan limits the user does not have.
  • Silently bypassing missing authentication or broken configuration.
  • Silently triggering destructive or write actions without explicit user confirmation.
  • Treating third-party CLI behavior as native NextClaw behavior.

First-Use Workflow

When the user asks for a linear-powered task, follow this order.

1. Classify the task

Classify the task into one of these:

  • read-only (view, list, print id/url/title),
  • write (create/update/delete issues, start work, comments, milestones, documents),
  • VCS-assisted (branch creation, issue binding).

If the task does not fit what the CLI supports, say so clearly.

Read the full file on GitHub · 158 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 158 lines · 45 tokens per session scan A 68537f300d09

Subscribe to this mod's changes

linear-cli is a skill published in the GitHub repository Peiiii/nextclaw (253 stars, last pushed yesterday), licensed MIT. It adds 45 tokens to every session and 1,358 once invoked, about $0.0002 per session on Opus 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-09-03.

Related

Other skills, from other repositories

ha-skill-creator

Create, edit, improve, or audit Hope Agent skills. Use when the user wants to: (1) create a new skill from scratch, (2) edit or improve an existing skill, (3) review or clean up a SKILL.md file, (4) run evaluations to test skill effectiveness, (5) optimize skill descriptions for better trigger accuracy. Trigger…

shiwenwen/hope-agent · 106 tokens

ha-browser

Hope Agent browser automation — the standard status → tabs → snapshot → act loop, stale-ref recovery rules, and what to do when login / 2FA / captcha / camera-prompt / dialog blocks progress. Load this skill whenever you reach for the browser tool. Trigger on: user asks the agent to open / control / click / scrape /…

shiwenwen/hope-agent · 140 tokens

ha-logs

Self-service diagnostics — query Hope Agent's local SQLite databases (logs / sessions / background jobs) directly via the exec tool to investigate problems, analyze usage, and locate root causes. Trigger on: user reports something broken / failing / slow / stuck / not responding ('X 不工作', 'X 报错', 'X 卡住', '为什么 X 失败'…

shiwenwen/hope-agent · 183 tokens

ha-pet-import

Safely import, select, switch, or enable a compatible desktop pet in Hope Agent. Resolve packages from any origin, including local folders, zip archives, pet.json plus a sprite, PNG/WebP atlases, chat attachments, repository or cloud files, direct HTTPS artifact URLs, and download pages. Use whenever a user asks to…

shiwenwen/hope-agent · 109 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

china-translate

中英互译 + 本地化 - 技术翻译、UI本地化、文化适配、避免机翻腔.

dongsheng123132/u-claw · 32 tokens