logic-check

Audit verifiable computations by independently re-deriving answers with a separate reviewer model.

Updated Jul 12, 2026
One-click install
npx skills add https://github.com/sumitake/agent-collab --skill logic-check-sumitake
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: logic-check
Source: https://github.com/sumitake/agent-collab/tree/main/plugins/agent-collab/skills/logic-check
Command: npx skills add https://github.com/sumitake/agent-collab --skill logic-check-sumitake

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Multi-step calculations, algorithm traces, and financial computations can contain hidden intermediate errors that silently corrupt the final answer, and asking a reviewer to "check the work" anchors on the existing derivation instead of catching the mistake. ## Core Features & Use Cases - Independent Re-derivation: Sends only the problem statement and explicit constraints to a reviewer model, which re-derives the answer from scratch so divergences pinpoint the exact faulty step. - Transition Critique for Large Traces: Switches to step-by-step transition verification for 30+ step traces like DP tables or constraint-propagation logs where parallel re-derivation is impractical. - Verifier Independence Contract: Verifies reviewer lineage is distinct from the primary and artifact author before accepting results as independent governance evidence. - Use Case: After computing a cap-table waterfall with multiple liquidity-preference tiers, dispatch the problem and constraints to the reviewer, compare derivations, and report the audited result with the source of any error named. ## Quick Start Ask the assistant to logic-check the calculation just completed by having the reviewer independently re-derive it from the original problem statement and constraints.

Frequently Asked Questions about logic-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify a multi-step calculation with an independent reviewer?▼

Send the reviewer only the problem statement and explicit constraints, never the original derivation, so it re-derives the answer from scratch. Compare the two derivations step-by-step; the divergence point identifies the error.

What is the difference between logic-check and a second-opinion review?▼

Logic-check applies to verifiable computations with a definite right answer, using independent re-derivation to catch compounding intermediate errors. Second-opinion suits open-ended judgment, strategy, or interpretation where no single correct answer exists.

When should I use transition critique instead of re-derivation?▼

Use transition critique for traces of 30 or more steps, such as full DP table fills or long constraint-propagation logs, where blind parallel re-derivation produces structurally incompatible solutions. The reviewer then verifies each state transition against the constraints instead.

Why must constraints be included when auditing a calculation?▼

Implicit choices like rounding rules, currency, FIFO/LIFO ordering, or unit conventions cause spurious divergence if the reviewer defaults differently. Stating constraints explicitly pins both derivations to the same problem instance.

Does agreement between two models prove the answer is correct?▼

No. Agreement is one signal, not proof, since both models can share the same well-known wrong answer on textbook-style problems. The skill treats agreement as high confidence but not certainty.

What counts as an independent reviewer for verification?▼

The reviewer must have known lineage distinct from both the active primary and the artifact author, verified by the caller before dispatch and confirmed from observed lineage afterward. A route, provider name, or self-assertion alone does not establish independence.