linear-agent-api
Linear Agent API expertise - sessions, activities, signals, and best practices.
Skill by 5DLabsInc
Chalk Labs
Need help deploying linear-agent-api?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/5dlabsinc-linear-agent-api
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/linear-agent-api
What's inside
- Skill name
linear-agent-api- Description
- Linear Agent API expertise - sessions, activities, signals, and best practices. Use when working with Linear agent integration, verifying dialogue population, or implementing two-way communication.
- License
- AGPL-3.0
- Instructions
- 287 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Linear Agent API Skill
Comprehensive reference for Linear's Agent API, following the [Agent Interaction Guidelines (AIG)](https://linear.app/developers/aig).
## When to Use
- Verifying agent sessions are created correctly
- Checking activity streaming (thought, action, response)
- Implementing two-way communication (user input, stop signals)
- Debugging Linear integration issues
---
## Agent Session Lifecycle
Sessions track the lifecycle of an agent run:
| State | Meaning |
|-------|---------|
| `pending` | Session created, waiting for agent |
| `active` | Agent is working |
| `awaitingInput` | Agent needs user input |
| `error` | Something went wrong |
| `complete` | Work finished |
**Sessions are created automatically** when an agent is @mentioned or assigned as delegate.
---
## Agent Activity Types
| Type | Purpose | Who Creates |
|------|---------|-------------|
| `thought` | Agent reasoning, progress updates | Agent |
| `action` | Tool invocations (with optional `result`) | Agent |
| `elicitation` | Request user input or clarification | Agent |
| `response` | Final completion message | Agent |
| `error` | Report failure | Agent |
| `prompt` | User follow-up message | Human |
### Activity Payloads
```json
// thought - Agent thinking
{
"content": {
"type": "thought",
"body": "Analyzing the codebase structure..."
}
}
// action - Tool call
{
"content": {
"type": "action",
"action": "edit_file",
"parameter": "src/main.rs"
}
}
// action with result
{
"content": {
"type": "action",
"action": "run_tests",
"result": "All 42 tests passed"
}
}
// elicitation - Request input
{
"content": {
"type": "elicitation",
"body": "Which database should I use?"
}
}
// response - Completion
{
"content": {
"type": "response",
"body": "Implementation complete. PR #123 created."
}
}
// error - Failure
{
"content": {
"type": "error",
"body": "Build failed: missing dependency"
}
}
```
### Ephemeral Activities
Activities can be marked `ephemeral: true` for temporary status messages that get replaced by the next activity. Only `thought` and `action` types support this.
---
## Signals (Two-Way Communication)
### Human-to-Agent Signals
#### `stop` Signal
When user clicks "Send stop request" in Linear, agent receives a `prompt` activity with `signal: "stop"`.
**Agent MUST:**
1. **Halt immediately** - No further code changes or API calls
2. **Emit final activity** - `response` or `error` confirming stop
3. **Report current state** - What was completed, what remains
**CTO Implementation**: The `status-sync.rs` sidecar detects `signal: "stop"` in polled activities and triggers graceful shutdown via `/stop` endpoint.
### Agent-to-Human Signals
#### `auth` SignalFrom 5DLabsInc/cto, AGPL-3.0.
More from 5DLabsInc/cto
- 0.474score
healer
5DLabsInc
Healer monitoring expertise - detection patterns, API endpoints, dual-model architecture, and remediation workflows.
SkillCFreshness: CClaude Code +9 - 0.474score
telemetry
5DLabsInc
CTO observability stack expertise - Prometheus metrics, Loki logs, Grafana dashboards.
SkillCFreshness: CClaude Code +9 - 0.474score
systematic-debugging
5DLabsInc
Systematic debugging expertise - 4-phase root cause process, evidence gathering, and hypothesis testing.
SkillCFreshness: CClaude Code +9 - 0.474score
ci-remediation
5DLabsInc
CI remediation and PR health monitoring.
SkillCFreshness: CClaude Code +9 - 0.474score
cto-platform
5DLabsInc
CTO Platform lifecycle expertise - Play workflow orchestration, intake processing, MCP tools, and agent sequencing.
SkillCFreshness: CClaude Code +9 - 0.471score
colosseum-copilot
colosseum
Research Solana/crypto startup opportunities using builder project history, crypto archives, investor theses, and market signals.
SkillCFreshness: CClaude Code +9 - 0.471score
verification-before-completion
5DLabsInc
Verification discipline - evidence-based completion claims, running verification commands before asserting success.
SkillCFreshness: CClaude Code +9 - 0.469score
better-auth-electron
5DLabsInc
Better Auth integration for Electron desktop apps with secure IPC, context isolation, and encrypted session storage
SkillCFreshness: CClaude Code +9 - 0.469score
anime-js
5DLabsInc
Anime.js animation patterns for web interfaces including timelines, staggering, and motion design.
SkillCFreshness: CClaude Code +9 - 0.466score
react-best-practices
5DLabsInc
React and Next.js performance optimization guidelines.
SkillCFreshness: CClaude Code +9 - 0.445score
test-driven-development
5DLabsInc
Test-driven development discipline - RED-GREEN-REFACTOR cycle with strict enforcement.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Apr 26, 2026 (6 months ago)
- Last release
- May 31, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- Repository
- github.com/5DLabsInc/cto
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from 5DLabsInc
- 0.474score
systematic-debugging
5DLabsInc
Systematic debugging expertise - 4-phase root cause process, evidence gathering, and hypothesis testing.
SkillCFreshness: CClaude Code +9 - 0.474score
telemetry
5DLabsInc
CTO observability stack expertise - Prometheus metrics, Loki logs, Grafana dashboards.
SkillCFreshness: CClaude Code +9 - 0.474score
ci-remediation
5DLabsInc
CI remediation and PR health monitoring.
SkillCFreshness: CClaude Code +9 - 0.474score
cto-platform
5DLabsInc
CTO Platform lifecycle expertise - Play workflow orchestration, intake processing, MCP tools, and agent sequencing.
SkillCFreshness: CClaude Code +9 - 0.474score
healer
5DLabsInc
Healer monitoring expertise - detection patterns, API endpoints, dual-model architecture, and remediation workflows.
SkillCFreshness: CClaude Code +9 - 0.471score
verification-before-completion
5DLabsInc
Verification discipline - evidence-based completion claims, running verification commands before asserting success.
SkillCFreshness: CClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get linear-agent-api running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
linear-agent-api skill. Agent Mart. https://agentmart.dev/skills/5dlabsinc-linear-agent-api (last updated 2026-10-24)