{"id":81172,"plugin_id":"plugin_asdk_app_6ad19721a54c81919eeb84fd352caaed","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-04T18:11:40.504Z","digest":"2edcf73f1c8c0a21795cce9ea632a72edb520aae904b32fb2c82702fd8cd80cc","against":null,"payload":{"description":"Deep price investigation at specific timestamp with exchange breakdown","included_files":[],"name":"investigate-price","skill_md_contents":"---\nname: investigate-price\ndescription: \"Deep price investigation at specific timestamp with exchange breakdown\"\n---\n\n## OpenAI connection notes\n\nTool identifiers below are raw operation names. The host may add a namespace;\nuse the matching advertised Global MCP tool. Resolve `<resolved-package-root>`\nto this plugin's installed directory before using paths. Workflow names identify\npackaged skills; they are not literal Claude slash commands.\n\nOriginal procedure tool scope: `UDA___get_block`, `pricing___get_candles`, `pricing___get_historical_prices`, `pricing___get_latest_prices`, `pricing___get_market_depth`, `pricing___get_market_variances`, `pricing___get_order_book_snapshot`, `pricing___list_pricing_sources`.\n\n# investigate-price workflow\n\n> See [CONNECTORS.md](../../CONNECTORS.md) for tool details.\n\n## Usage\n\ninvestigate-price workflow <user input>\n\nParse <user input> for pair code and optional timestamp (default: latest).\n\n## Flow\n\n1. **Discover sources**: `pricing___list_pricing_sources({})` \n2. **Price at time**: `pricing___get_latest_prices({ sourceId: 1000, pairCodes: \"{pair}\", asOf: \"{timestamp}\" })` or `pricing___get_historical_prices({ pairCode: \"{pair}\", from, to, interval: 60000 })`  (sourceId 1000 = Lukka Prime EOD)\n   - Note: price returned is the latest available *on or before* `asOf`. For exact minute-precision use `get_historical_prices({ interval: 60000 })`.\n3. **Exchange variance**: `pricing___get_market_variances({ pairCode: \"{pair}\", from: \"{ts-1h}\", to: \"{ts}\" })` \n   - Provides per-exchange deviation from composite\n4. **Candles per exchange**: For top exchanges, `pricing___get_candles({ pairCode: \"{pair}\", sourceId: {id}, from: \"{ts-2h}\", to: \"{ts}\", interval: 3600000 })` \n   - Provides per-exchange volume\n   - **Merge step 3 + step 4** on `pairCode + sourceId`: variance fills Deviation column, candle fills Volume column\n5. **Order book snapshot**: `pricing___get_order_book_snapshot({ sourceIds: \"{single_sourceId}\", pairCodes: \"{pair}\", asOf: \"{timestamp}\" })` \n   - Top exchange sourceId (e.g. 4002 Coinbase Pro or 4005 Binance), one at a time\n6. **Market depth per top exchange**: `pricing___get_market_depth({ sourceIds: \"{single_sourceId}\", baseAssetCodes: \"{base}\", counterAssetCodes: \"USD\" })` \n   - **CRITICAL**: one sourceId per call + base/counter filters (avoids 6.8 MB full exchange dump)\n\n## Output\n\n### Price Investigation: {pair} at {timestamp}\n\n**Lukka Prime Price**: ${price}\n\n**Exchange Contributions**\n| Exchange | Price | Share % | Volume | Deviation |\n|----------|-------|---------|--------|-----------|\n\n- Share % = `volume_exchange / total_volume_across_exchanges * 100` (computed from candles volume)\n\n**Hourly Candles (leading 2h)**\n| Time | Exchange | Open | High | Low | Close | Volume |\n|------|----------|------|------|-----|-------|--------|\n\n**Order Book Snapshot**\n- Best Bid: ${bid} ({bid_size})\n- Best Ask: ${ask} ({ask_size})\n- Spread: ${spread} ({spread_bps} bps)\n\n**Analysis**: {Describe deviation pattern, liquidity concentration, any outliers across exchanges}\n\n> **Block-level analysis**: if the user wants on-chain context around the timestamp, use `UDA___get_block` and the `large-data-processing` skill's `process_block.py`.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}