Uplift Model Reporting 标志

Uplift Model Reporting

组织
QFIN-tech
uplift-model-reporting

已有 task_config_path、subject_result_paths 和可选 supporting_paths 后,用于从上游结构化结果生成最终 Uplift 建模报告、HTML、facts 和 manifest。不要用于重算指标、训练、调参、比较排序或模型采用执行。

概览

发布者QFIN-tech
代码仓库model-evo
技能名称uplift-model-reporting
星标数
52
复刻数
17
附带文件
3
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 QFIN-tech 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Uplift Model Reporting AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/QFIN-tech/model-evo/tree/main/model-skills/uplift-model-reporting
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/QFIN-tech/model-evo.git /tmp/model-evo
mkdir -p .claude/skills
cp -r /tmp/model-evo/model-skills/uplift-model-reporting .claude/skills/uplift-model-reporting
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Uplift Model Reporting,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Uplift Model Reporting。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Uplift Model Reporting 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Uplift 最终报告

1. 输入依赖

本 skill 只基于显式 path 聚合上游事实,生成面向业务用户的最终建模报告:

  • report_facts.v1.json
  • report_manifest.v1.json
  • Markdown 报告
  • HTML 报告
  • flow root report.md

已有 task_config_path、subject_result_paths 和可选 supporting_paths 后使用。

候选模型来源支持:

  • uplift-model-s-learner-modeling
  • uplift-model-t-learner-modeling
  • uplift-model-tuning 产出的 S-Learner tuning result
  • uplift-model-tuning 产出的 T-Learner tuning result

展示名至少包括 S-Learner Baseline、S-Learner Tuned、T-Learner Baseline、T-Learner Tuned。T-Learner 的 feature_importance.v1.csv 如果包含 component 字段,报告按 component 分段展示 top features。

2. 执行入口

统一 CLI:

bash
python <skill-dir>/scripts/run.py --input - --output-dir <output_dir>

Windows 环境可按需将路径分隔符改为反斜杠。

--output-dir 必须是已存在的 run_dir;runner 不创建 run_dir,不扫描 latest/current。本 skill 输出到:

text
{run_dir}/uplift-model-reporting/{timestamp}_uplift_reporting/
  inputs/0001_generate_report.request.json
  results/0001_generate_report.result.json
  artifacts/
  _flow_manifest.json
  _flow_log.jsonl
  report.md

所有 stdout、result、manifest 和 log 中的持久化 path 都是 run_dir 相对路径。输入只通过显式 task_config_path、subject_result_paths、supporting_paths 接力,不读取 latest/current,也不回填 {run_dir}/report.md。

请求 JSON 必须通过 stdin 传入:

json
{"action": "generate_report", "payload": {"task_config_path": "...", "subject_result_paths": ["..."], "supporting_paths": {"comparison_result_path": "..."}}}

runner stdout 是 JSON object。调用方只读取 stdout 或 result JSON 中的 outputs.* 字段,例如 outputs.final_report_path、outputs.markdown_report_path、outputs.html_report_path、outputs.report_path。

只接受显式 *_path / *_paths 字段。收到旧的 *_ref / *_refs 输入时,runner 返回 needs_input,并在 issues 与 next_steps 中给出对应替代字段。

3. Actions 与参数说明

generate_report

  • 输入:task_config_path、subject_result_paths。
  • 可选输入:supporting_paths、report_decision、recommended_candidate_result_path。
  • 输出:
    • final_report_path
    • report_facts_path
    • report_manifest_path
    • markdown_report_path
    • html_report_path
    • report_path

supporting_paths 可包含:

  • sample_preparation_result_path
  • sample_homogeneity_result_path
  • feature_quality_result_path
  • comparison_result_path
  • candidate_result_paths
  • modeling_sample_spec_path
  • feature_plan_path

生成完整最终报告时,应显式传入 sample_preparation_result_path、sample_homogeneity_result_path、feature_quality_result_path 和 comparison_result_path;缺少任一项时,报告仍可生成,但会返回 partial_success 并在缺失证据中标记对应章节。

如果 comparison 产生推荐候选,调用方应显式传入 report_decision,例如:

json
{"adoption": "adopt_recommended", "decision_maker": "user"}

4. 输出产物

典型输出目录:

text
{run_dir}/uplift-model-reporting/{timestamp}_uplift_reporting/
  inputs/
  results/
  artifacts/
    report_facts.v1.json
    report_manifest.v1.json
    uplift-report.v1.md
    uplift-report.v1.html
  _flow_manifest.json
  _flow_log.jsonl
  report.md

报告保持面向业务用户的最终建模报告形态,包含:执行摘要、任务定义、样本质量、同质性、特征质量、候选模型、模型比较、采用决策、风险与限制、建议下一步、追踪摘要。

5. 与其他 skill 的关联

方向Skill关系
上游uplift-model-result-comparison可提供 model_comparison_summary_path、recommended_candidate_result_path 和采用决策证据
上游uplift-model-s-learner-modeling / uplift-model-t-learner-modeling / uplift-model-tuning提供 subject_result_paths 中的候选模型结果
下游无作为最终报告产出,不触发后续 skill

6. 执行约束

本 skill 不重算样本、同质性、特征、模型、调参或比较指标,不训练模型,不创建模型采用状态。

输入只通过显式 task_config_path、subject_result_paths、supporting_paths 接力,不读取 latest/current,也不回填 {run_dir}/report.md。

如果 comparison 产生推荐候选,调用方应显式传入 report_decision,例如 {"adoption": "adopt_recommended", "decision_maker": "user"}。

7. 异常处理

7.1 字段兼容异常

只接受显式 *_path / *_paths 字段。收到旧的 *_ref / *_refs 输入时,runner 返回 needs_input,并在 issues 与 next_steps 中给出对应替代字段。

7.2 证据缺失处理

报告应基于显式 path 聚合上游事实;缺少可选证据时在报告中表达缺失证据和主要风险,不重算或补造上游指标。

8. 面向用户回复

普通用户回复默认使用中文。先给报告是否生成、采用表达、缺失证据和主要风险,再提供 Markdown 报告路径。不要把 raw JSON、内部目录结构、长路径清单或实现术语作为主回复内容。

除非用户明确要求查看 JSON、调试、获取产物路径或手动接力下游流程,否则不要在用户回复中展示工程中的 .json 文件路径;report_facts、report_manifest 等 JSON 路径只作为内部/审计输入传递。Markdown/HTML 报告是面向人阅读的产物,可以按需给出。

确需精确交接时,可在“技术详情”里保留 final_report_path、markdown_report_path、html_report_path、report_path 等字段名,并说明用途。

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Uplift Model Reporting AI 技能有什么作用?

已有 task_config_path、subject_result_paths 和可选 supporting_paths 后,用于从上游结构化结果生成最终 Uplift 建模报告、HTML、facts 和 manifest。不要用于重算指标、训练、调参、比较排序或模型采用执行。

为什么在 TypingMind 中使用 Uplift Model Reporting?

因为您只需安装一次,就能搭配任何模型使用。Uplift Model Reporting 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Uplift Model Reporting?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/QFIN-tech/model-evo/tree/main/model-skills/uplift-model-reporting。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Uplift Model Reporting?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Uplift Model Reporting 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Uplift Model Reporting 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Uplift Model Reporting AI 技能免费吗?

是的。QFIN-tech 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