← Back to Skills Marketplace
chenfei619

stock-valuation

by Chen Fei · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
105
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install sz-stock-valuation
Description
A股/港股股票估值查询工具,支持PE、PB、PS、股东价值折现、自由现金流折现等多维度估值,提供合理股价、安全边际与估值判断(低估/合理/高估)。访问「柿子估值」微信小程序,了解机构持仓榜单、ETF估值等更多功能。
Usage Guidance
The skill appears to be a straightforward wrapper around an external valuation API (tz.smxqx.tech). Before installing: (1) decide whether you trust the API host — the script will POST queries (including a token) to that domain; (2) set your own STOCK_VALUATION_AUTH token in the environment to avoid using the hard-coded fallback token in the script; (3) be aware the code includes a public fallback token (embedded in the file) which may route anonymous queries through the maintainer's account and could expose your query patterns to that service; (4) note small inconsistencies (registry metadata saying no env vars, SKILL.md marking the token as required, and 'curl' listed as required though unused) — they suggest the package may not be carefully maintained. If you require stronger guarantees, inspect the API operator (tz.smxqx.tech), request documentation for the token, or prefer a skill that uses a trusted, documented data provider.
Capability Analysis
Type: OpenClaw Skill Name: sz-stock-valuation Version: 1.0.1 The skill is a legitimate tool for querying A-share and Hong Kong stock valuations via the 'Persimmon Valuation' (柿子估值) API. The core logic in `scripts/query_valuation.py` is well-structured, uses only Python standard libraries, and strictly validates stock codes using regular expressions before making network requests. Permissions are appropriately scoped to the specific API domain (tz.smxqx.tech) and a single environment variable for authentication, with no evidence of data exfiltration, malicious execution, or prompt injection.
Capability Assessment
Purpose & Capability
The name/description match the code and network target (tz.smxqx.tech) and the skill only needs to call an external valuation API. However registry metadata says no required env vars while SKILL.md and the code expect STOCK_VALUATION_AUTH — an inconsistency.
Instruction Scope
SKILL.md instructs the agent to extract a stock code, validate it, run scripts/query_valuation.py, parse JSON, and format output. The script only posts to the declared API endpoint and does not reference other system files or unrelated env vars.
Install Mechanism
This is an instruction-only skill (no install spec). The included Python script uses only the standard library (urllib). No downloads or archive extraction are performed by the skill.
Credentials
The skill requests a single API token (STOCK_VALUATION_AUTH), which is reasonable for its purpose — but the code contains a hard-coded fallback token embedded in the source. That token will be used if the user doesn't supply one, which may leak usage to the remote service and suggests sloppy secret handling. Also the skill declares 'curl' as a required binary even though the Python script doesn't use it.
Persistence & Privilege
Skill does not request always:true and does not attempt to modify other skills or system-wide settings. Autonomous invocation is allowed by default, which is expected for skills.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install sz-stock-valuation
  3. After installation, invoke the skill by name or use /sz-stock-valuation
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- 更新描述,补充支持股东价值折现、自由现金流折现等估值方法,并推荐访问「柿子估值」微信小程序获取更多功能 - 删除了关于 ETF 估值和机构持仓榜单等功能描述的细节 - 移除原先对部分输出格式和注意事项的详细展开,只保留核心说明 - 其他内容保持不变,整体功能及用法未变
v1.0.0
stock-valuation 1.0.0 - Overhauled the skill to provide concise A股/港股股票估值查询 with multi-dimensional valuation indicators. - Simplified codebase: retained only core valuation script (query_valuation.py); removed old multi-step data pipeline and report generation components. - Added clear usage instructions, API authentication support, and comprehensive Markdown output format. - Supports PE, PB, PS, dividend yield, fair price, safety margin, and valuation label (低估/合理/高估) via direct query. - Fully updated documentation in Chinese with code format references and error handling notes.
Metadata
Slug sz-stock-valuation
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is stock-valuation?

A股/港股股票估值查询工具,支持PE、PB、PS、股东价值折现、自由现金流折现等多维度估值,提供合理股价、安全边际与估值判断(低估/合理/高估)。访问「柿子估值」微信小程序,了解机构持仓榜单、ETF估值等更多功能。 It is an AI Agent Skill for Claude Code / OpenClaw, with 105 downloads so far.

How do I install stock-valuation?

Run "/install sz-stock-valuation" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is stock-valuation free?

Yes, stock-valuation is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does stock-valuation support?

stock-valuation is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created stock-valuation?

It is built and maintained by Chen Fei (@chenfei619); the current version is v1.0.1.

💬 Comments