AI Agent Hub
Back to skills
Ant Hebei Social Insurance Calculator icon

Ant Hebei Social Insurance Calculator

Life Service Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @mayishebao/mayishebaohebei

About this skill

What It Solves

Employer and employee social insurance estimates in Hebei often require manually splitting a monthly contribution base into insurance items, applying personal and employer rates, and handling base limits or industry-specific injury rates. This skill automates that repeated calculation: given a monthly social insurance base, it calculates pension, medical (including maternity), unemployment, and work-injury contributions for enterprise employees in Hebei under the July 2026 to June 2027 reference period, and renders a Chinese PNG infographic.

How It Works

The core entrypoint is scripts/generate.py, with --base as the required parameter in CNY per month. Optional flags include --injury-rate, --output, and --logo, used to adjust the employer work-injury rate, set the PNG path, and add a brand logo. The script clamps the base: values below 4,076 CNY/month are calculated as 4,076, values above 20,382 CNY/month are calculated as 20,382, and the image flags the adjustment. It then splits contributions into personal and employer parts: pension 8% / 16%, medical including maternity 2% / ~7.5%, unemployment 0.3% / 0.7%, and work injury 0% / 0.2%–1.9%, with the default employer work-injury rate set to 0.5%. The output includes a terminal summary and a PNG infographic with a base card, two-column line items, monthly total, and footer notes.

Boundaries

This is useful for payroll estimation, HR explainers, and quick social insurance cost comparisons, but it should not be treated as an official payment certificate or a substitute for local government systems. Medical and maternity rates can vary slightly across cities in Hebei, so the skill uses a province-wide midpoint; work-injury rates vary more widely by industry, so pass --injury-rate when the company rate is known. The runtime depends on matplotlib; if it is missing, the script reports an installation error.

Use Cases

  • HR uses a monthly salary base to calculate Hebei employee five-insurance personal and employer totals, then exports a PNG for team review.
  • Compensation managers compare monthly and annual costs under different contribution bases during salary revisions and generate an infographic for review.
  • Developers integrate Hebei social insurance intents into a QA bot, call the script, and return line items plus a PNG path.
  • Finance recalculates employer work-injury costs when industry rates differ by passing --injury-rate and checks budget impact.

Best For

  • HR staff handling Hebei payroll who need to split personal and employer five-insurance amounts quickly.
  • Compensation managers planning salary or headcount budgets who need to compare monthly and annual social insurance costs.
  • Developers building social insurance bots who need script output turned into a shareable infographic.
  • Content operations staff producing social insurance explainers who need a Chinese PNG with clear line items.