From file to useful result
How to ask with this skill installed
Installing the skill gives your AI a method. Your request still has to provide the case-specific facts, constraints and expected output.
Describe the decision or deliverable, not just the topic.
Add source material, audience, limits and known facts.
Set format, quality criteria and checks.
What you need first
Required: Alpaca Account and MCP Server
This skill requires:
- Alpaca Brokerage Account (paper or live)
- Sign up: https://alpaca.markets/
- Paper trading account (free, simulated money) recommended for testing
- Alpaca MCP Server configured in Claude
- Provides access to portfolio positions via MCP tools
- Setup guide:
references/alpaca-mcp-setup.md
- API Credentials (API Key ID and Secret Key)
- Generate in Alpaca dashboard
- Set environment variables:
export ALPACA_API_KEY="your_api_key_id"
export ALPACA_SECRET_KEY="your_secret_key"
export ALPACA_PAPER="true" # or "false" for live trading
Optional: Manual Data Entry
If Alpaca MCP Server is unavailable, you can provide portfolio data manually via CSV:
symbol,quantity,cost_basis,current_price
AAPL,100,150.00,175.50
MSFT,50,280.00,310.25
Mistakes to avoid
"Alpaca MCP Server not connected"
Solutions:
- Verify MCP server is running (
claude mcp statusif available) - Check environment variables are set:
echo $ALPACA_API_KEY - Restart Claude to reinitialize MCP servers
- Verify API keys in Alpaca dashboard
- See
references/alpaca-mcp-setup.mdfor detailed setup
"Invalid API credentials"
Solutions:
- Verify API Key ID and Secret Key (no typos, spaces)
- Check
ALPACA_PAPERsetting matches your keys (paper vs live) - Regenerate API keys in Alpaca dashboard
- Ensure account status is active
"No positions found"
Solutions:
- Verify positions exist in Alpaca dashboard
- Confirm you're checking correct account (paper vs live)
- Check account number matches
- Try refreshing: ask Claude to fetch positions again
Report seems inaccurate
Solutions:
- Verify Alpaca data is current (check Alpaca dashboard)
- Check if market data is delayed (free tier is 15-min delayed)
- Manually verify a few key positions
- Report discrepancies to improve analysis