Skip to content

Linear

CategoryProject Management
CLIlinear (@linear/cli)
AuthAPI key
ConfigLINEAR_API_KEY (required), LINEAR_TEAM_ID (optional)

Wraps the Linear CLI to give CodeBuddy access to your Linear workspace. The agent can create and manage issues, browse projects and cycles, and search across your team’s work.

Install the Linear CLI:

Terminal window
npm install -g @linear/cli

Set your API key (generate one at Linear → Settings → API):

Terminal window
export LINEAR_API_KEY="lin_api_..."

Optionally set a default team:

Terminal window
export LINEAR_TEAM_ID="TEAM-ID"
  • Issues — create, update, assign, change status, comment
  • Projects — list, view progress, milestones
  • Cycles — view current cycle, upcoming, completed
  • Search — full-text search across issues and projects
  • Labels — apply, create, list
  • “Create a Linear issue for the login bug and assign it to me”
  • “What’s left in the current cycle?”
  • “Move LIN-456 to ‘In Review’”
  • “Show all high-priority issues in the Backend project”