Linear × Claude Managed Agents bridge

Translate Linear session events into Claude Managed Agents sessions and route responses back as comments.

28|5|Updated Jun 24, 2025
One-click install
npx skills add https://github.com/thevibeworks/claude-code-docs --skill linear-claude-managed-agents-bridge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Linear × Claude Managed Agents bridge
Source: https://github.com/thevibeworks/claude-code-docs/tree/main/content/github/claude-cookbooks/managed_agents/linear
Command: npx skills add https://github.com/thevibeworks/claude-code-docs --skill linear-claude-managed-agents-bridge

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It bridges Linear issue @mentions to Claude Managed Agents so that an agent’s response automatically comes back as a comment in the originating Linear issue.

Core Features & Use Cases

  • Webhook-driven stateless routing: Translates Linear AgentSessionEvent into a Managed Agents session and uses session metadata to route the response back to the correct Linear issue.
  • CMA webhook bridge with idempotency: Uses a retrieve-then-filter flow for workspace-scoped webhook deliveries and deduplicates retries using event.id.
  • Extensible agent setup: After the base bridge works, optionally extends the integration with GitHub repo mounting, MCP tools, outcomes, multiagent orchestration, memory stores, or custom tools.

Quick Start

Ask Claude to walk you through setting this up by replying, “walk me through setting this up,” in the Linear × Claude Managed Agents directory.

Frequently Asked Questions about Linear × Claude Managed Agents bridge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bridge Linear issue mentions to Claude Managed Agents automatically?

Webhook-driven routing translates Linear AgentSessionEvent into a Claude Managed Agents session using routing metadata to map the response back to the correct Linear issue. It operates statelessly by creating a CMA session with metadata linking it to the originating Linear issue.

How do I prevent duplicate webhook deliveries when integrating Linear and Claude Managed Agents?

You prevent duplicate webhook deliveries by deduplicating retries keyed by event.id. The bridge uses a retrieve-then-filter flow for workspace-scoped deliveries via sessions.retrieve to ensure idempotency while acknowledging within the required timeout.

Can I use different credentials for Linear and Claude in a webhook bridge service?

Yes, this bridge applies to webhook-based automation where Linear and Claude use different credentials and payload formats. You must hold both sides' keys within the bridge service to translate the payloads correctly.

What's the best way to route Linear webhook events to the correct Claude Managed Agents session?

The best way to route Linear webhook events to CMA is by creating Managed Agents sessions with routing metadata. This metadata links the CMA session to the originating Linear issue so idle signals can route back as comments.

Do I need to register separate webhook endpoints for Linear and Claude Managed Agents?

Yes, you need to register two webhook endpoints: one for Linear incoming events and one for CMA outgoing signals. The bridge translates between the two formats and uses session metadata to route responses.

How do I filter workspace-scoped webhook deliveries from Claude Managed Agents?

Filter workspace-scoped webhook deliveries from CMA by using a retrieve-then-filter flow via sessions.retrieve. This ensures you only process relevant deliveries before deduplicating by event.id.