← 返回 Skills 市场
chinasilva

Peter Pr Ops

作者 chinasilva · GitHub ↗ · v1.2.1
cross-platform ⚠ suspicious
411
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install peter-pr-ops
功能描述
PR 收口自动化。单 PR 串行合并与多 PR 批量清理,减少重复人工操作。
安全使用建议
Before installing or enabling this skill: (1) Confirm the host has git and the GitHub CLI (gh) available; the skill expects them even though the manifest does not declare them. (2) Inspect the repository scripts referenced (scripts/automerge, scripts/massageprs, scripts/ensure-workflow-docs) and any script at $HOME/ai_code/study_peter/scripts — they will be executed and can run arbitrary commands. (3) Understand which GitHub credentials/gh auth are used and restrict their scopes (use a least-privilege token or run in a test/fork environment). (4) Test the skill on a non-critical repository or a fork to confirm behavior. (5) Prefer the author update the manifest to list required binaries (git, gh) and document required auth scopes and exact file paths to avoid hidden execution of unexpected scripts. If you cannot review the scripts or do not trust them, do not run this skill with an account that has merge permissions.
功能分析
Type: OpenClaw Skill Name: peter-pr-ops Version: 1.2.1 The `SKILL.md` file instructs the AI agent to execute local scripts, most notably `"$repo_root/scripts/ensure-workflow-docs"` (and also `scripts/automerge`, `scripts/massageprs`). The `repo_root` is determined by `git rev-parse --show-toplevel`. This creates a severe remote code execution (RCE) vulnerability, as an attacker could craft a malicious git repository containing a harmful `scripts/ensure-workflow-docs` script, which the agent would then execute when operating within that repository. This is classified as suspicious due to the high-risk RCE vulnerability, even though the skill bundle itself does not contain explicit malicious payloads.
能力评估
Purpose & Capability
The SKILL.md clearly expects to run git and the GitHub CLI (gh) and to execute repository scripts (scripts/automerge, scripts/massageprs, scripts/ensure-workflow-docs). The registry metadata lists no required binaries or credentials — that mismatch is incoherent. A PR automation skill legitimately needs git/gh and possibly CI/GitHub credentials, so the manifest should declare them.
Instruction Scope
Runtime instructions instruct the agent to: determine repo root, run repo-local scripts (including a fallback from $HOME), run gh pr view/checks/merge/list, and update docs/SESSION-BOOTSTRAP.md. Executing repo-provided scripts (or a script in $HOME) can run arbitrary code and perform actions outside the narrow task, so the instructions broaden scope beyond mere API calls. The steps are coherent with PR automation but grant broad discretion to execute repository code.
Install Mechanism
This is an instruction-only skill with no install spec or code files; that is the lowest-risk install mechanism. Nothing is downloaded or written by the skill itself.
Credentials
The skill declares no required environment variables, but it will invoke gh which uses the system's GitHub CLI authentication (gh auth) or environment tokens. That is expected for a GitHub automation tool, but the manifest should state the dependency on authenticated gh/git and document what credentials/scopes are needed. The skill does not request unrelated secrets.
Persistence & Privilege
always:false and no install hooks are present. The skill does not request persistent, cross-agent privileges. It will modify repository files (docs/SESSION-BOOTSTRAP.md) which is within the repo scope.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install peter-pr-ops
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /peter-pr-ops 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.1
- 优化 PR 自动化流程,区分单个和批量 PR 处理,提高操作效率。 - 优先调用本地脚本 `scripts/automerge` 和 `scripts/massageprs`,脚本缺失自动补齐。 - 新增缺失脚本补齐机制,确保自动化流程不中断。 - 明确合并护栏(如 CI 不通过不强合,单 PR 默认 squash,批量模式默认 merge)。 - 合并完成后自动刷新 `docs/SESSION-BOOTSTRAP.md`,并明确输出结果与操作建议。
元数据
Slug peter-pr-ops
版本 1.2.1
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Peter Pr Ops 是什么?

PR 收口自动化。单 PR 串行合并与多 PR 批量清理,减少重复人工操作。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 411 次。

如何安装 Peter Pr Ops?

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

Peter Pr Ops 是免费的吗?

是的,Peter Pr Ops 完全免费(开源免费),可自由下载、安装和使用。

Peter Pr Ops 支持哪些平台?

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

谁开发了 Peter Pr Ops?

由 chinasilva(@chinasilva)开发并维护,当前版本 v1.2.1。

💬 留言讨论