Install
openclaw skills install check-user-fraudQuery MySQL database to analyze user fraud/shuadan behavior. Use when user asks to check if a user is engaging in fraudulent task completion. Analyzes time i...
openclaw skills install check-user-fraud根据userId查询MySQL数据库,分析用户做单行为是否涉嫌刷单。
当需要查询用户是否存在刷单行为时,使用此技能:
python3 scripts/check_fraud.py <userId>
脚本会自动分析以下指标:
详细SQL语句见 references/ 目录:
query_user_records.sql - 查询用户做单记录query_top_refresh.sql - 查询任务置顶状态fraud_analysis_guide.md - 刷单分析指标说明{
"userId": "用户ID",
"total_records": 记录总数,
"records": [...], // 详细记录
"fraud_indicators": [ // 可疑指标
{
"type": "指标类型",
"level": "high/medium/low",
"description": "描述"
}
],
"summary": {
"risk_level": "high/medium/low",
"conclusion": "结论",
"indicators_count": 指标数量,
"high_risk_count": 高风险数量,
"medium_risk_count": 中风险数量
}
}
pip install pymysql