cross-modal-review
Skill1 starsChanged 7 months agoMITView on GitHub
Run a second-model quality gate on staged changes, a skill draft, or any generated output. A cheaper, independent model reviews the primary output for correctness, safety, and completeness before the user sees the final result.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- garrytan/gbraintheir own version, first seen Oct 17, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- garrytan/gbrain★ 32ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository206 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- project-healthSkill
- skill-validatorSkill
- accessibilitySkill
- agent-debugSkill
- agent-evaluateSkill
- ai-governanceSkill
- ai-system-reviewSkill
- api-docs-generateSkill
- api-examplesSkill
- api-mockSkill
- api-test-generateSkill
- api-validateSkill
- architecture-diagramSkill
- ask-mattSkill
- assumption-mapSkill
- boilerplateSkill
- brainstormSkill
- branch-finishSkill
- briefingSkill
- browser-testing-with-devtoolsSkill
- bundle-analyzeSkill
- cache-strategySkill
- canarySkill
- carefulSkill
- cavemanSkill
- changelog-autoSkill
- chaos-testSkill
- ci-setupSkill
- ci-sweepSkill
- cleanprojectSkill
- click-path-auditSkill
- codebase-designSkill
- code-review-checklistSkill
- code-tourSkill
- commitSkill
- completion-verifySkill
- complexity-reduceSkill
- component-librarySkill
- config-cleanupSkill
- config-generateSkill
- conflict-resolveSkill
- container-optimizeSkill
- context-budgetSkill
- context-engineeringSkill
- context-restoreSkill
- context-saveSkill
- continuous-learningSkill
- contributingSkill
- cost-trackSkill
- councilSkill
- create-todosSkill
- database-connectSkill
- db-diagramSkill
- ddd-modelSkill
- debug-root-causeSkill
- debug-sessionSkill
- debug-systematicSkill
- decision-logSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Early exit: If the target is a single-line change or a comment-only edit, report "Trivial change — cross-modal review skipped" and stop.
- Distinctive: line 47
Do variable names match what they actually contain?
- Distinctive: line 103
Do not apply fixes automatically — this is a review, not a fixer.
- Very specific: line 107
Reviewing a review: If the input is the output of /review, compare both reviews and flag any disagreements between them as areas needing …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cross-Modal Review
I act as a second, independent reviewer — catching errors, blind spots, and assumptions the primary pass missed. Inspired by gbrain's cross-modal quality gate pattern.
Token Optimization
Expected range: 400–1,500 tokens (second-pass review), 50 tokens (trivial change, skip)
Patterns used: Git diff scope default (staged only), early exit (no reviewable content), progressive disclosure (verdict first → issues → details)
Early exit: If the target is a single-line change or a comment-only edit, report "Trivial change — cross-modal review skipped" and stop.
When to Use
Invoke after:
/review— to get a second opinion on the primary review output- Generating a new skill draft — to validate it passes conformance before writing
- Writing complex business logic — to catch logic errors the primary pass may rationalize
- Security-sensitive changes — to add a second set of eyes before commit
Can also be invoked directly: /cross-modal-review with staged changes as the default target.
Step 1 — Identify Target
# Default: staged changes
git diff --cached --stat
git diff --cached --name-only
# If no staged changes, check for an argument (file path or prior output)
[[ -z "$ARGUMENTS" ]] && git diff --cached --quiet && echo "Nothing to review" && exit 0Step 2 — Frame the Second-Pass Review
Review the target with deliberate adversarial framing — assume the primary pass was optimistic. Check specifically:
Correctness
- Does the logic match the stated intent?
- Are there off-by-one errors, missed null checks, or incorrect assumptions?
- Do variable names match what they actually contain?
Completeness
- Are edge cases handled?
- Are error paths covered?
- Does the change handle the empty/zero/nil case?
Safety
- Are there command injection, path traversal, or injection vulnerabilities?
- Are credentials, tokens, or PII handled correctly?
- Are destructive operations guarded?
Consistency
- Does the change follow the patterns in the surrounding code?
- Are naming conventions consistent?
- Are existing tests updated to cover the change?
Skill-Specific (when reviewing a SKILL.md)
- Does the frontmatter have all required fields?
- Is the Token Optimization section present with concrete estimates?
- Does the description trigger correctly?
- Are there early exit conditions?
- Is it under 100 lines of instructions?
Step 3 — Report
Cross-modal review — <target>
Verdict: PASS / PASS WITH NOTES / FAIL
Issues found:
[CRITICAL] <issue> — <location>
[WARN] <issue> — <location>
[NOTE] <issue> — <location>
Passed:
✓ Logic matches intent
✓ No injection vulnerabilities
...
Recommendation: <one sentence>Verdict definitions:
PASS— No issues; safe to proceedPASS WITH NOTES— Minor issues that don't block; worth fixing before mergeFAIL— One or more CRITICAL issues; do not proceed until resolved
Step 4 — On FAIL
List each CRITICAL issue with:
- Where it is (file:line or section name)
- Why it is critical
- The minimal fix
Do not apply fixes automatically — this is a review, not a fixer. The user decides whether to fix and re-run.
Edge Cases
- Reviewing a review: If the input is the output of
/review, compare both reviews and flag any disagreements between them as areas needing human judgment - Large diff (50+ files): Focus on the highest-risk files (auth, deploy, schema changes) and sample the rest; note what was sampled
- No prior review: Runs as a standalone first-pass review if no prior review output is available
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

