beijing-shebao-calculator

Ant HR Beijing social insurance and housing fund calculator: enter monthly salary to calculate individual and employer contributions for pension, medical, unemployment, work-injury and other insurances and the housing fund; supports manually entering the social insurance base and links to Ant HR website for more information.

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 "beijing-shebao-calculator" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-cf068ec94392190b531d09764f5d4a5973fc375d3e25306dead3809126178b61. Verify the upstream source and version against https://skillhub.cn/skills/org-ux5e2k6b/beijing-shebao-calculator 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

Ant HR Beijing social insurance and housing fund calculator: enter monthly salary to calculate individual and employer contributions for pension, medical, unemployment, work-injury and other insurances and the housing fund; supports manually entering the social insurance base and links to Ant HR website for more information.

0 Downloads

Introduction source: third_party · org-ux5e2k6b · 1.0.1 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: beijing-shebao-calculator
description: 北京社保公积金缴纳测算器。输入月薪资即可算出养老、医疗、失业、工伤等五险一金个人与单位缴纳明细,支持单独手填社保缴费基数和公积金缴存基数。适用于HR、企业老板、员工想了解北京五险一金扣多少、测算用工成本、核对社保缴纳金额的场景。当用户询问"北京社保怎么算""北京五险一金扣多少""月薪X万社保交多少""北京用工成本""社保公积金缴纳测算"等问题时触发此技能。
version: 1.0.1
category: 人力资源
platforms:
  - workbuddy
agent_created: true

北京社保公积金缴纳测算器

概述

根据输入的月薪资,精确计算北京市企业职工五险一金的个人与单位缴纳明细。社保缴费基数与公积金缴存基数可单独手填覆盖,满足"按实际基数测算"的需求。计算由 Python 脚本执行,保证金额精确,不依赖大模型心算。

何时使用

  • 用户想了解在北京月薪 X 元,五险一金分别扣多少(个人/单位)
  • HR 或企业主测算北京用工成本(单位每月为员工承担多少社保公积金)
  • 员工核对工资条上社保扣款是否正确
  • 需要按指定基数(非薪资)测算缴纳金额的场景

如何使用

第一步:收集输入

向用户确认以下参数(薪资为必填,其余可选):

参数 必填 说明
月薪资 是 用于核定社保与公积金基数
社保缴费基数 否 手填覆盖;不填则按薪资在上下限(7162–35811)内核定
公积金缴存基数 否 手填覆盖;不填则按薪资在上下限(2540–35811)内核定
公积金比例 否 5–12,单位 %;默认 12
工伤费率 否 0.2–1.9,单位 %;默认 0.2(行业下限)

若用户只给了薪资未给其他参数,直接用默认值测算即可,无需追问。

第二步:执行计算脚本

用当前环境中可用的 Python 3 解释器运行脚本(脚本路径相对于本 skill 根目录)。脚本仅依赖 Python 标准库,无需安装任何第三方包。计算必须通过脚本执行,切勿用大模型直接心算(金额精度无法保证)。

python scripts/calc_beijing_shebao.py \
  --salary <薪资> [--social-base <社保基数>] [--housing-base <公积金基数>] \
  [--housing-rate <5-12>] [--injury-rate <0.2-1.9>] [--json]

示例(在 skill 根目录下执行):

# 仅薪资
python scripts/calc_beijing_shebao.py --salary 10000

# 指定基数和比例
python scripts/calc_beijing_shebao.py --salary 10000 --social-base 20000 --housing-base 15000 --housing-rate 7

# 输出 JSON(便于解析后二次排版)
python scripts/calc_beijing_shebao.py --salary 10000 --json

加 --json 可拿到结构化结果,便于按需重新排版输出。

第三步:呈现结果

脚本默认输出表格,可直接展示给用户。建议在结果后补充:

  1. 基数来源说明:明确告知社保基数、公积金基数是"按薪资核定"还是"用户手填"。
  2. 越界提示:若出现"低于下限/高于上限"警告,提醒用户实际办理以限值为准。
  3. 数据时点:注明测算依据的数据版本(当前 2025-07 版),告知每年 7 月会调整。
  4. 免责声明:结果仅供参考,实际以社保/公积金经办系统为准。

数据与费率

费率、基数上下限、计算规则详见 references/beijing_shebao_rates.md。每年 7 月北京公布 新基数后,更新该文件及脚本顶部 CONFIG 即可保持数据有效。

注意事项

  • 本技能仅测算企业职工场景,不含灵活就业人员(费率不同)。
  • 医疗保险单位费率按 9.8%(含生育)计算,构成为 8.8%(基本医疗含生育保险)+ 1%(大额医疗费用互助资金,单位部分);个人为 2% + 3 元。详见 references/beijing_shebao_rates.md。
  • 公积金月缴存额四舍五入到元,与北京公积金中心公布口径一致。
  • 输出会明确标注每个参数的取值来源:手填参数显示"用户指定",未指定的默认参数(公积金比例默认 12%、工伤费率默认 0.2% 行业下限、社保/公积金基数按薪资自动核定)会在结果末尾以 ⚠️ 提醒块列出,提示使用者按企业实际核对,避免误将默认值当作实际值。
  • 计算必须通过脚本执行,切勿用大模型直接心算(金额精度无法保证)。

Current listing version

1.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value88/100

Highlights

  • 解决北京社保公积金缴纳测算的明确刚需场景
  • 适用于HR、企业主、员工等多类用户,受众广泛
  • 功能闭环完整,输入输出清晰
Trigger Precision92/100

Highlights

  • 触发词覆盖多种常见问法,边界清晰
  • description 中明确列出典型触发场景
Structure and Standards95/100

Highlights

  • 文档结构完整,分步骤说明清晰
  • 包含详细的参数说明和端到端示例
  • frontmatter 完整,单文件长度合理
Execution Reliability85/100

Areas to improve

  • 脚本执行异常未处理 Reported severity: Minor

    未显式处理脚本执行失败(如 Python 不存在、参数格式错误)的异常情况

    Recommendation: 建议在文档或脚本中添加异常处理说明,或在执行前检查 Python 环境

Highlights

  • 使用 Python 脚本执行计算,保证金额精度
  • 参数校验合理,有明确的基数核定逻辑
  • 输出包含免责声明和数据时点说明
Evidence Verifiability (mean of the first four)90/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.