Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

linear-graphql-skillLinear GraphQL 技能

Agent Skill

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

总安装

582

周安装

25

GitHub Stars

105

下载量

204
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/holon-run/uxc --skill linear-graphql-skill

简介

linear-graphql-skill 用于处理 Linear 项目、Issue 和团队任务流。

  • 适合辅助查询任务状态、创建缺陷或汇总迭代进展。
  • 支持按 workspace、team 和状态筛选,整理产品开发流程。
  • 涉及批量修改任务时需核对字段和目标团队,避免误操作。
  • 应遵循状态流转规则,区分草稿与正式项目条目。

SKILL.md

Linear GraphQL Skill

Use this skill to run Linear GraphQL API operations through uxc.

Reuse the uxc skill guidance for discovery, schema inspection, auth lifecycle, and error recovery.

Prerequisites

  • uxc is installed and available in PATH.
  • Network access to https://api.linear.app/graphql.
  • Linear API key or OAuth credentials available.

Authentication

Linear supports two authentication methods:

Option 1: Personal API Key (Recommended for development)

  1. Get your API key from Linear: https://linear.app/settings/api
  2. Set credential with custom Authorization header: uxc auth credential set linear-graphql \ --auth-type api_key \ --header "Authorization:{{secret}}" \ --secret "lin_api_XXX" Or use environment variable: export LINEAR_API_KEY="lin_api_XXX" uxc auth credential set linear-graphql \ --auth-type api_key \ --header "Authorization:{{secret}}" \ --secret-env LINEAR_API_KEY
  3. Bind endpoint: uxc auth binding add \ --id linear-graphql \ --host api.linear.app \ --path-prefix /graphql \ --scheme https \ --credential linear-graphql \ --priority 100

Important (Personal API Key only): Linear API keys require Authorization: lin_api_XXX format (no Bearer prefix). The --header "Authorization:{{secret}}" configuration above is required for API key auth. For OAuth access tokens, use standard Authorization: Bearer <token> semantics (handled by the OAuth credential flow in uxc).

Credential/binding IDs in this skill use linear-graphql by convention; IDs are local aliases and can be changed if needed.

Option 2: OAuth 2.0 (For production/user-delegated access)

  1. Create an OAuth app in Linear: https://linear.app/settings/api
  2. Start OAuth login: uxc auth oauth start linear-graphql \ --endpoint https://api.linear.app/graphql \ --redirect-uri http://127.0.0.1:8788/callback \ --scope read \ --scope write After approval, complete it with: uxc auth oauth complete linear-graphql \ --session-id <session_id> \ --authorization-response 'http://127.0.0.1:8788/callback?code=...&state=...'
  3. Bind endpoint: uxc auth binding add \ --id linear-graphql \ --host api.linear.app \ --path-prefix /graphql \ --scheme https \ --credential linear-graphql \ --priority 100

Core Workflow

  1. Use fixed link command by default:

- command -v linear-graphql-cli - If the command exists, confirm it is the expected uxc link for this skill before using it. - If a command conflict is detected and cannot be safely reused, stop and ask skill maintainers for guidance instead of dynamically renaming the command. - If missing, create it: uxc link linear-graphql-cli https://api.linear.app/graphql - linear-graphql-cli -h

  1. Discover operations:

- linear-graphql-cli -h - Returns hundreds of GraphQL operations

  1. Inspect specific operation:

- linear-graphql-cli query/issues -h - linear-graphql-cli mutation/issueCreate -h

  1. Execute queries: # Query issues (simple) linear-graphql-cli query/issues '{"first":10}' # Query issues with explicit selection set for useful fields linear-graphql-cli query/issues '{"first":10,"_select":"nodes {identifier title url state {name} assignee {name}}"}' # Query teams linear-graphql-cli query/teams '{"first":10}' # Create issue (requires write scope) linear-graphql-cli mutation/issueCreate '{"input": {"teamId": "TEAM_ID", "title": "New Issue Title", "description": "Issue description"}}'

Available Operations

Queries

  • query/issues - List and filter issues
  • query/issue - Get single issue
  • query/teams - List teams
  • query/team - Get single team
  • query/projects - List projects
  • query/workflowStates - List workflow states

Mutations

  • mutation/issueCreate - Create new issue
  • mutation/issueUpdate - Update issue
  • mutation/issueArchive - Archive issue
  • mutation/commentCreate - Add comment

Usage Examples

List recent issues

linear-graphql-cli query/issues '{"first":20,"_select":"nodes { identifier title url state { name } assignee { name } }"}'

Get issue by ID

linear-graphql-cli query/issue id=ISSUE_ID

List teams

linear-graphql-cli query/teams

Create issue

linear-graphql-cli mutation/issueCreate '{"input":{"teamId":"YOUR_TEAM_ID","title":"Fix bug"}}'

Troubleshooting

Authentication Errors

Error: "Bearer token" prefix rejected

  • Linear API does not accept Authorization: Bearer lin_api_XXX
  • Ensure credential uses --auth-type api_key --header "Authorization:{{secret}}"
  • Do not use --auth-type bearer

Error: "Credential not found"

  • Check credential exists: uxc auth credential list
  • Verify binding: uxc auth binding list
  • Create binding if missing (see Authentication section)

OAuth login spans multiple agent turns

  • Prefer uxc auth oauth start... and uxc auth oauth complete...
  • Use uxc auth oauth login... --flow authorization_code only when one process can wait for the pasted callback URL

Error: "No binding matched"

  • Check binding exists: uxc auth binding match api.linear.app/graphql
  • If missing, create binding with uxc auth binding add (see Authentication section)

For detailed authentication troubleshooting, see uxc skill's references/auth-configuration.md.

Common Issues

Daemon issues after credential changes

  • Restart daemon: uxc daemon restart
  • Check status: uxc daemon status

Environment variable not found

  • Ensure variable is exported in daemon's environment
  • Or use --secret for literal values (less secure)
  • Or use --secret-op for 1Password (most secure)

Guardrails

  • Keep automation on JSON output envelope; do not use --text.
  • Parse stable fields first: ok, kind, data, error.
  • Prefer positional JSON for non-string and typed arguments (for example: linear-graphql-cli query/issues '{"first":10}' and linear-graphql-cli mutation/issueCreate '{"input":{"teamId":"TEAM_ID","title":"Test"}}').
  • Use reserved GraphQL argument _select (string) when you need explicit return fields, e.g. {"_select":"nodes {identifier title}"}.
  • Use linear-graphql-cli as the default command path.
  • linear-graphql-cli <operation>... is equivalent to uxc https://api.linear.app/graphql <operation>....
  • Prefer read operations first (query/*), then write operations (mutation/*).
  • For write operations, always confirm user intent before execution.
  • If auth fails, check credential with uxc auth credential info linear-graphql.

References

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.65%
按下载量换算71

Claude

32.09%
按下载量换算65

Cursor

19.3%
按下载量换算39

Gemini CLI

8.72%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills