wzx-12

结构化文档审计引擎,采用 6 阶段的 LLM 驱动管道:连贯性检查、论断提取、假设显性化、利益相关方分析、方法论复核与偏见检测;提供量化加权评分并设置通过/不通过阈值,严重程度分布分析,支持红黄绿交通灯可视化面板与多格式报告输出(文本、HTML、JSON)。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "wzx-12":https://skillpi.com/zh/skills/deepskill-9344c43bb66840da332e5b41668938ddb62ef3a644d8d0a21abe226f7003cb82。安装前核对上游来源和版本:https://skillhub.cn/skills/user_053d27d0/wzx-12。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

结构化文档审计引擎,采用 6 阶段的 LLM 驱动管道:连贯性检查、论断提取、假设显性化、利益相关方分析、方法论复核与偏见检测;提供量化加权评分并设置通过/不通过阈值,严重程度分布分析,支持红黄绿交通灯可视化面板与多格式报告输出(文本、HTML、JSON)。

0 下载

介绍来源: third_party · user_053d27d0 · 1.0.0 参考来源

SkillPi 解读

实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: audit-agent
description: >-
  Structured document audit engine with a 6-stage LLM-powered pipeline
  (coherence check, claim extraction, assumption surfacing, stakeholder
  analysis, methodology review, bias detection), quantitative weighted
  scoring with pass/fail thresholds, severity distribution analysis,
  traffic-light visual dashboard, and multi-format reports (text, HTML,
  JSON).
version: 1.0.0
tags:
  - audit
  - document-analysis
  - critical-thinking
  - bias-detection
  - methodology
  - quality-assurance
trigger_phrases:
  - "audit this document"
  - "audit this paper"
  - "review document quality"
  - "check for bias"
  - "extract claims"
  - "identify assumptions"
  - "stakeholder analysis"
  - "methodology review"
  - "文档审计"
  - "审查文档"

Overview

AuditAgent performs a structured 6-stage audit of any text document. Each stage is an independent LLM-powered module that examines the document from a different angle. The stages run sequentially with context flowing from one to the next. A quantitative scorer aggregates findings into a weighted composite score (0-100) with pass/fail determination, severity distribution, red flag summaries, and traffic-light visualization. Reports are produced in structured text, self-contained HTML, and machine-readable JSON formats.

Capability Boundaries

What this tool does:

  • Run a 6-stage audit pipeline on any document:

    # Stage Weight What It Does
    1 Coherence Check 0.20 Detects internal contradictions, inconsistencies, and logical gaps.
    2 Claim Extraction 0.15 Identifies factual claims, assertions, and their supporting evidence.
    3 Assumption Surfacing 0.15 Surfaces unstated assumptions, implicit premises, and hidden axioms.
    4 Stakeholder Analysis 0.15 Identifies affected parties, their interests, and power dynamics.
    5 Methodology Review 0.20 Evaluates methods, data quality, research design, and analytical rigor.
    6 Bias Detection 0.15 Detects framing bias, selection bias, confirmation bias, and loaded language.
  • Quantitative scoring with:

    • Per-stage scores (0-100) computed from finding severities.
    • Weighted composite score with configurable pass/fail threshold (default: 70).
    • Severity distribution histogram (critical, high, medium, low, info).
    • Red flag extraction (critical + high findings across all stages).
    • Traffic-light map (green >= 80, yellow 50-79, red < 50).
  • Multi-format reporting:

    • Structured text report with per-stage findings, severity levels, evidence quotes, locations, and recommendations.
    • Executive summary (1-page, character-limited).
    • Action items list sorted by priority.
    • Self-contained HTML report with color-coded severity badges, traffic-light stage indicators, severity distribution bars, and finding cards with evidence blockquotes.
    • Machine-readable JSON export.
  • Customizable stage weights and pass threshold via AuditScorer configuration.

What this tool does NOT do:

  • It does NOT audit code, financial statements, or legal contracts with domain-specific rules.
  • It does NOT guarantee factual correctness of findings -- LLM output is probabilistic.
  • It does NOT modify or annotate the original document.
  • It does NOT run in real-time -- it is a batch pipeline.

Trigger Conditions

Use this skill when the user:

  • Provides a document (text, article, report, paper) and asks for an audit, review, or quality assessment.
  • Wants to identify logical inconsistencies, unstated assumptions, or biases in a text.
  • Needs stakeholder analysis or methodology evaluation for a policy document or research paper.
  • Asks to "audit this document", "review document quality", "check for bias", "extract claims", "identify assumptions", "文档审计", or "审查文档".

Usage

Python API

from audit_agent import AuditAgent

