← 返回 Skills 市场
Peter Ci Gate
作者
chinasilva
· GitHub ↗
· v1.1.0
397
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install peter-ci-gate
功能描述
CI 绿灯门禁。负责远端检查状态、失败定位、单次重跑策略,并输出“是否可合并”。
安全使用建议
This skill is coherent with its stated purpose of judging whether a PR's CI is mergeable. Before installing or enabling it, ensure the agent environment has the GitHub CLI (gh) on PATH and a GitHub credential configured with the minimal scopes needed (read checks, list runs, rerun workflow). Confirm who controls that credential and whether you’re comfortable letting the agent execute a single 'gh run rerun' (it can consume CI minutes and trigger actions in your repos). If you want more safety, require explicit human confirmation before performing reruns or limit the credential to read-only scopes (then perform reruns manually).
功能分析
Type: OpenClaw Skill
Name: peter-ci-gate
Version: 1.1.0
The skill bundle utilizes the GitHub CLI (`gh`) to perform CI/CD operations, including viewing PRs, checking statuses, and crucially, rerunning workflows (`gh run rerun`). While these actions are aligned with the stated purpose of a 'CI green light gate,' the ability to trigger remote actions via `gh run rerun` represents a powerful capability. Although there is no explicit malicious intent in the provided instructions (SKILL.md), this command introduces a significant risk if the agent were compromised or prompted to misuse this functionality, classifying it as 'suspicious' due to the inherent power of the commands rather than 'malicious' intent.
能力评估
Purpose & Capability
The skill's name/description (PR CI gating) matches the runtime instructions (gh pr view, gh pr checks, gh run list/view/rerun). However the SKILL.md assumes availability of the GitHub CLI (gh) and an authenticated GitHub session; the skill metadata declares no required binaries or credentials. Declaring gh and expected auth would be proportionate and clearer.
Instruction Scope
Instructions are narrowly scoped to inspecting PR/checks and optionally rerunning a failed workflow once. They do not ask the agent to read unrelated files, exfiltrate data, or contact external endpoints beyond GitHub (via gh). The rerun action is explicitly single-run and the doc includes guardrails (do not treat rerun as root-cause fix).
Install Mechanism
No install steps or code are provided (instruction-only), so nothing is written to disk or fetched during install. This minimizes install risk.
Credentials
No environment variables or credentials are declared, but the gh commands require GitHub authentication (gh auth or a configured token). The skill should state that the agent needs a GitHub-authenticated gh on PATH and clarify the required token scopes (read checks, rerun workflows). Without that disclosure, users may unknowingly grant the agent broad GitHub access.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request persistent system presence or modification of other skills. Autonomous invocation is allowed by platform default but is not an additional privilege requested by the skill itself.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install peter-ci-gate - 安装完成后,直接呼叫该 Skill 的名称或使用
/peter-ci-gate触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
- Added detailed usage instructions, scenarios, and step-by-step execution guidance for remote CI gating.
- Clarified core responsibilities: check status, diagnose failures, and give actionable merge advice.
- Outlined criteria for code/test failures vs. transient issues, including selective single rerun policy.
- Specified guardrails to prevent merging on flakiness and ensure evidence-based conclusions.
元数据
常见问题
Peter Ci Gate 是什么?
CI 绿灯门禁。负责远端检查状态、失败定位、单次重跑策略,并输出“是否可合并”。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 397 次。
如何安装 Peter Ci Gate?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install peter-ci-gate」即可一键安装,无需额外配置。
Peter Ci Gate 是免费的吗?
是的,Peter Ci Gate 完全免费(开源免费),可自由下载、安装和使用。
Peter Ci Gate 支持哪些平台?
Peter Ci Gate 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Peter Ci Gate?
由 chinasilva(@chinasilva)开发并维护,当前版本 v1.1.0。
推荐 Skills