Command Palette

Search for a command to run...

Back to skills
skill № 81598

hsreport

Generate complete hscredit Excel deliverables for feature analysis, trained-model evaluation, or rule-strategy iteration. Use when the user wants a polished…

FreeRuns bundled scripts
hengshu-creditby hengshu-credit★ 24 GitHub stars

Install hsreport in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

HSCredit 分析报告

组装数据、模型和规则,调用 hscredit 的完整报告入口,并交付经过重新打开校验的 Excel 工作簿。

选择报告

需要参数和示例时读取 operations.md。只允许以下操作:

  • auto_feature_analysis:变量有效性、分箱、分布和时间分析报告。
  • auto_model_report:已训练模型的完整评估与部署信息报告。
  • swap_out_report:规则策略迭代、业务影响、稳定性和变量分箱报告。

输入与执行

请求必须符合 request.schema.json。文件输入支持 CSV、XLSX 和 Parquet;模型可使用同进程 object_ref 或显式可信的 hscredit artifact。

默认在隔离环境安装受控依赖。object_ref 需要当前进程,因此使用它时设置 environment.mode="current";只有用户明确同意修改当前环境时才启用当前环境自动安装。

把请求保存为 UTF-8 JSON,然后运行:

python scripts/run.py request.json

向用户返回 artifacts 中的 Excel 绝对路径以及必要的摘要。不要把完整工作簿内容粘贴进 Chat。

报告约束

  • 输出路径只从 output 注入,拒绝 parameters.excel_path、excel_writer、save 和 output_dir。
  • auto_feature_analysis 的多标签分析把所有逾期字段放入同一个 overdue 列表、所有阈值放入同一个 dpds 列表,只提交一个请求并生成一个 Excel;字段与阈值的全部组合由 hscredit 展开。
  • auto_feature_analysis 的运行摘要包含标签组合,以及“变量综合统计”中可用关键列的受限预览。
  • 不覆盖 hscredit 的显式参数优先级、条件格式颜色、主题色、绘图 anchor、字段默认选择和并行配置。
  • 一个请求只调用一次对应顶层报告函数,失败不自动重试。
  • 发布前必须重新打开 Excel;失败时不留下被标记为成功的半成品。
  • 不自动上传报告,不提交代码,不发布远端 Skill。

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • agents/openai.yaml
  • references/operations.md
  • runtime.json
  • schemas/request.schema.json
  • scripts/run.py

FAQ

What does the hsreport skill do?

Generate complete hscredit Excel deliverables for feature analysis, trained-model evaluation, or rule-strategy iteration. Use when the user wants a polished multi-section Excel report; use hsbin for standalone bin statistics, reusable binners, or individual binning plots.

How do I install the hsreport skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the hsreport skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare hsreport with