agent = AuditAgent(model="local")  # or model="qwen2.5:7b"
result = agent.audit("path/to/document.txt")

# Check results
print(result.executive_summary())

# Export reports
result.export_html("output/report.html")
result.export_json("output/report.json")
result.export_text("output/report.txt")

Configuration

The 6-stage pipeline is defined in audit_agent/stages.py and audit_agent/prompts.py. Each stage has:

  • A unique stage_name mapping to its prompt template.
  • An __init__ that accepts an LLM client.
  • A run(document, prior_stage_output, model_name) method that executes the stage.

Scoring Configuration

from audit_agent.scoring import AuditScorer

scorer = AuditScorer(
    weights={
        "coherence_check": 0.20,
        "claim_extraction": 0.15,
        "assumption_surfacing": 0.15,
        "stakeholder_analysis": 0.15,
        "methodology_review": 0.20,
        "bias_detection": 0.15,
    },
    pass_threshold=70.0,
)

Dependencies

  • LLM backend: OpenAI-compatible endpoint (default: Ollama with qwen2.5:7b)
  • PyYAML for rules configuration.

Output Example

Text Report Structure

=======================================================================
  AuditAgent -- 结构化文档审计报告
=======================================================================
  文档: My Document
  审计时间: 2026-07-06T10:00:00
  综合评分: 68.5/100
  审计结果: 未通过 (FAIL)
=======================================================================
-----------------------------------------------------------------------
  各阶段评分
-----------------------------------------------------------------------
  🟡 一致性检查 (coherence_check): 72/100 (加权贡献: 14.4)
  🟢 主张提取 (claim_extraction): 85/100 (加权贡献: 12.8)
  🔴 隐含假设揭示 (assumption_surfacing): 45/100 (加权贡献: 6.8)
  ...
-----------------------------------------------------------------------
  问题严重度分布
-----------------------------------------------------------------------
  严重 (Critical): 3  |  高危 (High): 7  |  中等 (Medium): 12  |  低危 (Low): 5  |  信息 (Info): 2

-----------------------------------------------------------------------
  一致性检查 — 检测文档内部逻辑矛盾与不一致性
-----------------------------------------------------------------------
  [CRITICAL] COH-001 (severity=90)
    Section 2 claims X while Section 5 implies not-X.
    位置: Paragraphs 12-15
    原文: "The policy achieved its stated goals..."
    建议: Clarify the contradiction between Section 2 and Section 5.
  ...
=======================================================================
  审计结束
=======================================================================

HTML Report Features

  • Gradient header with document name and timestamp.
  • Circular score display with PASS/FAIL badge.
  • Severity distribution bar chart.
  • Per-stage sections with traffic-light indicators, finding cards with severity badges, evidence blockquotes, and recommendations.

FAQ

Q: What model should I use? A: Default is Qwen2.5:7b via Ollama. Any OpenAI-compatible model works. Larger models may produce better quality audits, especially for complex documents.

Q: Can I audit documents in any language? A: Yes. The stage prompts are in Chinese and the system prompt instructs the LLM to work with the document's language. Multi-language documents are supported.

Q: What does a "pass" mean? A: A composite score of 70 or above (configurable) indicates the document passed the audit. This is a relative quality metric, not an absolute guarantee.

Q: How long does an audit take? A: Each of the 6 stages makes an LLM call. With a local Ollama model, expect 30-120 seconds total depending on document length and hardware.

Q: Can I skip certain stages? A: The pipeline expects all 6 stages. To skip a stage, you would need to modify the scoring weights to zero out unwanted stages and adjust the orchestrator.

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供6阶段LLM驱动的文档审计流水线,覆盖一致性检查、主张提取、隐含假设揭示、利益相关者分析、方法论审查和偏见检测
  • 支持多格式输出(文本、HTML、JSON)和可视化仪表板,满足多样化需求
  • 适用于研究人员、政策制定者、内容创作者等多个用户群体,实用价值高
触发精准90/100

亮点

  • 触发词覆盖全面,包含中英文变体,边界清晰
  • 精准匹配核心功能关键词,如'audit this document'、'check for bias'、'文档审计'等
结构规范90/100

亮点

  • 结构完整,阶段划分清晰,权重配置明确
  • 包含详细的能力边界说明、使用示例、配置方法和FAQ
  • frontmatter完整,文档组织良好
执行可靠85/100

亮点

  • 工具来源明确(Ollama/OpenAI兼容端点),参数配置清晰
  • 明确说明能力边界和局限性,避免用户误解
  • 提供可配置评分机制和阈值设置
证据可验 (前四项均值)88/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。