orderbook-analysis

Installation
SKILL.md

Orderbook Analysis

Overview

Analyze market microstructure including orderbook snapshots, bid-ask spreads, liquidity depth, and price impact calculations for optimal trade execution.

Security

This skill implements defense-in-depth measures against indirect prompt injection (Snyk W011):

  • Input Sanitization: Orderbook identifiers (market, assetId) are sanitized using security.ts
  • Pattern Filtering: Known prompt injection patterns are removed (e.g., "ignore previous instructions", "system:")
  • Content Validation: Suspicious content with excessive special characters is flagged
  • Fail-Safe: Processing errors return original data rather than corrupting it

The skill fetches data from the trusted DOME API (api.domeapi.io) which provides structured orderbook data from the Polymarket protocol.

Setup

Related skills

More from 0xweaksheep/dome_skills

Installs
2
GitHub Stars
5
First Seen
Mar 19, 2026