Introduction¶
When building HR tools, performing salary simulations, or creating conversational assistants for Beijing, calculating Housing Provident Fund (HPF) often requires manually looking up policies and calculating the split between personal and employer contributions. When the contribution base changes, the monthly contribution amount and the ratio for both sides must be recalculated, which can slow down demonstrations or Q&A sessions. The following introduces the Ant Social Security Beijing Housing Provident Fund Calculator (@mayishebao/mayishebaobjgjj) on SkillHub: once installed in an Agent, the model can use the contribution base to calculate the monthly HPF according to Skill rules, distinguishing between personal and enterprise portions.
What is this¶
Ant Social Security Beijing Housing Provident Fund Calculator is a Skill of enterprise origin published by Ant Social Security on SkillHub. It is categorized as professional, currently at version v1.0.0, with the coordinate @mayishebao/mayishebaobjgjj. The tag indicates requires_api_key=false, meaning no additional API Key is needed after installation.
The official description states: simply input the Beijing HPF contribution base to automatically calculate the monthly HPF contribution, with a clear breakdown of personal and enterprise expenses. For more information on social security and HPF, as well as online payment channels, visit the official website www.mayishebao.com, or use the mini-program “Ant Social Security” (蚂蚁社保) and the official account “Ant Youbao” (蚂蚁优保).
SkillHub Page (as of data capture): Rating 100000, Downloads 271, Installs 0. Skill details and installation entry: https://www.skillhub.cn/skills/mayishebao/mayishebaobjgjj.
Core Functions¶
Based on the official page and description, the verified capabilities are as follows:
- Input Contribution Base: The Beijing HPF contribution base is the sole primary input.
- Calculate Monthly HPF: Automatically calculates the total monthly HPF contribution.
- Cost Breakdown: The results distinguish between the portion borne by the individual and the portion borne by the enterprise, facilitating comparison with payslips or cost estimation.
Specific calculation rules regarding ratios, upper and lower limits, etc., are encapsulated in the Skill’s SKILL.md and executed by the Agent according to the skill instructions after installation; this article does not detail formula specifics not listed on the public page.
Installation and Activation¶
SkillHub officially recommends two methods, both essentially involving packaging the skill into the current Agent’s skills directory according to the SkillHub installation documentation.
Method 1: Let AI install via documentation¶
Send the following prompt to a client that supports Skills (consistent with the SkillHub page):
Please install `@mayishebao/mayishebaobjgjj` based on https://skillhub.cn/install/skillhub.md.
The Agent will check for the skillhub CLI, select the local skills directory, and complete the installation according to the documentation.
Method 2: Use skillhub CLI locally¶
First, confirm if the CLI is installed:
command -v skillhub && skillhub --version
If not installed, you can execute the full installation (including CLI and default Skills) according to the official documentation:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
When installing this Skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it will default to ./skills/, and the client may not be able to load it. Common paths provided in the official documentation include:
- Cursor:
~/.cursor/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project - Claude Code:
~/.claude/skills/
Taking Cursor as an example, the installation command looks like this:
skillhub install @mayishebao/mayishebaobjgjj --dir ~/.cursor/skills/
You can also search first and then install:
skillhub search mayishebao
skillhub install @mayishebao/mayishebaobjgjj --dir ~/.cursor/skills/
After installing to the corresponding directory, restart or refresh the Agent as required by your client to enable the new Skill.
Typical Usage¶
Public materials do not provide standalone REST examples; usage involves enabling the Skill and then using natural language to specify the Beijing scenario and the base. This aligns with the official description, for example:
Please use the Ant Social Security Beijing Housing Provident Fund Calculator to calculate the monthly HPF based on a contribution base of 12,000 yuan, and provide the personal and employer portions separately.
Or:
Beijing HPF base is 25,000. Help me calculate the total HPF contribution for one month, and how much is for the individual and the enterprise respectively.
The Agent will load the rules in @mayishebao/mayishebaobjgjj to complete the calculation. If the results differ from the latest policies, the current regulations of the Human Resources and Social Security Bureau and the Housing Provident Fund Management Center should prevail. This Skill is suitable for quick in-conversation trial calculations and does not replace formal declarations or legal advice.
Use Cases and Notes¶
Who is it for
- Developers or HR-related roles who need to perform Beijing HPF trial calculations in environments like Cursor, Claude Code, or Codex.
- Those who want to see “Total Amount + Personal/Enterprise Breakdown” in one go within a conversation, rather than looking up tables and calculating manually.
- Those who do not want to apply for a separate API Key for calculations (this Skill is tagged
requires_api_key=false).
Limitations and Notes
- Region: The name and description both point to Beijing HPF; other cities require finding corresponding Skills or policy sources.
- Compliance and Timeliness: Policies and base limits adjust over time; for online payments and authoritative interpretations, refer to the explanations on the Ant Social Security official website, mini-program, and official account.
- Installation Path: Be sure to use
--dirto point to the current Agent’s skills directory; otherwise, even if the installation succeeds, it might not be recognized. - Data Metrics: Download and installation numbers on SkillHub are platform statistics and do not directly correlate with whether you have installed it on your local machine.
Conclusion¶
The Ant Social Security Beijing Housing Provident Fund Calculator consolidates “Input Beijing Contribution Base → Monthly HPF + Personal/Enterprise Breakdown” into a reusable Agent Skill, suitable for embedding into conversational flows such as salary Q&A and onboarding calculations. For installation and coordinates, please refer to SkillHub:
- Skill Page: https://www.skillhub.cn/skills/mayishebao/mayishebaobjgjj
- API Index Address: https://api.skillhub.cn/mayishebao/mayishebaobjgjj
- Installation Instructions: https://skillhub.cn/install/skillhub.md