缩尾处理

SkillAI & models

Lets your agent cap extreme values in a dataset (winsorize outliers) and check how the change affects results.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the 缩尾处理 skill

About this capability

Perform winsorization on extreme values and verify the impact (outlier winsorization)

What this skill tells your AI

The instructions your AI receives, as published by zafer-liu/data-analysis-agent in skills/winsorize/SKILL.md and read by ahel’s review.

识别目标数值字段和异常分布,说明上下界规则后再缩尾。不得默认覆盖原始数据;比较处理前后的分布、均值和关键指标,并记录边界与受影响行数。

Tool routing

  1. Use get_schema to identify the target table and candidate numeric columns.
  2. Use profile_data to quantify distribution tails before modification.
  3. Use clean_data with the winsorize operation only after the percentile bounds are clear.
  4. Use query_data after cleaning to verify clipped values, row counts, and key metric changes.

Implementation reference

  • Tool entries: agent/tools/business/data.py::_tool_profile_data, agent/tools/business/data.py::_tool_clean_data
  • Profiling implementation: Function/Clean/data_profile.py
  • Winsorization implementation: Function/Clean/winsorize.py

Signals

GitHub stars
3k
Forks
221
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
winsorize
Source
github.com/zafer-liu/data-analysis-agent