本文へ移動
cccskills
無料GitHub で公開

iflytek-contract-intelligence-review

Use when user asks to review contracts, detect contract risks, or perform compliance checks. 合同智能审核 - 对合同扫描件、图片合同、双语合同进行完整审核。覆盖 OCR 识别、条款分析、风险检测、合规校对、翻译摘要全流程。

适用于法务审核、采购合同审查、供应链合规检查等场景。关键词:合同审核、风险检测、条款分析、合规校对、contract review、risk detection。

インストール方法を見る

含まれるファイル(28)

  • SKILL.md4.6 KB
  • _meta.json508 B
  • examples/sample_contract_excerpt.md2.3 KB
  • examples/sample_review_report.md2.9 KB
  • README.md7.9 KB
  • scripts/clients/__init__.py17 B
  • scripts/clients/image_client.py2.1 KB
  • scripts/clients/llm_review_client.py3.5 KB
  • scripts/clients/ocr_client.py3.0 KB
  • scripts/clients/translate_client.py3.3 KB
  • scripts/config.py1.5 KB
  • scripts/errors.py874 B
  • scripts/main.py12.3 KB
  • scripts/processors/__init__.py20 B
  • scripts/processors/bilingual_checker.py9.2 KB
  • scripts/processors/clause_splitter.py5.5 KB
  • scripts/processors/compliance_checker.py11.8 KB
  • scripts/processors/ingest.py3.5 KB
  • scripts/processors/report_builder.py9.5 KB
  • scripts/processors/risk_detector.py14.5 KB
  • scripts/processors/text_cleaner.py3.9 KB
  • scripts/prompts/__init__.py17 B
  • scripts/utils/__init__.py15 B
  • scripts/utils/file_utils.py2.1 KB
  • scripts/utils/logger.py1.2 KB
  • scripts/utils/validation.py1.9 KB
  • templates/review_output.json2.5 KB
  • templates/review_report.md2.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

contract-intelligence-review (合同智能审核)

场景化合同智能审核 Workflow Skill。覆盖从文档识别到风险报告的完整审核流程。

When to Use

  • 用户提交合同扫描件(PDF)需要审核
  • 用户提交合同照片或页面截图
  • 用户提交 Word/Markdown/TXT 格式合同正文
  • 用户需要审核中英双语合同的一致性
  • 用户需要重点审查特定条款(付款、违约、续约、知识产权)
  • 法务人员需要批量审核合同风险

When NOT to Use

  • 仅需要单个字词翻译(请使用翻译 skill)
  • 仅需要语法检查(请使用校对 skill)
  • 仅需要简单文本提取(请使用 OCR skill)
  • 需要具有法律效力的正式法律意见书(本 skill 输出为审核参考,非法律意见)

Prerequisites

  • Python 3.9+
  • 环境变量(需要注入实际 OCR/LLM 实现):
    • OCR_API_ENDPOINT — OCR 服务地址
    • OCR_API_KEY — OCR 服务密钥
    • LLM_API_ENDPOINT — LLM 服务地址
    • LLM_API_KEY — LLM 服务密钥

Supported Inputs

  • PDF 文件(扫描件或文字版)
  • 图片文件(JPG/PNG/BMP/HEIC)
  • Word 文档(.docx)
  • Markdown 文件(.md)
  • 纯文本文件(.txt)

Usage

脚本位置:scripts/main.py

# 基础审核
python3 scripts/main.py --input contract.pdf

# 深度审核 + 重点条款
python3 scripts/main.py --input contract.pdf --review-mode deep --focus payment --focus liability

# 输出 JSON 格式
python3 scripts/main.py --input contract.pdf --output-format json

# 需要翻译摘要
python3 scripts/main.py --input contract.pdf --need-translation

# 保存中间结果
python3 scripts/main.py --input contract.pdf --save-intermediate --output-dir ./output

Options

FlagDescription
--input输入文件路径(必填)
--input-type文件类型:auto/pdf/image/text
--lang合同语言:zh/en/bilingual
--review-mode审核模式:quick/standard/deep
--focus重点审查项(可多次指定)
--need-translation是否需要翻译摘要
--output-format输出格式:markdown/json/both
--output-dir输出目录
--save-intermediate保存中间处理结果

