plugins/linear-orchestrator/skills/linear-agents/SKILL.md
This skill should be used when building or registering an agent that operates inside Linear — agent signals, agent interaction, OAuth actor mode, AIG (Agent Intelligence Gateway). Activates on "linear agent", "agent signal", "agent interaction", "linear aig", "agents in linear".
npx skillsauth add markus41/claude Linear Agents (AIG, Signals, Interaction)Install this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
References:
A Linear agent is an OAuth app with the agents:create and agents:signal scopes that:
Settings → API → Agents → New agent. Or via API once granted agents:create. Capture:
agentIdagent_oauth_token (long-lived)When a user assigns the agent to an issue:
Agent with action interactionissue.id, actor (user who triggered), kind (assigned, mentioned, replied)agentSignalCreate({ kind: "progress", message: "Working on it…" })agentSignalCreate({ kind: "completion", message: "Done — see comment" })Signals are lightweight status pings that render in the Linear UI as a small badge:
progress — "Running tests..." (yellow)completion — "Tests passed" (green)request_input — "Need approval" (blue, with button)error — "Failed: ..." (red)await client.agentSignalCreate({
agentId,
issueId,
kind: "progress",
message: "Compiling…",
metadata: { jobId: "..." }
});
Signals are NOT comments — they're ephemeral. Use them for in-progress updates; use comments for permanent results.
The AIG (https://linear.app/developers/aig) is Linear's gateway for agent-to-agent communication. Use cases:
The plugin's lib/aig.ts provides:
export async function aigPublish(channel: string, msg: AIGMessage): Promise<void>;
export function aigSubscribe(channel: string, handler: (msg: AIGMessage) => void): () => void;
When an agent posts on behalf of a user:
userId, 5-min expiry)Linear-Actor-Token headerconst headers = { "Linear-Actor-Token": actorToken };
await fetch("https://api.linear.app/graphql", {
method: "POST",
headers: { ...headers, Authorization: `Bearer ${agentToken}` },
body: JSON.stringify({ query, variables })
});
progress signal at least every 30s if the work is long-running, otherwise Linear shows "Agent unresponsive".agentSignalCreate({ kind: "error" }) AND post a comment with the failure details. Don't silently fail.admin scope unless you genuinely manage workflows.development
Enhanced plan-authoring skill with Pre-Writing context gathering, task metadata, non-TDD templates, Red Flags, telemetry, and an automated plan linter. Use when you have a spec or requirements for a multi-step task, before touching code.
tools
Documentation intelligence engine with graph-based API docs, algorithm library, and drift detection
tools
Ultraplan cloud planning — kick off a plan in the cloud from your terminal, review and revise in the browser, then execute remotely or send back to CLI
tools
--- name: mcp description: Configure MCP servers for Claude Code — stdio vs HTTP, authentication, Tools/Resources/Prompts distinction, channels (CI webhook, mobile relay, Discord bridge, fakechat), and cost of always-loaded tools. Use this skill whenever adding an MCP server, debugging connection issues, choosing between MCP Tools vs Prompts vs Resources, installing channel servers, or managing .mcp.json. Triggers on: "MCP server", "mcp config", "add Obsidian MCP", "install context7", "channels"