shebao-consolidation-rate
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "shebao-consolidation-rate" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-20798a5dd99c12f453751931ba1d0baa2027ff9199a24ef7e9859af9ddbbca6f. Verify the upstream source and version against https://skillhub.cn/skills/org-ux5e2k6b/mayihr-shebao-consolidation-rate before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A social-insurance consolidation rate calculation and analysis tool. Given employee social-insurance data from clients (Excel/CSV/text), it automatically computes headcount consolidation rate, amount consolidation rate, and individual consolidation rate; flags employees below an 80% threshold and those with deviations over 20%; and uses city social-insurance base upper/lower limits to distinguish compliant gaps from potential evasion risk. Intended for HR outsourcing and social-insurance agency scenarios.
Introduction source: third_party · org-ux5e2k6b · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: shebao-consolidation-rate
description: 社保夯实率计算与分析工具。客户将员工社保数据(Excel/CSV/文本)发来后,自动计算人数夯实率、金额夯实率、个人夯实率,按80%红线标记低于标准的员工,按20%差额标记偏差过大的员工,并结合各城市社保基数上下限区分合规差额与逃缴风险。适用于HR外包、社保代理等企业社保业务场景。
agent_created: true
trigger_keywords:
- 社保夯实率
- 夯实率计算
- 社保基数一致性
- 员工社保分析
- 实缴基数 vs 工资社保夯实率计算与分析
概述
本技能用于处理企业社保业务中的核心指标——"社保夯实率"的计算与分析。客户将员工社保数据发来后,运行核心计算脚本,即刻得到:
- 多维度夯实率: 人数夯实率、金额夯实率、个人夯实率均值
- 问题员工清单: 低于80%红线的员工、差额超过20%的员工
- 城市维度分解: 各城市夯实率对比
- 合规性提示: 结合城市基数上下限,区分"法定封顶"和"人为低报"
触发场景
- 客户/业务方发来员工社保数据,要求"算一下夯实率"
- 需要快速判断哪些员工社保基数与工资差距过大
- 业务周报/月报中需要夯实率数据
- 给客户做社保合规诊断
工作流程
第一步:接收数据
客户发来的数据可能以多种形式出现:
- Excel 文件 (.xlsx / .xls)
- CSV 文件 (.csv)
- 文本粘贴(Tab 分隔或逗号分隔的表格文本)
- 聊天消息中的表格文字
数据至少包含三列: | 列 | 别名(兼容写法) | |----|-----------------| | 城市 | 地区、city、社保城市、缴纳城市、所在城市 | | 实缴基数 | 实际基数、实际缴费基数、缴费基数、社保基数、actual_base | | 工资 | 应发工资、税前工资、月薪、申报工资、salary、应缴基数 |
可选列:姓名、身份证号(用于标识员工)。
第二步:运行计算
将数据传递给 scripts/calculate.py 脚本,支持以下方式:
# 方式 A:指定文件路径
python scripts/calculate.py /path/to/员工社保数据.xlsx
# 方式 B:管道输入
cat 数据.csv | python scripts/calculate.py
# 方式 C:将文本内容保存为临时文件后传入
如果数据是聊天消息中粘贴的表格文本,先将其写入临时文件再执行脚本。
前置依赖:首次使用需安装 openpyxl(用于 Excel 处理)。
pip install openpyxl
第三步:解读输出
脚本输出一份结构化文本报告,包含:
- 总体概况 — 员工总数、工资总额、实缴基数总额、总差额
- 夯实率 —— 多维度
- 人数夯实率:实缴基数 ≥ 工资×80% 的人数占比
- 金额夯实率:Σ实缴基数 / Σ工资 × 100%
- 个人夯实率均值:所有个人夯实率的算术平均
- 问题员工
- 🔴 低于 80% 红线:夯实率 < 80% 的员工,按夯实率升序排列
- 🟡 差额超 20%:差额比例 > 20% 的员工,按差额降序排列
- 合规提醒 — 受城市基数上下限影响的员工,注明是"法定封顶"还是"下限要求"
- 各城市汇总 — 分城市的夯实率对比
重要业务规则
- 标准夯实率是 100%:理想情况实缴基数 = 工资
- 当前实操底线是 80%:低于此线的员工需重点关注
- 城市上下限会自然导致夯实率 ≠ 100%:工资超上限时夯实率会偏低,这是合法的
- 差额比例 > 20% 的,无论是否合规都需标注:让客户了解整体偏差情况
计算逻辑
个人夯实率 = 实缴基数 / 工资 × 100%
差额比例 = |工资 - 实缴基数| / 工资 × 100%
人数夯实率 = 夯实率 ≥ 80% 的人数 / 总人数 × 100%
金额夯实率 = Σ实缴基数 / Σ工资 × 100%
城市基数参考
各城市社保缴费基数上下限见 references/city_limits.md,已收录 35+ 个主要城市 2025-2026 年度数据。脚本内置了这些数据,计算时自动匹配。如需更新城市数据,同时修改脚本中的 CITY_LIMITS 字典和引用文件。
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决企业社保业务中夯实率计算的实际痛点
- 适用于HR外包、社保代理等广泛场景
Highlights
- 触发词精准覆盖社保夯实率相关查询
- 边界清晰,有效避免误触
Areas to improve
-
缺少 When to Use 显式章节 Reported severity: Minor
文档中触发场景描述良好,但未使用标准 When to Use 章节标题
Recommendation: 建议增加显式的 When to Use 章节以提升规范性
Highlights
- 文档结构清晰,包含完整的工作流程和计算逻辑
- frontmatter 完整,单文件长度合理
Areas to improve
-
异常处理未覆盖 Reported severity: Minor
未提及文件格式错误、列名不匹配等常见异常的应对机制
Recommendation: 建议在脚本或文档中补充异常处理说明
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 69
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.