← Back to Skills Marketplace
bibaofeng

stock-portfolio-zh

by bibaofeng · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
82
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install stock-portfolio-zh
Description
通过 AISA 的实时价格与盈亏跟踪来创建和管理股票加密投资组合。触发条件:当用户想新增持仓、查看组合表现、重命名组合或审查当前盈亏时使用。
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
requires-sensitive-credentials
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install stock-portfolio-zh
  3. After installation, invoke the skill by name or use /stock-portfolio-zh
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
stock-portfolio-zh 1.0.0 - 首次发布:支持通过 AISA 实时价格和盈亏跟踪,创建及管理股票和加密资产投资组合。 - 支持新增持仓、查看组合表现、重命名和审查当前盈亏。 - 提供命令行工具,操作组合内容并跟踪本地状态,文件默认存储于仓库内部。 - 明确定义使用和不适用场景,提升用户体验。
Metadata
Slug stock-portfolio-zh
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is stock-portfolio-zh?

通过 AISA 的实时价格与盈亏跟踪来创建和管理股票加密投资组合。触发条件:当用户想新增持仓、查看组合表现、重命名组合或审查当前盈亏时使用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 82 downloads so far.

How do I install stock-portfolio-zh?

Run "/install stock-portfolio-zh" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is stock-portfolio-zh free?

Yes, stock-portfolio-zh is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does stock-portfolio-zh support?

stock-portfolio-zh is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created stock-portfolio-zh?

It is built and maintained by bibaofeng (@bibaofeng); the current version is v1.0.0.

💬 Comments