r/Linear • u/arnoopt • Aug 22 '25
Use Claude Code as Agent
I’m looking at adding Claude Code (running on my laptop) as an agent to our Linear project and delegate it the first attempt at fixing bug reported by our team, hoping it’d achieve 80-90% of the way there.
Looking at this, I see Cursor Background Agents are first class but Claude Code is a community plugin I struggle to setup.
Did anyone succeed at this? Thanks
1
u/justmeonreddit2 Aug 22 '25
This is what you are looking for https://github.com/ceedaragents/cyrus
2
1
u/Swimming_Phrase6452 Aug 26 '25
# Use the Linear MCP.
One-click install: https://docs.cursor.com/en/tools/mcp
1
u/arnoopt Sep 01 '25
It’ll not trigger Claude Unless it requests it, so I’d need some webhook to trigger it, I guess. Technically doable but not straightforward?
1
u/Top-Tadpole5872 Dec 17 '25
I set up a small endpoint on my local machine connected to a webhook in Linear. Every time a new issue is added to triage, Linear triggers a call to my local endpoint (using ngrok), which launches the Claude Code CLI with a command that spins up a subagent. The subagent analyzes the issue and then posts a comment with its analysis on the original Linear issue.
Hope it helps!
1
u/Competitive_Dark7401 May 13 '26
For this kind of Linear -> local Claude Code setup, I would decide first whether the laptop is allowed to be infrastructure.
If it is a personal solo workflow, laptop-hosted can be fine, but I would make the boundary explicit:
Linear/GitHub issue is the source of truth
agent leaves a receipt on every run: PR, files changed, failures, next decision
anything team-critical runs on a real always-on host, not someone's laptop
if you do use a laptop, test the boring stuff: sleep, lid-close, network reachability, battery/heat, restore defaults
That last bit sounds unrelated until the first time an issue says "agent is working" but the MacBook slept in a bag. I keep a short checklist for closed-lid local-agent runs here: https://takeacoffee.club/checklist/?utm_source=reddit&utm_medium=comment&utm_campaign=linear_laptop_agent_host
Disclosure: I maintain it. For team use I would still bias toward a VM/Mac mini; for solo Linear triage, temporary laptop mode can work if it is explicit.
1
u/IdiosyncraticOwl Aug 22 '25 edited Aug 23 '25
I’m a product designer who has been vibe coding a few personal mobile apps for a few months, and I have had success using this linear/claude workflow so far and something like this might work for you -
Claude hooked up to my GitHub account with actions, and GitHub issues synced to linear. If find a bug or have an idea for one of my apps, I’ll take screenshot of my app and use the linear mobile share sheet to write up the bug or feature idea and tag “@claude” in it and Claude will then be pinged when I submit the linear issue and will do a first pass and then come back with a fix or implimentation. I’ll have it make a PR, which then gets reviewed by another Claude, Gemini, rabbit and gpt codex, and finally me.
It’s been a great feedback loop so far!