微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🎯

浏览器级 Linear 智能自动化

Linear Browser Automation · v1.0.0
效率 安全 B 级 作者 hassam-powerhouse 公开目录收录
1.1k 下载 0 安装 3.8k 收藏 10 浏览

简介

通过 OpenClaw 托管浏览器自动化 Linear 工作流,支持创建/编辑工单、状态流转、批量分类、评论添加及可视化验证,适合 UI 优先的敏捷团队任务管理场景。

原始描述

Automate Linear.app workflows in the OpenClaw-managed browser profile using browser tool actions (open, navigate, snapshot, act). Use when users want UI-base...

通过你的 Agent 添加

安装目录:linear-browser-automation/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/linear-browser-automation/
Codex CLI~/.codex/skills/linear-browser-automation/
DeepSeek Harness~/.agents/skills/linear-browser-automation/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心功能

linear-browser-automation 是一款基于 UI 自动化的 Linear 工作流管理技能,通过 OpenClaw 托管浏览器执行浏览器级操作(打开、导航、快照、交互),无需调用 Linear API 即可实现完整的任务生命周期管理。

显著优点

  1. 零配置即开即用:无需申请 API Token,依赖浏览器 Cookie 会话即可操作,降低团队接入门槛
  2. 视觉验证保障:每次操作后自动截图快照,支持断言式验证,确保状态变更符合预期
  3. 强制确认机制:创建工单前必须展示摘要并获得显式 yes 确认,有效防止误操作
  4. 状态流转规范化:内置严格的状态白名单(Backlog/Todo/In Progress/Done/Canceled/Duplicate),避免自定义状态混乱
  5. 会话复用优化:优先复用已登录标签页,减少重复认证开销,提升执行效率

潜在局限

  • 依赖浏览器稳定性:受页面改版、CSS 选择器变化影响,需维护快照解析逻辑
  • 人机协同认证:首次使用或会话过期时需用户手动完成登录/MFA,无法完全无人值守
  • 批量操作受限:大规模批量分类建议上限明确,超量需分批处理
  • 网络延迟敏感:重度依赖实时页面加载,弱网环境可能超时失败

适合人群

  • 使用 Linear 作为主力项目管理工具的敏捷研发团队
  • 需要临时自动化但不想配置 API 集成的非技术成员
  • 重视操作可视化确认、对误操作容忍度极低的合规敏感团队
  • 希望快速搭建工单分类、状态同步等轻量级工作流的效率追求者

常规风险

风险类型 说明 缓解措施
会话劫持 浏览器 Cookie 若被其他进程获取可能导致越权 使用独立 openclaw Profile 隔离会话
误触提交 缺少确认可能导致工单错误创建/流转 强制 Proceed? (yes/no) 二次确认
状态漂移 Linear UI 更新可能破坏选择器匹配 基于 ARIA 属性优先的弹性定位策略
数据泄露 快照可能捕获敏感工单内容 建议仅在可信环境执行,避免共享快照

技术实现要点

执行遵循 "快照-决策-执行-再验证" 的闭环模式:每次操作前获取页面快照解析元素引用,执行后再次快照确认状态。对于认证中断场景,自动降级为浏览器弹窗提示用户完成登录,完成后无缝恢复任务上下文。

技能正文


name: linear-browser-automation description: Automate Linear.app workflows in the OpenClaw-managed browser profile using browser tool actions (open, navigate, snapshot, act). Use when users want UI-based Linear automation such as triage, issue updates, comments, filtering, bulk state changes, and visual verification in the managed OpenClaw browser.

Linear Browser Automation

Automate Linear workflows through UI interactions in the OpenClaw-managed browser.

Execution mode

  • Always use browser profile: openclaw
  • Always run actions against host browser control
  • Reuse an already-open, logged-in Linear tab in the managed browser whenever available.
  • Do not open a new Linear tab if an existing authenticated Linear tab can be reused.
  • Keep actions in one tab unless explicitly opening a new tab is required by user request.

