← 返回 Skills 市场
68
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install stock-portfolio-aisa-api
功能描述
Create and manage stock crypto portfolios with live AISA pricing and P&L tracking. Use when: the user wants to add holdings, inspect portfolio performance, r...
安全使用建议
This skill largely does what it claims, but review these before installing:
- The script sends your portfolio tickers and a JSON prompt to a remote AISA/OpenAI-compatible endpoint using AISA_API_KEY. If you care about confidentiality of symbols or holdings, treat this key and the transmitted data accordingly.
- The code uses AISA_BASE_URL and AISA_MODEL environment variables (not declared in the manifest). Verify their values before running so the script talks to the expected endpoint and model.
- The script depends on the Python 'openai' client (not installed automatically). Install and inspect that package and confirm it talks to the correct AISA-compatible API.
- Because it uses an LLM completion to 'fetch' prices, results can be incorrect or hallucinated—do not treat returned values as authoritative without cross-checking with a market-data provider.
- Run the skill in an isolated environment or with a restricted API key (rate/permission limits) until you confirm behavior.
If you want this to be lower risk: ask the author to (1) declare AISA_BASE_URL and AISA_MODEL in the manifest, (2) provide an explicit install spec for required Python packages, and (3) document data sent to the remote service.
功能分析
Type: OpenClaw Skill
Name: stock-portfolio-aisa-api
Version: 1.0.0
The skill is a legitimate portfolio management tool that tracks stock and crypto holdings. It stores data locally in a JSON file and fetches live pricing by querying an AI-based financial API (aisa.one) using the OpenAI Python client. The code in `scripts/portfolio.py` is well-structured, lacks any obfuscation, and contains explicit instructions in `SKILL.md` to prevent the agent from using the tool for unauthorized credential access.
能力标签
能力评估
Purpose & Capability
Name/description align with the code: the script manages portfolios locally and queries a remote AISA service for prices. Requiring AISA_API_KEY and python3 is appropriate for that stated purpose.
Instruction Scope
SKILL.md instructs running the bundled Python script and storing state locally, which matches the code. The script sends tickers and a crafted prompt to a remote AISA/OpenAI-compatible service to obtain prices (it uses an LLM-based completion to return JSON). This is within the described scope but may be surprising: the skill relies on an LLM to provide 'live' prices (risk of hallucination and sensitive-data exposure of tickers).
Install Mechanism
There is no install spec (instruction-only), so nothing is written to disk by an installer. However, the script requires the Python 'openai' client (commented in the file) but the skill does not declare this dependency or provide an install step—the runtime may fail if that package is absent.
Credentials
Primary credential AISA_API_KEY is appropriate. But the script also reads additional environment variables (AISA_BASE_URL and AISA_MODEL) that are not declared in SKILL.md's requires.env. It also honors CLAWDBOT_STATE_DIR (documented in SKILL.md). The undeclared env vars should be documented; lack of documentation increases the chance of misconfiguration or unintended endpoints.
Persistence & Privilege
always is false and the skill stores state in a repo-local path (./.clawdbot/skills/stock-analysis/portfolios.json by default or under CLAWDBOT_STATE_DIR). It does not request system-wide or other-skills configuration changes.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install stock-portfolio-aisa-api - 安装完成后,直接呼叫该 Skill 的名称或使用
/stock-portfolio-aisa-api触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Stock-portfolio 1.0.0 – initial public version.
- Major refactor: reduced file count for a simpler, lighter skill.
- Retooled for AISA API with live pricing and P&L tracking.
- New: supports both stock and crypto portfolios.
- User state now stored repo-locally (not in the home directory).
- Removed legacy scripts and docs; replaced with a single modern Python interface.
- Updated documentation for usage and integration.
元数据
常见问题
stock-portfolio-aisa-api 是什么?
Create and manage stock crypto portfolios with live AISA pricing and P&L tracking. Use when: the user wants to add holdings, inspect portfolio performance, r... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 68 次。
如何安装 stock-portfolio-aisa-api?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install stock-portfolio-aisa-api」即可一键安装,无需额外配置。
stock-portfolio-aisa-api 是免费的吗?
是的,stock-portfolio-aisa-api 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
stock-portfolio-aisa-api 支持哪些平台?
stock-portfolio-aisa-api 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 stock-portfolio-aisa-api?
由 AIsa(@aisadocs)开发并维护,当前版本 v1.0.0。
推荐 Skills