← 返回 Skills 市场
Noah Stock Trade
作者
xuyun9160-lgtm
· GitHub ↗
· v0.1.4
· MIT-0
92
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install noah-stock-trade
功能描述
用于股票交易相关的订单、成交、可买可卖数量、订单详情、订单费用、下单前费用预估,以及账户、持仓、证券资产、资金流水等场景。当用户询问今日订单、历史订单、今日成交、历史成交、订单状态、订单详情、费用明细、可买可卖数量、融资最大可买数量、账户信息、当前持仓、证券资产、资金流水、组合概览、交易前评估时使用。优先通过统一...
安全使用建议
This skill appears to implement the trade-query functionality it describes, but pay attention to these points before installing: (1) The metadata declares no required env vars, yet the code and docs require NOAH_TRADE_API_BASE_URL and a Bearer token (NOAH_MARKET_APIKEY or NOAH_MARKET_TOKEN). Expect to provide those. (2) On import the code will attempt to load .secrets files from the workspace and ~/.openclaw/.secrets — review those paths and their content before running to avoid unintentionally exposing unrelated secrets. (3) Prefer running the skill in an isolated/test environment and with a scoped test token (not your main production credentials) until you audit the code. (4) If you need to proceed, verify the base_url is the official trade API host and that the Bearer token has minimal privileges; consider modifying or removing automatic env-file loading if you do not want the skill to read other local secrets. If you want, I can list the exact files/paths the skill will read and point to the lines in the code that do so.
功能分析
Type: OpenClaw Skill
Name: noah-stock-trade
Version: 0.1.4
The noah-stock-trade skill is a legitimate tool designed for querying stock account information, positions, and performing pre-trade fee estimations. The code (specifically scripts/noah_trade_cli.py and scripts/trade_client.py) implements a structured CLI and HTTP client that communicates with a designated API endpoint (stock-open-api.noahgroup.com) using standard Bearer token authentication. The SKILL.md instructions explicitly restrict the AI agent to read-only operations and provide safety guidelines to prevent unauthorized trade execution, while the configuration logic (scripts/config.py) follows standard practices for loading local environment secrets without any signs of exfiltration or malicious intent.
能力标签
能力评估
Purpose & Capability
The code and SKILL.md implement a trade-query/pre-trade-evaluation CLI against a Noah trade API, which matches the skill name and description. However the skill metadata declares no required environment variables or config paths while the documentation and code clearly require a trade API base URL and a Bearer token (NOAH_TRADE_API_BASE_URL and NOAH_MARKET_APIKEY/NOAH_MARKET_TOKEN). That mismatch between declared requirements and actual needs is a coherence issue.
Instruction Scope
Runtime instructions correctly insist on using the provided CLI entrypoint and staying read-only. But the implementation will automatically try to load secret env files from multiple local locations (workspace .secrets/* and ~/.openclaw/.secrets/*) on import. The SKILL.md tells agents to avoid hand-crafting API calls and to follow preflight checks, which is good, but the code's automatic secret-file loading is broader than the SKILL metadata indicates and could cause unexpected access to local secrets.
Install Mechanism
This is an instruction-first skill with no install spec (no packages/downloads). There is local Python code included, but no remote install URLs or archive extraction. Install risk is low from distribution perspective.
Credentials
The skill needs sensitive credentials (Bearer token) and a base URL to call trade APIs — that is appropriate for a trading integration. However the skill metadata did not declare these required env vars. Additionally, the code will silently source environment files from several paths (workspace .secrets and user home ~/.openclaw/.secrets), which may load other secrets present on the host. That silent loading of local secret files is disproportionate unless you expect the CLI to consult local secrets.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and does not persist authorization itself. It runs as a CLI and only performs outbound HTTP calls to the configured base_url with the configured Bearer token. No elevated platform privileges are requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install noah-stock-trade - 安装完成后,直接呼叫该 Skill 的名称或使用
/noah-stock-trade触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.4
Sync workflow docs and install/update rules
v0.1.3
Sync token, asset display, and workflow rules
v0.1.2
Switch production trade base URL and sync latest params
v0.1.1
Sync latest history and push-data parameter requirements
v0.1.0
Initial public trade query skill release
元数据
常见问题
Noah Stock Trade 是什么?
用于股票交易相关的订单、成交、可买可卖数量、订单详情、订单费用、下单前费用预估,以及账户、持仓、证券资产、资金流水等场景。当用户询问今日订单、历史订单、今日成交、历史成交、订单状态、订单详情、费用明细、可买可卖数量、融资最大可买数量、账户信息、当前持仓、证券资产、资金流水、组合概览、交易前评估时使用。优先通过统一... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 92 次。
如何安装 Noah Stock Trade?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install noah-stock-trade」即可一键安装,无需额外配置。
Noah Stock Trade 是免费的吗?
是的,Noah Stock Trade 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Noah Stock Trade 支持哪些平台?
Noah Stock Trade 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Noah Stock Trade?
由 xuyun9160-lgtm(@xuyun9160-lgtm)开发并维护,当前版本 v0.1.4。
推荐 Skills