← Browse

@aifinlab/compliance-training-eval

A

用于信托领域合规与运营中的合规培训测评助手场景,支持结构化处理与报告输出。

skillclaude

Install

agr install @aifinlab/compliance-training-eval --target claude

Writes 1 file into .claude/skills/, pinned to git-1bf9caf8.

  • .claude/skills/compliance-training-eval/SKILL.md

Document


name: compliance-training-eval description: 用于信托领域合规与运营中的合规培训测评助手场景,支持结构化处理与报告输出。

compliance-training-eval

概述

本技能用于信托业务场景的结构化处理,支持数据解析、规则识别与报告输出。

输入要求

  • 支持 JSON 数组或 JSONL
  • 建议字段:id, name, text, status, timestamp,以及场景相关业务字段

工作流程

  1. 明确业务口径与目标
  2. 读取并清洗输入数据
  3. 执行规则分析与风险识别
  4. 输出结构化结果并标注复核事项
  5. 人工复核后进入正式流程

执行方式

python scripts/analyze.py --input input.json --output report.md

输出结构

  1. 样本概览(数量、等级分布)
  2. 重点条目(分值、命中原因)
  3. 风险提示与复核建议
  4. 免责声明

质量要求

  • 事实与判断分离
  • 规则命中可追溯
  • 保留自动生成需人工复核声明
  • 不输出投资建议、授信决策或法律最终意见

使用示例

示例 1: 基本使用

# 调用 skill
result = run_skill({
    "param1": "value1",
    "param2": "value2"
})

示例 2: 命令行使用

python scripts/run_skill.py --input data.json

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-1bf9caf81a8b2026-07-31