← 返回 Skills 市场
coderwpf

pywencai

作者 coderwpf · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ⚠ suspicious
592
总下载
1
收藏
1
当前安装
4
版本数
在 OpenClaw 中安装
/install pywencai
功能描述
同花顺问财自然语言数据查询工具 - 使用中文自然语言查询A股、指数、基金、港美股、可转债等市场数据。
安全使用建议
This skill appears to do what it claims (query iwencai with a browser cookie), but there are several packaging inconsistencies you should resolve before use. Recommendations: - Verify the upstream project (https://github.com/zsrl/pywencai) and confirm the package version you plan to pip install matches the skill bundle. - Do not paste your iwencai cookie into public logs or share it; treat it as a secret. Prefer setting it as an environment variable (WENCAI_COOKIE) rather than embedding it in code, if the library supports that. - Confirm whether node is actually needed in your environment (installing node enables the library's JS path) and run in an isolated environment (container/VM) if you must supply a real cookie. - Ask the publisher to fix manifest inconsistencies (registry metadata vs metadata.json vs SKILL.md vs demo) and to update demo.py to explicitly show cookie usage so requirement expectations are clear. - If in doubt, create a throwaway iwencai account/cookie when testing, and audit network traffic (e.g., via proxy) to confirm requests go only to iwencai endpoints before using any production credentials.
功能分析
Type: OpenClaw Skill Name: pywencai Version: 1.0.3 The skill bundle provides an interface for the pywencai library to query financial data from the Tonghuashun Wencai platform using natural language. It requires a user-provided cookie for authentication, which is explicitly documented as necessary for the tool's functionality. The code and instructions in SKILL.md, demo.py, and metadata.json are consistent with the stated purpose and do not exhibit signs of malicious intent, prompt injection attacks, or unauthorized data exfiltration.
能力评估
Purpose & Capability
The skill's name/description (natural-language queries against 同花顺问财/iwencai) align with the included docs and demo. Requiring python3 and node is plausible (the underlying pywencai library runs JS). Nothing else in the package claims unrelated capabilities.
Instruction Scope
SKILL.md clearly instructs the user to extract and supply an iwencai Cookie (sensitive secret) and shows how to pass it to pywencai.get. That is within the tool's stated purpose but is sensitive. There is an inconsistency: demo_project/demo.py calls pywencai.get without passing a cookie, contradicting SKILL.md which marks cookie as required. The instructions also suggest passing proxies and retry loops — normal, but potentially able to forward network traffic if misused.
Install Mechanism
This is an instruction-only skill with no install spec (lowest install risk). It references pip-installing the pywencai package (a normal public package). No downloaded URLs or archive extraction are present in the skill bundle.
Credentials
The skill requires an iwencai Cookie (sensitive session credential), which is logically necessary for the described functionality. However, the metadata is inconsistent about environment variables: the top-level registry metadata lists no required env vars, while metadata.json (openclaw.requires.env) lists WENCAI_COOKIE. This mismatch is a packaging/manifest coherence problem that could lead to accidental exposure or confusion about where to place credentials.
Persistence & Privilege
The skill does not request persistent or elevated platform privileges (always:false). It does not modify other skills or system-wide settings in the provided files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pywencai
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pywencai 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
- 新增 demo_project/README.md 和 demo_project/demo.py,提供演示项目和示例代码。 - 方便用户快速上手和参考用法,无更改核心库,向后兼容。
v1.0.2
pywencai 1.2.0 introduces a major update to documentation, shifting to a fully Chinese README and including best practices and troubleshooting: - 文档全面改为中文,并新增常见错误处理、Cookie管理建议及定时监控示例; - 现包含Cookie获取方法、参数释义、丰富用法示例和自动化/进阶脚本样板; - 进一步规范查询API参数说明和错误场景提醒,更便于中文用户理解与应用; - 无代码或API变动。
v1.0.1
**Expanded examples and documentation for broader usage** - Added `QUICK_REFERENCE.md`, `README.md`, `_meta.json`, `metadata.json`, and `requirements.txt` files for improved documentation and accessibility. - SKILL.md now features numerous advanced usage examples covering technical indicators, capital flow, multi-criteria screening, fund/HK stock queries, and more. - Improved clarity and detail in API parameter and return value explanations. - Expanded practical tips for usage, cookie acquisition, and best practices. - No changes to core logic or API; update is documentation and reference focused.
v1.0.0
init
元数据
Slug pywencai
版本 1.0.3
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 4
常见问题

pywencai 是什么?

同花顺问财自然语言数据查询工具 - 使用中文自然语言查询A股、指数、基金、港美股、可转债等市场数据。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 592 次。

如何安装 pywencai?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install pywencai」即可一键安装,无需额外配置。

pywencai 是免费的吗?

是的,pywencai 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

pywencai 支持哪些平台?

pywencai 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 pywencai?

由 coderwpf(@coderwpf)开发并维护,当前版本 v1.0.3。

💬 留言讨论