/rrr

SkillAI & models

GLM-5 code review. An upgraded version of /rr: a stronger model reviews the changes, then Codex re-validates the results, keeping only valid issues.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the /rrr skill

What this skill tells your AI

The instructions your AI receives, as published by dgk-dev/dgk-gpt in skills/rrr/SKILL.md and read by ahel’s review.

Use glm-review --model glm-5 as the deeper paid review pass, then validate the results against the code before you trust them.

Default Flow

  1. Determine the exact review scope first.
  • commit hash known -> commit mode
  • staged -> staged mode
  • pr -> PR mode
  • mixed unrelated local changes -> focused diff file
  1. Run a health check only when auth or connectivity looks questionable:
glm-review --model glm-5 --health
  1. Run the review with the smallest correct input:
glm-review --model glm-5
glm-review --model glm-5 --mode staged
glm-review --model glm-5 --mode pr
glm-review --model glm-5 --mode commit --ref <COMMIT_HASH>
glm-review --model glm-5 --diff-file /tmp/glm-review-diff.patch
  1. Verify every reported issue in the actual code and diff.
  2. Keep only confirmed issues.
  3. If fixes are requested or clearly in scope, apply them and rerun the closest verification.

Choosing Review Input

  • committed single change:
glm-review --model glm-5 --mode commit --ref <COMMIT_HASH>
  • committed subset of files:
glm-review --model glm-5 --mode commit --ref <COMMIT_HASH> --files src/a.ts src/b.ts
  • custom focused diff:
GIT_ROOT=$(git rev-parse --show-toplevel)
cd "$GIT_ROOT" && git diff HEAD -- <file1> <file2> ... > /tmp/glm-review-diff.patch
glm-review --model glm-5 --diff-file /tmp/glm-review-diff.patch

If the diff is empty, stop and say there is nothing to review.

Validation Rules

  • glm-review is a reviewer, not an oracle.
  • Re-check referenced code paths before reporting a bug.
  • Separate confirmed defects from debatable style feedback.
  • If a finding depends on broader context, inspect the relevant surrounding code before accepting it.

Error Handling

  • command not found: glm-review Install it with npm install -g glm-review
  • ZAI_API_KEY not set Export ZAI_API_KEY in the shell or your normal secret-loading path
  • auth or API failure Re-run glm-review --model glm-5 --health after refreshing credentials

Finish

Return:

  • review scope used
  • confirmed findings only
  • notable false positives filtered out
  • what verification ran after fixes, if any

Signals

GitHub stars
54
Forks
15
Last commit
Mar 2026
Advanced
Catalog kind
skill
Gateway key
rrr
Source
github.com/dgk-dev/dgk-gpt