← 返回 Skills 市场
aisadocs

stock-portfolio-zh-aisa

作者 AIsa · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
71
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install stock-portfolio-zh-aisa
功能描述
通过 AISA 的实时价格与盈亏跟踪来创建和管理股票加密投资组合。触发条件:当用户想新增持仓、查看组合表现、重命名组合或审查当前盈亏时使用。
安全使用建议
This skill appears to do what it says: it stores portfolios locally and uses the AISA API (via the provided API key) to fetch prices. Before installing: (1) Confirm you trust the AISA provider because the skill sends tickers and related prompts to their API; (2) Be aware the script uses an LLM-style request to return numeric prices (LLMs can hallucinate values) — consider validating prices against a known market-data source; (3) The code may read optional env vars (AISA_BASE_URL, AISA_MODEL, CLAWDBOT_STATE_DIR) that aren’t listed as required — if you set those, they will affect behavior; (4) Review the Python dependency (openai) and run the script in a sandbox or virtualenv if you want to inspect network calls. If you need tighter privacy, avoid putting sensitive identifiers in portfolios or run a version that queries a trusted market-data API instead of a chat model.
功能分析
Type: OpenClaw Skill Name: stock-portfolio-zh-aisa Version: 1.0.0 The skill bundle provides legitimate stock and cryptocurrency portfolio management functionality, allowing users to track holdings and P&L. It uses the AIsa API (api.aisa.one) to fetch live pricing data and stores portfolio state in a local directory. The code in scripts/portfolio.py follows standard practices for CLI tools, and the SKILL.md instructions include explicit safety guidelines directing the agent not to access sensitive local credentials.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description (manage portfolios with live AISA prices) aligns with the code and declared requirement (AISA_API_KEY) and required binary (python3). The included Python script implements the described create/list/add/show/rename/delete operations and uses AISA to fetch prices.
Instruction Scope
SKILL.md instructs running scripts/portfolio.py which matches the shipped script. The runtime code reads/writes a local state file (.clawdbot/skills/stock-analysis/portfolios.json) (documented) and uses environment variables AISA_API_KEY, and optionally AISA_BASE_URL, AISA_MODEL, and CLAWDBOT_STATE_DIR. Only AISA_API_KEY is declared as required; the other env vars are used but not listed as required in the metadata.
Install Mechanism
No install spec is provided (instruction-only). The script references a Python dependency (openai) in comments but does not force any download or run-time install. No remote archives or obscure URLs are fetched at install time.
Credentials
Only AISA_API_KEY is requested as a required credential which is proportional to calling the AISA API. However the script can also read AISA_BASE_URL and AISA_MODEL (not declared) and will transmit tickers to the AISA endpoint — that means portfolio tickers/requests are sent to the external AISA service (expected for price queries but worth noting).
Persistence & Privilege
always:false and user-invocable:true. The skill only writes its own local state file under a repo-local .clawdbot directory (or a directory set by CLAWDBOT_STATE_DIR). It does not modify other skills or system-wide configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install stock-portfolio-zh-aisa
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /stock-portfolio-zh-aisa 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of stock-portfolio-zh. - Enables creation and management of stock and crypto portfolios with real-time price and profit/loss tracking via AISA. - Supports portfolio creation, updates, listing, renaming, and deletion from the command line. - Stores local state within the repository instead of the home directory by default. - Requires AISA_API_KEY for operation.
元数据
Slug stock-portfolio-zh-aisa
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

stock-portfolio-zh-aisa 是什么?

通过 AISA 的实时价格与盈亏跟踪来创建和管理股票加密投资组合。触发条件:当用户想新增持仓、查看组合表现、重命名组合或审查当前盈亏时使用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 71 次。

如何安装 stock-portfolio-zh-aisa?

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

stock-portfolio-zh-aisa 是免费的吗?

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

stock-portfolio-zh-aisa 支持哪些平台?

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

谁开发了 stock-portfolio-zh-aisa?

由 AIsa(@aisadocs)开发并维护,当前版本 v1.0.0。

💬 留言讨论