Standard workflow

  1. Ensure managed browser is running (profile="openclaw").
  2. Check existing open tabs in managed browser and prefer a tab already on Linear.
  3. If an existing Linear tab is found:
    • focus and reuse that tab
    • snapshot and detect auth state
  4. If no Linear tab exists, open/navigate to https://linear.app/.
  5. If on public landing page / unauthenticated state:
    • automatically navigate to /login
    • show a browser alert asking the user to log in to continue
    • wait for authenticated dashboard/workspace state
  6. After login is complete and dashboard is visible, continue automatically from the same task context and same tab.
  7. Resolve references from the snapshot.
  8. Execute deterministic actions (click/type/select/press).
  9. Re-snapshot and verify expected state before finishing.

Required-input policy (hard rule)

For all Linear actions, always collect and confirm required details in chat before executing.

1) Create issue

Required fields:

  1. Team (or project context that implies team)
  2. Title

Optional fields (prompt if missing): description, priority, assignee, labels, due date.

Before submission, always present a summary block and ask:

  • Proceed? (yes/no)

Only proceed on explicit yes. Any other response (no/cancel/edit/silence) means do not submit.

2) Edit issue and comment on issue

Required fields:

  1. Team name
  2. Issue number/identifier (e.g., POW-123)

Hard rule:

  • Do not run these automations when either team name or issue number is missing.
  • If the user gives only title text or a partial reference, ask for the team name and issue number.
  • Resolve and open the exact issue from the provided team + issue number before making changes.

3) Move issue state

Non-negotiable required fields:

  1. Team name
  2. Issue number/identifier (e.g., POW-123)
  3. New state/status (e.g., Todo, In Progress, Done)
  4. Comment text to add on the issue

Valid issue statuses (only these are accepted):

  • Backlog
  • Todo
  • In Progress
  • Done
  • Canceled
  • Duplicate

Hard rule:

  • Do not run move-state automation when any one of these is missing.
  • If state is not explicitly provided, ask for it and wait.
  • If comment text is not explicitly provided, ask for it and wait.
  • Reject any state value not in the valid-status list and ask user to pick one valid option.
  • Do not infer or auto-pick a state unless user explicitly instructs you to choose one.
  • Resolve the exact issue from team + issue number first, then apply the requested new state and add the comment.

Priority validation rule

For any automation that sets or updates issue priority, only accept these values:

  • Urgent
  • High
  • Medium
  • Low

Hard rule:

  • Reject any other priority value and ask for one valid option.

Required-input conversation contract

When user requests a new issue:

  1. Check whether required fields are already provided.
  2. Ask only for missing required fields first.
  3. Ask optional fields (or accept defaults).
  4. Present final summary:
    • Team/Project
    • Title
    • Description
    • Priority
    • Assignee
    • Labels
    • Due date
  5. Ask Proceed? (yes/no).
  6. Submit only after yes.

When user requests edit/comment:

  1. Check for team name and issue number first.
  2. Ask for whichever is missing.
  3. Confirm target in one line (e.g., Target issue: POW-123 (Powerhouse)).
  4. Execute only after target resolution is unambiguous.

When user requests move-state:

  1. Check for team name, issue number, explicit new state, and comment text.
  2. Ask for whichever is missing.
  3. Confirm target, destination, and comment in one line (e.g., Target issue: POW-123 (Powerhouse) → In Progress | Comment: <text>).
  4. Execute only after target resolution, new state, and comment are unambiguous.

Safety + reliability rules

  • Prefer stable selectors/refs from fresh snapshot before acting.
  • Re-snapshot after major UI transitions.
  • If unauthenticated state appears, auto-navigate to login and trigger an in-browser alert instructing the user to log in.
  • After user login completes and dashboard is detected, resume the task automatically.
  • For destructive actions (delete/archive), require explicit confirmation.
  • If team/project context is ambiguous, ask before acting.

