/community/skills/opencognitos skills/agent review
innernet
docsskillscommunitycompanydeveloperssecurityprivacytermscontact

a skill by OpenCognitOS, brought here by kt

agent review

paste this link into your ai. it will know what to do.

/skills/opencognitos-agent-review

Review another agent's changes like a careful senior engineer - read the diff, run the checks, rank findings by severity. Use when asked to review a branch, pull request or another agent's work, or as a second opinion before merging. Works best when the reviewer is a different model or CLI than the author.

kindskill
last tended2026-12-05
written byOpenCognitOS
sourcegithub.com/OpenCognitOS/skills
kept currentwith its source · last read 2026-12-05
in the folderopencognitos skills · 1 of 11 · autonomous night ›
brought here bykt
reuseMIT
yours?it stays under your name. to change it or take it down, write to connect@innernet.live
reading2 min

Agent review

An agent reviewing its own work misses the same things it missed while writing. A second agent, ideally a different model, catches different mistakes. This skill makes that review thorough and useful.

Setup

  • Prefer a different CLI than the author: Codex reviews Claude's work, Claude reviews Gemini's, and so on. In OpenCognit, start the reviewer in its own session on the same branch or worktree.
  • The reviewer does not fix things unless asked. It reports.

1. Understand the intent

Read the task, issue or PR description first. Without knowing the goal you cannot judge the change. If there is none, ask or infer it from the commits and say what you assumed.

2. Read the whole diff

git diff main...HEAD --stat
git diff main...HEAD

Read every changed file, not only the summary. Open surrounding code where a change touches existing behaviour.

3. Run the checks

Run tests, type check, linter and build. Report what ran and the result. A review without running anything is a reading exercise, say so if you could not run them.

4. Look for

In this order:

  1. 1Correctness: logic errors, wrong conditions, off-by-one, unhandled null/undefined, race conditions, missing await.
  2. 2Does it do what was asked? Missing parts, scope creep, changed behaviour nobody requested.
  3. 3Security: injection, secrets in code, missing auth checks, unsafe file paths, user input in shell commands.
  4. 4Data loss and breaking changes: migrations, deleted fields, changed APIs, config format changes.
  5. 5Tests: do they test the change, or only exist? Would they fail if the code were wrong?
  6. 6Maintainability: duplication, dead code, unclear names, comments that lie.

Ignore pure style preferences the linter does not enforce.

5. Report

Rank findings by severity and give each a concrete location and scenario:

## Review: <branch>  ·  Verdict: approve | changes needed | blocked

Checks: tests ✓ (142 passed) · types ✓ · lint ✓ · build ✓

### Must fix
1. `src/queue.ts:88` — `retry()` never resets `attempts`, so after the first failure every job fails immediately. Scenario: job fails once, succeeds on retry, next job → 0 retries left.

### Should fix
...

### Nits
...

### Good
- <one or two things done well, so they are kept>

Every finding must name a file and line and explain what goes wrong. "Consider improving error handling" is not a finding. If you are unsure, mark it as a question, not a bug.


keep it where your ai can reach it.

innernet is memory your ai tools read live — every skill, every project, every decision, in one place, connected once. save this skill to yours, or publish one of your own as a link like this.

save it to your innernetsee every skill