openclaw-linearManage Linear issues, projects, teams, and documents from the command line using the linear CLI. Create, update, list, and track issues; manage projects and milestones; interact with the Linear GraphQL API.
Install via ClawdBot CLI:
clawdbot install cipher-shad0w/openclaw-linearA CLI to manage Linear issues from the command line, with git and jj integration.
The linear command must be available on PATH. To check:
linear --version
If not installed:
brew install schpet/tap/lineardeno install -A --reload -f -g -n linear jsr:@schpet/linear-clilinear auth logincd my-project-repo && linear configlinear auth # Manage Linear authentication
linear issue # Manage Linear issues
linear team # Manage Linear teams
linear project # Manage Linear projects
linear project-update # Manage project status updates
linear milestone # Manage Linear project milestones
linear initiative # Manage Linear initiatives
linear initiative-update # Manage initiative status updates
linear label # Manage Linear issue labels
linear document # Manage Linear documents
linear config # Interactively generate .linear.toml configuration
linear schema # Print the GraphQL schema to stdout
linear api # Make a raw GraphQL API request
# List your unstarted issues
linear issue list
# List issues in a specific state
linear issue list -s started
linear issue list -s completed
# List all assignees' issues
linear issue list -A
# View the current branch's issue
linear issue view
# View a specific issue
linear issue view ABC-123
# Create an issue interactively
linear issue create
# Create non-interactively
linear issue create -t "Fix login bug" -d "Users can't log in with SSO" -s "In Progress" -a self --priority 1
# Update an issue
linear issue update ABC-123 -s "Done" -t "Updated title"
# Add a comment
linear issue comment add ABC-123 -b "This is fixed in the latest build"
# Delete an issue
linear issue delete ABC-123 -y
# Pick an issue interactively, creates a git branch and marks it as started
linear issue start
# Start a specific issue
linear issue start ABC-123
# Create a PR with issue details pre-filled
linear issue pr
# List projects
linear project list
# Create a project
linear project create -n "Q1 Launch" -t ENG -s started --target-date 2026-03-31
# List milestones for a project
linear milestone list --project <projectId>
# List documents
linear document list
# Create a document from a file
linear document create --title "Design Spec" --content-file ./spec.md --project <projectId>
# View a document
linear document view <slug>
# List teams
linear team list
# List team members
linear team members
Run --help on any command for flags and options:
linear --help
linear issue --help
linear issue list --help
linear issue create --help
Prefer the CLI for all supported operations. The api command is a fallback for queries not covered by the CLI.
linear schema -o "${TMPDIR:-/tmp}/linear-schema.graphql"
grep -i "cycle" "${TMPDIR:-/tmp}/linear-schema.graphql"
grep -A 30 "^type Issue " "${TMPDIR:-/tmp}/linear-schema.graphql"
# Simple query
linear api '{ viewer { id name email } }'
# With variables
linear api 'query($teamId: String!) { team(id: $teamId) { name } }' --variable teamId=abc123
# Complex filter via JSON
linear api 'query($filter: IssueFilter!) { issues(filter: $filter) { nodes { title } } }' \
--variables-json '{"filter": {"state": {"name": {"eq": "In Progress"}}}}'
# Pipe to jq
linear api '{ issues(first: 5) { nodes { identifier title } } }' | jq '.data.issues.nodes[].title'
curl -s -X POST https://api.linear.app/graphql \
-H "Content-Type: application/json" \
-H "Authorization: $(linear auth token)" \
-d '{"query": "{ viewer { id } }"}'
For detailed subcommand documentation with all flags and options:
The CLI supports environment variables or a .linear.toml config file:
| Option | Env Var | TOML Key | Example |
|---|---|---|---|
| Team ID | LINEAR_TEAM_ID | team_id | "ENG" |
| Workspace | LINEAR_WORKSPACE | workspace | "mycompany" |
| Issue sort | LINEAR_ISSUE_SORT | issue_sort | "priority" or "manual" |
| VCS | LINEAR_VCS | vcs | "git" or "jj" |
Config file locations (checked in order):
./linear.toml or ./.linear.toml (current directory)/linear.toml or /.linear.toml /.config/linear.toml ~/.config/linear/linear.tomlAI Usage Analysis
Analysis is being generated⦠refresh in a few seconds.
Manage Trello boards, lists, and cards via the Trello REST API.
Sync and query CalDAV calendars (iCloud, Google, Fastmail, Nextcloud, etc.) using vdirsyncer + khal. Works on Linux.
Manage tasks and projects in Todoist. Use when user asks about tasks, to-dos, reminders, or productivity.
Master OpenClaw's timing systems. Use for scheduling reliable reminders, setting up periodic maintenance (janitor jobs), and understanding when to use Cron v...
Calendar management and scheduling. Create events, manage meetings, and sync across calendar providers.
Kanban-style task management dashboard for AI assistants. Manage tasks via CLI or dashboard UI. Use when user mentions tasks, kanban, task board, mission con...