code-review-zh
A bilingual (English/Chinese) code-review skill for Claude Code and Codex. It reviews uncommitted changes or a commit range using four probes (behavior, test coverage, repo rules, impact analysis), writes a structured report, and applies a merge gate.
What it can touch
| files | write, including .claude/skills/code-review* |
|---|---|
| network | api.star-history.com, github.com |
| shell | runs commands |
| secrets | GITHUB_TOKEN |
What it actually does
The SKILL.md instructions have the agent collect git diffs, read source in the reviewed repository, and dispatch per-probe sub-agents. Those sub-agents write JSON records under {output_root}/active/{slug}/, which defaults to docs/work. The agent then runs bundled bash scripts (collect-metrics, rule-grep) and a Python helper (sync-results.py) to validate the records, render the report and compute gate status. The Python helper reads .code-review/config.json and the probe registry, creates the review directory and writes code-review.md and policy.json. The agent may run the project's own coverage command when allowed. A separate installer copies the skill into .claude/skills or .agents/skills, refusing to overwrite unless --force is given and backing up first. The remote installer clones the GitHub repo (default ref: main) and runs its install.py. GitHub workflows maintain NEWS/README and a star-history chart in CI only. No credential access, exfiltration, persistence or prompt injection was found in the files provided. The core bash scripts collect-metrics, lib-metrics and rule-grep were omitted from the bundle and could not be reviewed.
What the check found
mediumRuns code that is built while it runs
eval, exec and new Function run text as code, which makes it hard to know what will actually run.
tests/test_install_remote.py:19 exec(Path(sys.argv[1]).read_bytes(), namespace)
mediumCore shell scripts the agent must run were not available for review
The workflow tells the agent to run collect-metrics (and, via repo-guard, rule-grep) with bash at every step. These scripts and lib-metrics were omitted from the bundle, so their behavior is unverified. The Python helper they likely wrap looks benign, but a person should inspect the bash scripts before listing.
skills/code-review/SKILL.md:69 bash "$CODE_REVIEW_SKILL_DIR/scripts/collect-metrics" init {slug}
skills/code-review/references/probes/repo-guard.md:19 `bash "$CODE_REVIEW_SKILL_DIR/scripts/rule-grep"`.
mediumRemote installer clones an unpinned branch and executes its installer
install-remote.py clones the main branch by default and runs whatever scripts/install.py that branch contains. A future change to the repo would run on users' machines without review. Pinning to a release tag or verifying a hash would reduce this risk.
scripts/install-remote.py:18 REPOSITORY = "https://github.com/kyy-logs/code-review-skill.git"
scripts/install-remote.py:19 DEFAULT_REF = "main"
scripts/install-remote.py:62 return subprocess.run(command).returncode
Keep an eye on it
This check is of one commit. Watch code-review-zh and we'll email you if a later commit changes what it can touch.
Made this? Add the badge
[](https://plugsday.com/tools/kyy-logs-code-review-skill)About this check
Checked November 5, 2026 at commit dabbdb1a4703, 86 files. Rules for known red flags, then two Claude reviews, one of them told to assume the author is malicious. A later commit hasn't been checked. How checks work.