Connect Linear
Goal: surface your Linear issues in the inbox, next to GitHub PRs and issues — same rows, same read/unread tracking, same worktree-per-task workflow.
Prerequisites
Section titled “Prerequisites”- lazybox is running (see the Quickstart).
- A Linear account and a personal API key — create one under Linear → Settings → Security & access → Personal API keys.
1. Set the API key
Section titled “1. Set the API key”lazybox reads the key from the LINEAR_API_KEY environment variable:
export LINEAR_API_KEY=lin_api_…Put it in your shell profile so it’s present whenever lazybox starts. There is no YAML field for the key — the environment variable is the only source.
2. Enable the provider
Section titled “2. Enable the provider”The first-run setup wizard detects a working LINEAR_API_KEY and offers
Linear as a provider. On an existing install, press , (Settings) and enable
Linear there. Either way the choice persists to setup.providers in
~/.lazybox/config.yaml:
setup: providers: [github, linear]Restart lazybox (or press Shift-R to refresh) and the Linear poller starts.
What appears in the inbox
Section titled “What appears in the inbox”- Issues you are assigned to or created, fetched via Linear’s GraphQL API.
Issues in the
completed/canceledstates are filtered out server-side. - Each issue is a normal inbox row (marked with the
◆Linear glyph, orlwithdisplay.ascii_glyphs: true), grouped by team, with the same read/unread tracking as GitHub rows. - Everything workspace-shaped works the same:
Enteropens it,sopens a shell,w wputs your default agent on it — lazybox cuts a branch and an isolated worktree for the ticket just as it does for a GitHub issue.
Role filtering
Section titled “Role filtering”Which of your Linear issues show up is controlled by the per-provider filter
keys (the wizard’s filter step, or setup.filters.linear in YAML):
| Key | Shows |
|---|---|
role.assignee |
Issues assigned to you (the default) |
role.author |
Issues you created |
role.mentioned |
Issues where you’re mentioned |
role.subscriber |
Issues you subscribe to |
Linear has no reviewer concept, so there is no role.reviewer key. In the
sidebar, press f to open the filter menu and narrow rows by role, state, or
kind.
Limitations
Section titled “Limitations”- The key must be in the daemon’s environment at startup; rotating it means restarting lazybox.
- Some mutations that exist for GitHub are not implemented for Linear (for
example,
g mmerge has no Linear equivalent — moving an issue to Done is done in Linear itself).
Related
Section titled “Related”- The CLI reference for every environment variable.
- The configuration reference for the
setupblock.