← 返回 Skills 市场
terryren2024

Linear 1.0.0

作者 TerryRen2024 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
213
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install linear-1-0-0
功能描述
Query and manage Linear issues, projects, and team workflows.
使用说明 (SKILL.md)

Linear

Manage issues, check project status, and stay on top of your team's work.

Setup

export LINEAR_API_KEY="your-api-key"
# Optional: default team key used when a command needs a team
export LINEAR_DEFAULT_TEAM="TEAM"

Discover team keys:

{baseDir}/scripts/linear.sh teams

If LINEAR_DEFAULT_TEAM is set, you can omit the team key in team and call:

{baseDir}/scripts/linear.sh create "Title" ["Description"]

Quick Commands

# My stuff
{baseDir}/scripts/linear.sh my-issues          # Your assigned issues
{baseDir}/scripts/linear.sh my-todos           # Just your Todo items
{baseDir}/scripts/linear.sh urgent             # Urgent/High priority across team

# Browse
{baseDir}/scripts/linear.sh teams              # List available teams
{baseDir}/scripts/linear.sh team \x3CTEAM_KEY>    # All issues for a team
{baseDir}/scripts/linear.sh project \x3Cname>     # Issues in a project
{baseDir}/scripts/linear.sh issue \x3CTEAM-123>   # Get issue details
{baseDir}/scripts/linear.sh branch \x3CTEAM-123>  # Get branch name for GitHub

# Actions
{baseDir}/scripts/linear.sh create \x3CTEAM_KEY> "Title" ["Description"]
{baseDir}/scripts/linear.sh comment \x3CTEAM-123> "Comment text"
{baseDir}/scripts/linear.sh status \x3CTEAM-123> \x3Ctodo|progress|review|done|blocked>
{baseDir}/scripts/linear.sh assign \x3CTEAM-123> \x3CuserName>
{baseDir}/scripts/linear.sh priority \x3CTEAM-123> \x3Curgent|high|medium|low|none>

# Overview
{baseDir}/scripts/linear.sh standup            # Daily standup summary
{baseDir}/scripts/linear.sh projects           # All projects with progress

Common Workflows

Morning Standup

{baseDir}/scripts/linear.sh standup

Shows: your todos, blocked items across team, recently completed, what's in review.

Quick Issue Creation (from chat)

{baseDir}/scripts/linear.sh create TEAM "Fix auth timeout bug" "Users getting logged out after 5 min"

Triage Mode

{baseDir}/scripts/linear.sh urgent    # See what needs attention

Git Workflow (Linear ↔ GitHub Integration)

Always use Linear-derived branch names to enable automatic issue status tracking.

Getting the Branch Name

{baseDir}/scripts/linear.sh branch TEAM-212
# Returns: dev/team-212-fix-auth-timeout-bug

Creating a Worktree for an Issue

# 1. Get the branch name from Linear
BRANCH=$({baseDir}/scripts/linear.sh branch TEAM-212)

# 2. Pull fresh main first (main should ALWAYS match origin)
cd /path/to/repo
git checkout main && git pull origin main

# 3. Create worktree with that branch (branching from fresh origin/main)
git worktree add .worktrees/team-212 -b "$BRANCH" origin/main
cd .worktrees/team-212

# 4. Do your work, commit, push
git push -u origin "$BRANCH"

⚠️ Never modify files on main. All changes happen in worktrees only.

Why This Matters

  • Linear's GitHub integration tracks PRs by branch name pattern
  • When you create a PR from a Linear branch, the issue automatically moves to "In Review"
  • When the PR merges, the issue automatically moves to "Done"
  • Manual branch names break this automation
  • Keeping main clean = no accidental pushes, easy worktree cleanup

Quick Reference

# Full workflow example
ISSUE="TEAM-212"
BRANCH=$({baseDir}/scripts/linear.sh branch $ISSUE)

# Always start from fresh main
cd ~/workspace/your-repo
git checkout main && git pull origin main

# Create worktree (inside .worktrees/)
git worktree add .worktrees/${ISSUE,,} -b "$BRANCH" origin/main
cd .worktrees/${ISSUE,,}

# ... make changes ...
git add -A && git commit -m "fix: implement $ISSUE"
git push -u origin "$BRANCH"
gh pr create --title "$ISSUE: \x3Ctitle>" --body "Closes $ISSUE"

Priority Levels

