Uplift Model Reporting logo

Uplift Model Reporting

Organization
QFIN-tech
uplift-model-reporting

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

Overview

PublisherQFIN-tech
Repositorymodel-evo
Skill nameuplift-model-reporting
Stars
52
Forks
17
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by QFIN-tech on GitHub. Read the source before you install it.

Installation

Install the Uplift Model Reporting AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/QFIN-tech/model-evo/tree/main/model-skills/uplift-model-reporting
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Uplift Model Reporting in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Uplift Model Reporting on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Uplift Model Reporting is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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 等字段名,并说明用途。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Uplift Model Reporting AI skill do?

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

Why use Uplift Model Reporting on TypingMind?

Because you install it once and use it with any model. Uplift Model Reporting is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Uplift Model Reporting in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/QFIN-tech/model-evo/tree/main/model-skills/uplift-model-reporting. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Uplift Model Reporting?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Uplift Model Reporting?

As many as you like. As long as a model supports skills, you can use Uplift Model Reporting with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Uplift Model Reporting AI skill free?

Yes. It is published on GitHub by QFIN-tech under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