← Back to Skills Marketplace
68
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install stock-portfolio-aisa-api
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install stock-portfolio-aisa-api - After installation, invoke the skill by name or use
/stock-portfolio-aisa-api - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 68 downloads so far.
How do I install stock-portfolio-aisa-api?
Run "/install stock-portfolio-aisa-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is stock-portfolio-aisa-api free?
Yes, stock-portfolio-aisa-api is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does stock-portfolio-aisa-api support?
stock-portfolio-aisa-api is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created stock-portfolio-aisa-api?
It is built and maintained by AIsa (@aisadocs); the current version is v1.0.0.
More Skills