/cross-check
Preserve the useful second-opinion method: a separate context challenges a scoped diff,
plan or hypothesis and reports agreement, disagreement and new findings. Any host with
an authorized delegation, execution or manual handoff path can coordinate it. Choose
the actual available reviewer, not a mandatory vendor or a different role label in the
implementer's context. Legitimate Codex client support remains available by explicit
selection; this workflow does not change the current session's model.
When to use
Use for a consequential diff, contested root cause or design decision that benefits from
separate reasoning. For a trivial task, avoid unnecessary external cost. If two rounds
produce unresolved disagreement on the same content, retain the disagreement and escalate
to a human decision rather than repeating the same framing.
Cross-check keeps one independent reviewer. A request for several models on the same
question is MARS, never a panel role-played inside cross-check.
Inputs
- Exactly one target:
--diff, --plan <file>, --code <file> or --hypothesis <text>.
- Optional
--reviewer <name>: select a real host reviewer/context or an authorized
external client such as Codex. Omitted selection uses an available separate context
within current authority; missing delegation leaves a manual handoff.
- Optional
--style <defects|alternatives>: strict defect-finding (default) or
exploratory alternatives.
- Optional
--budget <constraint>: an operator constraint, not an invented token-limit CLI flag.
- Optional
--depth auto|lean|standard|deep: the same
adaptive review, not model selection or panel consent.
- For mapped delivery: the original work map, package/leaf IDs, acceptance and effective
profile reference. A genuine ad-hoc inspection does not require a new plan or backlog.
These are workflow inputs, not flags to forward blindly to any client. Conflicting
targets or an unavailable explicitly selected reviewer are reported before execution;
do not silently substitute another provider.
Procedure
Establish authority. A subprocess can transmit code and spend credits. Verify the
requested reviewer, destination, scope and allowed data before any invocation;
do not install a client, read credentials or silently substitute a paid provider.
Existing task authority remains valid within that same scope.
Inspect the real API. Bind the host's actual delegation tools and permissions.
For explicitly selected Codex execution, inspect the installed codex --help,
codex exec --help, exact version and supported permission/output options first.
Inspect another selected client's real interface in the same way. Do not guess
--prompt-file, --output json, --quiet, sandbox or model flags. A read-only
request is not proof the host enforces it, and a denied route cannot be bypassed.
Prepare the scope and identity. Freeze the reviewed selection and read the shared
lib/review-schema.json from the trusted source. Form the request from that schema,
not a second skill-specific JSON contract. For mapped delivery, the shared command is:
python3 "$LINTEL_SOURCE_ROOT/bin/li-review-evidence.py" prepare \
--repo "$LINTEL_REPO_ROOT" --request "$request_file"
Retain its immutable context JSON as the expected identity. Include full original
acceptance and selected paths/revision, not the author's preferred conclusion.
Carry the verified profile context, generation, digest, name/version and required
policy unchanged; an unresolved required profile blocks its dependent action.
If the evidence helper/schema is unavailable in this source version, report the
review handoff as unverified; do not manufacture clearance with a legacy positive string.
For an ad-hoc diff, code or hypothesis inspection without a work map, use the shared
snapshot --repo --base --select contract from the installed helper's help/schema.
Then inspect --repo --snapshot <snapshot.json> --input <inspection-input.json> binds
controls, required-policy observations and evidence. Its result has
purpose: inspection and release_clearance: false. Do not create a synthetic work
map or promote that inspection into release clearance. Exact selection and input
shapes belong to the shared implementation, not this skill.
Run the authorized review or hand it off. Give the external actor read-only scope,
separate context and the shared method packet
for the selected subject/stage, depth, tags and mandatory questions. Retain its
P1/P2/P3, confidence, file:line and evidence contract rather than a second rubric.
Check the reply against metadata and the original body; unexplored mandatory
evidence remains incomplete and optional limitations remain visible.
Capture actual stdout, stderr and exit status. Missing client/tools leave a
replayable manual brief; main-agent role-play is not a substitute. Do not let the
reviewer repair its own findings or run concurrent writers against shared files.
Compare findings. Cite reviewed files and evidence. Separate agreement, disagreement
and new findings; follow disputed claims to the actual code. Out-of-scope references
need clarification, not automatic suppression. Measured usage is recorded only if the
host supplies it; a requested budget is not proof it was enforced.
Record through the shared evidence interface. Preserve ad-hoc inspection output as
non-release evidence. For mapped delivery, populate the decision record according
to the shared schema with skill: cross-check, preserving actor/context, attempt,
work and exact result identity.
Structural validate --record checks shape only. With LINTEL_REPO_ROOT set:
bash "$LINTEL_SOURCE_ROOT/bin/li-review-log" --file "$decision_file"
bash "$LINTEL_SOURCE_ROOT/bin/li-review-read" --skill cross-check \
--expected "$expected_context" --corroboration "$actual_receipt" --gate-json
The latest applicable log decision, not an arbitrary old pass, governs clearance.
The expected context and corroboration must be actual retained artifacts, not invented
strings. Missing real host/human corroboration blocks required independent review.
Its record_digest must bind this exact decision, with the same attempt and
actual builder/reviewer contexts. Two actor strings do not prove independence.
--json is history only; direct verify of one record cannot establish latest-log
status. The reader's exit status and exact result remain authoritative.
Report and hand back. Summarize actual actor/client/version, target identity,
findings by severity, agreements/disagreements, commands run, unrun checks and limits.
A changed acceptance, configuration or selected content requires re-evaluation.
QA/evidence preparation does not run tests, and SHIP evidence does not push or deploy.
Failure and data handling
Missing authorization, unavailable client, nonzero exit, malformed result, changed content
or absent corroboration remains explicit. Preserve useful partial findings without labeling
them verified clearance. Do not log raw sensitive prompts or tool output into public artifacts.
A read-only flag is a requested scope, not proof that the external host enforced it.
For manual recovery of mapped work, retain the work map, original leaf text, acceptance, trusted source,
effective profile reference, exact reviewed selection, next action and outstanding independent
review. For an ad-hoc inspection, retain its selected snapshot, scope, findings and limitations
without inventing work identity. No background process or special model is required.
Examples
/cross-check --diff requests an independent opinion on the selected diff.
/cross-check --plan plan.md --reviewer codex explicitly selects an authorized Codex
route when that client is available. A hypothesis request asks the separate actor to
test the claim against evidence, not merely agree. A code-only exploratory request
can identify alternatives without authorizing edits.
In every case, actual command syntax comes from the installed host and shared evidence
schema, not from this workflow-input shorthand.
See review, diagnose, inspect and ship for the surrounding canonical
workflows and the Universal adapter for host fallbacks.
1---2name: cross-check3layer: foundation4description: Use for an independent second opinion on a diff, plan, code or hypothesis through an actually available authorized reviewer. Retains actor identity, disagreements and shared content-bound evidence without requiring a particular vendor.5color: purple6tools: Bash, Read7voice: internal8cli_support: [claude-code, codex, copilot, cursor]9metadata:10 source: https://skillmd.com/skills/jokerman89/cross-check11---1213# /cross-check1415Preserve the useful second-opinion method: a separate context challenges a scoped diff,16plan or hypothesis and reports agreement, disagreement and new findings. Any host with17an authorized delegation, execution or manual handoff path can coordinate it. Choose18the actual available reviewer, not a mandatory vendor or a different role label in the19implementer's context. Legitimate Codex client support remains available by explicit20selection; this workflow does not change the current session's model.2122## When to use2324Use for a consequential diff, contested root cause or design decision that benefits from25separate reasoning. For a trivial task, avoid unnecessary external cost. If two rounds26produce unresolved disagreement on the same content, retain the disagreement and escalate27to a human decision rather than repeating the same framing.2829Cross-check keeps one independent reviewer. A request for several models on the same30question is [MARS](../mars/SKILL.md), never a panel role-played inside cross-check.3132## Inputs3334- Exactly one target: `--diff`, `--plan <file>`, `--code <file>` or `--hypothesis <text>`.35- Optional `--reviewer <name>`: select a real host reviewer/context or an authorized36 external client such as Codex. Omitted selection uses an available separate context37 within current authority; missing delegation leaves a manual handoff.38- Optional `--style <defects|alternatives>`: strict defect-finding (default) or39 exploratory alternatives.40- Optional `--budget <constraint>`: an operator constraint, not an invented token-limit CLI flag.41- Optional `--depth auto|lean|standard|deep`: the same42 [adaptive review](../review/references/adaptive.md), not model selection or panel consent.43- For mapped delivery: the original work map, package/leaf IDs, acceptance and effective44 profile reference. A genuine ad-hoc inspection does not require a new plan or backlog.4546These are workflow inputs, not flags to forward blindly to any client. Conflicting47targets or an unavailable explicitly selected reviewer are reported before execution;48do not silently substitute another provider.4950## Procedure51521. **Establish authority.** A subprocess can transmit code and spend credits. Verify the53 requested reviewer, destination, scope and allowed data before any invocation;54 do not install a client, read credentials or silently substitute a paid provider.55 Existing task authority remains valid within that same scope.562. **Inspect the real API.** Bind the host's actual delegation tools and permissions.57 For explicitly selected Codex execution, inspect the installed `codex --help`,58 `codex exec --help`, exact version and supported permission/output options first.59 Inspect another selected client's real interface in the same way. Do not guess60 `--prompt-file`, `--output json`, `--quiet`, sandbox or model flags. A read-only61 request is not proof the host enforces it, and a denied route cannot be bypassed.623. **Prepare the scope and identity.** Freeze the reviewed selection and read the shared63 `lib/review-schema.json` from the trusted source. Form the request from that schema,64 not a second skill-specific JSON contract. For mapped delivery, the shared command is:6566 ```bash67 python3 "$LINTEL_SOURCE_ROOT/bin/li-review-evidence.py" prepare \68 --repo "$LINTEL_REPO_ROOT" --request "$request_file"69 ```7071 Retain its immutable context JSON as the expected identity. Include full original72 acceptance and selected paths/revision, not the author's preferred conclusion.73 Carry the verified profile context, generation, digest, name/version and required74 policy unchanged; an unresolved required profile blocks its dependent action.75 If the evidence helper/schema is unavailable in this source version, report the76 review handoff as unverified; do not manufacture clearance with a legacy positive string.7778 For an ad-hoc diff, code or hypothesis inspection without a work map, use the shared79 `snapshot --repo --base --select` contract from the installed helper's help/schema.80 Then `inspect --repo --snapshot <snapshot.json> --input <inspection-input.json>` binds81 controls, required-policy observations and evidence. Its result has82 `purpose: inspection` and `release_clearance: false`. Do not create a synthetic work83 map or promote that inspection into release clearance. Exact selection and input84 shapes belong to the shared implementation, not this skill.854. **Run the authorized review or hand it off.** Give the external actor read-only scope,86 separate context and the [shared method packet](../review/references/method.md)87 for the selected subject/stage, depth, tags and mandatory questions. Retain its88 P1/P2/P3, confidence, file:line and evidence contract rather than a second rubric.89 Check the reply against metadata and the original body; unexplored mandatory90 evidence remains incomplete and optional limitations remain visible.91 Capture actual stdout, stderr and exit status. Missing client/tools leave a92 replayable manual brief; main-agent role-play is not a substitute. Do not let the93 reviewer repair its own findings or run concurrent writers against shared files.945. **Compare findings.** Cite reviewed files and evidence. Separate agreement, disagreement95 and new findings; follow disputed claims to the actual code. Out-of-scope references96 need clarification, not automatic suppression. Measured usage is recorded only if the97 host supplies it; a requested budget is not proof it was enforced.986. **Record through the shared evidence interface.** Preserve ad-hoc inspection output as99 non-release evidence. For mapped delivery, populate the decision record according100 to the shared schema with `skill: cross-check`, preserving actor/context, attempt,101 work and exact result identity.102 Structural `validate --record` checks shape only. With `LINTEL_REPO_ROOT` set:103104 ```bash105 bash "$LINTEL_SOURCE_ROOT/bin/li-review-log" --file "$decision_file"106 bash "$LINTEL_SOURCE_ROOT/bin/li-review-read" --skill cross-check \107 --expected "$expected_context" --corroboration "$actual_receipt" --gate-json108 ```109110 The latest applicable log decision, not an arbitrary old pass, governs clearance.111 The expected context and corroboration must be actual retained artifacts, not invented112 strings. Missing real host/human corroboration blocks required independent review.113 Its `record_digest` must bind this exact decision, with the same attempt and114 actual builder/reviewer contexts. Two actor strings do not prove independence.115 `--json` is history only; direct `verify` of one record cannot establish latest-log116 status. The reader's exit status and exact result remain authoritative.1177. **Report and hand back.** Summarize actual actor/client/version, target identity,118 findings by severity, agreements/disagreements, commands run, unrun checks and limits.119 A changed acceptance, configuration or selected content requires re-evaluation.120 QA/evidence preparation does not run tests, and SHIP evidence does not push or deploy.121122## Failure and data handling123124Missing authorization, unavailable client, nonzero exit, malformed result, changed content125or absent corroboration remains explicit. Preserve useful partial findings without labeling126them verified clearance. Do not log raw sensitive prompts or tool output into public artifacts.127A read-only flag is a requested scope, not proof that the external host enforced it.128129For manual recovery of mapped work, retain the work map, original leaf text, acceptance, trusted source,130effective profile reference, exact reviewed selection, next action and outstanding independent131review. For an ad-hoc inspection, retain its selected snapshot, scope, findings and limitations132without inventing work identity. No background process or special model is required.133134## Examples135136`/cross-check --diff` requests an independent opinion on the selected diff.137`/cross-check --plan plan.md --reviewer codex` explicitly selects an authorized Codex138route when that client is available. A hypothesis request asks the separate actor to139test the claim against evidence, not merely agree. A code-only exploratory request140can identify alternatives without authorizing edits.141In every case, actual command syntax comes from the installed host and shared evidence142schema, not from this workflow-input shorthand.143144See `review`, `diagnose`, `inspect` and `ship` for the surrounding canonical145workflows and [the Universal adapter](../../shims/universal/ADAPTER.md) for host fallbacks.