cn-stats SKILL.md skillA

cn-stats from aahl/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add aahl/skills/cn-stats@git:20260915.47edd62

Pins git:20260915.47edd62 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
aahl/skills
Path
skills/cn-stats/SKILL.md
Versions recorded
3
Latest version
git:20260915.47edd62, committed Sep 15, 2026
First version recorded
May 4, 2026
Size
3,523 bytes
Repository stars
164
License
MIT

中国国家统计局公开数据查询技能,当用户想查询经济、CPI、GDP、人口、房价指数等数据时触发。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 国家统计局
```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)",
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add aahl/skills/cn-stats@sha256:276bda87bfbf62c0

The line at the top of this page pins the label git:20260915.47edd62, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_h4xohgqx6qnkalnw.svg)](https://markdownregistry.com/a/art_h4xohgqx6qnkalnw)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between May 4, 2026 and Sep 15, 2026, about one every 67 days.

versioncommittedcommitsizeaudit
git:20260915.47edd62 latest2026-09-15 47edd62 3,523 BA view · diff
git:20260505.503806b2026-05-05 503806b 3,025 BA view · diff
git:20260504.95a69fd2026-05-04 95a69fd 2,769 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3523 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

aahl/skills · 164 stars · license MIT · pushed 2026-09-15 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_h4xohgqx6qnkalnw
GET https://markdownregistry.com/api/v1/resolve?ref=aahl/skills/cn-stats
GET https://markdownregistry.com/api/v1/blob/276bda87bfbf62c0ccb0f4edb03cba4c5e1ca0375ab59b48550245fbed9c66e5

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from aahl/skills

AGENTS.md AGENTS.md file
aahl/skills · AGENTS.md
git:20260209.f9d7443 · audit B · 164 stars
CLAUDE.md CLAUDE.md file
aahl/skills · CLAUDE.md
git:20260209.f9d7443 · audit B · 164 stars
crypto-report SKILL.md skill
aahl/skills · skills/crypto-report/SKILL.md · Get cryptocurrency market data. Get Binance AI analysis report. Get blockchain news updates.
git:20260210.a91ad13 · audit A · 164 stars
edge-tts SKILL.md skill
aahl/skills · skills/edge-tts/SKILL.md · Text-to-speech conversion using `uvx edge-tts` for generating audio from text. Use when (1) User requests audio/voice…
git:20260224.170dba6 · audit A · 164 stars
edgeone SKILL.md skill
aahl/skills · skills/edgeone/SKILL.md · Deploy HTML content to EdgeOne Pages, return the public URL.
git:20260912.74d639f · audit A · 164 stars
hass-builder SKILL.md skill
aahl/skills · skills/hass-builder/SKILL.md · A skill to build and manage Home Assistant configurations. Use when using the Home Assistant Builder (`hab`) CLI to…
git:20260512.34218aa · audit A · 164 stars
maishou SKILL.md skill
aahl/skills · skills/maishou/SKILL.md · 商品价格全网对比技能,获取商品在淘宝(Taobao)、天猫(TMall)、京东(JD.com)、拼多多(PinDuoDuo)、抖音(Douyin)、快手(KaiShou)的最优价格、优惠券,当用户想购物或者获取优惠信息时使用。Get…
git:20260316.e11555d · audit A · 164 stars
mcp-deepwiki SKILL.md skill
aahl/skills · skills/mcp-deepwiki/SKILL.md · Skills for accessing and searching docs in DeepWiki/GitHub’s public code repositories can help users understand…
git:20260225.f81af35 · audit A · 164 stars
mcp-duckgo SKILL.md skill
aahl/skills · skills/mcp-duckgo/SKILL.md · Skills for web search and content scraping via DuckDuckGo MCP Server. Used when users need online searching and web…
git:20260210.a91ad13 · audit A · 164 stars
mcp-hass SKILL.md skill
aahl/skills · skills/mcp-hass/SKILL.md · The skill for control Home Assistant smart home devices and query states using MCP protocol.
git:20260224.81058ce · audit A · 164 stars
mcp-lark SKILL.md skill
aahl/skills · skills/mcp-lark/SKILL.md · Based on FeiShu(飞书) / Lark's OpenAPI MCP server, manage user information, chats, emails, cloud documents…
git:20260303.1898d14 · audit A · 164 stars
mcp-vods SKILL.md skill
aahl/skills · skills/mcp-vods/SKILL.md · 用于追剧/追番的技能,为AI提供搜索影视播放地址的能力,并支持在小米电视上直接播放。当用户想搜索影视、动漫、短剧、综艺等节目信息或更新进度时使用此技能。
git:20260224.374058f · audit A · 164 stars

Every file in aahl/skills

Browse by kind, by grade A, or by owner.