public.com
БесплатноЗапускает вложенные скриптыНе проверенInteract with your Public.com brokerage account using the Public.com API. Able to view portfolio, get stock quotes, place trades, and get account updates. To…
от lxyeternal★ 68 звёзд на GitHubОб этом скилле
Public.com Account Manager
Disclaimer: For illustrative and informational purposes only. Not investment advice or recommendations.
This skill allows users to interact with their Public.com brokerage account.
Prerequisites
The publicdotcom-py SDK is required. It will be auto-installed on first run, or you can install manually:
pip install publicdotcom-py
Configuration
API Secret (Required)
If the environment variable PUBLIC_COM_SECRET is not set:
- Tell the user: "I need your Public.com API Secret. You can find this in your Public.com developer settings at https://public.com/settings/v2/api."
- Once provided, save it:
openclaw config set skills.publicdotcom.PUBLIC_COM_SECRET [VALUE]
Default Account ID (Optional)
If the user wants to set a default account for all requests:
- Save it:
openclaw config set skills.publicdotcom.PUBLIC_COM_ACCOUNT_ID [VALUE] - This eliminates the need to specify
--account-idon each command.
Available Commands
Get Accounts
When the user asks to "get my accounts", "list accounts", or "show my Public.com accounts":
- Execute
python3 scripts/get_accounts.py - Report the account IDs and types back to the user.
Get Portfolio
When the user asks to "get my portfolio", "show my holdings", or "what's in my account":
- If
PUBLIC_COM_ACCOUNT_IDis set, executepython3 scripts/get_portfolio.py(no arguments needed). - If not set and you don't know the user's account ID, first run
get_accounts.pyto retrieve it. - Execute
python3 scripts/get_portfolio.py --account-id [ACCOUNT_ID] - Report the portfolio summary (equity, buying power, positions) back to the user.
Get Orders
When the user asks to "get my orders", "show my orders", "active orders", or "pending orders":
- If
PUBLIC_COM_ACCOUNT_IDis set, executepython3 scripts/get_orders.py(no arguments needed). - If not set and you don't know the user's account ID, first run
get_accounts.pyto retrieve it. - Execute
python3 scripts/get_orders.py --account-id [ACCOUNT_ID] - Report the active orders with their details (symbol, side, type, status, quantity, prices) back to the user.
Get History
When the user asks to "get my history", "show my transactions", "transaction history", "trade history", or wants to see past account activity:
Optional parameters:
--type: Filter by transaction type (TRADE, MONEY_MOVEMENT, POSITION_ADJUSTMENT)--limit: Limit the number of transactions returned
Examples:
Get all transaction history:
python3 scripts/get_history.py
Get only trades:
python3 scripts/get_history.py --type TRADE
Get only money movements (deposits, withdrawals, dividends, fees):
python3 scripts/get_history.py --type MONEY_MOVEMENT
Get last 10 transactions:
python3 scripts/get_history.py --limit 10
With explicit account ID:
python3 scripts/get_history.py --account-id YOUR_ACCOUNT_ID
Workflow:
- If
PUBLIC_COM_ACCOUNT_IDis not set and you don't know the user's account ID, first runget_accounts.pyto retrieve it. - Execute:
python3 scripts/get_history.py [OPTIONS] - Report the transaction history grouped by type (Trades, Money Movements, Position Adjustments).
- Include relevant details like symbol, quantity, net amount, fees, and timestamps.
Transaction Types:
- TRADE: Buy/sell transactions for equities, options, and crypto
- MONEY_MOVEMENT: Deposits, withdrawals, dividends, fees, and cash adjustments
- POSITION_ADJUSTMENT: Stock splits, mergers, and other position changes
Get Quotes
When the user asks to "get a quote", "what's the price of", "check the price", or wants stock/crypto prices:
Format: SYMBOL or SYMBOL:TYPE (TYPE defaults to EQUITY)
Examples:
Single equity quote (uses default account):
python3 scripts/get_quotes.py AAPL
Multiple equity quotes:
python3 scripts/get_quotes.py AAPL GOOGL MSFT
Mixed instrument types:
python3 scripts/get_quotes.py AAPL:EQUITY BTC:CRYPTO
Option quote:
python3 scripts/get_quotes.py AAPL260320C00280000:OPTION
With explicit account ID:
python3 scripts/get_quotes.py AAPL --account-id YOUR_ACCOUNT_ID
Workflow:
- If
PUBLIC_COM_ACCOUNT_IDis not set and you don't know the user's account ID, first runget_accounts.pyto retrieve it. - Parse the user's request for symbol(s) and type(s).
- Execute:
python3 scripts/get_quotes.py [SYMBOLS...] [--account-id ACCOUNT_ID] - Report the quote information (last price, bid, ask, volume, etc.) back to the user.
Get Instruments
When the user asks to "list instruments", "what can I trade", "show available stocks", or wants to see tradeable instruments:
Optional parameters:
--type: Instrument types to filter (EQUITY, OPTION, CRYPTO). Defaults to EQUITY.--trading: Trading status filter (BUY_AND_SELL, BUY_ONLY, SELL_ONLY, NOT_TRADABLE)--search: Search
Установить public.com в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл public.com?
Interact with your Public.com brokerage account using the Public.com API. Able to view portfolio, get stock quotes, place trades, and get account updates. To create a Public.com account head to public.com/signup.
Как установить скилл public.com?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл public.com запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic