Index of every page on this site: llms.txt
All skills
injectivelabs avatar

/linear-cli

@6d68c2c
Run it yourself

Enables management of Linear issues, teams, projects, comments, or configuration via the `linear` CLI

Use this Skill: https://skilld.dev/gh/injectivelabs/agent-skills/linear-cli

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈28 tokens for metadata: the name and description. ≈619 when used: this file. ≈2.8k more on demand in 1 file.

Description uses 1.4% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈114 characters, or 1.4%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Linear CLI, Skill Guide

Overview

Use the linear CLI to manage Linear issues, teams, and projects from the terminal. Prefer CLI flows over raw GraphQL when a command exists.

Quick Start

  1. Verify the CLI is available: linear --version.
  2. Install the CLI if needed (see Install Linear CLI).
  3. Configure the API key and repo settings (see Configure API Key).
  4. Use linear issue list, linear issue start, and linear issue view for day-to-day workflows.

Install Linear CLI

Prefer NPM-distributed version from Injective Labs:

npm i -g @injectivelabs/linear-cli

One-time commands can be run via npx @injectivelabs/linear-cli.

If NPM is not available

Fetch binary for current platform using https://github.com/InjectiveLabs/linear-cli/releases/latest install it so it available in $PATH.

Configure API Key

  • Create a personal API key in Linear account settings: https://linear.app/settings/account/security.
  • If linear auth login exists, run it to authenticate. Otherwise export the key for the CLI session: export LINEAR_API_KEY=....
  • Run linear config inside the repo to generate .linear.toml interactively.
  • Use linear auth token or linear auth whoami to verify authentication.
  • Note: API key creation requires member access (not guest).

Common Workflows

  • List issues: linear issue list with filters like --state, --assignee, --team, or --limit.
  • Start work on an issue: linear issue start ABC-123 (use -b to specify a branch).
  • View an issue: linear issue view ABC-123 (use -w for web or -a for app).
  • Create an issue: linear issue create --title "..." --team TEAM (add --project, --label, --priority, or --estimate as needed).
  • Update an issue: linear issue update ABC-123 --state STATE --assignee USER.
  • Add a comment: linear issue comment add ABC-123 --body "...".
  • Browse teams/projects: linear team list, linear project list, then linear project view.

Command Reference

Instead of guessing flag and command arguments, check the reference.

See references/commands.md for the full command and flag list extracted from linear completions bash.

When some command feels missing try npx @injectivelabs/linear-cli@latest completions bash to refresh the completions.

Safety

  • Confirm destructive actions explicitly before running linear issue delete.
  • Avoid raw schema dumps unless needed; prefer regular commands to inspect data.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

3 warnings1mo5 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill enables management of Linear resources using a CLI tool. It handles sensitive API tokens and processes external data from Linear, which introduces a potential surface for indirect prompt injection.

  • Socket1mo

    1 alert: gptAnomaly

  • Snyk1mo

    Risk: MEDIUM · 1 issue

  • Runlayer8mo

    1/4 files flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 6d68c2c. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 9 months ago
metadata
{
  "author": "InjectiveLabs",
  "version": "1.9.1"
}

README badge

README badge for injectivelabs/agent-skills/linear-cli