Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计提醒

cyrus-setup-linearcyrus 设置 Linear

Agent Skill

用于处理 Linear 项目、Issue、团队、周期和产品开发任务流。它适合让 Agent 辅助查询任务状态、整理需求队列、创建缺陷或汇总迭代进展。使用时需要确认 workspace、team、label、assignee 和状态流转规则;涉及批量创建或修改任务时,应先核对字段和目标团队,避免把草稿需求直接写入正式项目。

总安装

3,329

周安装

136

GitHub Stars

561

下载量

1,077
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cyrus-setup-linear(cyrus 设置 Linear)
来源仓库:https://github.com/ceedaragents/cyrus
仓库路径:skills/cyrus-setup-linear
安装命令:
npx skills add https://github.com/ceedaragents/cyrus --skill cyrus-setup-linear
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ceedaragents/cyrus --skill cyrus-setup-linear

简介

创建 Linear OAuth 应用并配置 Cyrus 接收 webhook。

  • 需用户提供 Client ID 与 Secret 并完成授权回调。
  • 已配置时将跳过,避免重复注册造成冲突。
  • 仅允许通过环境变量注入凭证,禁止明文传输。
  • cyrus-setup-linear 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

CRITICAL: Never use Read, Edit, or Write tools on ~/.cyrus/.env or any file inside ~/.cyrus/. Use only Bash commands (grep, printf >>, etc.) to interact with env files — secrets must never be read into the conversation context. Never scrape, extract, or read secret values from web pages — guide the user to copy them manually.

Setup Linear

Creates a Linear OAuth application and configures credentials so Cyrus can receive webhooks and respond to issues.

Step 1: Check Existing Configuration

grep -E '^LINEAR_CLIENT_ID=' ~/.cyrus/.env 2>/dev/null

If LINEAR_CLIENT_ID is already set, check if OAuth is also complete:

grep -q '"workspaces"' ~/.cyrus/config.json 2>/dev/null && echo "configured" || echo "not configured"

If both are set, inform the user:

Linear is already configured. Skipping this step. To reconfigure, remove LINEAR_CLIENT_ID, LINEAR_CLIENT_SECRET, and LINEAR_WEBHOOK_SECRET from ~/.cyrus/.env and re-run.

Skip to completion.

Step 2: Get CYRUS_BASE_URL

Read the base URL from the env file (set by setup-endpoint):

grep '^CYRUS_BASE_URL=' ~/.cyrus/.env | cut -d= -f2-

This is needed for the callback and webhook URLs.

Step 3: Create Linear OAuth App

Determine which browser automation mode to use (see orchestrator rules):

  1. If claude-in-chrome MCP tools are available → use Path A-1 (claude-in-chrome)
  2. If agent-browser is installed (which agent-browser) and a Chrome debug session is connected → use Path A-2 (agent-browser)
  3. Otherwise → use Path B (manual)

Path A-1: claude-in-chrome Automation

Use the mcp__claude-in-chrome__* tools to navigate and interact with the user's existing Chrome browser. The user is likely already signed in to Linear.

Navigate to the Linear API settings page and proceed with form filling and credential capture using the chrome MCP tools (navigate, click, fill, screenshot, javascript_tool, etc.). Follow the same form fields and credential scraping logic as Path A-2 below, but using MCP tools instead of CLI commands.

Path A-2: agent-browser Automation

If agent-browser is connected to a Chrome debug session, automate the Linear app creation.

3a. Navigate to Linear API settings

agent-browser navigate "https://linear.app/settings/api/applications/new"

Wait for page to load. Take a screenshot to verify you're on the right page and logged in.

3b. Fill the form

agent-browser fill "input[name='name']" "<AGENT_NAME>"
agent-browser fill "input[name='developerName']" "Self-hosted"
agent-browser fill "input[name='developerUrl']" "https://github.com/ceedaragents/cyrus"

For the callback URL field:

agent-browser fill "input[name='redirectUrls']" "<CYRUS_BASE_URL>/callback"

Enable webhooks and fill webhook URL:

agent-browser fill "input[name='webhookUrl']" "<CYRUS_BASE_URL>/linear-webhook"

