undermybelt/hermes-skills/cn-fundamental

Claude Code and agent skill by undermybelt/hermes-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

A股基础数据查询。股票列表、公司信息、每日指标(PE/PB/换手率)、更名历史。 当用户询问"茅台公司信息""PE是多少""股票列表""万科更名"时触发。

Install

npx vskill@latest install undermybelt/hermes-skills/cn-fundamental

SKILL.md

CN Fundamental — A股基础数据

所有接口均为 V2 版本(/api/v2/...)。

Curl Setup

bash
BASE="http://43.167.234.49:3101"
AUTH=(-H "X-API-Key: 123456" -H "Content-Type: application/json")

代码格式规则

规则值
参数名tsCode
代码格式带交易所后缀
日期格式YYYYMMDD

端点详情

GET /api/v2/cnstock/symbols — 股票列表
ParameterTypeRequiredDescription
listStatusstringNoL(上市), D(退市), P(暂停上市)
GET /api/v2/cnstock/company — 公司信息
ParameterTypeRequiredDescription
tsCodestringYes股票代码(如 000001.SZ)
exchangestringNoSSE(上交所), SZSE(深交所)
GET /api/v2/cnstock/daily-basic — 每日指标
ParameterTypeRequiredDescription
tsCodestringYes股票代码(如 000001.SZ)
tradeDatestringNo交易日期 YYYYMMDD
GET /api/v2/cnstock/name-change — 更名历史
ParameterTypeRequiredDescription
tsCodestringYes股票代码(如 000001.SZ)

调用示例

bash
# 股票列表
curl -sS "${AUTH[@]}" "$BASE/api/v2/cnstock/symbols?listStatus=L"
# 公司信息
curl -sS "${AUTH[@]}" "$BASE/api/v2/cnstock/company?tsCode=000001.SZ"
# 每日指标(PE/PB/换手率)
curl -sS "${AUTH[@]}" "$BASE/api/v2/cnstock/daily-basic?tsCode=600519.SH&tradeDate=20240115"
# 更名历史
curl -sS "${AUTH[@]}" "$BASE/api/v2/cnstock/name-change?tsCode=000001.SZ"
# 公司信息 + 每日指标并行
curl -sS "${AUTH[@]}" "$BASE/api/v2/cnstock/company?tsCode=600519.SH" &
curl -sS "${AUTH[@]}" "$BASE/api/v2/cnstock/daily-basic?tsCode=600519.SH" &
wait

错误排查

错误原因修复
空数据tsCode 格式错误用 600519.SH,不要 600519
404端点路径错误不要用 /profile 或 /info,用 /company
400日期格式错误用 YYYYMMDD,如 20240115

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
10
Repository forks
2
7-day trend score
17

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/undermybelt/hermes-skills/cn-fundamental/badge)](https://verified-skill.com/skills/undermybelt/hermes-skills/cn-fundamental)

Something wrong with this skill or its page? Tell us.