Payroll Tax Filing Generator: Implementing Payroll Tax Filing in an Agent

Introduction

During monthly or quarterly closing, HR and Finance often have to process payslips, cost allocation, and individual income tax reporting standards simultaneously. Filing forms have numerous fields and vary significantly across regions. Relying solely on manual Excel aggregation is prone to omissions and makes it difficult to clearly articulate “what is being calculated and based on what” within conversational tools.

The “Salary and Tax Filing Form Generator” is an enterprise-level Skill published by Ant Payslips on SkillHub (Coordinates @org-uz7pqext/mayi-skill-0436, Version 1.0.0). It targets financial accounting and payroll management scenarios. Within an Agent, it guides parameter input, calculation, and compliance verification according to skill instructions to generate results related to salary and tax filing. The Skill package is labeled requires_api_key=false; installing this Skill itself does not require an additional API Key.

Below is an introduction to its positioning, capabilities, and how to install and enable it.

What Is It

One-sentence positioning: A Salary and Tax Filing Form Generator Skill triggered within an Agent, helping to perform parametric calculation and result output regarding salary and tax filing.

  • Publisher and Maintainer: Ant Payslips (SkillHub Category professional, Source enterprise)
  • Problem Solved: In conversational or local script flows, aggregate inputs such as applicable region, amount, and time, generate structured filing-related results based on built-in skill rules, and include explanations and compliance tips
  • Difference from Similar Approaches: Does not replace the tax filing system itself; the value lies in encapsulating the policy standards, parameters, and output formats required for filing form generation into SKILL.md, allowing coding Agents to execute the same set of steps

Official Page: https://www.skillhub.cn/skills/org-uz7pqext/mayi-skill-0436
Download and Metadata API: https://api.skillhub.cn/org-uz7pqext/mayi-skill-0436

Key Capabilities

The following content is derived from the SkillHub introduction and the SKILL.md within the Skill package, listing only explicitly stated capabilities.

Trigger Scenarios

When users ask about total payroll, cost allocation, labor costs, bank disbursement, tax filing, and other financial accounting questions, the Agent can enable this Skill according to the skill instructions.

Capability Overview

Capability Description
Parameter Input Supports interactive input of required parameters
Smart Calculation Automatically calculates based on the latest policies and regulations
Result Output Generates structured results and explanations
Compliance Check Built-in compliance rule verification

The Skill package also contains references/rules.md (Policy Regulation Reference) and scripts/main.py (Local Interactive Calculation Script). The skill description states: The filing form is derived from payslip data; policy data is organized based on public regulations, and calculation results do not constitute legal advice; specific execution is subject to local latest policies.

Installation and Activation

The installation process follows the SkillHub official documentation skillhub.md. The page prompt is: Install @org-uz7pqext/mayi-skill-0436 according to that document.

1. Check or Install skillhub CLI

First, confirm if the CLI is already installed on the local machine:

command -v skillhub && skillhub --version

If not installed, you can use the official one-click script (full installation includes default Skills; add --cli-only when only the CLI is needed):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install this Skill to the current Agent’s skills directory

When installing, you must use --dir to point to the skills directory actually read by the current Agent; otherwise, the default ./skills/ may not be recognized.

skillhub install @org-uz7pqext/mayi-skill-0436 --dir <你的 Agent skills 目录>

Common directories for various environments (excerpted from the official installation documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project directory

After installation, restart or refresh the skill index as required by the Agent you are using to activate SKILL.md.

Typical Usage

Usage in Agent Conversations

  1. Confirm that the Skill has been installed to the corresponding skills directory.
  2. In the conversation, propose specific tasks related to salary tax filing, total payroll, cost allocation, bank disbursement, etc., and supplement the parameters required by the Skill, for example:
    - Applicable region/city (affects policy standards)
    - Relevant amount data (salary/basis/ratio, etc.)
    - Time range (month/year)
  3. The Agent organizes the calculation and output according to SKILL.md. The result report framework provided by the skill documentation is as follows (demonstration format):
====================================
  薪酬税务申报表生成器 结果报告
====================================
计算依据:[相关政策法规]
输入参数:[用户输入摘要]
计算结果:[详细计算过程]
最终结果:[最终数值]
说明:[结果解读和注意事项]
====================================

Local Script Method (Optional)

The Skill package provides a command-line entry point for inputting parameters by prompts in an environment without a graphical interface:

cd <技能安装目录>/@org-uz7pqext/mayi-skill-0436
python scripts/main.py

After entering applicable city, relevant amount, and other fields according to terminal prompts, the script outputs calculation results and explanations. This path is suitable for verifying Skill logic or performing offline trial calculations; for daily use in environments like Cursor, it is still recommended to rely primarily on the Agent reading SKILL.md.

Applicable Scenarios and Notes

Who Is It For

  • Corporate HR and Finance personnel who need to standardize and reproducible the “filing form generation” step within an Agent
  • Teams already using Ant Payslips or similar payroll systems who want to align filing standards with payslip data
  • Scenarios where public policy summaries (references/rules.md) need to be handed over to the Agent along with calculation steps

Limitations and Notes

  • For Reference Only: Both the Skill and script declare that the results do not constitute legal advice. Before implementing filing, verify against the latest standards of the State Taxation Administration, Ministry of Human Resources and Social Security, and local official sources.
  • Policy Timeliness: Regulations are based on local announcements; policy organization within the skill may lag behind on-site regulations.
  • Data Quality: The input salary, basis, ratio, and period must be consistent with the payslip and accounting records; otherwise, the output will only reflect incorrect input.
  • Platform Data: The SkillHub page currently displays a rating of 100000 with approximately 649 downloads (subject to the page/metadata, which may change over time); the skill category is professional.

Conclusion

The “Salary and Tax Filing Form Generator” converges the generation of salary and tax filing forms into an installable Agent Skill: it is maintained by Ant Payslips, requires no API Key to install, and unifies parameters, calculation, verification, and output format in financial accounting conversations. If you are moving monthly filing preparation into Cursor or Claude Code, you can install @org-uz7pqext/mayi-skill-0436 using the command above and view the latest version and file list from the official SkillHub page.

Official Address: https://api.skillhub.cn/org-uz7pqext/mayi-skill-0436

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

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

Xiaoye