← Back to Skills Marketplace
shinelp100

Stock Theme Events

by shinelp100 · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ⚠ suspicious
142
Downloads
0
Stars
0
Active Installs
6
Versions
Install in OpenClaw
/install stock-theme-events
Description
获取 A 股市场炒作题材对应的真实新闻事件。使用场景:(1) 分析近 N 日涨幅前列股票的题材分布,(2) 将相似题材聚类合并,(3) 从金十数据等新闻源获取对应题材的真实资讯事件,(4) 生成题材 - 事件关联分析报告。支持被其他 skill 调用或独立运行。
Usage Guidance
This skill appears to implement the described functionality, but take precautions before installing/running it: - Verify runtime requirements: the code calls an 'openclaw' CLI via subprocess to invoke ths-stock-themes; ensure you have (or intentionally want) that CLI available. The skill metadata did not declare this binary dependency. - Review and adjust file paths: run_full_analysis.py uses a hardcoded author-specific path (/Users/shinelp100/...), and scripts create cache and output files — change those paths to a safe workspace to avoid unexpected overwrites. - Expect large downloads: the sentence-transformers model (~500MB) will be fetched on first run if you install that dependency. - Network and automation: the skill uses akshare (network calls) and may direct a browser automation tool to scrape Jin10/other sites; only run in an environment where outbound network and web automation are acceptable. - Trust boundary: the skill spawns another skill (ths-stock-themes). Inspect or vet that other skill before allowing subprocess-based invocations, since its output is parsed and used here. If you plan to use this skill, run it in a sandboxed environment (or inspect/modify get_stock_themes.py to replace the subprocess call with a direct API or validated interface), update output paths, and ensure required Python packages and the 'openclaw' CLI are intentionally provided.
Capability Analysis
Type: OpenClaw Skill Name: stock-theme-events Version: 2.0.0 The skill bundle is classified as suspicious due to a vulnerability in 'scripts/get_stock_themes.py', where user-provided stock codes are directly interpolated into a natural language task string for a sub-agent ('openclaw sessions spawn'), creating a vector for indirect prompt injection. Additionally, 'scripts/run_full_analysis.py' contains hardcoded absolute file paths (e.g., '/Users/shinelp100/...'), which indicates poor portability and potential for unexpected behavior. While the core logic for stock theme clustering and news searching (using akshare and jin10.com) aligns with the stated purpose, the lack of input sanitization when constructing agent tasks is a significant security flaw in an autonomous agent environment.
Capability Assessment
Purpose & Capability
The skill's code and instructions align with the stated purpose (collect stock themes, cluster them, fetch news via akshare/browser, generate a Markdown report). Required Python packages (akshare, sentence-transformers, scikit-learn) are appropriate for the functionality. However, scripts call the OpenClaw CLI ('openclaw sessions spawn ...') to invoke the ths-stock-themes skill, but the skill metadata declares no required binaries — this is an undeclared runtime dependency and an environment mismatch.
Instruction Scope
SKILL.md instructs calling 'ths-stock-themes' (expected), using akshare and a browser fallback (expected). In practice, get_stock_themes.py spawns the OpenClaw CLI via subprocess to call that other skill and then attempts to extract JSON from CLI stdout with regex — this invocation method is not described in metadata and is fragile. search_news returns a 'browser_search' instruction object intended to be executed by an external browser tool; that is reasonable but means the agent or environment must actually execute browser actions. Several code paths read/write local cache and output paths and use hardcoded absolute paths (see run_full_analysis.py) which extend scope to filesystem writes beyond the working directory.
Install Mechanism
There is no install specification (instruction-only), which keeps risk lower. The README/SKILL.md recommend pip installing dependencies. No network download URLs or archive extracts are present in the bundle. The only notable install/runtime action is that sentence-transformers models (about 500MB) will be downloaded at first use — a large model download that the user should expect.
Credentials
The skill declares no required environment variables or credentials, which is reasonable. However, it implicitly requires: (1) an 'openclaw' CLI binary available in PATH for subprocess-based skill-to-skill calls, (2) network access for akshare and browser searches, and (3) disk write permissions to various cache/output paths. Additionally, run_full_analysis.py contains a hardcoded output_dir under '/Users/shinelp100/...' which may overwrite files in that location if present. These implicit requirements are not declared in the metadata and could surprise users.
Persistence & Privilege
The skill does not request permanent inclusion (always:false) and does not modify other skills' configurations. It will write its own cache and report files (normal for this kind of tool). It spawns other skills via the OpenClaw CLI rather than modifying their configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install stock-theme-events
  3. After installation, invoke the skill by name or use /stock-theme-events
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.0
Monorepo 独立版本
v1.0.4
Monorepo 结构重构,独立发布版本
v1.0.0
首次独立发布:支持题材提取、语义聚类、新闻事件搜索、Markdown 报告生成
v1.0.3
初始版本发布:支持题材聚类、新闻搜索、报告生成
v1.0.2
初始版本发布:支持题材聚类、新闻搜索、报告生成
v1.0.1
初始版本发布:支持题材聚类、新闻搜索、报告生成
Metadata
Slug stock-theme-events
Version 2.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 6
Frequently Asked Questions

What is Stock Theme Events?

获取 A 股市场炒作题材对应的真实新闻事件。使用场景:(1) 分析近 N 日涨幅前列股票的题材分布,(2) 将相似题材聚类合并,(3) 从金十数据等新闻源获取对应题材的真实资讯事件,(4) 生成题材 - 事件关联分析报告。支持被其他 skill 调用或独立运行。 It is an AI Agent Skill for Claude Code / OpenClaw, with 142 downloads so far.

How do I install Stock Theme Events?

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

Is Stock Theme Events free?

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

Which platforms does Stock Theme Events support?

Stock Theme Events is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Stock Theme Events?

It is built and maintained by shinelp100 (@shinelp100); the current version is v2.0.0.

💬 Comments