AI Agent Hub
Back to skills
Mayi Social Security Beijing Calculator icon

Mayi Social Security Beijing Calculator

Professional Updated 2026.08.29

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

Please install @mayishebao/mayishebaobj following https://skillhub.cn/install/skillhub.md.

About this skill

Problem

When you have a Beijing social security contribution base, the task is usually not just to calculate a total payroll amount. You also need to split employee and employer contributions across pension, medical and maternity, unemployment, and work injury insurance. Manual calculations are error-prone, especially because work injury rates vary by industry and the medical line includes a 3 CNY major disease surcharge.

How It Works

The skill takes a --base value, defaults to the July 2025 to June 2026 Beijing rate window, and runs scripts/generate.py to compute and render the result. Key steps include:
- parsing the contribution base and asking for it if missing;
- clamping the base to 7,162 – 35,811 CNY/month, with a note on the chart when a bound is applied;
- calculating pension at 16% employer / 8% employee, medical and maternity at 9.8% employer / 2% employee plus 3 CNY, and unemployment at 0.5% each;
- applying --injury-rate for work injury, default 0.4% and ranging from 0.2% to 1.9%, with no employee contribution;
- printing a terminal summary of employee, employer, monthly, and annual totals, then generating a PNG infographic with the base, itemized columns, total composition bar, and footnotes.

Boundaries

The output is a quick-reference estimate, not an official payroll statement. The actual work injury rate depends on the employer’s registered industry risk class, and contribution base limits are adjusted every July. Final amounts should be confirmed by the social security administration.

Use Cases

  • When a monthly Beijing social security base is provided, calculate the employee and employer contributions for the five insurances and the combined monthly total.
  • Before preparing a payroll explanation, split pension, medical and maternity, unemployment, and work injury costs into employer and employee lines.
  • When presenting a Beijing payroll summary, generate a Chinese PNG with the base, itemized columns, total composition bar, and footnotes.
  • When reviewing a compensation sheet, check whether the contribution base hit the lower or upper limit and how the clamped totals change.

Best For

  • HR payroll managers who need to reconcile monthly Beijing five-insurance employee and employer line items before paying employees.
  • Payroll consultants preparing client proposals who need to explain how Beijing employer social security costs are built.
  • Finance owners estimating outsourcing or hiring costs who need a quick monthly total under different Beijing contribution bases.
  • Employee service teams handling compensation questions who need a shareable Chinese PNG with itemized Beijing payroll breakdowns.