Caveman Stats
JuliusBrussee/caveman
Show recorded output and cache-read token usage and mode attribution for the current Claude Code session, or locate the host's native usage report.
中国国家统计局公开数据查询技能,当用户想查询经济、CPI、GDP、人口、房价指数等数据时触发. An agent skill from aahl/skills.
$ npx skills add aahl/skills --skill cn-stats -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aahl/skills cn-stats --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aahl/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cn-stats .claude/skills/cn-stats && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cn-stats" agent skill from https://github.com/aahl/skills/tree/main/skills/cn-stats into .claude/skills/cn-stats/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cn-stats", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aahl/skills/tree/main/skills/cn-statsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aahl/skills --skill cn-stats -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aahl/skills cn-stats --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aahl/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/cn-stats .agents/skills/cn-stats && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cn-stats" agent skill from https://github.com/aahl/skills/tree/main/skills/cn-stats into .agents/skills/cn-stats/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cn-stats", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aahl/skills --skill cn-stats -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aahl/skills cn-stats --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aahl/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/cn-stats .cursor/skills/cn-stats && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cn-stats" agent skill from https://github.com/aahl/skills/tree/main/skills/cn-stats into .cursor/skills/cn-stats/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cn-stats", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aahl/skills.git --path skills/cn-stats--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aahl/skills --skill cn-stats -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aahl/skills cn-stats --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aahl/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/cn-stats .gemini/skills/cn-stats && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cn-stats" agent skill from https://github.com/aahl/skills/tree/main/skills/cn-stats into .gemini/skills/cn-stats/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cn-stats", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aahl/skills cn-statsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aahl/skills --skill cn-stats -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aahl/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/cn-stats .github/skills/cn-stats && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cn-stats" agent skill from https://github.com/aahl/skills/tree/main/skills/cn-stats into .github/skills/cn-stats/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cn-stats", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aahl/skills --skill cn-stats -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aahl/skills cn-stats --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aahl/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/cn-stats .opencode/skills/cn-stats && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cn-stats" agent skill from https://github.com/aahl/skills/tree/main/skills/cn-stats into .opencode/skills/cn-stats/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cn-stats", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cn-stats中国国家统计局公开数据查询技能,当用户想查询经济、CPI、GDP、人口、房价指数等数据时触发. An agent skill from aahl/skills.
Cn Stats is an agent skill from aahl/skills. 中国国家统计局公开数据查询技能,当用户想查询经济、CPI、GDP、人口、房价指数等数据时触发。
Its SKILL.md is about 740 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: AAHL's Agent Skills. 汇集了多种实用的智能体技能,涵盖Home Assistant智能家居控制、微软Edge TTS和智谱GLM-TTS文本转语音、DuckDuckGo搜索、DeepWiki文档检索、加密货币行情、天气预报、Lark/飞书、影视搜索、商品比价等功能. The licence is MIT.
Read from SKILL.md and the folder at commit 47edd62. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
curljqFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
data.stats.gov.cnFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cn Stats loads about 743 tokens when it runs. Until then it costs about 14 tokens; SKILL.md has 2 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from aahl/skills at commit 47edd62, republished under its MIT licence (© aahl). 2 words, ~743 tokens.
.claude/skills/cn-stats/SKILL.md (or your agent's skills folder).# 全局环境变量
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})'# 大中城市住宅销售价格指数
curl "$BASE_URL/new/queryIndicatorsByCid?cid=3eb43764c74741469b745c396cf002d1&dt=&name=" | jq -r $JQ_INDICATORS© aahl, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/cn-stats of aahl/skills.
Open the folder on GitHubat commit 47edd62
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in aahl/skills, which our catalogue first saw on October 7, 2026.
Cn Stats next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cn Stats this skillaahl/skills | 162 | 1 repos | ~743 | Automated safety check: Pass | MIT | |
| Caveman StatsJuliusBrussee/caveman | 110k | — | ~491 | Automated safety check: Pass | Apache-2.0 | |
| Statsbrycewang-stanford/Auto-Empirical-Research-Skills | 4.5k | — | ~2k | Automated safety check: Pass | Custom licence | |
| Video Template Frame Pentagram Statnexu-io/open-design | 100k | — | ~381 | Automated safety check: Pass | Apache-2.0 | |
| Statsagenticnotetaking/arscontexta | 3.5k | 1 repos | ~3.1k | Automated safety check: Notes | MIT | |
| Logseq Server Usage Statslogseq/logseq | 45k | — | ~550 | Automated safety check: Pass | AGPL-3.0 |
JuliusBrussee/caveman
Show recorded output and cache-read token usage and mode attribution for the current Claude Code session, or locate the host's native usage report.
brycewang-stanford/Auto-Empirical-Research-Skills
Econometrics skill for descriptive statistics and summary tables.
nexu-io/open-design
Use this plugin when the user wants a "Pentagram Stat Frame" HyperFrames motion video — Swiss-grid statistic anchor — giant number, red accent, growing bars, black data bar.
agenticnotetaking/arscontexta
Show vault statistics and knowledge graph metrics. An agent skill from agenticnotetaking/arscontexta.
logseq/logseq
Collect, interpret, and troubleshoot db-sync server usage stats (total users/graphs, active users/graphs in N days, created-today metrics) using the deps/db-sync scripts and D1 schema.
mksglu/context-mode
Show how much context window context-mode saved this session.
aahl/skills
A skill to build and manage Home Assistant configurations. An agent skill from aahl/skills.
aahl/skills
Text-to-speech conversion using uvx edge-tts for generating audio from text.
aahl/skills
商品价格全网对比技能,获取商品在淘宝(Taobao)、天猫(TMall)、京东(JD.com)、拼多多(PinDuoDuo)、抖音(Douyin)、快手(KaiShou)的最优价格、优惠券,当用户想购物或者获取优惠信息时使用。Get the best price, coupons for goods on Chinese e-commerce platforms, compare…
aahl/skills
Skills for accessing and searching docs in DeepWiki/GitHub’s public code repositories can help users understand open-source project source codes, and users can also ask questions directly about the…
aahl/skills
Text-to-speech conversion using GLM-TTS service via the uvx zai-tts command for generating audio from text.
aahl/skills
The skill for control Home Assistant smart home devices and query states using MCP protocol.
中国国家统计局公开数据查询技能,当用户想查询经济、CPI、GDP、人口、房价指数等数据时触发. An agent skill from aahl/skills. Cn Stats is an agent skill from aahl/skills.
Run `npx skills add aahl/skills --skill cn-stats -a claude-code`. Or copy the skill folder (skills/cn-stats in aahl/skills) into .claude/skills/cn-stats in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aahl/skills --skill cn-stats -a codex`. Or copy the skill folder (skills/cn-stats in aahl/skills) into .agents/skills/cn-stats in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aahl/skills --skill cn-stats -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cn-stats, .gemini/skills/cn-stats, .github/skills/cn-stats and .opencode/skills/cn-stats in your project.
Going by SKILL.md and its folder, Cn Stats needs the command-line tools its instructions call (curl and jq).
SKILL.md names 1 domain. In commands or code: data.stats.gov.cn; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Cn Stats is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 743 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cn Stats: Caveman Stats (JuliusBrussee/caveman, 110k stars), Stats (brycewang-stanford/Auto-Empirical-Research-Skills, 4.5k stars), Video Template Frame Pentagram Stat (nexu-io/open-design, 100k stars) and Stats (agenticnotetaking/arscontexta, 3.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aahl (a GitHub organization) maintains it in aahl/skills, which has 162 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on September 15, 2026.
Source: aahl/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.