/jleechan-skills:agento-reportfrom jleechan-skills
Generates a comprehensive status report for all PRs managed by agento in a GitHub repo, covering draft readiness, CI checks, reviews, and mergeability. Posts summary to Slack.
Ships in jleechan-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The shared catalog preserves host-installed /advice and /web-advice integrations instead of installing them. Before invoking either, resolve its ../advice/SKILL.md or ../web-advice/SKILL.md relative to this package and read the existing skill. For a remote invocation, check the corresponding skill on the target host. If absent, report that integration as UNAVAILABLE and identify the missing package; do not invent a replacement runner, claim an approval, or treat a required gate as passed. Continue independent authorized work, but leave any dependent readiness or plan-approval gate unmet. Existing review quorum, external-disclosure authorization, and optional-review rules still apply.
Produce a comprehensive status report for all PRs agento is handling in
$AO_GITHUB_REPO (the owner/repo that AO workers open PRs against). Use the
canonical draft-first, /green, and zero-touch skills; display inline and post
the summary to Slack.
If AO_GITHUB_REPO is unset, stop with
AO_GITHUB_REPO not configured: GitHub owner/repo of Agent Orchestrator. Example: export AO_GITHUB_REPO=owner/agent-orchestrator.
Use REST as the primary read path for these listings. REST and GraphQL have
separate quota buckets. Before reporting GitHub/API work blocked, try one
bounded equivalent read through both APIs where the operation permits; see
github-cli-reference/SKILL.md. A quota failure for one operation does not
block unrelated AO work.
gh api "repos/${AO_GITHUB_REPO}/pulls?state=open&per_page=30&sort=updated" \
--jq '.[] | "\(.number)\t\(.head.ref)\t\(.title[:60])"'
Also collect recently merged (last 24h):
gh api "repos/${AO_GITHUB_REPO}/pulls?state=closed&per_page=30&sort=updated&direction=desc" \
--jq '.[] | select(.merged_at != null) | "\(.number)\t\(.head.ref)\t\(.title[:70])\t\(.merged_at)"'
Filter merged ones to last 24h by comparing .merged_at timestamp.
For each open PR number NUM, fetch mergeability, CI, reviews, and comments. Use REST for the shown reads; if a call is unavailable, try an equivalent read-only GraphQL query before reporting the data unavailable:
# Mergeability (REST returns boolean mergeable + string mergeable_state)
gh api "repos/${AO_GITHUB_REPO}/pulls/NUM" \
--jq '{mergeable, mergeable_state}'
# CI checks (canonical statusCheckRollup contract at current HEAD)
gh pr view NUM --repo "$AO_GITHUB_REPO" --json statusCheckRollup \
--jq '[.statusCheckRollup[] | select(.name != "Green Gate" and .name != "Cursor Bugbot") | {name, status, conclusion, state, typename: .__typename}]'
# Reviews
gh api "repos/${AO_GITHUB_REPO}/pulls/NUM/reviews" \
--jq '.[] | {user: .user.login, state}'
# Fetch comment text for model review; never infer severity from words.
gh api "repos/${AO_GITHUB_REPO}/pulls/NUM/comments" \
--jq '.[] | {id, user: .user.login, body, path, line, created_at}'
/green per open PRUse ~/.claude/skills/pr-lifecycle/SKILL.md and
~/.claude/skills/pr-green-definition/SKILL.md. Advisory checks (Green Gate and Cursor Bugbot) are excluded from gating.
Status label (pick worst failing condition):
status is
CI_PENDING regardless of conclusion; evaluate conclusion only when
status == COMPLETED. A completed null conclusion is CI_UNKNOWN, not
CI_FAILED and never a pass. For a StatusContext, pending/expected means
CI_PENDING, explicit failure/error means CI_FAILED, and missing/unknown
state means CI_UNKNOWN.GREEN — draft readiness and both /green gates pass; green alone does not establish READY, and merge authorization remains separate under pr-lifecycleCONFLICT — mergeable_state is dirtyCI_PENDING — any non-advisory check is not complete (status is QUEUED, PENDING, IN_PROGRESS, missing, or null), regardless of its conclusion fieldCI_FAILED — a non-advisory check is COMPLETED and its conclusion is explicitly non-success (FAILURE, CANCELLED, SKIPPED, NEUTRAL, TIMED_OUT, ACTION_REQUIRED); a completed check with a null conclusion is CI_UNKNOWN, never silently passedCI_UNKNOWN — check data is malformed or incomplete in a way not covered by pending/failed; report the exact row and leave Gate 1 unprovenDRAFT_NOT_READY — an applicable draft gate lacks coverage for the candidate under pr-lifecycle; assess earlier-SHA evidence by its delta-and-scope rule rather than requiring a new verdict solely for a new hashUse ~/.claude/skills/zero-touch/SKILL.md for the intervention criteria and
measurement. The [agento] title prefix is a discovery hint only, not proof of
zero-touch; its absence does not prove operator assistance.
For every merged PR in the window, inspect spawn provenance, quality-gate receipts and pre-merge intervention history
(commits, reviews, comments and CI actions), using the canonical criteria and exclusions.
Record the supporting evidence links and classify as YES (verified zero-touch),
NO (verified operator assistance), or UNKNOWN (missing or ambiguous evidence).
A shared account or title tag alone does not establish who performed an action.
Do not count merge authorization or the merge action itself as operator assistance;
apply the canonical exclusions rather than inventing new quality or review gates.
Calculate:
Incomplete coverage makes the overall zero-touch rate unknown; report the verified
counts and missing evidence instead of treating unknowns as zero-touch or assisted.
With no merged PRs, report N/A (no merged PRs), not a percentage.
For each NO, cite the actual intervention; for each UNKNOWN, name the evidence gap.
## Agento Status Report — YYYY-MM-DD HH:MM
### Summary
- Repo: $AO_GITHUB_REPO
- Open PRs: N
- GREEN (draft readiness + /green only): N
- Not green: N
- Merged (last 24h): N
- Zero-touch rate (24h): X% / UNKNOWN / N/A (N verified zero-touch, A assisted, U unknown; M total merged)
### Open PRs
| PR | Branch | Status | Blockers |
|----|--------|--------|----------|
| [#NUM](URL) title | branch | GREEN/status | blocker details |
### Merged (last 24h)
| PR | Title | Zero-touch? | Notes |
|----|-------|-------------|-------|
| [#NUM](URL) | title | YES / NO / UNKNOWN | evidence links, intervention or gap |
### Zero-Touch Analysis
- Rate: X% / UNKNOWN / N/A (N verified zero-touch / M total; U unknown)
- Verified operator-assisted PRs and unknowns:
- #NUM: reason (e.g., "operator fixed lint on main before CI could pass")
- #NUM: UNKNOWN (e.g., "spawn provenance unavailable")
### AO Sessions
(tmux session count + key worker status)
Post to the user-authorized Slack summary destination (verified channel ID: <slack-channel>):
mcp__slack__conversations_add_message(
channel_id="<slack-channel>",
text="*Agento Status Report — YYYY-MM-DD HH:MM*\n\nRepo: <AO_GITHUB_REPO>\nOpen: N PRs | GREEN: N | Not green: N\nMerged (24h): N | Zero-touch rate: X% / UNKNOWN / N/A (U unknown)\n\n<per-PR details>"
)
$AO_GITHUB_REPO only.github-cli-reference/SKILL.md and try the other read API where equivalent.mergeable_state from REST: clean, dirty, unstable, unknown.~/.claude/skills/zero-touch/SKILL.md; title tags are discovery hints, not execution evidence.ao status is unavailable, tmux list-sessions may confirm that a pane exists, but it does not prove that the worker is working or idle. Use ao-session-monitor/SKILL.md to assess state.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: commands: Invalid input, agents.0: Invalid string: must start with "./", agents.0: Invalid string: must end with ".md", skills.0: Invalid string: must start with "./"
.claude-plugin/plugin.json: commands: Invalid input, agents.0: Invalid string: must start with "./", agents.0: Invalid string: must end with ".md", skills.0: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
242 skills in this plugin
/4layer/4layer - Four-Layer Minimal Repro Testing Protocol/ablationUse when diagnosing a bug in LLM/model behavior, or any stochastic system, where the cause is disputed or theorized rather than measured. Slash commands `/ablation` and `/abal`. Enforces the rule that you manipulate the REAL captured input and replay it through the REAL production path, one variable at a time, with a verbatim control arm run first to establish the base rate. Trigger phrases include "ablation", "ablate", "what actually causes", "is X the trigger", "prove the root cause", "A/B the payload", "does removing X fix it", "why does the model do this", "test the hypothesis", "root cause is disputed"./accept-adapt-reject