Conversion of Sales Service Fees: Organizing Fund Sales Service Fee Reports into Standardized Excel

Preface

In the fund sales business, details of sales service fees issued by fund companies are often presented as PDFs or Excel files, with inconsistent field naming, fee types, and header order. To import them into internal systems or archive them according to TA reporting templates, one often needs to manually filter out items like agency fees and management fees, then rearrange headers according to the TA code table. This involves repetitive labor and is prone to errors in fund code formatting or reporting periods.

Below is an introduction to the SkillHub community skill “Sales Service Fee Conversion” (@user_8bcbd14b/sale-fee-convert). It codifies “Parse source file → Match TA → Keep only sales service fees → Output fixed header .xls” into rules executable by an Agent. Once triggered, it generates the file directly according to the agreement, rather than providing long explanations or seeking secondary confirmation first.

What is this

“Sales Service Fee Conversion” is a community Skill (category business-ops) listed on SkillHub by the publisher user_8bcbd14b. The current version is 1.0.0, and the source is marked as community. The page indicates requires_api_key=false, meaning no additional API Key configuration is needed after installation.

The skill’s positioning in SKILL.md is: machine-level, “dumb” execution—directly generating standard Excel files upon activation, without asking questions, summarizing, or providing extra interpretation. It is suitable for operations or middle/back-office colleagues who are already using Agent Skills in environments like Cursor, Claude Code, or Codex, and need to process fund sales service fee reports.

Official Entry Points:

  • API Index: https://api.skillhub.cn/user_8bcbd14b/sale-fee-convert
  • SkillHub Page: https://www.skillhub.cn/skills/user_8bcbd14b/sale-fee-convert

(The SkillHub page displayed approximately 861 downloads and an internal platform score of 100000 at the time of writing; specific numbers are subject to the real-time display on the page.)

Core Functions

The following capabilities are derived from the conventions in the SKILL.md within the skill package, not speculation.

Input and Pre-validation

  1. Accepts PDF or Excel as source files.
  2. Validates that the file is not corrupted, not encrypted, and can be parsed normally; if these conditions are not met, the process is blocked immediately without proceeding to conversion.

Extraction, Matching, and Filtering

  1. Fund Company Name: Extracts the full name from the source file and automatically binds the TA code by cross-referencing the built-in “TA Code—Fund Company” mapping table (ta_mapping within the skill, covering common managers like Essence, Bosera, E Fund, ChinaAMC, etc., and their corresponding TA codes).
  2. Fund Code and Sales Service Fee Amount: Extracts the fund code and amount; the fund code must be a 6-digit pure numeric text, and non-compliant rows will be removed.
  3. Fee Type: Retains only “Sales Service Fees”;强制排除 agency fees, subscription fees, redemption fees, conversion fees, management fees, custody fees, subscription fees (initial offering), and other fees.

Output Format and Naming

The output is an Excel 97-2003 .xls file with a fixed header order:

  1. TA代码 (TA Code)
  2. 基金代码 (Fund Code)
  3. 托管服务费金额 (Custody Service Fee Amount) (Skill convention: this column is filled with the extracted Sales Service Fee value)
  4. 算法名称(非必填) (Algorithm Name (Optional)) (The entire column is left empty)
  5. 月份 (Month) (First day of the reporting period, yyyymmdd, filled only in the first row)
  6. 月份2 (Month 2) (Last day of the reporting period, yyyymmdd, filled only in the first row)

File Naming: Reporting Period (yyyymm format) + Fund Company Name. Upon completion, the downloadable .xls is provided directly, without content summaries or remarks.

Trigger and Behavioral Constraints

The trigger words declared by the skill include: 处理 (Process), 销售服务费 (Sales Service Fee), 上传 (Upload), pdf, excel. Upon activation, the force_rule must be observed: execute the conversion without requiring user confirmation again; no summarizing the original text, no extra remarks, and no secondary inquiries are allowed.

Installation and Activation

For the official SkillHub installation instructions, refer to https://skillhub.cn/install/skillhub.md. The brief steps are as follows.

1. Verify SkillHub CLI

Check if skillhub is installed on your machine:

command -v skillhub && skillhub --version

If not installed, you can use the official script (full installation 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

2. Install this Skill

When installing, you must use --dir to point to the current Agent’s skills directory; if installed to the default ./skills/, some clients will not load it automatically.

skillhub install sale-fee-convert --namespace user_8bcbd14b --dir <your skills directory>

The natural language installation prompt provided by the SkillHub page is: Ask the AI to install @user_8bcbd14b/sale-fee-convert based on https://skillhub.cn/install/skillhub.md.

3. Common Skills Paths for Various Clients

Paths are sourced from SkillHub installation documentation; choose one based on the client you actually use:

Client skills Directory
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project

After installing to the corresponding directory, restart or refresh the Agent as required by the client to ensure the new Skill is recognized.

Typical Usage

The skill does not come with independent sample data files; the reproducible workflow is as follows.

  1. In a conversation with an Agent that has this Skill enabled, upload the PDF or Excel sales service fee details provided by the fund company (ensure it is unencrypted and openable).
  2. Clarify your intent using trigger words, such as stating you need to “process sales service fees” or “upload pdf to excel”.
  3. The Agent executes the six-step pipeline according to SKILL.md: Extract company name and match TA → Extract fund codes and amounts → Filter out non-sales service fees → Write to .xls with fixed headers → Name file by period and company name → Return downloadable file.
  4. After receiving the .xls, verify the TA code, 6-digit fund codes, amount columns, and the Month / Month 2 in the first row in Excel or a downstream system to ensure they match the source reporting period.

Throughout the process, interruptions like “Should I continue?” or “Here is a summary” should not appear; if the source file is corrupted or encrypted, it should fail at the pre-validation stage.

Scenarios and Notes

Who is it for

  • Teams that frequently receive sales service fee reports from multiple fund companies and need to unify them into the same set of .xls headers for import or archiving.
  • Scenarios where users want to solidify TA mapping, fee type filtering, and fund code format validation into Agent rules to reduce manual copy-pasting.

Limitations and Notes

  • Only processes the fee types listed in the skill; other fees are excluded by the rules, so do not expect this Skill to convert them as well.
  • Rows with fund codes that are not 6 digits will be removed; if the source table contains codes with letters or suffixes, they need to be cleaned externally first or confirmed for applicability.
  • The output column name is written as “Custody Service Fee Amount” (托管服务费金额), but it is actually filled with the Sales Service Fee; when integrating with systems, adhere to the skill’s conventions to avoid misunderstanding the field meaning based on the literal text.
  • The TA mapping table is built into SKILL.md; if new managers or unrecorded names appear, matching may fail, requiring a skill update or manual TA supplementation.
  • Behaviorally, it enforces “no summarizing, no asking”; if you want the Agent to explain the report content before converting, it conflicts with this Skill’s force_rule, and you should switch to normal conversation or create a separate skill.
  • In financial and compliance scenarios, it is still recommended to manually sample-check the total amounts and sample fund codes for generated files; the skill does not replace the review process.

Conclusion

“Sales Service Fee Conversion” integrates the parsing, TA binding, fee filtering, and .xls header standardization of fund sales service fee reports into an Agent Skill. It is suitable for batch organization via file upload and trigger words after a one-click installation on SkillHub. For details and installation entry points, see the official SkillHub page: https://www.skillhub.cn/skills/user_8bcbd14b/sale-fee-convert.

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

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

Xiaoye