Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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-id on each command.

Available Commands

Get Accounts

When the user asks to "get my accounts", "list accounts", or "show my Public.com accounts":

  1. Execute python3 scripts/get_accounts.py
  2. 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":

  1. If PUBLIC_COM_ACCOUNT_ID is set, execute python3 scripts/get_portfolio.py (no arguments needed).
  2. If not set and you don't know the user's account ID, first run get_accounts.py to retrieve it.
  3. Execute python3 scripts/get_portfolio.py --account-id [ACCOUNT_ID]
  4. 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":

  1. If PUBLIC_COM_ACCOUNT_ID is set, execute python3 scripts/get_orders.py (no arguments needed).
  2. If not set and you don't know the user's account ID, first run get_accounts.py to retrieve it.
  3. Execute python3 scripts/get_orders.py --account-id [ACCOUNT_ID]
  4. 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:

  1. If PUBLIC_COM_ACCOUNT_ID is not set and you don't know the user's account ID, first run get_accounts.py to retrieve it.
  2. Execute: python3 scripts/get_history.py [OPTIONS]
  3. Report the transaction history grouped by type (Trades, Money Movements, Position Adjustments).
  4. 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:

  1. If PUBLIC_COM_ACCOUNT_ID is not set and you don't know the user's account ID, first run get_accounts.py to retrieve it.
  2. Parse the user's request for symbol(s) and type(s).
  3. Execute: python3 scripts/get_quotes.py [SYMBOLS...] [--account-id ACCOUNT_ID]
  4. 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
Полный SKILL.md на GitHub

Установить public.com в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_meta.jsonscripts/cancel_order.pyscripts/config.pyscripts/get_accounts.pyscripts/get_history.pyscripts/get_instrument.pyscripts/get_instruments.pyscripts/get_option_chain.pyscripts/get_option_expirations.pyscripts/get_option_greeks.pyscripts/get_orders.pyscripts/get_portfolio.pyscripts/get_quotes.pyscripts/place_order.pyscripts/preflight.py

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить public.com с