agentleFS
pokgakpokgak/agent-skills/skills/linear/SKILL.md

linear

Skill0 starsChanged 5 months agoMITView on GitHub

Interact with Linear issue tracking — list, create, update issues and projects, manage cycles, add comments, and query team data. Use this skill whenever the user asks about Linear tickets, issues, sprints/cycles, project management in Linear, or wants to create/update/triage issues. Triggers include "create a Linear issue", "update ticket", "show me issues in cycle", "what's in the backlog", "assign this to me", "add a comment to", "create a project in Linear".

83 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

  • OpenAISkill

    pull

    Also in 5 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

  • +7 more from ComposioHQ

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 79 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run directly from GitHub without cloning:

    line 24
  2. Distinctive:

    All responses follow this envelope:

    line 46
  3. Very specific:

    Run linear agent-schema to get the full command tree as JSON.

    line 66
  4. Very specific:

    Use linear update-issue with an invalid state to see available states for that team:

    line 203

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

Interact with Linear issue tracking using the linear-cli tool.

Setup

Prerequisites

Requires LINEAR_APIKEY environment variable. Get your key from Linear settings.

export LINEAR_APIKEY=your_api_key

Running the CLI

Run directly from GitHub without cloning:

uvx --from git+https://github.com/pokgak/linear-cli linear <command>

Or if cloned locally at a known path, use:

uv run python /path/to/linear-cli/linear_cli.py <command>

Verify setup:

uvx --from git+https://github.com/pokgak/linear-cli linear me

Agent Mode

This CLI is agent-friendly. It auto-detects agent callers via environment variables and returns structured JSON. Since CLAUDECODE is set in this environment, all output is already JSON — no extra flags needed.

All responses follow this envelope:

{
  "status": "success",
  "data": [...],
  "metadata": { "count": 42 }
}

Errors include recovery suggestions:

{
  "status": "error",
  "error_message": "Team 'XYZ' not found",
  "suggestions": ["Run 'linear teams' to list available team keys"]
}

Run linear agent-schema to get the full command tree as JSON.

CLI Reference

Discovery

# List all teams
linear teams

# List current user info and team memberships
linear me

# List projects (optionally filter by team)
linear projects
linear projects -t ENG

# List cycles for a team
linear cycles -t ENG

Reading Issues

# List issues (default 25)
linear issues

# Filter by team
linear issues -t ENG

# Filter by assignee
linear issues -a "Alice"

# Filter by state
linear issues -s "In Progress"
linear issues -s "Backlog"

# Filter by cycle number
linear issues -c 84

# Combine filters
linear issues -t ENG -s "In Progress" -a me -n 50

# Show full issue details
linear show ENG-123

# Show comments on an issue
linear comments ENG-123

Creating & Updating

# Create an issue
linear create-issue -t "Title" --team ENG
linear create-issue -t "Title" --team ENG -d "Description" -p "Project Name" --priority high

# Update an issue
linear update-issue ENG-123 -s "In Progress"
linear update-issue ENG-123 -a me
linear update-issue ENG-123 -p urgent
linear update-issue ENG-123 -t "New title" -d "New description"

# Add a comment
linear add-comment ENG-123 "Comment text here"

# Create a project
linear create-project -n "Project Name" -t ENG
linear create-project -n "Project Name" -t ENG -d "Description"

# Update a project
linear update-project "Old Name" -n "New Name"
linear update-project "Project Name" -d "New description"

Common Workflows

Triage and assign issues

# Find unassigned issues in a team
linear issues -t ENG -s "Todo"

# Assign to yourself
linear update-issue ENG-123 -a me

# Set priority and move to In Progress
linear update-issue ENG-123 -p high -s "In Progress"

Investigate a cycle

# List cycles to find the current one
linear cycles -t ENG

# List issues in a specific cycle
linear issues -t ENG -c 84

# Filter by state within the cycle
linear issues -t ENG -c 84 -s "In Progress"

Create and link issues to a project

# Find the project name first
linear projects -t ENG

# Create issue linked to project
linear create-issue -t "Fix login bug" --team ENG -p "Q2 Platform" --priority high

Summarize a ticket for handoff

# Get full details
linear show ENG-123

# Get all comments
linear comments ENG-123

Priority Values

ValueMeaning
noneNo priority
urgentUrgent
highHigh
mediumMedium
lowLow

Common States

States vary by team. Common ones: Todo, In Progress, In Review, Done, Backlog, Cancelled.

Use linear update-issue with an invalid state to see available states for that team:

linear update-issue ENG-123 -s "?"
# Returns: Available states: Backlog, Todo, In Progress, In Review, Done, Cancelled

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.