agentleFS
mlemleymlemley/linear-cli/.agents/skills/linear/SKILL.md

linear

Skill1 starsChanged 54 days agoUnlicenseView on GitHub

Use when the user explicitly asks to work with Linear — creating, reading, updating issues/projects/initiatives, checking what is in progress, or logging progress to a Linear issue. Drives the `linear` CLI; never use for speculative housekeeping without a user request.

89 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use agent-deep-links, helium-mcp and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ComposioHQSkill

    agent-deep-links

    Build, validate, and troubleshoot deep links for Codex, Cursor, VS Code, Visual Studio, and similar tools. Use when users ask for clickable links (especially in Slack) that open threads, files, folders, or app settings.

    Also in 3 projects that use this

  • ComposioHQSkill

    helium-mcp

    Search real-time news with bias scoring, get live stock/ETF/crypto data with AI analysis, ML options pricing, balanced news synthesis, and meme search via the Helium MCP server.

    Also in 3 projects that use this

  • petestewartSkill

    datadog-logs

    Query Datadog logs via the Logs Search API v2. Use when the user asks to "check the logs", "search logs", "find errors in Datadog", "look up logs for", "show me production logs", "check for errors", "search Datadog", or any request involving log search, error investigation, or production debugging that requires Datadog log data.

    Also in 3 projects that use this

  • SentrySkill

    datadog

    Query live Datadog telemetry (logs, metrics, traces, spans, monitors, incidents, dashboards, services, hosts) through Datadog's Pup CLI. Use when users ask to investigate production behavior in Datadog, including searching logs, checking monitor status, inspecting traces or spans, looking up incidents, finding services, or correlating metrics. Do not use it for Sentry issues, repository/source-code work, or ticketing.

    Also in 4 projects that use this

  • math-incSkill

    minecraft-modpack-server

    Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.

    Also in 3 projects that use this

  • +7 more from ComposioHQ

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 84 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Only touch Linear when the user explicitly asks.

    line 9
  2. Very specific:

    Never print or echo API keys.

    line 62

“Common” is measured: kept by at least 6 in 10 of the 84 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Linear CLI

Operate Linear through the linear CLI. Only touch Linear when the user explicitly asks. Never archive or cancel without explicit confirmation.

Setup check

  • Exit 3 (auth problem): run linear auth status and show the user its output; the fix is linear auth login.
  • Non-interactive shells get JSON automatically on stdout; parse that. --json forces JSON, --table forces a human table (either works anywhere in the argv).

Exit codes

0 ok · 1 API error (JSON error envelope on stdout, message on stderr) · 2 usage error — bad flag, bad date, or an ambiguous name; the message lists the valid options, pick one and retry · 3 auth problem.

Commands

linear auth login [<key>|stdin] | auth status | auth logout
linear config set-default-team <KEY>
linear teams | whoami

linear issue create --title <t> [--team KEY] [--desc md|-] [--project idOrName] [--milestone name]
  [--parent id] [--status name] [--assignee me|name|email] [--priority none|urgent|high|medium|low]
  [--due YYYY-MM-DD] [--estimate n] [--label name ...]
linear issue list [--mine] [--assignee who] [--status name] [--team KEY] [--project idOrName] [--q text] [--limit n]
linear issue get <id|ENG-123> [--comments] [--attachments]
linear issue update <id|ENG-123> [--title] [--desc] [--status] [--assignee] [--priority] [--due] [--estimate]
  [--project] [--parent id|none] [--label-add name] [--label-remove name]
linear issue comment <id|ENG-123> --body <md|->
linear issue attach <id|ENG-123> --url <url> [--title t] [--subtitle s]
linear issue archive <id>

linear project create --name <n> [--team KEY ...] [--desc] [--lead who] [--icon e] [--color hex] [--status name] [--due date]
linear project list [--status name] [--team KEY] [--q text] [--limit n]
linear project get <idOrName> [--issues] [--milestones] [--initiatives]
linear project update <idOrName> [--name] [--desc] [--lead] [--icon] [--color] [--status] [--due] [--add-team] [--remove-team]
linear project archive <idOrName>
linear project milestone create <idOrName> --name <n> [--desc md|-] [--due YYYY-MM-DD] [--order n]

linear initiative create --name <n> [--desc] [--content] [--icon] [--color] [--owner who]
  [--lead-team KEY] [--due date] [--status Proposed|Planned|Active|Canceled|Completed]
linear initiative list [--q text] [--limit n]
linear initiative get <idOrName> [--projects]
linear initiative update <idOrName> [--name] [--desc] [--content] [--icon] [--color] [--owner] [--lead-team] [--due] [--status]
linear initiative archive <idOrName>

Agent tips

  • Identifiers: both ENG-123 and UUIDs are accepted wherever <id> appears; prefer the identifier.
  • Statuses are human names, case-insensitive ("in progress"); team-scoped for issues, workspace-scoped for projects, fixed enum for initiatives.
  • Multiline text: pipe markdown and pass --desc - / --body - / --content -.
  • A create returns { id, identifier, ... } — reuse identifier in follow-up calls.
  • "No team" error: ask the user which team, then linear config set-default-team <KEY>.
  • Ambiguity errors (exit 2) are deliberate — take the candidate from the listed options, do not guess.
  • Progress-logging pattern: issue get X --comments for context → issue comment X --body - to record → issue update X --status <name> to move state (check the issue's team states from the error list or via issue get).
  • issue attach --url links external resources as Linear cards; re-attaching the same url to the same issue updates it (idempotent). Images can only be attached once hosted somewhere — paste into the Linear UI or host and use --url.
  • Milestones: project get --milestones returns [{name,status,targetDate,description}]; Linear statuses are raw (done|next|overdue|unstarted).
  • Milestones are created per project via project milestone create; attach issues to them with issue create --project P --milestone M (create only; no milestone update/delete in the CLI).
  • Initiative links: project get --initiatives returns [{name,status}]; create/edit initiatives via initiative create/update (they exist already).
  • Project overviews: project get returns the full Overview markdown in the JSON content field (description is only a legacy one-liner). Quote content when asked "what is project X?".
  • Pull related material: issue get X --attachments — Linear-hosted (uploads.linear.app) urls come pre-signed, curl them within 15 min; also covers images pasted into the issue by humans.
  • Never print or echo API keys; auth status masks them.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.