用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jleechanorg/claude-commands --skill agento-report命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | agento_report |
| version | 1.0.0 |
| aliases | ["agentor"] |
| description | Get a status report of all PRs agento is handling — merged vs not merged, green status breakdown. |
| trigger | agento_report or agentor |
Generate a comprehensive report of all PRs agento is currently handling.
A PR is considered green when ALL of these are true:
mergeable: "MERGEABLE" (not CONFLICTING or UNKNOWN)Run AO status to find all active sessions:
cd ~/.hermes && ao status --json 2>/dev/null || ao status
Extract the list of PRs being worked on from the output.
For each PR, run these checks:
# Get PR state
gh pr view <PR> --repo <OWNER>/<REPO> --json state,title,mergeable,mergedAt,mergeStateStatus
# Get CI status
gh pr checks <PR> --repo <OWNER>/<REPO> --required
# Get CodeRabbit review
gh pr reviews <PR> --repo <OWNER>/<REPO> | grep -i coderabbit
# Get unresolved comments
gh api repos/<OWNER>/<REPO>/pulls/<PR>/comments --jq '[.[] | select(.user.id != 612194)]'
Skip PRs merged more than 12 hours ago — they're no longer relevant to "currently handling".
CRITICAL: Always check mergedAt, not updatedAt. A PR may show old updatedAt but be recently merged. Exclude only PRs whose mergedAt is older than the 12-hour cutoff (i.e., mergedAt < now - 12 hours); keep PRs with mergedAt == null or mergedAt within the last 12 hours.
| Category | Criteria |
|---|---|
| GREEN | All 4 green criteria met |
| CI_PENDING | Some CI checks still running |
| CI_FAILED | One or more required CI checks failing |
| CONFLICT | mergeable is CONFLICTING or UNKNOWN |
| COMMENTS | Unresolved review comments |
| NO_CR | CodeRabbit has not approved |
## agento PR Report — <timestamp>
### Summary
- Total active PRs: N
- GREEN: N
- Merged (>12h ago, excluded): N
- CI_FAILED: N
- CONFLICT: N
- CI_PENDING: N
- NO_CR: N
- OTHER: N
### GREEN ✅
| PR | Repo | Title | Merged |
|----|------|-------|--------|
...
### Not Green ❌
| PR | Repo | Status | Blocker |
|----|------|--------|---------|
...
ao status#ai-slack-testRun the full report generation and post to Slack:
# Generate report and save to /tmp/agento-report.md
~/.claude/scripts/agento-report.sh
# Post to Slack
source ~/.profile # loads $AGENTO_CHANNEL
cat /tmp/agento-report.md | while read line; do
mcp__slack__conversations_add_message --channel_id "$AGENTO_CHANNEL" --text "$line"
done