← Back to Skills Marketplace
Peter Pr Ops
by
chinasilva
· GitHub ↗
· v1.2.1
411
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install peter-pr-ops
Description
PR 收口自动化。单 PR 串行合并与多 PR 批量清理,减少重复人工操作。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install peter-pr-ops - After installation, invoke the skill by name or use
/peter-pr-ops - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.1
- 优化 PR 自动化流程,区分单个和批量 PR 处理,提高操作效率。
- 优先调用本地脚本 `scripts/automerge` 和 `scripts/massageprs`,脚本缺失自动补齐。
- 新增缺失脚本补齐机制,确保自动化流程不中断。
- 明确合并护栏(如 CI 不通过不强合,单 PR 默认 squash,批量模式默认 merge)。
- 合并完成后自动刷新 `docs/SESSION-BOOTSTRAP.md`,并明确输出结果与操作建议。
Metadata
Frequently Asked Questions
What is Peter Pr Ops?
PR 收口自动化。单 PR 串行合并与多 PR 批量清理,减少重复人工操作。 It is an AI Agent Skill for Claude Code / OpenClaw, with 411 downloads so far.
How do I install Peter Pr Ops?
Run "/install peter-pr-ops" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Peter Pr Ops free?
Yes, Peter Pr Ops is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Peter Pr Ops support?
Peter Pr Ops is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Peter Pr Ops?
It is built and maintained by chinasilva (@chinasilva); the current version is v1.2.1.
More Skills