linear-cli
Skill263 starsChanged 35 days agoMITView on GitHub
Use when the user wants to list, view, start, create, or update Linear issues from the terminal via schpet/linear-cli, including setup, auth, repo config, and safe read/write boundaries.
- Installs packages
7 other projects use a version of this.
Adopted by
Most recently taken up by
- nivoset/skillstheir own version, first seen Oct 18, 2026
- skwashd/skillstheir own version, first seen Oct 15, 2026
- yuhua99/skillstheir own version, first seen Oct 14, 2026
- schpet/linear-clitheir own version, first seen Oct 8, 2026
- jalbarrang/skillstheir own version, first seen Aug 23, 2026
- InjectiveLabs/agent-skillstheir own version, first seen Jul 11, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- schpet/linear-cli★ 1ksame name
- WalletConnect/skills★ 14same name
- InjectiveLabs/agent-skills★ 6same name
- nivoset/skills★ 4same name
- jalbarrang/skills★ 2same name
- skwashd/skills★ 2same name
- yuhua99/skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository37 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/code-citation-clickable.mdcCursor rule
- .cursor/rules/commit-message-english.mdcCursor rule
- autonomous-maintainability-campaignSkill
- autonomous-requirement-discoverySkill
- delivering-delegated-linear-issuesSkill
- development-deliverySkill
- development-designSkill
- development-implementationSkill
- development-lifecycleSkill
- development-retrospectiveSkill
- development-reviewSkill
- development-task-understandingSkill
- development-validationSkill
- idea-search-funnelSkill
- nextclaw-agent-instructions-governanceSkill
- nextclaw-product-blog-storytellingSkill
- nextclaw-product-visual-assetsSkill
- x-twitter-birdSkill
- aigen-image-generationSkill
- bb-browserSkill
- browser-controlSkill
- claude-code-narp-runtimeSkill
- clawhub-nextclawSkill
- codex-narp-runtimeSkill
- find-skillsSkill
- gemigo-cliSkill
- impeccableSkill
- lark-cliSkill
- mmx-cliSkill
- nextclaw-skin-studioSkill
- opencliSkill
- proxy-local-ai-subscriptionsSkill
- publish-to-nextclaw-marketplaceSkill
- skillhub-guideSkill
- superpowersSkill
- ui-ux-pro-maxSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. 0 are common, 13 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use this skill to help the user work through a local linear installation from inside NextClaw.
- Distinctive: line 20
ensure authentication and project configuration,
- Distinctive: line 21
verify readiness with observable commands,
- Distinctive: line 24
Do not pretend the environment is ready when it is not.
- Very specific: line 44
When the user asks for a linear-powered task, follow this order.
- Very specific: line 50
read-only (view, list, print id/url/title),
- Very specific: line 51
write (create/update/delete issues, start work, comments, milestones, documents),
- Distinctive: line 54
If the task does not fit what the CLI supports, say so clearly.
- Distinctive: line 64
If missing, explain that the CLI must be installed locally first.
- Distinctive: line 70
After installation, continue with readiness checks instead of jumping straight into the user task.
- Distinctive: line 80
If this fails, treat the install as broken and fix that before API-backed tasks.
- Distinctive: line 102
Prefer a lightweight read that hits the API after auth, for example:
- Distinctive: line 108
If this fails with authentication or permission errors, do not proceed to the user’s real task.
- Distinctive: line 117
If the user expects “current issue” behavior but the branch or trailers do not match, explain the mismatch before running issue-scoped …
- Distinctive: line 121
Prefer read-only commands before write commands.
- Very specific: line 123
Do not assume gh or a Git host CLI is installed.
- Very specific: line 124
If the user is in the wrong directory for linear config or issue context, say so and ask to switch to the intended repository root.
- Distinctive: line 147
Treat path and config locations as different on Windows vs Unix.
- Distinctive: line 156
write operations wait for explicit confirmation when required,
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
linearCLI 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
ghis available as documented upstream). - Team, project, milestone, and document commands exposed by the installed CLI.
- Git branch–based “current issue” semantics and Jujutsu
Linear-issuetrailers when the user usesjj. - First-use setup: API key,
linear auth login, andlinear configin the target repository. - Readiness checks and bounded troubleshooting.
What This Skill Does Not Cover
- Inventing flags or subcommands that do not appear in
linear --helpor 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.
2. Check whether the CLI exists
Run:
command -v linearIf missing, explain that the CLI must be installed locally first. Prefer one of these install paths and stay consistent with the user’s platform and package preferences:
- Homebrew:
brew install schpet/tap/linear(see upstream tap name in the repository). - npm (project or global): install
@schpet/linear-cliand invoke vianpx linear/pnpm exec linear/bunx linearas appropriate. - Deno: follow upstream
deno installinstructions from the README.
After installation, continue with readiness checks instead of jumping straight into the user task.
3. Confirm CLI version
Run:
linear --versionIf this fails, treat the install as broken and fix that before API-backed tasks.
4. Authentication and configuration
The CLI needs a Linear API key and login state. The user creates a key under Linear account security settings (see upstream docs).
Guide the user through:
linear auth loginFor repository-specific defaults (team, workspace slug, VCS mode), run from the target repo:
linear configConfiguration is resolved from ./linear.toml, ./.linear.toml, repo root, .config/linear.toml, and platform-appropriate user config paths as documented upstream. Environment variables override file values when both apply.
5. Readiness check
Prefer a lightweight read that hits the API after auth, for example:
linear team listIf this fails with authentication or permission errors, do not proceed to the user’s real task. Diagnose auth, workspace, or token scope first.
6. Respect “current issue” rules
The CLI derives the current issue from:
- git: issue id embedded in the branch name (for example
ENG-123-my-feature), - jj:
Linear-issuetrailer in commit metadata.
If the user expects “current issue” behavior but the branch or trailers do not match, explain the mismatch before running issue-scoped commands.
Safe Execution Rules
- Prefer read-only commands before write commands.
- For creates, updates, deletes, starts, comments, or other writes, ask for explicit confirmation first unless the user already gave a clear, scoped instruction for that write.
- Do not assume
ghor a Git host CLI is installed; if the user wantslinear issue pr, verifyghavailability or follow upstream behavior transparently. - If the user is in the wrong directory for
linear configor issue context, say so and ask to switch to the intended repository root.
Troubleshooting
linear not found
- Explain that the CLI is not installed or not on
PATH. - Guide installation using one of the supported methods, then re-check with
command -v linear.
Auth or API errors on read commands
- Confirm
linear auth logincompleted successfully. - Confirm API key is valid and not revoked.
- Confirm workspace and
team_id/ defaults match the user’s intent (linear configand env vars).
Wrong issue or empty “current issue”
- For git, verify the branch name contains the expected Linear issue id.
- For Jujutsu, verify
Linear-issuetrailers on the relevant commits. - Offer
linear issue view <id>when current-issue detection is unreliable.
Platform differences
- Treat path and config locations as different on Windows vs Unix; follow upstream config search order instead of assuming POSIX-only paths.
Success Criteria
The skill is working correctly when:
- the user understands that execution is performed by the local
linearCLI against Linear, - missing CLI, auth, or config is identified before task execution,
- a lightweight API read succeeds before heavier workflows when appropriate,
- write operations wait for explicit confirmation when required,
- and the real task runs only after the environment is truly ready.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