Check the required event types:

  • Agent session events (REQUIRED)
  • Inbox notifications
  • Permission changes
  • Issues

Click "Create".

After creation, Linear redirects to the app settings page. Do NOT screenshot credential pages or attempt to scrape secrets. Proceed to Step 4.

Path A-1: claude-in-chrome Automation

Use the mcp__claude-in-chrome__* tools to navigate and interact with the user's existing Chrome browser.

Navigate to the Linear API settings page (https://linear.app/settings/api/applications/new) and fill in the form with the same fields as Path A-2 above. Click "Create". Do NOT screenshot credential pages or attempt to scrape secrets. Proceed to Step 4.

Path B: Manual Guided Setup

Guide the user through manual creation:

### Create a Linear OAuth Application 1. Go to your Linear workspace settings: - Click your workspace name (top-left) → Settings - Navigate to API in the left sidebar - Scroll to OAuth Applications → Click Create new 2. Fill in the form: - Application name: <AGENT_NAME> - Developer name: Your name or org - Developer URL: https://github.com/ceedaragents/cyrus - Redirect callback URLs: <CYRUS_BASE_URL>/callback - Webhook URL: <CYRUS_BASE_URL>/linear-webhook - Webhook: ✓ enabled - Event types: ✓ Agent session events, ✓ Inbox notifications, ✓ Permission changes, ✓ Issues - Public: ✗ leave disabled (this is a private self-hosted app) 3. Click Create

Proceed to Step 4.

Step 4: Collect Credentials

The agent must NOT scrape, read, or extract secrets from the page. The user copies them manually into the env file.

4a. Add credential placeholders

grep -q '^LINEAR_CLIENT_ID=' ~/.cyrus/.env || echo 'LINEAR_CLIENT_ID=' >> ~/.cyrus/.env
grep -q '^LINEAR_CLIENT_SECRET=' ~/.cyrus/.env || echo 'LINEAR_CLIENT_SECRET=' >> ~/.cyrus/.env
grep -q '^LINEAR_WEBHOOK_SECRET=' ~/.cyrus/.env || echo 'LINEAR_WEBHOOK_SECRET=' >> ~/.cyrus/.env

4b. Open env file for editing

# macOS
code --new-window ~/.cyrus/.env 2>/dev/null || open -a TextEdit ~/.cyrus/.env
# Linux
code --new-window ~/.cyrus/.env 2>/dev/null || xdg-open ~/.cyrus/.env

4c. Guide the user

Tell the user:

I've opened ~/.cyrus/.env. You need to paste three values from your Linear app settings page: 1. Client ID — copy it and paste after LINEAR_CLIENT_ID= 2. Client Secret — click the copy button next to it (it's masked with dots), paste after LINEAR_CLIENT_SECRET= 3. Webhook Signing Secret — click the copy button next to it, paste after LINEAR_WEBHOOK_SECRET= Save and close the file when done.

4d. Verify

After the user confirms they've saved:

grep -c '^LINEAR_CLIENT_ID=.' ~/.cyrus/.env
grep -c '^LINEAR_CLIENT_SECRET=.' ~/.cyrus/.env
grep -c '^LINEAR_WEBHOOK_SECRET=.' ~/.cyrus/.env

All three must return 1 (the . after = ensures the value is not empty). If any are 0, ask the user to check the file.

Step 5: Authorize with Linear

Run the OAuth authorization flow:

cyrus self-auth-linear

This will:

  1. Start a temporary OAuth callback server
  2. Open the browser to Linear's authorization page
  3. After the user clicks Authorize, save tokens to ~/.cyrus/config.json

Verify authorization succeeded:

cat ~/.cyrus/config.json | grep -c '"workspaces"'

If the count is 0, authorization failed. Ask the user to check their credentials and try again.

Completion

✓ Linear OAuth application created ✓ Credentials saved to ~/.cyrus/.env ✓ Workspace authorized via cyrus self-auth-linear

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.92%
按下载量换算376

Claude

29.89%
按下载量换算322

Cursor

19.71%
按下载量换算212

Gemini CLI

9.86%
按下载量换算106

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills