Skill: zijunl/alpaca-py-cli (version 2.0.0)

--- name: alpaca-py-cli description: AI agent skill for Alpaca Markets trading. Intelligent setup wizard (alpaca init) guides users through registration. Trade stocks/crypto, manage portfolios, execute orders via natural language. Token-efficient design with runtime guidance. Paper trading by default ($100k virtual money). IMPORTANT - Setup requires user interaction to configure API keys in shell environment. metadata: {"clawdbot":{"emoji":"📈","requires":{"bins":["python3"],"packages":["alpaca-py","pytz"],"env":["ALPACA_API_KEY","ALPACA_SECRET_KEY","ALPACA_PAPER"]},"install":[{"id":"pip-alpaca","kind":"pip","package":"alpaca-py","label":"Install alpaca-py (pip3 install alpaca-py)"},{"id":"pip-pytz","kind":"pip","package":"pytz","label":"Install pytz (pip3 install pytz)"}],"setup":{"instructions":["USER must run: alpaca init (interactive setup - requires user input)","USER will be prompted to enter API keys manually","Keys are saved to shell config by the CLI (user consent required)","Test: alpaca clock"],"warnings":["Setup modifies shell startup files (~/.zshrc, ~/.bashrc, ~/.profile)","API keys will be stored as environment variables","User must provide explicit consent before running setup","Do not run setup autonomously - requires user interaction"]}}} --- # Alpaca Trading (Python CLI) - OpenClaw Agent Skill [![ClawHub](https://img.shields.io/badge/ClawHub-alpaca--py--cli-blue)](https://clawhub.ai/skills/alpaca-py-cli) [![GitHub](https://img.shields.io/badge/GitHub-zijunl%2Falpaca--py--cli-green)](https://github.com/zijunl/alpaca-py-cli) Trade stocks and crypto programmatically via Alpaca's API using a Python-based CLI tool. ## ⚠️ Security & Setup Requirements **IMPORTANT - READ BEFORE USE:** This skill stores API keys as environment variables in your shell config file. **What happens during setup:** - `alpaca init` displays registration steps for agent automation - `alpaca auth` saves API keys to shell startup files (~/.zshrc, ~/.bashrc, or ~/.profile) - This creates persistent environment variables accessible to all shell sessions **Security considerations:** - ✅ API keys are stored as environment variables (standard practice) - ✅ Paper trading by default (virtual money, no risk) - ⚠️ Keys in shell config are accessible to any process in that shell - ⚠️ Setup modifies user's shell configuration files **Recommended practices:** 1. **Get user consent** - Explain that setup will modify shell config 2. **Use paper trading keys** - Test with virtual money first ($100k virtual) 3. **Least privilege** - Use API keys with minimal required permissions 4. **Monitor activity** - Check your Alpaca account regularly **For agents:** - Get explicit user permission before running `alpaca auth` (saves keys to shell config) - `alpaca init` is safe to run - it only displays instructions - Use browser automation to complete registration steps automatically - After obtaining keys via browser, call `alpaca auth` to save them **Links:** - ClawHub: https://clawhub.ai/skills/alpaca-py-cli - GitHub: https://github.com/zijunl/alpaca-py-cli - Alpaca Markets: https://alpaca.markets # Alpaca Trading (Python CLI) [![ClawHub](https://img.shields.io/badge/ClawHub-alpaca--py--cli-blue)](https://clawhub.ai/skills/alpaca-py-cli) [![GitHub](https://img.shields.io/badge/GitHub-zijunl%2Falpaca--py--cli-green)](https://github.com/zijunl/alpaca-py-cli) Trade stocks and crypto programmatically via Alpaca's API using a Python-based CLI tool. **Links:** - ClawHub: https://clawhub.ai/skills/alpaca-py-cli - GitHub: https://github.com/zijunl/alpaca-py-cli - Alpaca Markets: https://alpaca.markets ## Overview Manage your Alpaca Markets trading account using the `alpaca` CLI tool and Python SDK. Supports both paper trading (simulated) and live trading. ## Installation ### Recommended: Homebrew Python (avoids urllib3/LibreSSL warnings) ```bash # Install Homebrew Python 3.11+ brew install python@3.11 # Install alpaca-py /opt/homebrew/bin/pip3.11 install alpaca-py pytz ``` ### Alternative: System Python ```bash pip3 install alpaca-py pytz ``` **Note:** System Python may show urllib3 warnings on macOS due to LibreSSL compatibility. Use Homebrew Python for a cleaner experience. ## Configuration ### Quick Setup with CLI ```bash alpaca auth ``` This will interactively prompt you for: - API Key - Secret Key (hidden input) - Trading mode (Paper or Live) The command automatically saves your credentials to your shell config file (`~/.zshrc`, `~/.bashrc`, or `~/.profile`). ### Manual Setup Alternatively, set these in your shell profile manually: ```bash export ALPACA_API_KEY="your_api_key" export ALPACA_SECRET_KEY="your_secret_key" export ALPACA_PAPER="true" # Use "false" for live trading ``` Get your API keys from https://alpaca.markets (Dashboard → API Keys) **Paper Trading** (recommended for testing): - Use paper trading API keys - Virtual $100,000 starting balance - No real money at risk **Live Trading** (real money): - Use live trading API keys - Real money, real risk - Test thoroughly with paper trading first ## CLI Commands ### Setup & Configuration #### Configure Credentials ```bash alpaca auth ``` Interactive setup wizard that guides you through: 1. Enter API Key 2. Enter Secret Key (hidden) 3. Choose trading mode (Paper/Live) 4. Automatically saves to shell config ### Account & Market Info #### Check Account ```bash alpaca account ``` Shows: - Account number and status - Portfolio value, cash, buying power - P&L (equity, last equity) - Trading restrictions (pattern day trader, blocks) #### Check Market Status ```bash alpaca clock ``` Shows: - Market status (🟢 OPEN or 🔴 CLOSED) - Current time - Next open/close times #### View Market Calendar ```bash # Show next 30 trading days (default) alpaca calendar # Show next 7 trading days alpaca calendar --days 7 ``` Shows trading days with open/close times (Eastern Time). #### View Portfolio History ```bash # Default: 1 month, daily bars alpaca history # Last week alpaca history --period 1W # Last 3 months with hourly bars alpaca history --period 3M --timeframe 1H ``` **Periods:** 1D, 1W, 1M, 3M, 1Y, all **Timeframes:** 1Min, 5Min, 15Min, 1H, 1D Shows: - Start and end equity - Total change ($ and %) - Recent history (last 10 data points) ### Portfolio Management #### View Positions ```bash alpaca positions ``` Shows all current holdings with: - Symbol, quantity, current price - Entry price and market value - Unrealized P&L ($ and %) - Total portfolio value and P&L #### Get Stock Quotes ```bash # Single symbol alpaca quote AAPL # Multiple symbols alpaca quote AAPL,TSLA,MSFT ``` Shows: - Bid and ask prices - Mid price and spread - Quote timestamp **Note:** Quotes may show incomplete data when market is closed. Best used during market hours (9:30 AM - 4:00 PM ET). ### Order Management #### View Orders ```bash # Show open orders (default) alpaca orders # Show all recent orders alpaca orders --status all # Show last 20 closed orders alpaca orders --status closed --limit 20 ``` Shows: - Order status with emoji indicators (⏳ pending, ✓ filled, ✗ canceled) - Symbol, side (BUY/SELL), quantity - Order ID and creation time - Fill price (if filled) #### Place Orders ```bash # Buy shares alpaca buy AAPL 10 # Sell shares alpaca sell AAPL 5 ``` Places a market order that executes at market price when market is open. #### Cancel Orders ```bash # Cancel specific order alpaca cancel <order_id> # Cancel all open orders alpaca cancel-all ``` ### Position Management #### Close Positions ```bash # Close specific position alpaca close AAPL # Close all positions (requires confirmation) alpaca close-all ``` **Note:** `close-all` will prompt for confirmation before closing all positions. ## Example Workflows ### First Time Setup ```bash # Configure credentials alpaca auth # Check account alpaca account # Check if market is open alpaca clock ``` ### Trading Workflow ```bash # Check current price alpaca quote TSLA # Check account balance alpaca account # Buy some shares alpaca buy TSLA 5 # Check pending orders alpaca orders # View positions (after order fills) alpaca positions # Get updated quote alpaca quote TSLA # Sell some shares alpaca sell TSLA 2 # Check order history alpaca orders --status all ``` ### Portfolio Analysis ```bash # View current positions alpaca positions # View portfolio history alpaca history --period 1M # Check market calendar alpaca calendar --days 7 ``` ### Risk Management ```bash # Check all open orders alpaca orders # Cancel specific order alpaca cancel <order_id> # Cancel all orders alpaca cancel-all # Close specific position alpaca close AAPL # Close all positions alpaca close-all ``` ## Automated Setup for Agents When a user wants to start trading but hasn't configured Alpaca yet, agents can automate the entire setup process using browser automation. ### Setup Workflow 1. **Run `alpaca init`** - Displays clear registration steps 2. **Use browser automation** to complete steps 1-3: - Navigate to https://alpaca.markets - Click "Sign Up" and fill registration form - Verify email (can use email skill to automate) - Log in and navigate to Dashboard → API Keys → Paper Trading - Generate new API key pair - Extract both keys (API Key and Secret Key) 3. **Run `alpaca auth`** - Save the extracted keys to shell config ### Example Agent Flow ``` User: "I want to start trading stocks" Agent: 1. Runs: alpaca init (gets registration steps) 2. Uses browser skill to: - Open https://alpaca.markets - Fill registration form with user info - Verify email automatically - Navigate to API Keys page - Generate and extract keys 3. Runs: alpaca auth (with extracted keys) 4. Confirms: "✓ Setup complete! You have $100k in paper money." ``` ### Key Points - `alpaca init` is **non-interactive** - just displays steps - Agents should use browser automation to follow the steps - `alpaca auth` requires user consent (modifies shell config) - After setup, verify with `alpaca clock` or `alpaca account` ## Agent Usage When the user asks about their portfolio or wants to trade: 1. **Configure credentials**: Run `alpaca auth` for first-time setup 2. **Check market status**: Run `alpaca clock` to see if market is open 3. **Check account**: Run `alpaca account` to see current balance and buying power 4. **Get positions**: Run `alpaca positions` to list current holdings 5. **View orders**: Run `alpaca orders` to see pending/recent orders 6. **Get quotes**: Run `alpaca quote <symbols>` to check current prices 7. **Place orders**: Run `alpaca buy/sell` to execute trades 8. **Manage risk**: Run `alpaca cancel/close` commands as needed ## Safety Tips - **Always test with paper trading first** (`ALPACA_PAPER=true`) - Use `alpaca auth` to safely configure credentials (secret key is hidden) - Check `alpaca clock` before trading to see if market is open - Check quotes before placing orders to understand current prices - Check `account.buying_power` before placing orders - Use `TimeInForce.DAY` to auto-cancel unfilled orders at market close - Monitor positions regularly with `alpaca positions` - Check order status with `alpaca orders` - Review portfolio performance with `alpaca history` - Use `alpaca cancel-all` to quickly cancel all pending orders - Use `alpaca close-all` with caution (requires confirmation) - Set stop-loss orders for risk management - Never share your API keys publicly ## Market Hours US stock market hours (Eastern Time): - **Regular hours**: 9:30 AM - 4:00 PM ET - **Pre-market**: 4:00 AM - 9:30 AM ET - **After-hours**: 4:00 PM - 8:00 PM ET Orders placed outside market hours will be queued and executed when market opens. Quotes may show incomplete or stale data when market is closed. Use `alpaca clock` to check current market status. ## Troubleshooting ### urllib3 Warning (LibreSSL) If you see: ``` NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently using LibreSSL ``` **Solution:** Install and use Homebrew Python 3.11+ which uses OpenSSL: ```bash brew install python@3.11 /opt/homebrew/bin/pip3.11 install alpaca-py pytz ``` Then update the script shebang to use Homebrew Python: ```bash sed -i '' '1s|#!/usr/bin/env python3|#!/opt/homebrew/bin/python3.11|' ~/.openclaw/workspace/skills/alpaca-py-cli/scripts/alpaca ``` ### Missing pytz If you see: ``` ModuleNotFoundError: No module named 'pytz' ``` **Solution:** ```bash pip3 install pytz # or /opt/homebrew/bin/pip3.11 install pytz ``` ### Command Not Found If `alpaca` command is not found, use the full path: ```bash ~/.openclaw/workspace/skills/alpaca-py-cli/scripts/alpaca ``` Or add to PATH in your shell config: ```bash export PATH="$HOME/.openclaw/workspace/skills/alpaca-py-cli/scripts:$PATH" ``` ## Files - **CLI Tool**: `~/.openclaw/workspace/skills/alpaca-py-cli/scripts/alpaca` - **Config**: Environment variables in `~/.zshrc` (or `~/.bashrc`, `~/.profile`) ## Official Documentation - Python SDK: https://alpaca.markets/docs/python-sdk/ - API Reference: https://docs.alpaca.markets/reference/ - Trading API: https://docs.alpaca.markets/docs/trading-api - Market Data API: https://docs.alpaca.markets/docs/market-data ## Initialization (For Agents) See the "Automated Setup for Agents" section above for the complete workflow. **Quick summary:** 1. Run `alpaca init` to see registration steps 2. Use browser automation to complete registration and extract API keys 3. Run `alpaca auth` to save keys (with user consent) 4. Verify with `alpaca clock` or `alpaca account` The new `alpaca init` command is non-interactive and agent-friendly - it simply displays clear steps that an agent can follow using browser automation.

path: README.md
content: # Alpaca Trading (Python CLI) - OpenClaw Agent Skill

> **🤖 AI Agent Skill for OpenClaw**  
> Enable your AI agent to trade stocks and crypto via Alpaca Markets API using natural language commands.

> **⚠️ SECURITY NOTICE**  
> This skill requires **user interaction** for setup. Setup modifies shell configuration files and stores API keys as environment variables. Do NOT run `alpaca init` autonomously without user consent.

[![ClawHub](https://img.shields.io/badge/ClawHub-alpaca--py--cli-blue)](https://clawhub.ai/skills/alpaca-py-cli)
[![GitHub](https://img.shields.io/badge/GitHub-zijunl%2Falpaca--py--cli-green)](https://github.com/zijunl/alpaca-py-cli)
[![Version](https://img.shields.io/badge/version-1.6.1-orange)](https://clawhub.ai/skills/alpaca-py-cli)

## 🤖 What is this?

This is an **OpenClaw Agent Skill** that gives your AI assistant the ability to:
- Check stock prices and market status
- Manage your trading portfolio
- Execute buy/sell orders
- View trading history and performance
- **Set up Alpaca accounts with guided wizard** (requires user interaction)
- All through natural language conversation!

**Example conversation:**
```
You: "I want to start trading stocks"
Agent: "I'll help you set up Alpaca paper trading. This requires your input."
       "The setup will save API keys to your shell config. Is that okay?"
User: "Yes"
Agent: *runs: alpaca init*
       *user follows prompts and enters keys*
Agent: "✓ Setup complete! You have $100,000 in virtual money."

You: "What's the current price of Apple stock?"
Agent: *runs alpaca quote AAPL* "AAPL is trading at $250.32"

You: "Buy 10 shares"
Agent: *runs alpaca buy AAPL 10* "✓ Order placed for 10 shares of AAPL"
```

## ⚠️ Security & Setup Requirements

**IMPORTANT - READ BEFORE INSTALLING:**

### What Happens During Setup

When you run `alpaca init`:
1. CLI prompts you to enter API keys interactively
2. Keys are saved to shell startup files (~/.zshrc, ~/.bashrc, or ~/.profile)
3. This creates persistent environment variables (ALPACA_API_KEY, ALPACA_SECRET_KEY, ALPACA_PAPER)
4. These variables are accessible to all processes in your shell

### Security Considerations

✅ **Good:**
- API keys stored as environment variables (standard practice)
- Secret key input is hidden during entry
- Paper trading by default (virtual money, no risk)
- User must explicitly enter keys (not auto-fetched)

⚠️ **Be Aware:**
- Keys in shell config are accessible to any process in that shell
- Agents with shell access can read environment variables
- Setup modifies your shell configuration files
- Changes persist across terminal sessions

### Recommended Practices

1. **Run setup manually** - Do not let agents run `alpaca init` autonomously
2. **Use paper trading keys** - Test with virtual money first ($100k)
3. **Review before consent** - Understand what files will be modified
4. **Least privilege** - Use API keys with minimal required permissions
5. **Monitor activity** - Check your Alpaca account regularly
6. **Secure your shell** - Protect files like ~/.zshrc from unauthorized access

### For Agent Developers

**Do NOT:**
- Run `alpaca init` or `alpaca auth` without explicit user permission
- Modify shell configuration files autonomously
- Store or transmit user API keys

**DO:**
- Inform user that setup will modify shell configuration
- Explain that API keys will be stored as environment variables
- Get explicit user consent before proceeding
- Let the user run setup commands themselves when possible


## ✨ Key Features

- 📈 **Real-time stock quotes** - Get current prices instantly
- 💼 **Portfolio management** - Track your holdings and performance
- 📊 **Account information** - View balance, buying power, P&L
- 🔄 **Order execution** - Buy/sell with market orders
- 📅 **Market calendar** - See upcoming trading days
- 📉 **Portfolio history** - Analyze performance over time
- ⏰ **Market status** - Check if market is open/closed
- 🤖 **Intelligent setup wizard** - `alpaca init` guides users through registration
- 🔐 **Secure credentials** - Keys stored in shell config, not in code
- 📝 **Paper trading** - Practice with $100k virtual money (no risk!)
- 🎯 **Agent-optimized** - Minimal token usage, runtime guidance

## 🚀 Quick Install

### Via ClawHub (Recommended for OpenClaw users)

```bash
npm install -g clawhub
clawhub install alpaca-py-cli
```

### Manual Install

```bash
git clone https://github.com/zijunl/alpaca-py-cli.git
cd alpaca-py-cli
brew install python@3.11
/opt/homebrew/bin/pip3.11 install alpaca-py pytz
```

## 🎯 Quick Start

### For First-Time Users

```bash
alpaca init
```

The intelligent wizard will:
- Check if you're already set up
- Guide you through Alpaca registration
- Help you generate API keys
- Configure everything automatically
- Verify your setup

### For Existing Users

```bash
alpaca clock         # Check market status
alpaca account       # View your account
alpaca quote AAPL    # Get stock price
```

## 📚 Commands

```bash
alpaca init          # 🆕 Intelligent setup wizard (first-time users)
alpaca auth          # Quick API key configuration
alpaca clock         # Market status
alpaca calendar      # Trading calendar
alpaca history       # Portfolio history
alpaca account       # Account information
alpaca quote AAPL    # Stock quotes
alpaca positions     # Current holdings
alpaca orders        # Order management
alpaca buy/sell      # Execute trades
alpaca cancel/close  # Cancel/close positions
```

## 🤖 For AI Agents

This skill is designed specifically for AI agents like OpenClaw:

**Agent workflow:**
1. User asks to trade or check stocks
2. Agent runs appropriate `alpaca` command
3. Agent interprets output
4. Agent responds in natural language

**Setup workflow:**
1. User wants to start trading
2. Agent runs `alpaca init`
3. CLI guides user through registration
4. Agent confirms setup is complete

**Token-efficient design:**
- Minimal SKILL.md (low token usage when loaded)
- Detailed guidance shown at runtime (not in skill file)
- Clear, parseable CLI output
- Agent just needs to know which commands to run

## 🔗 Links

- **ClawHub**: https://clawhub.ai/skills/alpaca-py-cli
- **GitHub**: https://github.com/zijunl/alpaca-py-cli
- **OpenClaw**: https://openclaw.ai
- **Alpaca Markets**: https://alpaca.markets
- **Python SDK Docs**: https://alpaca.markets/docs/python-sdk/

## 🛡️ Why This Skill?

**Designed for AI Agents:**
- Token-efficient skill file
- Runtime guidance instead of documentation bloat
- Clear, parseable output
- Natural language ready

**Easy to Use:**
- One command setup: `alpaca init`
- Intelligent wizard handles complexity
- Works on macOS, Linux, Windows
- No manual configuration needed

**Safe & Secure:**
- Paper trading by default ($100k virtual money)
- API keys in shell config (not in code)
- Secret key input is hidden
- Confirmation required for risky operations

**Well-Maintained:**
- Active development
- Comprehensive documentation
- Example workflows
- Troubleshooting guide

## 🆚 Differences from Other Alpaca Skills

| Skill | Implementation | Setup | Agent-Optimized |
|-------|---------------|-------|-----------------|
| **alpaca-py-cli** (this) | Python CLI | `alpaca init` wizard | ✅ Yes |
| alpaca-trading | Rust CLI (apcacli) | Manual | ❌ No |
| alpaca | Python scripts | Manual | ❌ No |

## 🔒 Safety & Security

- ✅ Paper trading by default (virtual money)
- ✅ API keys stored securely in shell config
- ✅ Secret key input is hidden
- ✅ Market orders only (reduces complexity)
- ✅ Confirmation required for `close-all`
- ✅ Agent can't access keys directly
- ✅ Clear security reminders during setup

## 📖 Documentation

- **Quick Start**: See above
- **Full Documentation**: [SKILL.md](SKILL.md)
- **Setup Guide**: Run `alpaca init` for interactive guide
- **Troubleshooting**: See SKILL.md

## 🤝 Contributing

Contributions welcome! Please open an issue or PR on GitHub.

## 📄 License

MIT License - Free to use, modify, and distribute

## 👤 Author

Created for the OpenClaw community by [@zijunl](https://github.com/zijunl)

## 💬 Support

- GitHub Issues: https://github.com/zijunl/alpaca-py-cli/issues
- OpenClaw Discord: https://discord.com/invite/clawd
- ClawHub: https://clawhub.ai/skills/alpaca-py-cli

---

**Latest Updates (v1.6.0):**
- 🎯 Major refactor: Moved detailed guidance to CLI runtime
- 📉 Reduced token usage by ~250 lines
- ✨ Enhanced `alpaca init` with step-by-step instructions
- 🤖 Better agent experience with minimal skill file
- 📋 Clear progress indicators and formatted output


path: _meta.json
content: slug: alpaca-py-cli
version: 1.7.2

path: setup.json
content: {
  "setupComplete": false,
  "prerequisites": {
    "python": {
      "required": true,
      "installed": false,
      "description": "Python 3.9+ (preferably Homebrew Python 3.11+ to avoid urllib3/LibreSSL warnings)"
    },
    "alpacaPy": {
      "required": true,
      "installed": false,
      "description": "alpaca-py Python package installed"
    },
    "pytz": {
      "required": true,
      "installed": false,
      "description": "pytz Python package (dependency of alpaca-py)"
    },
    "apiKeys": {
      "required": true,
      "configured": false,
      "description": "ALPACA_API_KEY, ALPACA_SECRET_KEY, and ALPACA_PAPER environment variables configured"
    },
    "alpacaCommand": {
      "required": true,
      "installed": false,
      "description": "alpaca CLI script accessible in PATH or via full path"
    }
  },
  "setupInstructions": [
    "1. (Recommended) Install Homebrew Python to avoid urllib3/LibreSSL warnings:",
    "   brew install python@3.11",
    "2. Install alpaca-py package:",
    "   /opt/homebrew/bin/pip3.11 install alpaca-py (Homebrew Python)",
    "   OR pip3 install alpaca-py (system Python)",
    "3. Install pytz if missing:",
    "   /opt/homebrew/bin/pip3.11 install pytz (Homebrew Python)",
    "   OR pip3 install pytz (system Python)",
    "4. Configure API credentials (interactive):",
    "   Run: alpaca auth",
    "   This will prompt for API Key, Secret Key, and trading mode (Paper/Live)",
    "   Credentials are saved to your shell config (~/.zshrc, ~/.bashrc, or ~/.profile)",
    "5. Get API keys from https://alpaca.markets (Dashboard → API Keys)",
    "   - Use Paper Trading keys for testing (virtual $100k, no real money)",
    "   - Use Live Trading keys only after thorough testing",
    "6. If using Homebrew Python, update the alpaca script shebang:",
    "   sed -i '' '1s|#!/usr/bin/env python3|#!/opt/homebrew/bin/python3.11|' ~/.openclaw/workspace/skills/alpaca-py-cli/scripts/alpaca",
    "7. Test installation:",
    "   alpaca clock (check market status)",
    "   alpaca account (check account info)",
    "8. Update this setup.json: set all 'installed'/'configured' to true and 'setupComplete' to true"
  ],
  "verifySetup": "Run 'alpaca clock' to verify the CLI works and shows market status without errors",
  "troubleshooting": {
    "urllib3Warning": {
      "issue": "NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently using LibreSSL",
      "solution": "Install and use Homebrew Python 3.11+ which uses OpenSSL instead of LibreSSL. See setup instructions step 1 and 6."
    },
    "missingPytz": {
      "issue": "ModuleNotFoundError: No module named 'pytz'",
      "solution": "Install pytz: pip3 install pytz (or pip3.11 if using Homebrew Python)"
    },
    "commandNotFound": {
      "issue": "alpaca: command not found",
      "solution": "Use full path: ~/.openclaw/workspace/skills/alpaca-py-cli/scripts/alpaca, or add scripts directory to PATH"
    }
  }
}


Security scan verdicts — ClawScan: suspicious | static analysis: clean | VirusTotal: suspicious | SkillSpector: suspicious (CRITICAL)