Preface¶
In live streaming or gaming businesses, the “Fun Gameplay” revenue weekly report often requires handling multiple backend exports, email spreadsheets, and activity schedules simultaneously. Manual data cleaning based on fixed criteria, calculating period-over-period changes, writing attribution analyses, and checking formats against templates can easily lead to inconsistencies in criteria or missed validations between steps. By splitting “data cleaning only,” “calculation only,” “analysis only,” and “validation only” into reusable Agent instructions, and hardcoding table structures and field order within the Skill, the Agent can execute steps more stably. Below is the approach and installation method for the SkillHub community Skill dp-qianghuaban (coordinates @user_9775ba75/dp-qianghuaban, version 1.0.0).
What is this¶
dp-qianghuaban is positioned in the package’s SKILL.md as a “Full-process Automation Skill for Fun Gameplay Revenue Weekly Reports (Complete Combined Version of Skill1–Skill4).” It breaks down weekly report production into a four-stage fixed pipeline: Data Cleaning → Metric Calculation → Standardized Analysis & Attribution → Weekly Report Format & Data Validation. It is published by SkillHub user user_9775ba75, sourced from the community, and categorized under dev-programming. The page indicates requires_api_key=false, meaning it does not rely on additional API keys.
Core Functions¶
The overall workflow is written as a single chain within the Skill, with isolated responsibilities for each stage:
- Skill1 Data Reading & Cleaning: Reads raw files, filters by the user-specified 14-day period, removes empty values, aligns by date, and outputs a clean dataset; it does not perform metric calculations.
- Skill2 Core Metric Calculation: Based on Skill1’s output, it divides data into “Last Week / This Week” (7 days each), identifies “Spring Headline / Elite Competition” activity days by combining with
玩法组规划时间表.xlsx(Gameplay Group Planning Schedule), and calculates non-activity days. It produces dual line charts for deposits and withdrawals, Table 1 (Period Definitions), and Table 2 (Core Data Summary, including Week-over-Week comparison and non-activity comparison). - Skill3 Standardized Data Analysis & Attribution: Reads only Skill2 results, writes analysis based on fixed methodologies (Time Dimension, Gameplay Structure, User Tiering, Attribution Factors, Overall Summary), and outputs a Markdown weekly report with a fixed structure without altering values.
- Skill4 Weekly Report Output Validation: Checks titles, table rows/columns, and field order against templates. It also verifies logic such as Week-over-Week formulas, units (ten thousand yuan, integer headcounts, percentages), and “Total Fun Amount ≈ Delayed Fun + Instant Fun.” It only outputs a validation report and does not modify the report body.
The package also includes reference documents (e.g., references/output_format.md, analysis_method.md) and Python scripts (scripts/data_cleaner.py, metrics_calculator.py, report_validator.py) corresponding to the four definitions above. requirements.txt is currently empty; dependencies implicitly required by the Skill (such as pandas, matplotlib) must be installed manually to run the scripts.
Raw input filenames agreed upon by Skill1 include:
后台模板数据.csv(Backend Template Data)后台数据表格.csv(Backend Data Table)趣味玩法邮件表格.xlsx(Fun Gameplay Email Table) (excluding “Total Overview” and “Check” sub-tables; processing only the 7 specified sub-tables)玩法组规划时间表.xlsx(Gameplay Group Planning Schedule) (Do not modify throughout the process)- User-specified 14-day time period (Format example:
YYYY-MM-DD to YYYY-MM-DD)
Installation and Activation¶
The Skill follows the standard SKILL.md format. After installation via SkillHub CLI into the current Agent’s skills directory, the Agent reads the instructions to execute. The installation hint provided on the official page is: Install coordinates @user_9775ba75/dp-qianghuaban following the SkillHub Installation Instructions.
1. Check or Install SkillHub CLI
command -v skillhub && skillhub --version
If not installed, execute according to the installation documentation (full installation example):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install this Skill
When installing, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized:
skillhub install dp-qianghuaban --namespace user_9775ba75 --dir <your skills directory>
Common paths (from SkillHub installation docs): Cursor is ~/.cursor/skills/; Claude Code is ~/.claude/skills/; Codex is ~/.codex/skills/ or .agents/skills/ under the project. After installation, restart or refresh the Agent according to the requirements of your client to activate the Skill.
Typical Usage¶
Method 1: Driven by Agent following SKILL.md full process
- Place the four types of raw files mentioned above in the agreed directory (or organize them according to your project structure, but clarify the paths in the conversation).
- Provide the 14-day statistical interval in the conversation, e.g.:
2026-03-19 to 2026-04-01. - Request the Agent to execute strictly in the order Skill1 → Skill2 → Skill3 → Skill4, adhering to “non-overlapping authority” (Skill1 does not calculate, Skill3 does not change data, Skill4 only validates).
- The final deliverables are: Trend chart description, Table 1, Table 2, four-stage structured analysis, and the Skill4 “Weekly Report Validation Report” (Pass/Fail conclusion).
Method 2: Step-by-step invocation of scripts in the package (Aligned with Skill definitions)
The module description example for Skill1 script data_cleaner.py: Input is a 14-day period string (e.g., 2026/3/19 to 2026/4/1) and raw files under raw_data/; output is the cleaning result under clean_data/. Prepare raw_data in the project directory according to this convention, then call it via Agent or local Python environment (requires installing pandas etc. manually).
Skill2 metrics_calculator.py defaults to reading from ./clean_data and writing the trend chart and Markdown for Table 1 and Table 2 to ./metrics_output.
Skill4 report_validator.py receives the weekly report Markdown produced by Skill3 and the metric result path from Skill2, generating a standardized validation report; specific comparison logic depends on the script and the description in Section 4 of the SKILL.
Attribution and layout details are based on the templates under references/. For example, the final weekly report must contain the five fixed section titles ranging from “I. Deposit/Withdrawal Trend Chart” to “IV. Data Analysis.”
Applicable Scenarios and Notes¶
Who is it for
- Business or data professionals who already have a fixed set of “Fun Gameplay” backend exports and email split tables, and whose weekly report templates, field order, and period-over-period criteria match the descriptions within the Skill.
- Teams hoping to use Agents to solidify the division of labor of “cleaning—calculating—analyzing—validating” to reduce manual table merging and missing template items.
Limitations and Notes
- Criteria are strongly bound: Activity names like “Spring Headline/Elite Competition,” email split table lists, Table 2 field order, etc., are hardcoded in the Skill. Switching business lines or changing templates requires modifying the Skill or maintaining a fork.
- Skill2 requires labeling “Abnormal fluctuation, business confirmation needed for specific reasons” for absolute values of period-over-period changes greater than 50%; if any validation in Skill4 fails, the overall conclusion is Fail.
- Current visible statistics on SkillHub page (based on scraped data): Rating 100000, Downloads 957, Installs 0; low installation count does not imply the Skill is unusable, but you need to pay attention to version updates regarding community maintenance rhythm.
- The official API address
https://api.skillhub.cn/user_9775ba75/dp-qianghuabanmay return 405 for direct browser GET requests; browsing and installation should rely on the SkillHub site pages and CLI.
Conclusion¶
dp-qianghuaban breaks the Fun Gameplay revenue weekly report into four mutually non-intrusive Agent pipelines, accompanied by scripts and output format references. It is suitable for constraining Agent behavior via Skills under the premise of stable criteria. To install or view metadata, please open the SkillHub page: https://www.skillhub.cn/skills/user_9775ba75/dp-qianghuaban .