Supported automations

  • Open Linear and verify dashboard loaded
  • Search/filter issues (team, assignee, state, label)
  • Create new issue (with required-input policy)
  • Edit issue fields (title, description, priority, due date, labels)
  • Move issue state (Backlog/In Progress/Done)
  • Add comments
  • Bulk triage (limited batch with confirmation)
  • Visual verification (post-action snapshot checks)

Example test prompts (one per supported automation)

Use these prompts verbatim (or with your own team/issue values) to test each supported automation.

1) Open Linear and verify dashboard loaded

"Using the linear-browser-automation skill in the OpenClaw-managed browser, open Linear and verify the workspace dashboard is loaded for team <team_name>. Return the current page URL, visible workspace/team name, and whether auth is active."

2) Search/filter issues

"Using the linear-browser-automation skill in the OpenClaw-managed browser, list issues for team <team_name> filtered by assignee <assignee_name>, state <state_name>, and label <label_name>. Return issue identifier, title, state, assignee, labels, due date, and URL. If no issues match, say No matching issues found."

3) Create new issue

"Using the linear-browser-automation skill in the OpenClaw-managed browser, create a new issue in team <team_name> with title <issue_title>. Set priority <priority_name>, assignee <assignee_name>, label <label_name>, and due date <due_date_yyyy-mm-dd>. Show a summary and ask Proceed? (yes/no) before submitting."

4) Edit issue fields

"Using the linear-browser-automation skill in the OpenClaw-managed browser, edit issue <issue_number> in team <team_name>. Update title to <updated_issue_title>, set priority to <priority_name>, set due date to <due_date_yyyy-mm-dd>, and ensure label <label_name> is applied. Return issue identifier, updated title, state, priority, assignee, labels, due date, and URL."

5) Move issue state

"Using the linear-browser-automation skill in the OpenClaw-managed browser, move issue <issue_number> in team <team_name> to state <new_state> and add this comment: <comment_text>. Return issue identifier, title, previous state, new state, assignee, labels, due date, comment posted, and URL."

6) Add comments

"Using the linear-browser-automation skill in the OpenClaw-managed browser, add this comment to issue <issue_number> in team <team_name>: <comment_text>. Return issue identifier, title, assignee, current state, comment text posted, and URL."

7) Bulk triage

"Using the linear-browser-automation skill in the OpenClaw-managed browser, triage up to <max_items> issues in team <team_name> where state is <source_state> and assignee is empty. For each selected issue, set priority to <priority_name> and add label <label_name>. Show the candidate list first, ask for confirmation, then apply updates and return the changed issues with before/after fields."

8) Visual verification

"Using the linear-browser-automation skill in the OpenClaw-managed browser, open issue <issue_number> in team <team_name> and perform visual verification only (no edits). Return what is visible for title, state, priority, assignee, labels, due date, and URL, and explicitly state whether each verification check passed or failed."

Suggested command patterns (agent-side)

Open Linear in managed profile

  • start browser (profile="openclaw")
  • open https://linear.app/

Reuse existing tab

  • navigate current targetId to target URL

Interaction cycle

  • snapshot (refs=aria preferred)
  • act (click/type/select/press)
  • snapshot and verify

Failure handling

  • Missing element/ref:
    • refresh snapshot
    • retry once with updated refs
  • Navigation/login interruption:
    • pause and ask user to complete auth/MFA
  • Ambiguous target:
    • ask for disambiguation (team/project/issue)
  • Missing required issue fields:
    • keep prompting until provided or user cancels
  • No explicit yes on submit confirmation:
    • do not submit

Completion report format

Return:

  • actions performed
  • items changed (issue IDs/titles if visible)
  • verification checks passed/failed
  • any manual follow-up needed

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

linearbrowser-automationproject-managementui-automationissue-trackingworkflow-automationagileteam-collaboration

同类 Skill