Workflow

  1. 输入识别 — 文件类型自动检测、可读性评估
  2. 内容提取 — OCR 识别 / 文本提取
  3. 文本清洗 — 乱码过滤、段落重组
  4. 条款分段 — 条款编号识别、标题提取
  5. 风险检测 — 付款/违约/续约/知识产权/保密/争议解决
  6. 合规校对 — 术语一致性、格式规范性
  7. 双语检查 — 中英一致性核验
  8. 报告生成 — Markdown / JSON 输出

Risk Categories

类别说明
payment付款与结算风险
liability违约责任风险
renewal期限与续约风险
ip知识产权归属风险
confidentiality保密与数据合规风险
dispute争议解决风险

Output Format

Markdown Report

# 合同智能审核报告

## 文档基本信息
- 文件名: xxx
- 审核模式: standard

## 风险清单
### 高风险
- [风险项] [推断] 原文片段...

## 人工复核建议
- ...

JSON Output

{
  "document_meta": {...},
  "extraction_quality": {...},
  "clauses": [...],
  "risks": [...],
  "compliance_issues": [...],
  "human_review_required": [...],
  "final_summary": "..."
}

Notes

  • 本 skill 为场景编排层,底层 OCR/翻译能力需通过环境变量注入
  • 所有风险判断标注来源:[原文事实]/[推断]/[建议]
  • 识别质量低时标记「待确认」,不虚构内容
  • 本输出为通用审查建议,不构成特定法域法律意见

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

生成"黑墨手绘涂鸦"风格的动画架构图/流程图:米色纸面、针管笔墨线、极淡水洗色块、简笔涂鸦图标、序号章、连线上的流动圆点动画、图标微动效。产出单文件自包含动画 HTML(SVG+CSS),可一键导出无缝循环 GIF。当用户想画架构图、流程图、信息图、技术示意图、对比图、pipeline/workflow 可视化,或提到"手绘风""涂鸦风""动图""animated diagram""GIF 架构图"时使用;即使用户没明说要动画,做技术概念科普配图时也应优先考虑本 skill。

日本語の概要は準備中です。原文の説明を表示しています。

iflytek/iFly-Skills2092026年10月8日 更新

Use when user asks to synthesize speech, convert text to audio, or read text aloud. 讯飞超拟人语音合成 - 支持文本转语音、语音合成(发音人/语速/语调/音量/输出格式)。大模型语音合成技能。语音合成, 文字转语音, 超拟人, TTS.

日本語の概要は準備中です。原文の説明を表示しています。

iflytek/iFly-Skills2092026年10月8日 更新

Use when user asks to analyze an image, describe image contents, or answer questions about a picture. iFlytek Image Understanding (图片理解) — analyze and answer questions about images using Spark Vision model. WebSocket API, pure Python stdlib, no pip dependencies.

日本語の概要は準備中です。原文の説明を表示しています。

iflytek/iFly-Skills2092026年10月8日 更新

Use when user asks to recognize invoices, extract receipt data, or OCR bills and tickets. Recognize and extract structured data from invoices, receipts, and bills using iFlytek OCR API (科大讯飞票据识别). Supports VAT invoices, taxi receipts, train tickets, toll invoices, medical bills, bank receipts, and more.

日本語の概要は準備中です。原文の説明を表示しています。

iflytek/iFly-Skills2092026年10月8日 更新

ifly-pdf-image-ocr skill supporting both image OCR (AI-powered LLM OCR) and PDF document recognition. Use when user asks to OCR images, extract text from images/PDFs, convert PDF to Word/Markdown, or perform any OCR tasks on images or PDFs. Supports multi-language text extraction, document layout understanding, and various output formats.

日本語の概要は準備中です。原文の説明を表示しています。

iflytek/iFly-Skills2092026年10月8日 更新

Ultra-fast speech transcription using iFLYTEK Speed Transcription API. Transcribe audio files (WAV/PCM/MP3) up to 5 hours in ~20 seconds per hour. Supports Chinese, English, and 202+ Chinese dialects with automatic language detection. Use when user asks to transcribe audio files, convert speech to text, or mentions "speed transcription" or "极速转写".

日本語の概要は準備中です。原文の説明を表示しています。

iflytek/iFly-Skills2092026年10月8日 更新

iflytek のスキルをすべて見る

このスキルの問題を報告する