hithink-finance-valuation

hithink-finance-valuation is a skill for Claude Code, Codex from HiThink-Tech/Financial-API. It costs 38 tokens per session (620 once invoked), scanned A, original, MIT.

A workflow for querying current valuation figures for Chinese mainland stocks, known as A-shares. It returns price-based measures such as price-to-earnings, price-to-book, price-to-sales, and price-to-cash-flow ratios.

In plain words
What is it for?
It is for looking up current valuation snapshots for one or more A-share stock codes. If the user gives only a company name, it routes the lookup through a separate symbol-identification step.
Why use it?
It provides the figures using the finance service's stated definitions instead of calculating or extending them from other data. It also sets boundaries for requests such as historical valuation or return on equity, which are outside its scope.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for looking up current valuation snapshots for one or more A-share stock codes. If the user gives only a company name, it routes the lookup through a separate symbol-identification step.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hithink-tech/financial-api/hithink-finance-valuation
About the project

HiThink-Tech/Financial-API is an official Tonghuashun service that provides A-share market data, including prices, financial statements, indices, sectors, funds and trading activity through APIs and developer tools. It serves AI agents, quantitative researchers and application developers. The catalogue add-ons help coding agents access and use this financial data.

HiThink-Tech/Financial-API · 4,715 stars · on GitHub · fuyao.aicubes.cn

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add HiThink-Tech/Financial-API --skill hithink-finance-valuation
Clone the repo
git clone --depth 1 https://github.com/HiThink-Tech/Financial-API

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hithink-finance-valuation

README.md
[![agentmods](https://agentmods.dev/badge/skills/hithink-tech/financial-api/hithink-finance-valuation/github.svg)](https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-valuation)
Your own site
<a href="https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-valuation"><img src="https://agentmods.dev/badge/skills/hithink-tech/financial-api/hithink-finance-valuation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hithink-finance-valuation

Your own site · 80×15
<a href="https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-valuation"><img src="https://agentmods.dev/badge/skills/hithink-tech/financial-api/hithink-finance-valuation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 620 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 12
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00620
Opus 5.5 $0.00015 $0.00248
Sonnet 5.5 $0.00008 $0.00124
Haiku 4.5 $0.00004 $0.00062

Measured 18d ago against content hash 2010e31d0cb9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hithink-finance-valuation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

hithink-finance-cli/skills/hithink-finance-valuation/SKILL.md · 49 lines

What it actually says

hithink-finance-valuation

A 股当前估值快照入口。按用户给出的股票代码批量返回服务端口径的估值指标,不自行补算或扩展指标。

前置条件表

条件 操作
需要认证、共用输出或维护指引 按需读取 共享规则,同会话已加载内容可复用
选定命令或版本变化 用目标 schema <id> --format json 核对参数;命令未知时再读取 capabilities
需要执行下表某个命令 先读取对应 reference 文件,不要只凭命令名猜参数
全市场、分页、多标的或长区间 使用命令声明的 --output <path> 落盘,只报告摘要

快速决策

用户意图 首选命令 / 路由
查询一只或多只 A 股当前估值 valuation snapshot --thscodes <codes>
用户给出名称或简称而非 thscode 先切到 hithink-finance-symbol 完成消歧
用户要价格、涨跌或 K 线 切到 hithink-finance-market
用户要历史估值或 ROE 说明当前能力不支持,不得用其他字段臆算替代

Shortcuts

命令 何时使用
valuation snapshot Query current A-share valuation metrics

原生命令与 schema

hithink-finance capabilities --format json
hithink-finance schema <capability-id> --format json
hithink-finance valuation <command> --help

schema 提供当前命令选项;reference 补充业务参数关系和验收方法。全局参数、凭据与输出约定见共享规则。

边界声明

  • --thscodes 最多接受 100 个原始逗号分隔 token;空 token 或非 A 股代码会被拒绝。
  • 代码会转为大写并按首次出现顺序去重;估值字段允许为空或为负数,不要擅自过滤。
  • 估值数据不是投资建议,不要据此扩写买卖、目标价或收益承诺。
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 18d ago Changed · -20 tokens per session 2010e31d0cb9
  2. 2mo ago Changed · -8 lines c400ecbccc39
  3. 3mo ago First seen · 57 lines · 58 tokens per session scan A de47766e1786

Subscribe to this mod's changes

hithink-finance-valuation is a skill published in the GitHub repository HiThink-Tech/Financial-API (4,715 stars, last pushed 3d ago), licensed MIT. It adds 38 tokens to every session and 620 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

hithink-finance-valuation compared with skills from other repositories

hithink-finance-valuation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hithink-finance-valuationHiThink-Tech/Financial-APISkill4.7k3d agoMITA38Claude Code, Codex
通达信TQadambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA56Claude Code, Codex
机构持仓股东分析adambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA229Claude Code, Codex
问小达选A股adambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA82Claude Code, Codex
政策解读与受益分析adambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA248Claude Code, Codex
仓位决策adambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA109Claude Code, Codex
生成交易计划adambbhe/TDX-finance-mcp-plugin-v3Skill471mo agoMITA64Claude Code, Codex