Loading...
Loading...
Load Linear issues to initiate tasks, search/list issues, view issue details, and manage issue state using the linear CLI. Use when the user references a Linear issue, wants to start work from Linear, or asks to search Linear.
npx skill4agent add editframe/skills linear-clibrew install schpet/tap/linearlinear auth loginlinear auth whoamilinear config.linear.tomlENG-123# Read the full issue -- description, state, assignee, labels, comments
linear issue view ENG-123
# Get just the title (useful for branch names or commit messages)
linear issue title ENG-123
# Get the Linear URL
linear issue url ENG-123linear issue update ENG-123 -s started
# or via GraphQL if CLI fails (see Updating Issues below)scripts/wait-for-telecine-action# From monorepo/ — MUST complete before touching Linear
scripts/wait-for-telecine-action
# Then move to In Review
linear api <<'GRAPHQL'
mutation {
issueUpdate(id: "EF2-123", input: { stateId: "2717b5fe-9ea0-429f-8edd-cf8eabe0551d" }) { success }
}
GRAPHQL
linear issue comment add EF2-123 -b "Deployed to production. <one-line summary of what changed>"# List unstarted issues assigned to you (default)
# --sort is required: manual or priority (NOT "updated")
linear issue list --sort priority
# List issues in a specific state
linear issue list -s started --sort priority
linear issue list -s backlog --sort priority
linear issue list --all-states --sort priority
# List issues for all assignees
linear issue list -A --sort priority
# List unassigned issues
linear issue list -U --sort priority
# Filter by project -- requires exact name match; use GraphQL if not found
linear issue list --project "Project Name" --sort priority --team ENG
# Filter by team (required if no .linear.toml in repo)
linear issue list --team ENG --sort priority
# Limit results
linear issue list --limit 10 --sort priority--project# First find the project ID
linear api <<'GRAPHQL'
query {
projects(first: 50) {
nodes { id name }
}
}
GRAPHQL
# Then fetch its issues
linear api <<'GRAPHQL'
query {
project(id: "<id>") {
issues(first: 50) {
nodes { identifier title state { name } assignee { name } priority }
}
}
}
GRAPHQLapilinear api --variable term="onboarding" <<'GRAPHQL'
query($term: String!) {
searchIssues(term: $term, first: 20) {
nodes { identifier title state { name } assignee { name } }
}
}
GRAPHQLjqlinear api --variable term="bug" <<'GRAPHQL'
query($term: String!) {
searchIssues(term: $term, first: 20) {
nodes { identifier title state { name } }
}
}
GRAPHQL# Mark as started (sets state to "In Progress")
# NOTE: linear issue update fails with "Could not determine team key from issue ID"
# for non-standard prefixes (e.g. EF2-123). Use GraphQL mutation instead (see below).
linear issue update ENG-123 -s started
# Update title or description
linear issue update ENG-123 -t "New title"
linear issue update ENG-123 --description-file /tmp/desc.md
# Add a comment
linear issue comment add ENG-123 -b "Started implementation"
# For multi-line markdown comments, use a file
linear issue comment add ENG-123 --body-file /tmp/comment.md# Find the state ID first
linear api <<'GRAPHQL'
query {
workflowStates(filter: { name: { eq: "Done" } }) {
nodes { id name team { key } }
}
}
GRAPHQL
# Then update one or more issues in a single mutation
linear api <<'GRAPHQL'
mutation {
issueUpdate(id: "EF2-123", input: { stateId: "<state-id>" }) { success }
}
GRAPHQL
# Batch update multiple issues
linear api <<'GRAPHQL'
mutation {
a: issueUpdate(id: "EF2-436", input: { stateId: "<state-id>" }) { success }
b: issueUpdate(id: "EF2-435", input: { stateId: "<state-id>" }) { success }
}
GRAPHQL# Interactive (prompts for details)
linear issue create
# Non-interactive
linear issue create -t "Fix rendering bug" --description-file /tmp/desc.md -a self -s unstarted
# Create and immediately start working
linear issue create -t "Investigate flaky test" --start--description-file--body-file--helplinear --help
linear issue --help
linear issue list --help
linear issue create --helplinear teamlinear projectlinear documentlinear labellinear milestone--help| Name | ID |
|---|---|
| Collin Miller | |
| Jeremy Yudkin | |
| State | ID | Type |
|---|---|---|
| Backlog | | backlog |
| Todo | | unstarted |
| In Progress | | started |
| In Review | | started |
| Done | | completed |
| Canceled | | canceled |
| Duplicate | | canceled |
| Name | ID | State |
|---|---|---|
| Editframe 2026 Launch / Bug Fixes | | planned |
| App and Dashboard For Launch | | started |
| Demo Improvements (Pre Launch) | | started |
| Dev Rel Catnip | | started |
| Bug Fixes | | started |
| Clean Slate Task Collection | | started |
| Docs/Site Feedback (2025) | | started |
| EF - Rendering Improvements | | backlog |
| EF - Preview Improvements | | backlog |
| Launch Documentation Beta | | backlog |
| Stack Trace Project | | planned |