Tencent Yuanbao Gaokao Score-to-Rank Lookup
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @tencent-adm/score-range.
About this skill
Problem Being Solved
Gaokao score-to-rank questions are often phrased casually and mixed together. A user may ask “Where does 580 rank in Shanghai?” or “What was the science-track rank range in Shenzhen over the last three years?” These queries need natural-language parsing first, followed by careful handling of province, year, and subject-track policy differences.
How It Works
The skill focuses on five structured fields: place, year, classify, score, and rank.
- Place extraction: Supports abbreviations, nicknames, and city-to-province mapping, for example “Mogudu” to Shanghai and “Shenzhen” to Guangdong; it asks for clarification when the province is unclear.
- Year normalization: Converts expressions such as “this year,” “last year,” and “the last three years” into four-digit years, with fuzzy year expressions handled according to the defined rules.
- Subject-track conversion: Uses place and year to distinguish traditional arts/science,
3+3, or3+1+2modes, mapping user terms like “arts” or “science” tocomprehensive,physics, orhistorywhere appropriate. - Score and rank handling: Only numeric values are accepted, and Chinese numeric expressions are converted to integers, such as “50k” to
50000. - Data retrieval: After the fields are confirmed, it calls
./fetch_data.pyto query data and filters results according to the intended subject track.
Scope and Caveats
This skill fits structured queries such as “score to rank,” “rank to score,” or “rank range for a year and track.” It asks for the missing province when needed, and it asks for score or rank if the user does not provide one. Data access depends on the scripted workflow, so bypassing the script to fetch full datasets directly is not recommended.
Use Cases
- In a Gaokao chat, parse “580 in Shanghai” into Shanghai, 2026, selected subject track, and 580, then query the provincial rank.
- When a user asks about Shenzhen science-track 580, map it to Guangdong, 2026, physics, and score, then fetch rank data.
- Extract Jiangsu, 2025, history, and rank 10000 from the query, then use the data script to find the matching score.
- If province is missing, ask for it first, then continue parsing year, subject track, score, or provincial rank and query the result.
Best For
- Gaokao assistant engineers who need to convert casual parent questions into stable place, year, track, score, and rank fields.
- Education data QA engineers who need to verify province aliases, subject-track mapping, and score-or-rank parsing.
- Customer support product owners who need follow-up prompts when province or score is missing before querying.
- Gaokao query plugin developers who need to constrain field extraction and script-based data retrieval.
Related Skills
Automatically compiles Feishu documents with quality checks, deduplication, Wiki updates, and multidimensional table index writes.
Open-ended visual QA for images, combining CV and LLM for scene description, chart interpretation, reasoning, and cloud history lookup.
Fast CLI for summarizing URLs, local files, and YouTube links with multi-provider models and JSON output.
Extracts an eight-layer reasoning fingerprint from scholar texts and applies a nine-module constraint to run peer review, supervision, lecturing, or panel discussion with quantitative scores and qualitative comments.