k12-20: Generating an Addition and Subtraction Practice PDF (Within 20) Using an Agent

Introduction

Primary school lower-grade mental arithmetic exercises often require repeated printing. Manually formatting Word documents or writing out worksheets involves redoing page counts, question counts, and layouts every time. If you want to hand over “question generation + PDF export” to a conversational Agent instead of manually setting up tables every time, you need a Skill with clear objectives and adjustable parameters. Below is an introduction to the community Skill k12-20 on SkillHub, which generates PDF worksheets for the K12 stage, specifically for addition and subtraction within 20.

What is this

k12-20 (ID @user_fe8721be/k12-20) is a community-based Skill under the education category on SkillHub. The current version is 1.0.0, maintained by the publisher user_fe8721be.

Official description: Generates PDF practice sheets for addition and subtraction within 20 for the K12 stage, supporting custom page counts, question counts, and layout formats. The page tag indicates requires_api_key=false, so no additional API Key configuration is needed after installation.

SkillHub Page: https://www.skillhub.cn/skills/user_fe8721be/k12-20
API Endpoint: https://api.skillhub.cn/user_fe8721be/k12-20

Core Features

Based on SkillHub’s publicly available documentation, the verified capabilities are as follows:

  1. Question Scope: Addition and subtraction exercises within 20, matching the difficulty common in K12 lower-grade mental arithmetic training.
  2. Output Format: Generates PDFs, making them easy to print directly or archive.
  3. Adjustable Parameters: Page count, number of questions per page or total, and layout format can be customized as needed (specific fields and default values are defined in the SKILL.md file within the package).

Installation and Enabling

The SkillHub official page states: Please install @user_fe8721be/k12-20 according to the SkillHub Installation Instructions.

1. Check or Install skillhub CLI

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

command -v skillhub && skillhub --version

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

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

2. Install to the Current Agent’s Skills Directory

When installing, you must use --dir to point to the skills directory recognized by the current Agent; otherwise, it defaults to ./skills/, which the Agent may fail to load.

In Cursor, the skills directory is generally:

skillhub install @user_fe8721be/k12-20 --dir ~/.cursor/skills/

For other environments, refer to the path conventions in the SkillHub documentation, such as ~/.claude/skills/ for Claude Code, ~/.codex/skills/ or .agents/skills/ in the project for Codex. After installation, refresh or restart according to the requirements of each Agent to make the Skill take effect.

Typical Usage

After installation, simply describe your practice requirements in a conversation with an Agent that supports Skills. For example: specify addition and subtraction within 20, desired page count and number of questions, layout preferences such as horizontal or vertical format. The Skill will generate the PDF file path or attachment according to the SKILL.md conventions.

The official page does not provide fixed example commands; the reproduction steps are: Install -> Describe page count/question count/layout in the conversation -> Save or open the PDF based on the Agent’s returned result. If you need the exact parameter names, please read the SKILL.md of that Skill in the installation directory.

Applicable Scenarios and Notes

Who is it for: Parents, subject teachers, and educational material editors who need to batch print or re-print lower-grade mental arithmetic worksheets and are already using the SkillHub ecosystem in environments like Cursor.

Limitations and Notes:

  • The question types are limited to addition and subtraction within 20 and are not suitable for senior grades or mixed operation worksheets.
  • The source is community, so quality and update frequency depend on the publisher; you can check the version and download status on SkillHub before use (score of 100,000 at time of scraping, approximately 660 downloads).
  • No API Key is required, but if the Agent cannot write to local files, you need to confirm workspace permissions and output paths.
  • The “Install” count in the installation statistics may not sync with your personal environment. It is accurate based on whether the Skill appears in ~/.cursor/skills/ on your local machine (or the --dir you specified).

Conclusion

k12-20 converges “lower-grade mental arithmetic question generation + PDF export” into an installable Agent Skill, saving manual formatting. Page count, question count, and layout can be adjusted during conversation. When you need to install or view instructions, please visit the SkillHub Skill Page or the API address https://api.skillhub.cn/user_fe8721be/k12-20.

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

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

Xiaoye