Overview
- Skill Key
- arnarsson/linear-webhook
- Author
- arnarsson
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/arnarsson/linear-webhook
- Latest Commit SHA
- aacf31068f5f1b549d90ed54ed3a824517a9288d
Comment @mason or @eureka in Linear issues to dispatch tasks to agents. Webhook receives Linear comments and routes to correct agent.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 linear-webhook 技能。 若已安装,则直接安装 linear-webhook 技能。
# Linear Webhook Skill
Enables Linear issue comment @mentions to dispatch tasks to Clawdbot agents.
## How It Works
1. **Comment in Linear:** `@mason implement user authentication` or `@eureka plan Q2 roadmap`
2. **Linear webhook fires** on comment creation
3. **Clawdbot receives webhook** via exposed endpoint
4. **Transform parses payload:**
- Extracts @mason or @eureka mention
- Gets issue context (title, description, labels)
- Prepares task prompt
5. **Routes to agent session:**
- @mason → `mason` agent (code/implementation)
- @eureka → `eureka` agent (planning/strategy)
6. **Agent processes task** and returns result
7. **Result posted back** as Linear comment
## Setup
### 1. Configure Clawdbot Webhooks
Add to your `config.json5`:
```json5
{
hooks: {
enabled: true,
token: "your-secret-token-here", // Generate with: openssl rand -base64 32
path: "/hooks",
transformsDir: "/home/sven/clawd-mason/skills/linear-webhook",
mappings: [
{
name: "linear",
match: {
path: "/linear",
method: "POST"
},
action: "agent",
transform: {
module: "./linear-transform.js",
export: "transformLinearWebhook"
},
deliver: false, // Don't auto-deliver to chat - Linear comments handle responses
}
]
}
}
```
### 2. Expose Webhook Endpoint
Use Cloudflare Tunnel or Tailscale Funnel to make webhook publicly accessible:
**Option A: Cloudflare Tunnel** (Recommended)
```bash
# Install if needed
brew install cloudflared
# Start tunnel (replace with your domain)
cloudflared tunnel --url http://localhost:18789
```
**Option B: Tailscale Funnel**
```bash
# Enable funnel
tailscale funnel 18789
```
Note the public URL (e.g., `https://your-tunnel.trycloudflare.com`)
### 3. Configure Linear Webhook
1. Go to Linear Settings → API → Webhooks
2. Click "Create new webhook"
3. Set URL: `https://your-tunnel.trycloudflare.com/hooks/linear`
4. Add custom...
# Linear Webhook Skill
Enables @mason and @eureka mentions in Linear issue comments to dispatch tasks to Clawdbot agents.
## Quick Start
### 1. Install Dependencies
```bash
# None required - uses Node.js built-ins
```
### 2. Configure Clawdbot
Add this to your Clawdbot config (`.clawd/config.json5`):
```json5
{
hooks: {
enabled: true,
token: process.env.CLAWDBOT_HOOK_TOKEN,
path: "/hooks",
transformsDir: "/home/sven/clawd-mason/skills/linear-webhook",
mappings: [
{
name: "linear",
match: { path: "/linear", method: "POST" },
action: "agent",
transform: {
module: "./linear-transform.js",
export: "transformLinearWebhook"
},
deliver: false,
}
]
}
}
```
### 3. Set Environment Variables
```bash
# Generate hook token
export CLAWDBOT_HOOK_TOKEN=$(openssl rand -base64 32)
# Get Linear API key from: https://linear.app/settings/api
export LINEAR_API_KEY="lin_api_your_key_here"
```
### 4. Expose Webhook Endpoint
**Option A: Cloudflare Tunnel** (Recommended)
```bash
# Install
brew install cloudflared
# Start tunnel
cloudflared tunnel --url http://localhost:18789
# Note the public URL (e.g., https://abc-123.trycloudflare.com)
```
**Option B: Tailscale Funnel**
```bash
tailscale funnel 18789
```
### 5. Configure Linear Webhook
1. Go to **Linear Settings** → **API** → **Webhooks**
2. Click "Create new webhook"
3. **URL:** `https://your-tunnel-url.trycloudflare.com/hooks/linear`
4. **Custom Header:**
- Name: `x-clawdbot-token`
- Value: `your-CLAWDBOT_HOOK_TOKEN`
5. **Events:** Select **Comment → Created**
6. **Save**
### 6. Test
Comment in a Linear issue:
```
@mason implement OAuth2 authentication
```
Check Clawdbot logs:
```bash
clawdbot gateway logs
```
## Usage
### Mention Agents
- **@mason** - Code implementation, debugging, technical tasks
- **@eureka** - Planning, strategy, research, communication
### Example Comments
```
@mason add user au...
openstockdata
OpenClaw Skill for stock data analysis
capt-marbles
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.
capt-marbles
Control PhantomBuster automation agents via API. List agents, launch automations, get output/results, check status, and abort running agents. Use when the user needs to run LinkedIn scraping, Twitter automation, lead generation phantoms, or any PhantomBuster workflow.
caspian9
飞书云盘文件管理技能。用于读取、下载和管理飞书云盘中的文件。 当用户需要:访问飞书文件、下载文档、读取PDF/Word/PPT文件、分析飞书云盘内容时使用。 核心方法:使用 tenant_access_token 调用 Drive API 下载文件,解析内容返回给用户。
camopel
Free multi-engine web search via ddgs CLI (DuckDuckGo, Google, Bing, Brave, Yandex, Yahoo, Wikipedia) + arXiv API search. No API keys required. Use when user needs web search, research paper discovery, or when other skills need a search backend. Drop-in replacement for web-search-plus.
camopel
Continuous financial news crawler for finviz.com with SQLite storage, article extraction, and query tool. Use when monitoring financial markets, building news digests, or needing a local financial news database. Runs as a background daemon or systemd service.