← Back to Skills Marketplace
aisadocs

stock-portfolio-zh-aisa

by AIsa · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
71
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install stock-portfolio-zh-aisa
Description
通过 AISA 的实时价格与盈亏跟踪来创建和管理股票加密投资组合。触发条件:当用户想新增持仓、查看组合表现、重命名组合或审查当前盈亏时使用。
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
requires-sensitive-credentials
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install stock-portfolio-zh-aisa
  3. After installation, invoke the skill by name or use /stock-portfolio-zh-aisa
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug stock-portfolio-zh-aisa
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?

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

How do I install stock-portfolio-zh-aisa?

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

Is stock-portfolio-zh-aisa free?

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

Which platforms does stock-portfolio-zh-aisa support?

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

Who created stock-portfolio-zh-aisa?

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

💬 Comments