babysit-pr SKILL.md skillA
babysit-pr from ybz21/roami is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add ybz21/roami/babysit-pr@git:20260630.a2f8553Pins git:20260630.a2f8553 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- ybz21/roami
- Path
skills/babysit-pr/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260630.a2f8553, committed Jun 30, 2026
- First version recorded
- Jun 27, 2026
- Size
- 6,821 bytes
- Repository stars
- 11
- License
- AGPL-3.0
轮询监控 Codex PR Review,自动决策修不修、回复并 resolve。当用户说"监控PR"、"babysit"、"等codex review"时触发。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Babysit PR —— 自动监控 Codex Review 并修复
## 参数
$ARGUMENTS —— PR 编号(可选)。如果未提供,从当前对话上下文中推断。
## 任务
持续监控 GitHub PR 上的 Codex 自动 review。对每条 comment 先做"修不修"的决策,再执行修复或解释不修的理由。每条处理完都要同时**回复 comment 并 resolve 对应的 review thread**。
## 核心原则:决策是否修 > 真的去修
这是整个流程**最重要的一条规则**,优先级高于任何具体的修复动作。
修得越多,代码距离最初设计的偏离就越多,冗余和隐患越大。很多 Codex 建议是基于不适用的假设或罕见到可忽略的路径,默认**不修**。
对每条 comment,先自问:
- 这是**真实存在**的问题吗?还是基于不适用的假设?
- 我们代码的**原始设计**是否本来就考虑了这一点?
- 修了会不会**引入新复杂度**?新增参数、新增分支、新增抽象?
- 修了会不会**掩盖**更深层的问题?
**默认倾向是"不修"**。只在以下情况修:
1. 真实的功能性 bug(会导致用户可感知的错误行为)
2. 会影响数据一致性、安全性、或其它可测的硬性指标
3. 简单明确的代码质量改进(删除死代码、修正命名、修 type error),不增加分支逻辑
不修不是偷懒——把每个 comment 当成一次"设计回顾",能抵挡住的 review 意见越多,代码越稳。
## 执行流程
### 1. 确定 PR
- 如果 `$ARGUMENTS` 提供了 PR 编号,使用它;否则从对话上下文推断
- 确定 `owner/repo`:优先从对话上下文获取,否则用 `gh repo view --json nameWithOwner -q .nameWithOwner`
- 运行 `gh pr view <number> --repo <owner/repo> --json number,title,headRefName` 确认 PR 存在
- 运行 `gh pr diff <number> --repo <owner/repo>` 了解 PR 整体改动
### 2. 等待 Codex Review 或检测未回复 comment
运行本 skill 自带的阻塞脚本:
```bash
bash wait-codex-review.sh {owner/repo} {pr_number}
```
> 注意:`wait-codex-review.sh` 与本 SKILL.md 同目录。
脚本会自动检测 CI 状态、合并冲突、👀 reaction、未回复评论等。根据退出码:
…Read the whole file at its exact version.
How to install
mdr add ybz21/roami/babysit-pr@sha256:328344ffa157967dThe line at the top of this page pins the label git:20260630.a2f8553, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_3rfpch4crmcmku4h)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Jun 27, 2026 and Jun 30, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260630.a2f8553 latest | 2026-06-30 | a2f8553 | 6,821 B | A | view · diff |
| git:20260627.fd583c4 | 2026-06-27 | fd583c4 | 6,805 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6821 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
ybz21/roami · 11 stars · license AGPL-3.0 · pushed 2026-11-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_3rfpch4crmcmku4h GET https://markdownregistry.com/api/v1/resolve?ref=ybz21/roami/babysit-pr GET https://markdownregistry.com/api/v1/blob/328344ffa157967d3b9dda74c8d95e2591c60a8462f74f7bf717d2a2776f2983
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.