cross-document-verification

Compare anchored facts across multiple documents and return a case-level verdict.

13|4|Updated Apr 27, 2026
One-click install
npx skills add https://github.com/memect/kc --skill cross-document-verification
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cross-document-verification
Source: https://github.com/memect/kc/tree/main/template/skills/zh/cross-document-verification
Command: npx skills add https://github.com/memect/kc --skill cross-document-verification

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

The Cross-document Verification Skill defines and guides the creation of rules that depend on facts spanning multiple documents. It ensures explicit anchors and cross-document paths (source document type → anchor → target document type → target entity) with defined PASS/FAIL criteria, so rules can be built and later executed by a workflow engine.

Core Features & Use Cases

  • Explicit cross-document path definition: start document type, anchor entity, target document type, target entity, and consistency rules.
  • Case-level rule orchestration: check.py / workflow traversal that operates on a case with multiple documents and extracted entities.
  • Role separation: KC as the builder, not the runtime executor, enabling safe, auditable production workflows.
  • Use cases: main contracts with attachments (reference integrity), loan applications with income proofs and bank statements, and multi-source bundles (income, credit, appraisal) requiring cross-document coordination.

Quick Start

Create a cross-document-verification Skill unit and implement its check.py to validate a case with start/anchor/target definitions.

Frequently Asked Questions about cross-document-verification

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

FAQPage Schema
What is cross-document verification and how does it enforce compliance?

Cross-document verification enforces compliance by comparing anchored facts across multiple documents within a case. It extracts anchors, locates target documents, applies consistency checks, and returns a case-level verdict with evidence and severity.

How do I verify income proof against bank statements for a loan application?

To verify income proof against bank statements for a loan application, you define a cross-document path: start document type, anchor entity, target document type, and consistency rules. The check.py workflow then traverses the case to execute the validation.

Can I use this skill to check reference integrity between main contracts and attachments?

Yes, you can check reference integrity between main contracts and attachments. The skill supports case-level rule orchestration, allowing you to define explicit anchors and cross-document paths to validate consistency across bundled legal files.

Does cross-document verification execute rules at runtime or just build them?

Cross-document verification separates the builder from the runtime executor. It defines and guides the creation of rules with explicit anchors and PASS/FAIL criteria, enabling safe, auditable production workflows to be executed later by a workflow engine.

What's the best way to define cross-document consistency rules for multi-source bundles?

The best way to define cross-document consistency rules for multi-source bundles is using the rule-builder. You specify the start document type, anchor entity, target document type, target entity, and consistency rules to establish executable PASS/FAIL criteria.

What are the limitations of using cross-document verification for case management?

A limitation is that cross-document verification requires explicit anchors and defined cross-document paths for every rule. Without extracted entities and properly structured start-to-target document mappings, the case-level workflow traversal cannot return a valid verdict.