← 返回 Skills 市场
82
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install stock-portfolio-zh
功能描述
通过 AISA 的实时价格与盈亏跟踪来创建和管理股票加密投资组合。触发条件:当用户想新增持仓、查看组合表现、重命名组合或审查当前盈亏时使用。
安全使用建议
This skill appears to do what it says: local portfolio storage and live pricing via AISA. Before installing, verify you trust the AISA endpoint and the author/source (the _meta.json points to a GitHub repo). Ensure the runtime environment has Python 3 and the Python 'openai' package (the script depends on it). Be cautious about the AISA_BASE_URL env var — if set it will redirect API calls (including your AISA_API_KEY and tickers) to that host; do not set it to an untrusted server. Understand that the script asks a model to return live prices (not a dedicated market-data API), so verify price accuracy if you rely on this for trading decisions. If you want stricter security, run the script in an isolated environment and avoid placing any unrelated secrets in the same environment.
功能分析
Type: OpenClaw Skill
Name: stock-portfolio-zh
Version: 1.0.0
The skill provides standard stock and crypto portfolio management functionality, storing data locally in a JSON file and fetching prices via the AIsa API. The Python script (scripts/portfolio.py) uses standard libraries and lacks any high-risk behaviors such as shell execution or unauthorized file access. Furthermore, SKILL.md contains explicit instructions to the AI agent to avoid accessing sensitive local credentials like cookies or passwords, aligning with its stated purpose.
能力标签
能力评估
Purpose & Capability
Name/description claim live pricing via AISA and portfolio management. The bundle requires python3 and AISA_API_KEY and includes a Python script that stores local state under ./.clawdbot/skills/stock-analysis and calls AISA (via an OpenAI-compatible client) to get prices — all of which align with the stated purpose.
Instruction Scope
SKILL.md instructs running the included Python client and documents the local state path. The runtime script sends ticker symbols to the AISA API (via the OpenAI client) and expects JSON back. This means portfolio tickers and quantities are transmitted to the remote AISA endpoint — consistent with fetching live prices but worth noting because it's networked I/O (and relies on the remote model to return truthful numeric prices).
Install Mechanism
There is no install spec (instruction-only), which is low-risk from an installer perspective. However, the script depends on the Python 'openai' package (commented in the file) but the skill metadata and SKILL.md do not declare or provide installation for that dependency — users must ensure the runtime environment has the required Python package(s).
Credentials
The skill requires a single credential (AISA_API_KEY), which is appropriate. However, the code also reads optional env vars not listed as required: CLAWDBOT_STATE_DIR (documented in SKILL.md), AISA_BASE_URL, and AISA_MODEL. AISA_BASE_URL can redirect requests to an arbitrary endpoint, causing the API key and tickers to be sent to that host; users should ensure this variable is not set to an untrusted value.
Persistence & Privilege
always:false and user-invocable:true. The skill only writes its own local state file under the repository/path described and does not modify other skills or system-wide settings. No elevated persistence privileges are requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install stock-portfolio-zh - 安装完成后,直接呼叫该 Skill 的名称或使用
/stock-portfolio-zh触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
stock-portfolio-zh 1.0.0
- 首次发布:支持通过 AISA 实时价格和盈亏跟踪,创建及管理股票和加密资产投资组合。
- 支持新增持仓、查看组合表现、重命名和审查当前盈亏。
- 提供命令行工具,操作组合内容并跟踪本地状态,文件默认存储于仓库内部。
- 明确定义使用和不适用场景,提升用户体验。
元数据
常见问题
stock-portfolio-zh 是什么?
通过 AISA 的实时价格与盈亏跟踪来创建和管理股票加密投资组合。触发条件:当用户想新增持仓、查看组合表现、重命名组合或审查当前盈亏时使用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 82 次。
如何安装 stock-portfolio-zh?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install stock-portfolio-zh」即可一键安装,无需额外配置。
stock-portfolio-zh 是免费的吗?
是的,stock-portfolio-zh 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
stock-portfolio-zh 支持哪些平台?
stock-portfolio-zh 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 stock-portfolio-zh?
由 bibaofeng(@bibaofeng)开发并维护,当前版本 v1.0.0。
推荐 Skills