← Back to Skills Marketplace
看盘之眼
by
hustjim2026
· GitHub ↗
· v1.0.0
· MIT-0
95
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install stock-ocr
Description
从通达信金融终端窗口截取股票日K图,并使用OCR识别MA均线数值。当用户需要获取股票MA均线数值、分析均线支撑压力位、或需要对交易软件截图进行文字识别时使用此skill。触发词:MA、均线数值、截图识别、股票技术指标、通达信金融终端。
Usage Guidance
要点与建议:
- 风险摘要:运行此技能会把你的屏幕或交易软件窗口截图并(默认或按配置)上传到第三方 OCR 服务(如 ocr.space 或 百度)。仓库中包含硬编码的 API 密钥 —— 这些可能属于作者/第三方,且未在技能元数据中声明;使用这些密钥会把你的截图发送到他人的 OCR 帐号。脚本还会在目标窗口发送按键,这可能在错误使用时触发意外操作(在交易软件上尤其要小心)。
- 在安装/运行前应做的事:
1) 仔细检查并删除/替换仓库中任何硬编码的 API key(搜索文件中的 'K8289766...' 和 'dNJctHLw...' 等)。不要使用仓库内附带的 key;如果需要云 OCR,使用你自己的 API key 并通过环境变量注入(且在技能元数据中声明)。
2) 若不愿把截图发到外部,改用本地 OCR(Tesseract、RapidOCR 等),并在运行时选择本地引擎。SKILL.md 提到了 tesseract/rapidocr,可优先使用这些本地选项。
3) 在非生产/非真实交易环境中测试:先在无资金/不重要窗口的测试机或虚拟机上运行,确认按键序列与截图区域行为安全无误。
4) 如果对隐私/合规敏感,避免授予脚本网络访问或阻止对外部 OCR 端点的 HTTP 请求(如通过防火墙或离线运行)。
5) 要求技能作者在 registry metadata 中明确列出需要的环境变量/凭据,并移除源码中的任何秘密。若作者不可追溯或不可信,优先弃用或自行托管并清理源码后再使用。
- 额外说明:该技能在目的上是合理且实现与文档基本一致,但凭据处理和默认行为(上传截图到外部服务、硬编码密钥)提高了隐私与安全风险,因此在默认状态下不应直接在敏感环境中运行。
Capability Analysis
Type: OpenClaw Skill
Name: stock-ocr
Version: 1.0.0
The skill bundle automates the extraction of stock technical indicators from financial terminals (e.g., TongDaxin, JinChangJiang) by capturing screenshots and performing OCR. Multiple scripts, including capture_ma20.py, tdx_capture.py, and debug_ocr.py, use PowerShell to capture screen regions and transmit the data to external APIs such as api.ocr.space and aip.baidubce.com. The bundle contains hardcoded API credentials (e.g., Baidu API Key 'dNJctHLwok76vebSk8EP8aPG' in debug_ocr.py and test_baidu_ocr.py) and uses the 'setx' command in setup_ocr.py to modify system environment variables. While these actions align with the stated purpose, the automated capture and external transmission of financial application screenshots represent a significant privacy risk and potential for accidental data exfiltration.
Capability Assessment
Purpose & Capability
名为“看盘之眼”的技能的主功能是截取通达信/金长江窗口并对均线数值做OCR,这些文件确实实现了窗口查找、发送按键、截图与OCR,功能与说明大体一致;但仓库中包含用于在线OCR(ocr.space 与 百度)的硬编码 API key(例如 ocr.space 的 K82897662288957 和在 debug_ocr.py/文档中的百度 key dNJctHLwok76vebSk8EP8aPG 等),而 registry metadata 未声明任何需要的凭据或环境变量,说明与所需权限/凭据不一致。
Instruction Scope
SKILL.md 指示截取窗口、发送按键(包括输入股票代码与快捷键96/回车)和使用指定OCR引擎;实现中会把截图发送到第三方 OCR API(ocr.space、百度等)并在调试脚本中自动请求百度 access_token。截屏与键盘注入是此技能必须的,但上传截图到外部服务及硬编码/自动设置凭据超出了文档在 registry 中声明的范围,且可能导致敏感信息被发送到外部。
Install Mechanism
没有安装规范(instruction-only / 自带脚本),没有通过不明 URL 下载或执行外来二进制;风险主要来自运行脚本时对系统(窗口、键盘、截图)和网络(OCR API)的访问,而非安装机制本身。
Credentials
registry 没有要求任何环境变量或凭据,但 SKILL.md 与代码都使用/建议设置 BAIDU_API_KEY/BAIDU_SECRET_KEY,并且源码中包含硬编码的 OCR API keys。要求/使用的外部凭据(并且部分已写死在代码中)没有在元数据中声明或解释,这会导致未被授权的凭证暴露或未经用户同意的数据外发。
Persistence & Privilege
没有设置 always:true,也不修改其他技能或系统级 agent 配置。脚本会在运行时与系统交互(前台窗口、按键、截图),但未请求长期驻留或自动化权限外的持久特权。
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install stock-ocr - After installation, invoke the skill by name or use
/stock-ocr - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
1.0.0
Metadata
Frequently Asked Questions
What is 看盘之眼?
从通达信金融终端窗口截取股票日K图,并使用OCR识别MA均线数值。当用户需要获取股票MA均线数值、分析均线支撑压力位、或需要对交易软件截图进行文字识别时使用此skill。触发词:MA、均线数值、截图识别、股票技术指标、通达信金融终端。 It is an AI Agent Skill for Claude Code / OpenClaw, with 95 downloads so far.
How do I install 看盘之眼?
Run "/install stock-ocr" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 看盘之眼 free?
Yes, 看盘之眼 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 看盘之眼 support?
看盘之眼 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 看盘之眼?
It is built and maintained by hustjim2026 (@hustjim2026); the current version is v1.0.0.
More Skills