Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aahl-cn-stats
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/cn-stats
What's inside
- Skill name
cn-stats- Description
- 中国国家统计局公开数据查询技能,当用户想查询经济、CPI、GDP、人口、房价指数等数据时触发。
- License
- MIT
- Instructions
- 94 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# 国家统计局
```bash
# 全局环境变量
BASE_URL='https://data.stats.gov.cn/dg/website/publicrelease/web/external'
JQ_INDICATORS='.data | {total}, (.list[] | {_id, type, chart_style_text, i_showname})'
JQ_AREAS='.data[] | [.name_value,.name_text] | @tsv'
# 获取指标分类根节点ID
# code: {1:月度数据, 2:季度数据, 3:年度数据, 4:分省月度数据, 5:分省季度数据, 6:分省年度数据}
# {7:主要城市月度价格, 8:主要城市年度数据, 9:港澳台月度数据, 10:港澳台年度数据}
# {12:三大经济体月度数据, 13:国际市场月度商品价格, 14:主要国家年度数据}
ROOT_ID=$(curl "$BASE_URL/new/queryIndexTreeAsync?pid=&code=1" | jq -r '.data[0]._id // .')
# 获取指标分类子节点
curl "$BASE_URL/new/queryIndexTreeAsync?pid=$ROOT_ID&code=1" | jq -r '.data[] | {_id, name, type, isLeaf}'
# 获取指标列表 (isLeaf==true)
curl "$BASE_URL/new/queryIndicatorsByCid?cid=$NODE_ID&dt=&name=" | jq -r $JQ_INDICATORS
# 搜索指标列表
curl -G "$BASE_URL/new/queryIndicatorsByCid?cid=&dt=&rootId=$ROOT_ID" \
--data-urlencode 'name=<关键词>' \
| jq -r $JQ_INDICATORS
# 获取统计数据 - 多指标
# dts: 时间范围 {年: 2026YY | 2022YY-2026YY, 月: 202501MM-202512MM}
curl "$BASE_URL/stream/esData" \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Referer: https://data.stats.gov.cn/dg/website/page.html' \
--data-raw '{
"cid": "分类NODE_ID(isLeaf==true)",
"indicatorIds": ["指标ID1","指标ID2"],
"daCatalogId": "",
"das": [{"text":"全国","value":"000000000000"}],
"showType": "1",
"dts": "",
"rootId": "根节点ROOT_ID"
}' | jq -r '
.data[] |
.name as $year |
.values[] |
[$year, ._name, .value // "-", .du_name] |
@tsv
'
# 获取地区分类
curl "$BASE_URL/getDaCatalogTreeByIndicatorCid?indicatorCid=$NODE_ID"
# 获取地区列表
curl "$BASE_URL/getDasByDaCatalogId?daCid=$DA_CATELOG_ID&rootId=$ROOT_ID" | jq -r $JQ_AREAS
# 获取国内全部省份
curl "$BASE_URL/getDasByDaCatalogId?daCid=a10dceae75d245008bf4b9a0e6fe1d55" | jq -r $JQ_AREAS
# 获取国内大中城市
curl "$BASE_URL/getDasByDaCatalogId?daCid=44016f1bffeb4ea49fe34e100c6415fb" | jq -r $JQ_AREAS
# 获取统计数据 - 多地区
curl "$BASE_URL/stream/esData" \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Referer: https://data.stats.gov.cn/dg/website/page.html' \
--data-raw '{
"cid": "分类NODE_ID(isLeaf==true)",
"indicatorIds": ["指标ID"],
"daCatalogId": "",
"das":[{"text":"上海市","value":"310000000000"},{"text":"北京市","value":"110000000000"}],
"showType": "3",
"dts": ["202301MM-202512MM"],
"rootId": "根节点ROOT_ID"
}' | jq -r '
.data[] |
.name as $year |
.values[] |
[$year, ._name, .value // "-", .du_name] |
@tsv
'
# 全局数据查询
curl -G "$BASE_URL/query?code=&pagenum=1&pageSize=15" \
--data-urlencode 'search=<中文关键词>' \
-H 'client: pc' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Referer: https://data.stats.gov.cn/dg/website/page.html' \
| jq -r '.data | {types,count}, (.data[] | {cid,indic_id,show_name,da_name,da,dt,dt_type,value,explain})'
```
## 常用数据
```bash
# 大中城市住宅销售价格指数
curl "$BASE_URL/new/queryIndicatorsByCid?cid=3eb43764c74741469b745c396cf002d1&dt=&name=" | jq -r $JQ_INDICATORS
```From aahl/skills, MIT.
More from aahl/skills
- 0.727score
edgeone
aahl
Deploy HTML content to EdgeOne Pages, return the public URL.
SkillBFreshness: B★ 164Claude Code +9 - 0.687score
hass-builder
aahl
A skill to build and manage Home Assistant configurations.
SkillCFreshness: C★ 164Claude Code +9 - 0.678score
trendspyg
aahl
Free Google Trends data - real-time trending topics and keyword analysis over time (interest over time, related queries, interest by region).
SkillCFreshness: C★ 164Claude Code +9 - 0.613score
maishou
aahl
商品价格全网对比技能,获取商品在淘宝(Taobao)、天猫(TMall)、京东(JD.com)、拼多多(PinDuoDuo)、抖音(Douyin)、快手(KaiShou)的最优价格、优惠券,当用户想购物或者获取优惠信息时使用。Get the best price, coupons for goods on…
SkillDFreshness: D★ 164Claude Code +9 - 0.609score
mcp-lark
aahl
Based on FeiShu(飞书) / Lark's OpenAPI MCP server, manage user information, chats, emails, cloud documents, multidimensional tables, tasks, calendars, etc.
SkillDFreshness: D★ 164Claude Code +9 - 0.607score
edge-tts
aahl
Text-to-speech conversion using `uvx edge-tts` for generating audio from text.
SkillDFreshness: D★ 164Claude Code +9 - 0.607score
zai-tts
aahl
Text-to-speech conversion using GLM-TTS service via the `uvx zai-tts` command for generating audio from text.
SkillDFreshness: D★ 164Claude Code +9 - 0.527score
qwen-asr
aahl
Transcribe audio files using Qwen ASR.
SkillDFreshness: D★ 164Claude Code +9 - 0.525score
mcp-deepwiki
aahl
Skills for accessing and searching docs in DeepWiki/GitHub’s public code repositories can help users understand open-source project source codes, and users…
SkillDFreshness: D★ 164Claude Code +9 - 0.524score
tianqi
aahl
查询中国地区的天气预报,支持15天及逐小时预报、各种生活指数
SkillDFreshness: D★ 164Claude Code +9 - 0.522score
mcp-vods
aahl
用于追剧/追番的技能,为AI提供搜索影视播放地址的能力,并支持在小米电视上直接播放。当用户想搜索影视、动漫、短剧、综艺等节目信息或更新进度时使用此技能。
SkillDFreshness: D★ 164Claude Code +9 - 0.522score
mcp-hass
aahl
The skill for control Home Assistant smart home devices and query states using MCP protocol.
SkillDFreshness: D★ 164Claude Code +9
Signals
- Stars
- 164
- Forks
- 22
- Open issues
- 0
- Last commit (this folder)
- Sep 15, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/aahl/skills
- Website
- skills.sh/aahl/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from aahl
- 0.727score
edgeone
aahl
Deploy HTML content to EdgeOne Pages, return the public URL.
SkillBFreshness: B★ 164Claude Code +9 - 0.687score
hass-builder
aahl
A skill to build and manage Home Assistant configurations.
SkillCFreshness: C★ 164Claude Code +9 - 0.678score
trendspyg
aahl
Free Google Trends data - real-time trending topics and keyword analysis over time (interest over time, related queries, interest by region).
SkillCFreshness: C★ 164Claude Code +9 - 0.613score
maishou
aahl
商品价格全网对比技能,获取商品在淘宝(Taobao)、天猫(TMall)、京东(JD.com)、拼多多(PinDuoDuo)、抖音(Douyin)、快手(KaiShou)的最优价格、优惠券,当用户想购物或者获取优惠信息时使用。Get the best price, coupons for goods on…
SkillDFreshness: D★ 164Claude Code +9 - 0.609score
mcp-lark
aahl
Based on FeiShu(飞书) / Lark's OpenAPI MCP server, manage user information, chats, emails, cloud documents, multidimensional tables, tasks, calendars, etc.
SkillDFreshness: D★ 164Claude Code +9 - 0.607score
edge-tts
aahl
Text-to-speech conversion using `uvx edge-tts` for generating audio from text.
SkillDFreshness: D★ 164Claude Code +9
Cite this page
cn-stats skill. Agent Mart. https://agentmart.dev/skills/aahl-cn-stats (last updated 2026-10-24)