← 返回 Skills 市场
Repo PR Triage
作者
Patrick Robinson
· GitHub ↗
· v1.0.0
710
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install repo-pr-triage
功能描述
Triage GitHub PRs and issues using vision-based scoring. Use when a user wants to prioritize, score, review, de-duplicate, or batch-process open pull request...
安全使用建议
This skill appears coherent for its stated goal: it uses the gh CLI and Python stdlib to gather repo context, build a vision/rubric, score open PRs, and emit markdown reports. Before installing or running it: 1) Inspect SKILL.md, references/example-vision.md, and the generated interview prompt for any embedded 'ignore previous instructions' / 'you are now' style prompt text—remove or redact any suspicious assistant-directive text. 2) Only run it on machines where the configured gh authentication is acceptable (it will use your gh credentials). 3) When invoking scan.load_vision or the onboard flow, pass only trusted local vision/rubric file paths (the scripts will read whatever path you give them). 4) Because the code invokes gh via subprocess, run it in a controlled environment (container or throwaway VM) if you are unsure. 5) Run the bundled tests (they exist) to verify behavior in your environment. If you want, share the SKILL.md and example vision files you plan to use and I can point out any suspicious prompt text to remove.
功能分析
Type: OpenClaw Skill
Name: repo-pr-triage
Version: 1.0.0
The skill bundle is suspicious due to multiple vulnerabilities. `scripts/onboard.py` is vulnerable to prompt injection, as it embeds unsanitized GitHub repository content (e.g., README, repo description) directly into the `interview-prompt.md` which is then fed to the AI agent. Similarly, `scripts/report.py` is vulnerable to markdown injection, embedding unsanitized PR titles and authors into generated markdown reports, which could lead to secondary prompt injection against the agent. Both `onboard.py` and `scan.py` also lack robust sanitization of user-provided GitHub repository URLs before passing them as arguments to the `gh` CLI, potentially leading to unexpected `gh` behavior or information disclosure.
能力评估
Purpose & Capability
Name/description (PR triage, vision-based scoring) match the code and SKILL.md. The scripts call the gh CLI for repo data, generate a vision/rubric, score PRs, and render markdown reports — all expected for this purpose.
Instruction Scope
Runtime instructions are narrowly scoped to onboarding (gather repo context), scanning (gh pr list, rule-based scoring), and reporting. However, a pre-scan detected prompt-injection patterns in SKILL.md (e.g., 'ignore-previous-instructions', 'you-are-now') — these are not necessary for triage and should be reviewed. The scripts read user-supplied vision files and write reports, which is expected, but you should confirm no hidden prompt text or unexpected outbound endpoints are embedded in the provided vision/rubric files.
Install Mechanism
No install spec; this is instruction/code-only and relies on the system's gh CLI and Python 3.10+. That's proportionate for a tool that calls gh. Nothing is downloaded from arbitrary URLs or installed automatically by the skill.
Credentials
The skill requests no environment variables and no credentials in its metadata. It does require the user to have gh authenticated (gh auth login) — which is appropriate for interacting with GitHub. There are no unrelated credential requests. Note: the gh CLI will use whatever GitHub identity is configured on the host, so only run where that is acceptable.
Persistence & Privilege
The skill is not forced always-on (always: false) and does not ask to modify other skills or system settings. It writes files to the output directory you supply (vision.md, rubric.md, reports), which is normal for this workflow.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install repo-pr-triage - 安装完成后,直接呼叫该 Skill 的名称或使用
/repo-pr-triage触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of pr-triage skill for GitHub repo PR and issue triage:
- Supports scoring, prioritizing, and batching PRs/issues using a vision-based rubric.
- Onboarding workflow interviews repo owners to build a project-specific vision and rubric.
- Automated scan step fetches and scores PRs with rule-based heuristics and duplicate detection.
- Generates actionable Markdown reports for prioritizing, reviewing, and closing PRs.
- Integrates with GitHub via the gh CLI; requires only Python stdlib.
- Includes instructions for cron-based recurring triage sessions.
元数据
常见问题
Repo PR Triage 是什么?
Triage GitHub PRs and issues using vision-based scoring. Use when a user wants to prioritize, score, review, de-duplicate, or batch-process open pull request... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 710 次。
如何安装 Repo PR Triage?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install repo-pr-triage」即可一键安装,无需额外配置。
Repo PR Triage 是免费的吗?
是的,Repo PR Triage 完全免费(开源免费),可自由下载、安装和使用。
Repo PR Triage 支持哪些平台?
Repo PR Triage 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Repo PR Triage?
由 Patrick Robinson(@patrob)开发并维护,当前版本 v1.0.0。
推荐 Skills