审查GitHub 仓库,将 issue 和 PR 按紧急程度分组,在确认后执行安全的分流操作(添加标签、评论、提议关闭)
GitHub Trage. 查看 GitHub 寄存器、 群件问题和紧急调取请求, 并在确认后采取安全分拣动作是一项面向实际任务的技能,主要用于此技能使用 ClawLink 来进行主机 GitHub 访问, 所以 u。它将相关步骤、工具调用和结果整理方式集中到统一流程中,帮助使用者更快完成目标并减少重复操作。
实际使用前应先确认任务范围、数据来源、运行环境、必要权限和关键参数,再依据技能说明逐步执行;若输入条件不完整,应先补齐信息或采用保守配置,避免因错误假设导致结果偏离需求。
执行过程中需要关注工具调用是否成功、接口或依赖是否可用、输出格式是否符合预期,并对异常提示、缺失字段和边界情况进行处理;涉及批量任务时,还应保存进度,避免中断后重复操作。

审查 GitHub 仓库,按紧急程度对 Issues 和 Pull Requests 进行分组,并在确认后执行安全的分诊操作。
本能力使用 ClawLink 提供托管式 GitHub 访问服务,用户无需单独配置 API。
| 第 1 步:安装 | 第 2 步:绑定账户 | 第 3 步:连接 GitHub |
|---|---|---|
| 专属应用连接动图即将上线 | ||
| 在 OpenClaw 中运行安装命令 | 登录并批准设备 | 打开控制台并连接 GitHub |
┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐
│ OpenClaw │────▶│ ClawLink │────▶│ GitHub API │
│ (用户聊天) │ │ (OAuth) │ │ (REST/GraphQL) │
└─────────────────┘ └──────────────┘ └──────────────────┘
│ │ │
│ 1. 安装插件 │ │
│ 2. 绑定设备 │ │
│ 3. 连接 GitHub │ │
│ │ 4. 安全令牌 │
│ │ 5. 代理请求 │
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ SKILL │ │ 控制台 │ │ GitHub │
│ 文件 │ │ 认证 │ │ Issues │
└──────────┘ └──────────┘ └──────────┘
从 ClawHub 安装已验证的 ClawLink 插件。用户确认后,请完成全部设置流程,确保 ClawLink 工具在下一次 OpenClaw 聊天中可见。
openclaw plugins install clawhub:clawlink-plugin openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json openclaw gateway restart
然后告知用户:“OpenClaw 已重启。请单独发送 /new 消息以开启全新会话,再重新请求 GitHub 分诊功能。”
# 列出仓库中的开放 Issues
clawlink_call_tool --tool "github_list_issues_for_a_repository"
--params '{"owner": "owner", "repo": "repo-name", "state": "open", "sort": "created", "direction": "desc"}'
# 获取指定 Issue
clawlink_call_tool --tool "github_get_an_issue"
--params '{"owner": "owner", "repo": "repo-name", "issue_number": 123}'
所有 GitHub 工具调用均由 ClawLink 自动完成身份认证,使用用户已连接的 GitHub 账户。
聊天中无需提供 API 密钥。 ClawLink 安全地存储 OAuth 令牌,并代表用户将该令牌注入每一次 GitHub API 请求。
clawlink_begin_pairing 命令绑定插件。clawlink_list_integrations 验证连接是否已激活。clawlink_list_integrations
响应:返回所有已连接的集成项。请在列表中查找 github。
clawlink_list_tools --integration github
响应:返回 GitHub 的实时工具目录。
若 GitHub 工具缺失或连接显示错误:
clawlink_list_integrations 验证连接状态clawlink_list_tools --integration github请向用户询问以下信息:
若用户描述模糊,优先生成一份初步报告。
首先使用 GitHub 只读工具进行检查:
在全面掌握上下文前,请勿急于撰写评论或修改标签。
一份优质的分诊摘要通常将项目划分为以下几类:
请说明每个项目归入该分组的具体原因。
示例包括:
建议优先制定简明的操作计划,再执行任何编辑操作。
clawlink_list_integrations 确认 GitHub 已连接。github 集成参数调用 clawlink_list_tools。clawlink_search_tools 并传入简短关键词,例如 list issues、comment issue、update labels 或 pull requests。clawlink_describe_tool。对于任何写入类操作:
clawlink_preview_tool 进行预览。clawlink_call_tool 执行操作。| 工具 | 描述 |
|---|---|
github_list_issues_for_a_repository |
按状态、标签、指派人等条件筛选并列出 Issues |
github_get_an_issue |
获取 Issue 的详细信息、正文内容及评论 |
github_list_pull_requests |
按条件筛选并列出 Pull Requests |
github_get_a_pull_request |
获取 Pull Request 的详细信息及评审状态 |
github_list_repository_workflows |
列出 CI/CD 工作流 |
github_list_workflow_runs |
列出最近的工作流运行记录 |
github_get_a_commit |
检查提交(Commit)详情 |
| 工具 | 描述 | 是否需确认 |
|---|---|---|
github_add_labels_to_an_issue |
添加标签以对 Issues 进行分类 | 需确认 |
github_add_assignees_to_an_issue |
为 Issues 指派人员 | 需确认 |
github_create_an_issue |
为已分诊事项创建新 Issue | 需确认 |
github_add_a_comment_to_an_issue |
在 Issue 下发表评论 | 需确认 |
github_update_an_issue |
关闭、重新打开或更新 Issue 字段 | 需确认 |
clawlink_call_tool --tool "github_list_issues_for_a_repository"
--params '{
"owner": "owner",
"repo": "repo-name",
"state": "open",
"sort": "created",
"direction": "desc",
"per_page": 50
}'
clawlink_call_tool --tool "github_get_an_issue"
--params '{
"owner": "owner",
"repo": "repo-name",
"issue_number": 123
}'
clawlink_call_tool --tool "github_add_labels_to_an_issue"
--params '{
"owner": "owner",
"repo": "repo-name",
"issue_number": 123,
"labels": ["triage", "needs-review"]
}'
由 ClawLink 提供支持 — OpenClaw 的集成中心
