Payslip Parsing: Reconstructing the Gross-to-Net Deduction Chain in Conversation

Preface

The numbers on a payslip often only give you the final results: how much is pre-tax, how much is net pay, with social insurance/housing fund and personal income tax each taking a slice in between—but they rarely break it down item by item. Trying to back-calculate with a calculator usually requires looking up local social insurance rates and the cumulative withholding tax table, which easily leads to missed items or mistakes. Below is a SkillHub community Skill called “Payslip Parser” (@user_70c2f807/payslip-parser). By using a standard SKILL.md to constrain how the Agent collects information, explains items in order, and formats outputs, it turns “I don’t understand where the deductions went” into a step-by-step breakdown you can verify.

What Is This

“Payslip Parser” is an Agent Skill designed for data-analysis scenarios. Its coordinates are @user_70c2f807/payslip-parser, version 1.0.0, sourced from the community and maintained by the publisher user_70c2f807. SkillHub categorizes it under data-analysis, with the tag requires_api_key=false, meaning no additional API key is needed after installation.

In terms of triggering, when users mention payslips, salary details, how much was deducted, “payslip”, “salary breakdown”, “wage details”, or want help understanding a payslip, the Agent should run this Skill. It does not cover salary negotiation strategies, tax filing procedures, social insurance inquiry systems, labor arbitration consulting, etc.

Core Capabilities

According to the Skill’s SKILL.md, the verified capabilities include:

  1. Reconstructing the complete deduction chain from pre-tax salary to net pay.
  2. Explaining each component of social insurance and the housing fund: contribution ratios, contribution bases, and what they mean.
  3. Explaining personal income tax calculations under the cumulative withholding method.
  4. Explaining the difference between taxing the year-end bonus separately vs. combined with regular income.
  5. Analyzing why monthly personal income tax increases month over month (tax bracket jumps).
  6. Explaining the practical purposes of various social insurance items, and adding an estimate of the company-paid portion as “hidden income” in the output.

The execution flow is fixed in three steps: first collect pre-tax salary, city, and known deductions; then parse items in the order of social insurance/housing fund → personal income tax → other deductions; finally output the complete calculation process from pre-tax to net pay. The output follows a structure of overview, itemized table, glossary, and disclaimer, emphasizing transparent calculation steps that users can verify themselves.

Installation and Activation

Before installation, ensure SkillHub CLI is installed on your machine. If not installed, follow the official installation documentation:

command -v skillhub && skillhub --version

If it is not installed, you can use the full installation script (includes CLI and default Skills):

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 may default to ./skills/ and not be recognized. Community packages require a namespace:

skillhub install payslip-parser --namespace user_70c2f807 --dir <skills directory>

In Cursor, the commonly used skills directory is ~/.cursor/skills/. For Claude Code, it is ~/.claude/skills/; for Codex, it is ~/.codex/skills/ or .agents/skills/ under the project. Client paths should follow the SkillHub installation guide.

You can also send the following prompt to an AI and let it complete the installation using the same documentation:

Please follow https://skillhub.cn/install/skillhub.md to install `@user_70c2f807/payslip-parser`.

SkillHub page: https://www.skillhub.cn/skills/user_70c2f807/payslip-parser
API resource URL: https://api.skillhub.cn/user_70c2f807/payslip-parser

As of the time this information was verified, SkillHub shows a rating of 100000, 817 downloads, and 0 installations (page data may change over time).

Typical Usage

The example conversations in the Skill documentation can be reproduced directly without uploading a fixed file format:

User: Help me look at my payslip
Assistant: Please provide your pre-tax salary, net pay, and deductions for each social insurance/housing fund item (if any).

User: Pre-tax is 10000, take-home is 7500, I don’t know how it was deducted
Assistant: First confirm the city (which affects social insurance ratios), then reconstruct item by item in the order specified by the Skill.

User: How is social insurance and the housing fund calculated? / Why is the personal income tax deduction so high?
Assistant: Explain using the ratios and the cumulative withholding method described in the Skill, and provide verifiable calculation steps.

After enabling the Skill, the Agent will try to output according to the documented “Payslip Parser” template: deduction overview, social insurance/housing fund itemized table, personal income tax calculation steps, glossary, net pay summary, and an estimate of the company-paid portion, with a note at the end that the company payslip and local policies take precedence.

Use Cases and Precautions

Appropriate for: personally checking monthly payslips, understanding what deductions mean, estimating social insurance/housing fund and personal income tax logic, and explaining to non-finance colleagues “where the money went”.

Not suitable for: tax planning or tax avoidance schemes, salary negotiation, social insurance disputes and labor arbitration, or completing the annual reconciliation/filing inside the personal income tax app. For these scenarios, the Skill explicitly advises consulting a tax professional, HR, the relevant authority, or using the official app.

Limitations (the Skill requires informing users upfront):

  • Calculations are based on general ratios and the 2024 tax table; actual results depend on local policies and the company’s contribution base.
  • Social insurance/housing fund contribution bases have city-specific caps and floors, which may differ from nominal salary.
  • It does not provide tax planning or tax avoidance advice; local regulations such as housing fund contribution ratios may vary.

Privacy: The Skill requires that user salary data is not stored. Salary information is personal and sensitive; when in doubt, communicate with company HR first.

Conclusion

“Payslip Parser” turns payslip interpretation into a repeatable Agent workflow: collect data first, break items down next, then provide a comparable deduction chain and explanations, while clearly scoping out tax filing and labor dispute scenarios. To install or view metadata, visit the SkillHub page https://www.skillhub.cn/skills/user_70c2f807/payslip-parser or the resource URL https://api.skillhub.cn/user_70c2f807/payslip-parser.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye