Preface¶
When gathering for a game of Mahjong, either offline or online, the biggest fear isn’t the luck of the draw, but mismatched rules: Sichuan’s “Blood Battle to the End,” Guangdong’s “Push-Down Win” (Tuidao Hu), and Hangzhou Mahjong’s “God of Wealth” (Caishen) and “Contract” (Chengbao) systems all have their own unique conventions. Searching forums and asking group chats often yields half-answers that easily get mixed up with the specific “House Rules” of your current table. If you are already using Agents in environments like Cursor or Claude Code to handle daily tasks, turning “Local Mahjong Rule Explanations + Basic Techniques + Beginner Tutorials” into a reusable Skill allows you to quickly align on gameplay before the entertainment begins, rather than searching from scratch every time.
Below is an introduction to the community Skill “Mahjong Assistant” (麻将助手) on SkillHub: what it does, how to install it, and the boundaries to be aware of when using it.
What is This¶
“Mahjong Assistant” is a life-service skill located at the SkillHub coordinate @user_29dc410e/mahjong-helper-skill. It is version 1.0.0, sourced from the community, and published by user_29dc410e. The official description states: It provides Mahjong techniques and assistance to help you be more composed during entertainment; it includes built-in Mahjong tutorials and supports beginner learning.
This Skill is marked with requires_api_key=false, meaning it does not rely on an additional API Key. The SkillHub page displays a rating of 100000, approximately 1791 downloads, and 4 installations (data is subject to what is displayed on SkillHub).
Core Functions¶
Based on the official SkillHub description, the verified capabilities include:
- Mahjong Techniques & Assistance: You can ask the Agent questions regarding the game, strategies, and common scenarios within the conversation. The Skill guides the model to answer within a Mahjong context (specific triggering methods are subject to the SKILL instructions after installation).
- Multi-Region Gameplay Coverage: Supports explanations and comparisons of differences for Sichuan Mahjong, Guangdong Mahjong, Hangzhou Mahjong, Changsha Mahjong, Northeast Mahjong, Shanghai Mahjong, Wuhan Mahjong, Wenzhou Mahjong, Shaanxi Mahjong, Suzhou Mahjong, Anhui Mahjong, and others.
- Beginner Tutorials: Contains built-in Mahjong learning content for beginners, suitable for quickly catching up on terminology and flow before starting a game.
Features not appearing in official documentation (such as real-time hand recognition, online multiplayer, or specific scoring calculator implementations) are not covered in this article.
Installation and Activation¶
SkillHub recommends two methods: installing via CLI, or providing the installation prompt to your current AI to execute according to official documentation.
1. Install SkillHub CLI (if not already installed)¶
First, check if skillhub is available:
command -v skillhub && skillhub --version
If not installed, use the official one-click script (full installation includes default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
Install CLI only:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install “Mahjong Assistant” to the current Agent’s skills directory¶
When installing, you must use --dir to point to the skills directory recognized by your current Agent. Otherwise, it will default to ./skills/, which the Agent may not be able to read. Common path examples:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
The installation command form is as follows (replace <skills directory> with your actual path):
skillhub install @user_29dc410e/mahjong-helper-skill --dir <skills directory>
Alternatively, follow the prompts on the SkillHub skill page to let the AI install @user_29dc410e/mahjong-helper-skill by referring to the SkillHub Installation Instructions.
After completing the steps above, restart or refresh the Agent according to your client’s requirements to ensure the new Skill is loaded.
Typical Usage¶
The official page does not provide conversation scripts to copy verbatim, but combining the description and the Skill’s positioning, reproducible usage examples are as follows:
- Confirm that “Mahjong Assistant” appears in the skills directory of your current environment and has been loaded by the Agent.
- Clearly specify the regional gameplay and the content you want to ask in the conversation, for example: “According to Sichuan Mahjong rules, which hands count as fan during the ‘Check Call’ (Cha Jiao) phase?” or “In Guangdong Push-Down Win, how is ‘Robbing the Kong’ (Gang Shang Kai Hua) calculated?”
- If you are a beginner, you can directly request a tutorial path, for example: “Use the built-in tutorial to explain the basic flow and common terminology of Mahjong.”
When asking questions, try to clearly write the name of the regional rules to avoid the model defaulting to a different gameplay. If “House Rules” (cap limits, swapping three tiles, whether winds are included, etc.) differ from standard regional rules, they should be explained in the question so the Agent can answer under the Skill’s constraints.
Applicable Scenarios and Notes¶
Who it is for
- Users who occasionally play cards and need to quickly look up rules or fan descriptions for specific regional Mahjong games.
- Beginners who want to systematically view tutorials and check terminology within their Agent.
- Developers or players already using Agents in Cursor / Claude Code / other clients that support the SkillHub path.
Limitations and Notes
- The content is for entertainment-oriented techniques and rule assistance; it cannot replace a formal referee or contract agreements in local games. For occasions involving money, please prioritize the agreement of the table.
- Sourced from the community; the update and maintenance rhythm depends on the publisher. Check SkillHub to see if the version is v1.0.0 before use.
- Model answers may still miss local variations; for complex house rules, it is recommended to stay within the scope supported by the Skill instructions and verify manually if necessary.
- The “Installation Count” and “Download Count” in the installation statistics are displayed separately on SkillHub; they have different meanings and should not be confused.
Conclusion¶
“Mahjong Assistant” consolidates multi-region Mahjong rule explanations, technique assistance, and beginner tutorials into a single Skill. It is suitable for on-demand queries within Agent conversations and requires no API Key configuration. If you wish to install from official channels or view details, you can open the SkillHub skill page:
https://www.skillhub.cn/skills/user_29dc410e/mahjong-helper-skill
API Metadata Address:
https://api.skillhub.cn/user_29dc410e/mahjong-helper-skill