[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71GZZ2F72FSYJJJG36CYSSA":3,"skill-same:01M71GZZ2F72FSYJJJG36CYSSA":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M71GZZ2F72FSYJJJG36CYSSA","mm",null,"Market making - two-sided quoting with inventory management","JSGforever\u002Fskillguard","JSGforever","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F85541948?v=4","01M71FQD3E132VMR5F4TAYX3YS","01M71FQD4DYW0XJ4XQ4YQH75Y9",2,"GPL-3.0","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__alsk1992--mm\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25],"inventory","api","management","Market","inventory management","with","kalshi","two","2026-11-10 10:12:30",false,"---\nname: mm\ndescription: \"Market making - two-sided quoting with inventory management\"\nemoji: \"📊\"\ngates:\n  envs:\n    anyOf:\n      - POLY_API_KEY\n      - KALSHI_API_KEY\n---\n\n# Market Making Skill\n\nAutomated two-sided quoting on prediction markets with inventory skew, volatility-adjusted spreads, and risk controls.\n\n## Supported Platforms\n\n- Polymarket (post-only maker orders, zero taker fees)\n- Kalshi\n\n---\n\n## Chat Commands\n\n### Lifecycle\n\n```\n\u002Fmm start \u003Cplatform> \u003CmarketId> \u003CtokenId> [flags]   Start market making\n\u002Fmm stop \u003Cid>                                        Stop and cancel all orders\n\u002Fmm list                                             List active market makers\n```\n\n### Monitoring\n\n```\n\u002Fmm status                     Overview of all active MMs\n\u002Fmm status \u003Cid>                Detailed state for one MM\n```\n\n### Configuration\n\n```\n\u002Fmm config \u003Cid>                View current config as JSON\n\u002Fmm config \u003Cid> --spread 3     Update config (takes effect next requote)\n```\n\n---\n\n## Start Flags\n\n| Flag | Default | Description |\n|------|---------|-------------|\n| `--spread N` | 2 | Base half-spread in cents |\n| `--min-spread N` | 1 | Minimum spread floor (cents) |\n| `--max-spread N` | 10 | Maximum spread cap (cents) |\n| `--size N` | 50 | Order size per side (shares) |\n| `--max-inventory N` | 500 | Max inventory before aggressive skew |\n| `--skew N` | 0.5 | Inventory skew factor (0-1) |\n| `--vol-mult N` | 10 | Volatility multiplier for spread widening |\n| `--alpha N` | 0.3 | EMA alpha for fair value smoothing (0-1) |\n| `--fv-method M` | weighted_mid | Fair value method: mid_price, weighted_mid, vwap, ema |\n| `--interval N` | 5000 | Requote interval in ms |\n| `--threshold N` | 1 | Min price change (cents) to trigger requote |\n| `--max-pos N` | 1000 | Max position value in USD |\n| `--max-loss N` | 100 | Max loss before auto-halt (USD) |\n| `--max-orders N` | 1 | Orders per side (levels) |\n| `--level-spacing N` | (=spread) | Cents between price levels |\n| `--level-decay N` | 0.5 | Size decay per level (0-1, e.g. 0.5 = each level half of previous) |\n| `--neg-risk true` | false | Enable negative risk mode (Polymarket crypto) |\n| `--name \"Name\"` | auto | Display name for the outcome |\n\n---\n\n## Examples\n\n```\n# Start with defaults\n\u002Fmm start polymarket 0xabc123 98765\n\n# Custom spread and sizing\n\u002Fmm start polymarket 0xabc123 98765 --spread 3 --size 100 --max-inventory 1000\n\n# Tight spread for liquid market\n\u002Fmm start polymarket 0xabc123 98765 --spread 1 --min-spread 1 --max-spread 5 --interval 2000\n\n# 3-level quoting: L1=50 shares, L2=25, L3=12 — spaced 2c apart\n\u002Fmm start polymarket 0xabc123 98765 --max-orders 3 --level-spacing 2 --level-decay 0.5 --size 50\n\n# Check all running MMs\n\u002Fmm status\n\n# Widen spread on the fly\n\u002Fmm config polymarket_98765678 --spread 4\n\n# Shut down\n\u002Fmm stop polymarket_98765678\n```\n\n---\n\n## How It Works\n\n1. **Fair value** computed from orderbook (weighted mid, VWAP, or EMA)\n2. **Spread** adjusted by recent volatility (wider in volatile markets)\n3. **Skew** shifts quotes away from overweight side to manage inventory\n4. **Quotes** placed as post-only maker orders (bid and ask)\n5. **Requote** cycle: cancel all, recalculate, place new orders\n6. **Auto-halt** if realized P&L exceeds max loss threshold\n\n---\n\n## API Usage\n\n```typescript\nimport { createMMStrategy, type MMConfig } from '..\u002Ftrading\u002Fmarket-making';\n\nconst config: MMConfig = {\n  id: 'btc-yes',\n  platform: 'polymarket',\n  marketId: '0x...',\n  tokenId: '12345',\n  outcomeName: 'BTC > 100k',\n  baseSpreadCents: 2,\n  minSpreadCents: 1,\n  maxSpreadCents: 10,\n  orderSize: 50,\n  maxInventory: 500,\n  skewFactor: 0.5,\n  volatilityMultiplier: 10,\n  fairValueAlpha: 0.3,\n  fairValueMethod: 'weighted_mid',\n  requoteIntervalMs: 5000,\n  requoteThresholdCents: 1,\n  maxPositionValueUsd: 1000,\n  maxLossUsd: 100,\n  maxOrdersPerSide: 1,\n};\n\nconst strategy = createMMStrategy(config, { execution, feeds });\nbotManager.registerStrategy(strategy);\nawait botManager.startBot(strategy.config.id);\n```\n","# Market Making Skill\n\nAutomated two-sided quoting on prediction markets with inventory skew, volatility-adjusted spreads, and risk controls.\n\n## Supported Platforms\n\n- Polymarket (post-only maker orders, zero taker fees)\n- Kalshi\n\n---\n\n## Chat Commands\n\n### Lifecycle\n\n```\n\u002Fmm start \u003Cplatform> \u003CmarketId> \u003CtokenId> [flags]   Start market making\n\u002Fmm stop \u003Cid>                                        Stop and cancel all orders\n\u002Fmm list                                             List active market makers\n```\n\n### Monitoring\n\n```\n\u002Fmm status                     Overview of all active MMs\n\u002Fmm status \u003Cid>                Detailed state for one MM\n```\n\n### Configuration\n\n```\n\u002Fmm config \u003Cid>                View current config as JSON\n\u002Fmm config \u003Cid> --spread 3     Update config (takes effect next requote)\n```\n\n---\n\n## Start Flags\n\n| Flag | Default | Description |\n|------|---------|-------------|\n| `--spread N` | 2 | Base half-spread in cents |\n| `--min-spread N` | 1 | Minimum spread floor (cents) |\n| `--max-spread N` | 10 | Maximum spread cap (cents) |\n| `--size N` | 50 | Order size per side (shares) |\n| `--max-inventory N` | 500 | Max inventory before aggressive skew |\n| `--skew N` | 0.5 | Inventory skew factor (0-1) |\n| `--vol-mult N` | 10 | Volatility multiplier for spread widening |\n| `--alpha N` | 0.3 | EMA alpha for fair value smoothing (0-1) |\n| `--fv-method M` | weighted_mid | Fair value method: mid_price, weighted_mid, vwap, ema |\n| `--interval N` | 5000 | Requote interval in ms |\n| `--threshold N` | 1 | Min price change (cents) to trigger requote |\n| `--max-pos N` | 1000 | Max position value in USD |\n| `--max-loss N` | 100 | Max loss before auto-halt (USD) |\n| `--max-orders N` | 1 | Orders per side (levels) |\n| `--level-spacing N` | (=spread) | Cents between price levels |\n| `--level-decay N` | 0.5 | Size decay per level (0-1, e.g. 0.5 = each level half of previous) |\n| `--neg-risk true` | false | Enable negative risk mode (Polymarket crypto) |\n| `--name \"Name\"` | auto | Display name for the outcome |\n\n---\n\n## Examples\n\n```\n# Start with defaults\n\u002Fmm start polymarket 0xabc123 98765\n\n# Custom spread and sizing\n\u002Fmm start polymarket 0xabc123 98765 --spread 3 --size 100 --max-inventory 1000\n\n# Tight spread for liquid market\n\u002Fmm start polymarket 0xabc123 98765 --spread 1 --min-spread 1 --max-spread 5 --interval 2000\n\n# 3-level quoting: L1=50 shares, L2=25, L3=12 — spaced 2c apart\n\u002Fmm start polymarket 0xabc123 98765 --max-orders 3 --level-spacing 2 --level-decay 0.5 --size 50\n\n# Check all running MMs\n\u002Fmm status\n\n# Widen spread on the fly\n\u002Fmm config polymarket_98765678 --spread 4\n\n# Shut down\n\u002Fmm stop polymarket_98765678\n```\n\n---\n\n## How It Works\n\n1. **Fair value** computed from orderbook (weighted mid, VWAP, or EMA)\n2. **Spread** adjusted by recent volatility (wider in volatile markets)\n3. **Skew** shifts quotes away from overweight side to manage inventory\n4. **Quotes** placed as post-only maker orders (bid and ask)\n5. **Requote** cycle: cancel all, recalculate, place new orders\n6. **Auto-halt** if realized P&L exceeds max loss threshold\n\n---\n\n## API Usage\n\n```typescript\nimport { createMMStrategy, type MMConfig } from '..\u002Ftrading\u002Fmarket-making';\n\nconst config: MMConfig = {\n  id: 'btc-yes',\n  platform: 'polymarket',\n  marketId: '0x...',\n  tokenId: '12345',\n  outcomeName: 'BTC > 100k',\n  baseSpreadCents: 2,\n  minSpreadCents: 1,\n  maxSpreadCents: 10,\n  orderSize: 50,\n  maxInventory: 500,\n  skewFactor: 0.5,\n  volatilityMultiplier: 10,\n  fairValueAlpha: 0.3,\n  fairValueMethod: 'weighted_mid',\n  requoteIntervalMs: 5000,\n  requoteThresholdCents: 1,\n  maxPositionValueUsd: 1000,\n  maxLossUsd: 100,\n  maxOrdersPerSide: 1,\n};\n\nconst strategy = createMMStrategy(config, { execution, feeds });\nbotManager.registerStrategy(strategy);\nawait botManager.startBot(strategy.config.id);\n```\n",{"name":5,"emoji":31,"gates":32,"description":7},"📊",{"envs":33},{"anyOf":34},[35,36],"POLY_API_KEY","KALSHI_API_KEY","main","f2ec4b3b9133d34eeaf9b38e4b0a97e8e5705a7f","benchmarks\u002Ffinal\u002Fskills\u002Fasset1__alsk1992--mm",0,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard","https:\u002F\u002Fgithub.com\u002FJSGforever","2026-08-29 18:27:56",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add JSGforever\u002Fskillguard --skill mm",{"tool":50,"command":51},"bunx","bunx skills add JSGforever\u002Fskillguard --skill mm",{"tool":53,"command":54},"pnpm","pnpm dlx skills add JSGforever\u002Fskillguard --skill mm","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__alsk1992--mm\u002FSKILL.md",true,[58],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"index.ts","SCRIPT","脚本",11747,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__alsk1992--mm\u002Findex.ts",[65,97,113,140,162,183],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":76,"publishedAt":26},"01M71HY2SNXBA9Q00WZDTZQ31Z","skillguard-codex-scanner","Hybrid deterministic+LLM agent-skill security scanner. Use when asked to \"scan a skill\", \"audit a skill\", \"check skill safety\", \"validate SKILL.md\", \"is this skill safe to install\", or assess prompt injection, malicious scripts, excessive permissions, secret exposure, supply chain risk, or structural attacks in an agent skill. Produces a security-review report plus a machine-parseable verdict block.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fsrc\u002Fskillguard\u002Fstatic_scanner\u002Fskillguard-codex-scanner\u002FSKILL.md",[71],{"categoryNo":72,"categoryName":73,"taxonomyType":74,"taxonomyTypeDesc":75},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96],"scanner","skillguard codex scanner","skillguard","codex","chain","skill security","security-review","review report","structural","secret","prompt injection","security scanner","when","review","malicious","permissions","exposure","audit","scripts","safe",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":101,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":109,"publishedAt":26},"01M71HY0SPKTT3S27BC2HPAC5M","data-exfiltrator","Analyzes data files","MIT","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Fsmoke-one-skill\u002Fasset1__cisco-ai-defense--data-exfiltrator\u002FSKILL.md",[104],{"categoryNo":105,"categoryName":106,"taxonomyType":107,"taxonomyTypeDesc":108},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[110,111,112],"data","data exfiltrator","files",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":26},"01M71HXVS9EMN44BGDW215FZ72","real-time-collaboration-engine","Build real-time collaborative editing with WebSockets, OT\u002FCRDT conflict resolution, and presence awareness. Implements cursor tracking, optimistic updates, and offline sync. Use for collaborative editors, whiteboards, video editing. Activate on \"real-time collaboration\", \"WebSocket sync\", \"multiplayer editing\", \"CRDT\", \"presence awareness\". NOT for simple chat, request-response APIs, or single-user apps.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--real-time-collaboration-engine\u002FSKILL.md",[],[120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139],"time","real time collaboration engine","real time collaboration","collaboration","engine","real time","Video","reliability","video editing","performance","conflict resolution","presence","access","apps","updates","Bash","activate","optimizer","react","streaming",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":149,"publishedAt":26},"01M71HXP6CTY4KFN0QVMMN0V7J","react-performance-optimizer","Optimize React apps for 60fps performance. Implements memoization, virtualization, code splitting, bundle optimization. Use for slow renders, large lists, bundle bloat. Activate on \"React performance\", \"slow render\", \"useMemo\", \"bundle size\", \"virtualization\". NOT for backend optimization, non-React frameworks, or premature optimization.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--react-performance-optimizer\u002FSKILL.md",[146],{"categoryNo":147,"categoryName":148,"taxonomyType":74,"taxonomyTypeDesc":75},"01JBSEEDCAT000000000000009","前端开发",[129,150,137,138,151,152,153,154,155,156,120,157,158,133,135,159,136,139,160,161],"react performance optimizer","react performance","performance optimizer","app","nextjs","expert","re","render","2025","code","router","strategies",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":169,"publishedAt":26},"01M71HXH7QXSQB4QTDZ7SP7YXQ","llm-streaming-response-handler","Build production LLM streaming UIs with Server-Sent Events, real-time token display, cancellation, error recovery. Handles OpenAI\u002FAnthropic\u002FClaude streaming APIs. Use for chatbots, AI assistants, real-time text generation. Activate on \"LLM streaming\", \"SSE\", \"token stream\", \"chat UI\", \"real-time AI\". NOT for batch processing, non-streaming APIs, or WebSocket bidirectional chat.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--llm-streaming-response-handler\u002FSKILL.md",[168],{"categoryNo":147,"categoryName":148,"taxonomyType":74,"taxonomyTypeDesc":75},[170,139,171,172,173,174,129,120,175,176,177,135,136,137,178,138,179,180,181,182],"llm streaming response handler","handler","error","processing","retry","chat ui","error recovery","critical","batch","display","text","server","read",{"skillNo":184,"name":185,"nameZh":6,"description":186,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":187,"categories":188,"keywords":196,"publishedAt":26},"01M71HXCB0E1YRKYW1Y8T0Y106","github-actions-pipeline-builder","Build production CI\u002FCD pipelines with GitHub Actions. Implements matrix builds, caching, deployments, testing, security scanning. Use for automated testing, deployments, release workflows. Activate on \"GitHub Actions\", \"CI\u002FCD\", \"workflow\", \"deployment pipeline\", \"automated testing\". NOT for Jenkins\u002FCircleCI, manual deployments, or non-GitHub repositories.","https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__curiositech--github-actions-pipeline-builder\u002FSKILL.md",[189,192,195],{"categoryNo":190,"categoryName":191,"taxonomyType":74,"taxonomyTypeDesc":75},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":193,"categoryName":194,"taxonomyType":74,"taxonomyTypeDesc":75},"01JBSEEDCAT000000000000011","运维与部署",{"categoryNo":72,"categoryName":73,"taxonomyType":74,"taxonomyTypeDesc":75},[197,198,199,200,201,202,203,127,155,204,205,206,136,161,207,182,208,209,210,211],"github actions pipeline builder","actions","github actions","pipeline builder","github","builder","pipeline","testing","ci","workflows","run","release","write","edit","git"]