1363/position-snapshot/SKILL.md
Generate OHLC candlestick charts with position overlays — entry price, open limit orders, PnL, and liquidity zones. Use when the user wants a visual snapshot of their current trading position on a price chart.
npx skillsauth add starchild-ai-agent/community-skills @1363/position-snapshotInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate OHLC candlestick charts overlaid with live position data — entries, limit orders, PnL, and custom zones.
hl_account() (or orderly_positions()) to get current position: entry price, size, side, uPnL, leverage, liquidation pricehl_open_orders() to get resting limit ordershl_candles(coin=ASSET, interval="4h", lookback=336) for 14 days of 4H candles (adjust interval/lookback to user preference)scripts/render_position_chart.pyoutput/ directorypython skills/position-snapshot/scripts/render_position_chart.py \
--coin BTC \
--side short \
--entry 72837 \
--size 0.01286 \
--leverage 10 \
--pnl 21.73 \
--roe 23.2 \
--current-price 71231 \
--liq-price 132641 \
--candles candles.json \
--orders orders.json \
--zones '{"External Range Liq": [72600, 75300]}' \
--output output/position_snapshot.png
| Param | Required | Description |
|-------|----------|-------------|
| --coin | ✅ | Asset symbol (BTC, ETH, etc.) |
| --side | ✅ | Position side: long or short |
| --entry | ✅ | Entry price |
| --size | ✅ | Position size in base asset |
| --leverage | ✅ | Leverage multiplier |
| --pnl | ✅ | Unrealized PnL in USD |
| --roe | ✅ | Return on equity % |
| --current-price | ✅ | Current mark price |
| --liq-price | No | Liquidation price (shown if provided) |
| --candles | ✅ | Path to JSON file with OHLC candle data (array of {t, o, h, l, c}) |
| --orders | No | Path to JSON file with open orders (array of {price, size, side}) |
| --zones | No | JSON string of named price zones: {"name": [low, high]} |
| --output | No | Output path (default: output/position_snapshot.png) |
| --interval | No | Label for candle interval (default: 4H) |
| --title | No | Custom chart title |
[{"t": 1772740800, "o": 70875.5, "h": 71530.4, "l": 70805.9, "c": 71231.2}, ...]
[{"price": 73800, "size": 0.00235, "side": "sell"}, ...]
{t, o, h, l, c} formathl_candles() use this format nativelydevelopment
OpenSea API integration for NFT and token discovery, marketplace intelligence, and order/transaction workflows. Use when working with OpenSea data or trading flows (e.g. collection stats, trending collections/tokens, NFT metadata, listings/offers, swap quotes, transaction receipt polling).
development
Generate a warm, healing parallel-universe fairy tale (~1000 words) plus 3 cohesive storybook illustrations, themed "if this person had never been born, what would the world miss." Output is a polished HTML storybook that can be previewed and published. Use when the user wants a personalized "if I had never been born" / "如果我没出生" tale for a real person — input is a name, age, and 3 key life events. Great for birthdays, memorials, encouragement gifts, or healing keepsakes.
development
Onboard a user to Phala Cloud and deploy a verifiable Starchild TEE agent — a minimal FastAPI runtime running inside an Intel TDX confidential VM, plus a published chat dashboard with attestation verification. Use when the user wants to "try TEE", "run an agent in a confidential VM", "deploy to Phala", or replicate the internal Starchild TEE test setup.
tools
Trade on Polymarket prediction markets (CLOB V2) from a Privy EOA wallet. Search markets, place/cancel orders, manage positions. No private key handling. Use when the user wants to bet on event outcomes (e.g. "buy YES at 0.65 on the ceasefire market", "what are my open positions", "close my Trump bet").