Level Value Use for
urgent 1 Production issues, blockers
high 2 This week, important
medium 3 This sprint/cycle
low 4 Nice to have
none 0 Backlog, someday

Teams (cached)

Team keys and IDs are discovered via the API and cached locally after the first lookup. Use linear.sh teams to refresh and list available teams.

Notes

  • Uses GraphQL API (api.linear.app/graphql)
  • Requires LINEAR_API_KEY env var
  • Issue identifiers are like TEAM-123

Attribution

Inspired by schpet/linear-cli by Peter Schilling (ISC License). This is an independent bash implementation for Clawdbot integration.

安全使用建议
What to check before installing: - Review the full scripts/linear.sh file (the manifest view here was truncated) to ensure there is no unexpected behavior or hidden endpoints. - Confirm curl and jq are present on the host (the script requires them) and update the skill metadata if needed. - Verify the LINEAR_API_KEY you supply has the minimal scopes needed (use a limited-scope token) because the script sends that key in Authorization headers to api.linear.app. - Be aware the script caches team data in /tmp using a checksum-derived filename based on the API key; this cache is local but you may want to control its location via LINEAR_TEAMS_CACHE if you have security policies about /tmp contents. - Check the owner/source (homepage is correct for Linear, but ownerId in _meta.json differs from the registry owner id shown) — prefer skills from a known repository or vendor when possible. - If you plan to allow autonomous agent invocation, remember the agent could call these operations automatically; limit the API key scope accordingly. If anything in the full script looks unexpected, do not install.
功能分析
Type: OpenClaw Skill Name: linear-1-0-0 Version: 1.0.0 The skill provides a functional bash-based CLI wrapper for the Linear API, allowing an agent to manage issues, projects, and team workflows. The script (scripts/linear.sh) uses standard GraphQL queries via curl and jq, implements local caching of team IDs in /tmp using a checksum of the API key for isolation, and follows documented Git best practices for worktrees. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
The skill's name and description match its behavior: the script wraps the Linear GraphQL API and performs issue/project/team operations. Requested env var (LINEAR_API_KEY) is expected. Minor inconsistency: the registry metadata lists no required binaries, but the script requires curl and jq (and the SKILL.md examples reference gh for PR creation). Confirm curl/jq are available or update metadata.
Instruction Scope
SKILL.md instructs the agent to run the included bash script which performs only GraphQL requests to api.linear.app and local caching of team data in /tmp. The instructions do not request unrelated system files or external endpoints. Note: the skill listing in this evaluation shows the script output truncated — review the full scripts/linear.sh file before trusting it to ensure there is no unexpected code beyond the displayed portion.
Install Mechanism
No install spec (instruction-only with an included script). Nothing is downloaded from third-party URLs or written during an install step. Risk is limited to the content of the provided script which will run when invoked.
Credentials
Only LINEAR_API_KEY is required by the skill (optional LINEAR_DEFAULT_TEAM and LINEAR_TEAMS_CACHE are referenced). That is proportionate to the described functionality. The script derives a cache filename from a checksum of the API key and stores cached team data under /tmp; this is local storage and not an exfiltration channel, but it does create files named from a checksum of your key. Ensure you only provide a key with minimal necessary scopes.
Persistence & Privilege
The skill is not always-enabled and does not request elevated or persistent platform privileges. It writes a teams cache to /tmp (scoped to the API key checksum) but does not modify other skills or system configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install linear-1-0-0
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /linear-1-0-0 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the Linear skill for querying and managing Linear issues, projects, and team workflows. - Provides bash CLI commands for issue management, team/project browsing, and workflow automation. - Integrates GitHub branch naming for automated Linear issue tracking. - Supports standup summaries, issue creation, assignment, status, and priority updates. - Requires a Linear API key and (optionally) a default team for streamlined commands.
元数据
Slug linear-1-0-0
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Linear 1.0.0 是什么?

Query and manage Linear issues, projects, and team workflows. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 213 次。

如何安装 Linear 1.0.0?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install linear-1-0-0」即可一键安装,无需额外配置。

Linear 1.0.0 是免费的吗?

是的,Linear 1.0.0 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Linear 1.0.0 支持哪些平台?

Linear 1.0.0 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Linear 1.0.0?

由 TerryRen2024(@terryren2024)开发并维护,当前版本 v1.0.0。

💬 留言讨论