hebei-social-security-calc

Hebei social security payment calculator: used to calculate actual social security payments in Hebei. Supports automatically clamping any declared base to the region limits and splitting contributions into personal and employer portions, outputs itemized breakdowns, and can generate a visual PNG of the payment information. Keywords: Hebei social security, Hebei five insurances, social security calculation, contribution base, five insurances and one fund, Ant Social Security.

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 "hebei-social-security-calc" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8f2b53fcdd85d1f9a4ae8c3e10e607e87fab5e100d71299c9c49b7ed055757ea. Verify the upstream source and version against https://skillhub.cn/skills/mayishebao/mayishebaohebei 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

Hebei social security payment calculator: used to calculate actual social security payments in Hebei. Supports automatically clamping any declared base to the region limits and splitting contributions into personal and employer portions, outputs itemized breakdowns, and can generate a visual PNG of the payment information. Keywords: Hebei social security, Hebei five insurances, social security calculation, contribution base, five insurances and one fund, Ant Social Security.

0 Downloads

Introduction source: third_party · mayishebao · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: hebei-social-security-calc
description: "河北社保缴费测算。当用户需要计算河北社保实际缴纳金额、输入河北社保基数要求拆分个人与企业缴纳、或要求生成社保缴费信息图时触发。支持任意基数自动按上下限 clamp,输出分项明细与可视化 PNG 图片。关键词:河北社保、河北五险、社保计算、社保基数、五险一金、蚂蚁社保。(user)"
agent_created: true

河北社保缴费测算 Skill

输入社保缴费基数(元/月),自动计算河北省企业职工五险(养老、医疗含生育、失业、工伤)的实际缴纳金额,拆分为个人缴纳与企业缴纳两部分,并生成一张清晰的中文信息图(PNG),底部带有蚂蚁社保品牌 Logo。

触发条件

当用户出现以下任一意图时触发此 skill:

  • 输入河北社保缴费基数要求计算缴纳金额
  • 提到「河北社保」「河北五险」「河北社保计算」等关键词
  • 要求生成河北社保缴费明细图片/信息图
  • 说「算一下河北社保」「河北社保多少钱」等

使用方法

Step 1:运行计算脚本

使用 scripts/generate.py,传入 --base 参数(社保缴费基数,元/月):

python3 scripts/generate.py --base <基数> [--injury-rate <工伤费率>] [--output <输出路径>] [--logo <Logo路径>]

参数说明:

参数 必填 默认值 说明
--base ✅ — 社保缴费基数(元/月)
--injury-rate ❌ 0.005 (0.5%) 工伤保险单位费率(按行业 0.2%-1.9% 浮动)
--output ❌ ./hebei_ss_result.png 输出 PNG 图片路径
--logo ❌ 无 品牌 Logo 图片路径(显示在标题栏右侧)

推荐命令(带 Logo):

python3 scripts/generate.py --base <基数> --logo assets/logo.png --output /tmp/hebei_ss_<基数>.png

Step 2:读取输出

脚本会输出:

  1. 终端文本汇总:各险种明细、个人/企业合计、月缴/年缴总额
  2. PNG 信息图:包含基数卡片 → 个人/企业两列明细 → 月缴合计堆叠条 → 底部说明 + Logo

将生成的 PNG 路径通过 present_files 展示给用户。

Step 3:向用户汇报结果

用自然语言总结关键数据(200-300字),包含:

  • 有效缴费基数(如有 clamp 说明)
  • 个人每月合计 / 企业每月合计
  • 每月总缴纳 / 每年总缴纳
  • 各险种亮点数据

费率参考

险种 企业 个人 备注
养老保险 16% 8%
医疗(含生育) ~7.5% 2% 各市略有差异,默认取中间值
失业保险 0.7% 0.3%
工伤保险 0.2%-1.9% 0% 按行业浮动,默认 0.5%
  • 基数下限:4,076 元/月(60%)
  • 基数上限:20,382 元/月(300%)
  • 执行周期:2026年7月 — 2027年6月
  • 政策依据:河北省人社厅/财政厅 2026年7月14日公布

详细费率说明见 references/rates.md。

注意事项

  1. 基数低于下限时自动按下限计算,高于上限时按上限计算,并在图中给出提示
  2. 工伤保险费率因行业而异,可通过 --injury-rate 调整
  3. 医疗(含生育)比例各市不完全统一,脚本使用全省通用中间值
  4. 输出图片仅供科普参考,不作为正式缴费凭证
  5. 依赖 matplotlib,缺失时会报错提示安装

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决河北地区用户社保缴费测算的高频刚需
  • 支持自动基数 clamp 与可视化 PNG 输出,提升使用体验
  • 覆盖个人与企业分项明细,信息完整
Trigger Precision85/100

Areas to improve

  • 触发词后缀缺失 Reported severity: Minor

    frontmatter 中 description 字段末尾未添加 '(user)' 后缀

    Recommendation: 在 frontmatter 的 description 字段末尾添加 '(user)' 以符合平台规范

Highlights

  • 触发词覆盖全面,包含关键词与口语化表达
  • 边界清晰,不易与其他 Skill 重叠
Structure and Standards80/100

Areas to improve

  • 文档过长 Reported severity: Minor

    SKILL.md 内容约600行,超出推荐长度

    Recommendation: 考虑将费率参考、政策依据等移至独立文档并通过链接引用

Highlights

  • 步骤划分清晰,含完整参数说明与示例命令
  • frontmatter 完整,结构规范
Execution Reliability75/100

Areas to improve

  • 异常处理不足 Reported severity: Minor

    未显式处理文件写入权限、输出路径不存在等常见异常

    Recommendation: 在 generate.py 中增加路径校验与异常捕获,提供友好错误提示

Highlights

  • 工具来源明确,参数设计合理
  • 覆盖基数 clamp 与依赖缺失提示
Evidence Verifiability (mean of the first four)81/100

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.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.