[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B9NVRNK030QPQJHVFF1PV4":3,"skill-same:01M7B9NVRNK030QPQJHVFF1PV4":60},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7B9NVRNK030QPQJHVFF1PV4","jerryliu369-pine-debugger",null,"jiayaoqijia\u002Fcryptoskill","jiayaoqijia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1453879?v=4","01M6GMYTX7Q7S504VC6E756ENR","YQ","01M6GMYV1QKJ1CC75MTTGT9PR0",81,"MIT","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fjerryliu369-pine-debugger\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fjerryliu369-pine-debugger\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"\u003C!--\n  Imported from: https:\u002F\u002Fgithub.com\u002FTradersPost\u002Fpinescript-agents\n  Source Path: skills\u002Fpine-debugger\u002FSKILL.md\n  Curated for awesome-quant-skills\n-->\n\n---\nname: pine-debugger\ndescription: Troubleshoots Pine Script issues and adds debugging capabilities. Use when scripts have errors or unexpected behavior.\nallowed-tools: Read, Edit, Grep, Glob\n---\n\n# Pine Script Debugger\n\nSpecialized in adding debugging tools and troubleshooting Pine Script code in TradingView's often opaque environment.\n\n## ⚠️ Pine Script v6 2025 Common Pitfalls\n\n### CRITICAL: March 2025 Breaking Change - For Loop Boundaries\n\n`for` loops now re-evaluate boundaries **every iteration**.\n\n**PREFERRED FIX: Use `for...in` loops:**\n```pinescript\n\u002F\u002F ✅ BEST: Use for...in for arrays (safe and clean)\nfor element in myArray\n    \u002F\u002F Process element - safe even if array is modified\n\n\u002F\u002F ✅ BEST: Use for...in with index when needed\nfor [index, element] in myArray\n    \u002F\u002F Have both index and value\n\n\u002F\u002F ✅ for...in works with matrices too\nfor row in myMatrix\n    \u002F\u002F row is an array of the current row's values\n\n\u002F\u002F ✅ for...in works with maps (key-value pairs)\nfor [key, value] in myMap\n    \u002F\u002F Iterate in insertion order\n```\n\n**FALLBACK: Cache boundary if traditional `for` is required:**\n```pinescript\n\u002F\u002F ❌ BUG: Infinite loop or unexpected behavior\nvar arr = array.new\u003Cint>()\nfor i = 0 to array.size(arr)  \u002F\u002F Re-evaluated each iteration!\n    array.push(arr, i)        \u002F\u002F Array grows, loop never ends\n\n\u002F\u002F ✅ FALLBACK: Cache the boundary before the loop\narrSize = array.size(arr)\nfor i = 0 to arrSize\n    array.push(arr, i)\n```\n\n**Debug check:** If a loop seems to hang, either switch to `for...in` or verify boundaries are cached.\n\n### Line Continuation Errors\n\nThe most common syntax error. Updated rules as of December 2025:\n\n```pinescript\n\u002F\u002F ❌ ERROR: \"end of line without line continuation\"\ntext = condition ?\n    \"value1\" :\n    \"value2\"\n\n\u002F\u002F ✅ FIX: Keep ternary on one line\ntext = condition ? \"value1\" : \"value2\"\n\n\u002F\u002F ✅ Inside parentheses - any indentation now works (Dec 2025)\nplot(series,\n    title=\"Plot\",\n    color=color.blue)\n\n\u002F\u002F ⚠️ Outside parentheses - still requires non-multiple-of-4 indentation\ncondition = value1 > value2 and\n     value3 > value4   \u002F\u002F Must use odd indentation (e.g., 5 spaces)\n```\n\n### Bid\u002FAsk Variables Return NA\n\n```pinescript\n\u002F\u002F ❌ UNEXPECTED: Always na on most charts\nbidValue = bid  \u002F\u002F Only works on 1T (tick) timeframe!\n\n\u002F\u002F ✅ DEBUG: Check timeframe\nif barstate.islast\n    label.new(bar_index, high,\n        \"Bid: \" + (na(bid) ? \"N\u002FA (not 1T)\" : str.tostring(bid)))\n```\n\n### Plot in Local Scope\n\n```pinescript\n\u002F\u002F ❌ ERROR: \"Cannot use 'plot' in local scope\"\nif condition\n    plot(value)\n\nfor i = 0 to 10\n    plot(close[i])\n\n\u002F\u002F ✅ FIX: Use conditional plotting at global scope\nplot(condition ? value : na)\n```\n\n## Core Debugging Toolkit\n\n### 1. Label-Based Value Inspector\n\n```pinescript\n\u002F\u002F Debug label showing multiple values\nif barstate.islast\n    debugText = \"RSI: \" + str.tostring(rsiValue, \"#.##\") + \"\\n\"\n    debugText += \"MA: \" + str.tostring(maValue, \"#.##\") + \"\\n\"\n    debugText += \"Signal: \" + (buySignal ? \"BUY\" : \"NEUTRAL\")\n    label.new(bar_index, high * 1.05, debugText,\n        style=label.style_label_down,\n        color=color.yellow,\n        textcolor=color.black)\n```\n\n### 2. Table-Based Variable Monitor\n\n```pinescript\n\u002F\u002F Real-time variable monitor table\nvar table debugTable = table.new(position.top_right, 2, 10,\n    bgcolor=color.new(color.black, 80), border_width=1)\n\nif barstate.islast\n    table.cell(debugTable, 0, 0, \"Variable\",\n        bgcolor=color.gray, text_color=color.white)\n    table.cell(debugTable, 1, 0, \"Value\",\n        bgcolor=color.gray, text_color=color.white)\n\n    table.cell(debugTable, 0, 1, \"Bar Index\", text_color=color.white)\n    table.cell(debugTable, 1, 1, str.tostring(bar_index), text_color=color.yellow)\n\n    table.cell(debugTable, 0, 2, \"Close\", text_color=color.white)\n    table.cell(debugTable, 1, 2, str.tostring(close, \"#.####\"), text_color=color.yellow)\n\n    table.cell(debugTable, 0, 3, \"Signal Active\", text_color=color.white)\n    sigColor = signalActive ? color.green : color.red\n    table.cell(debugTable, 1, 3, signalActive ? \"YES\" : \"NO\", text_color=sigColor)\n```\n\n### 3. Loop Iteration Debugger\n\n```pinescript\n\u002F\u002F Debug loop iteration (use for...in for safety)\nvar array\u003Cfloat> values = array.new\u003Cfloat>()\nvar int loopIterations = 0\n\nloopIterations := 0\n\n\u002F\u002F ✅ PREFERRED: Use for...in (safe, no boundary issues)\nfor [idx, val] in values\n    loopIterations += 1\n    \u002F\u002F Process val directly, idx available if needed\n\n\u002F\u002F Alternative: Traditional for with cached boundary\n\u002F\u002F boundarySize = array.size(values)\n\u002F\u002F for i = 0 to boundarySize - 1\n\u002F\u002F     loopIterations += 1\n\nif barstate.islast\n    label.new(bar_index, high,\n        \"Loop ran \" + str.tostring(loopIterations) + \" times\\n\" +\n        \"Array size: \" + str.tostring(array.size(values)))\n```\n\n### 4. Repainting Detector\n\n```pinescript\n\u002F\u002F Detect potential repainting\nvar bool repaintDetected = false\nvar float previousValue = na\n\nif not barstate.isrealtime\n    if not na(previousValue) and previousValue != value[1]\n        repaintDetected := true\n    previousValue := value\n\nif barstate.islast and repaintDetected\n    label.new(bar_index, high * 1.1, \"⚠️ REPAINTING DETECTED\",\n        style=label.style_label_down,\n        color=color.red,\n        textcolor=color.white)\n```\n\n### 5. NA Value Tracker\n\n```pinescript\n\u002F\u002F Debug na propagation\ndebugNa() =>\n    result = \"NA Debug:\\n\"\n    result += \"value1: \" + (na(value1) ? \"NA ❌\" : \"OK ✓\") + \"\\n\"\n    result += \"value2: \" + (na(value2) ? \"NA ❌\" : \"OK ✓\") + \"\\n\"\n    result += \"result: \" + (na(result) ? \"NA ❌\" : \"OK ✓\")\n    result\n\nif barstate.islast\n    label.new(bar_index, low, debugNa(),\n        style=label.style_label_up,\n        color=color.orange)\n```\n\n### 6. Security Function Debugger\n\n```pinescript\n\u002F\u002F Debug request.security() calls\n[htfClose, htfTime] = request.security(syminfo.tickerid, \"D\",\n    [close, time],\n    lookahead=barmerge.lookahead_off)\n\nif barstate.islast\n    secDebug = \"HTF Debug:\\n\"\n    secDebug += \"Close: \" + str.tostring(htfClose, \"#.##\") + \"\\n\"\n    secDebug += \"Time: \" + str.format_time(htfTime, \"yyyy-MM-dd\") + \"\\n\"\n    secDebug += \"Current TF: \" + timeframe.period\n    label.new(bar_index, high, secDebug)\n```\n\n### 7. Input Active State Debugger (July 2025)\n\n```pinescript\n\u002F\u002F Debug conditional inputs\nshowAdvanced = input.bool(false, \"Show Advanced\")\nadvValue = input.int(10, \"Advanced Value\",\n    active=showAdvanced,  \u002F\u002F July 2025 feature\n    tooltip=\"This input is conditional\")\n\nif barstate.islast\n    label.new(bar_index, high,\n        \"showAdvanced: \" + str.tostring(showAdvanced) + \"\\n\" +\n        \"advValue: \" + str.tostring(advValue) + \"\\n\" +\n        \"(advValue active: \" + str.tostring(showAdvanced) + \")\")\n```\n\n## UDT Debugging Techniques\n\n### 1. UDT State Inspector\n\n```pinescript\n\u002F\u002F Debug UDT field values with a method\ntype Regression\n    int startTime\n    int endTime\n    int startBarIndex\n    int endBarIndex\n    float slope\n    float intercept\n    line centerLine = na\n\n\u002F\u002F Add debug method to UDT\nmethod debug(Regression this, int yPos) =>\n    if barstate.islast and not na(this.startTime)\n        debugText = \"Regression Debug:\\n\"\n        debugText += \"startTime: \" + str.format_time(this.startTime, \"MM-dd HH:mm\") + \"\\n\"\n        debugText += \"endTime: \" + str.format_time(this.endTime, \"MM-dd HH:mm\") + \"\\n\"\n        debugText += \"startBar: \" + str.tostring(this.startBarIndex) + \"\\n\"\n        debugText += \"endBar: \" + str.tostring(this.endBarIndex) + \"\\n\"\n        debugText += \"slope: \" + str.tostring(this.slope, \"#.######\") + \"\\n\"\n        debugText += \"intercept: \" + str.tostring(this.intercept, \"#.##\") + \"\\n\"\n        debugText += \"hasLine: \" + (na(this.centerLine) ? \"NO ❌\" : \"YES ✓\")\n        label.new(bar_index, yPos, debugText,\n            style=label.style_label_left,\n            color=color.blue,\n            textcolor=color.white)\n\n\u002F\u002F Use it\nif debugMode\n    myRegression.debug(high)\n```\n\n### 2. UDT Array Inspector Table\n\n```pinescript\n\u002F\u002F Debug all items in a UDT array\nvar table udtTable = table.new(position.bottom_left, 6, 12,\n    bgcolor=color.new(color.black, 80))\n\nif debugMode and barstate.islast\n    \u002F\u002F Header row\n    table.cell(udtTable, 0, 0, \"#\", text_color=color.gray)\n    table.cell(udtTable, 1, 0, \"StartTime\", text_color=color.gray)\n    table.cell(udtTable, 2, 0, \"EndTime\", text_color=color.gray)\n    table.cell(udtTable, 3, 0, \"Slope\", text_color=color.gray)\n    table.cell(udtTable, 4, 0, \"HasLine\", text_color=color.gray)\n\n    \u002F\u002F Use for...in to iterate UDT array\n    row = 1\n    for [idx, reg] in regressions\n        if row \u003C 11  \u002F\u002F Limit rows\n            table.cell(udtTable, 0, row, str.tostring(idx), text_color=color.white)\n            table.cell(udtTable, 1, row, str.format_time(reg.startTime, \"MM-dd\"), text_color=color.yellow)\n            table.cell(udtTable, 2, row, str.format_time(reg.endTime, \"MM-dd\"), text_color=color.yellow)\n            slopeColor = reg.slope >= 0 ? color.green : color.red\n            table.cell(udtTable, 3, row, str.tostring(reg.slope, \"#.####\"), text_color=slopeColor)\n            lineStatus = na(reg.centerLine) ? \"❌\" : \"✓\"\n            table.cell(udtTable, 4, row, lineStatus, text_color=color.white)\n            row += 1\n```\n\n### 3. Time vs Bar_Index Comparison Debugger\n\n```pinescript\n\u002F\u002F Debug time-based coordinates vs bar_index\nif debugMode and barstate.islast\n    currentTimeFormatted = str.format_time(time, \"yyyy-MM-dd HH:mm\")\n    barsAgo = bar_index - startBarIndex\n\n    debugText = \"Coordinate Debug:\\n\"\n    debugText += \"Current bar_index: \" + str.tostring(bar_index) + \"\\n\"\n    debugText += \"Current time: \" + currentTimeFormatted + \"\\n\"\n    debugText += \"─────────────────\\n\"\n    debugText += \"Start bar_index: \" + str.tostring(startBarIndex) + \"\\n\"\n    debugText += \"Start time: \" + str.format_time(startTime, \"yyyy-MM-dd HH:mm\") + \"\\n\"\n    debugText += \"Bars ago: \" + str.tostring(barsAgo) + \"\\n\"\n    debugText += \"─────────────────\\n\"\n\n    \u002F\u002F Check if bar_index would hit 5000 limit\n    if barsAgo > 5000\n        debugText += \"⚠️ WOULD EXCEED 5000 BAR LIMIT!\\n\"\n        debugText += \"Use xloc.bar_time instead\\n\"\n    else\n        debugText += \"✓ Within bar_index limit\\n\"\n\n    label.new(bar_index, high * 1.02, debugText,\n        style=label.style_label_down,\n        color=barsAgo > 5000 ? color.red : color.green)\n```\n\n### 4. Drawing Object Status Debugger\n\n```pinescript\n\u002F\u002F Debug whether UDT drawing objects exist\nmethod debugDrawings(Regression this) =>\n    status = \"Drawing Status:\\n\"\n    status += \"centerLine: \" + (na(this.centerLine) ? \"NULL ❌\" : \"EXISTS ✓\") + \"\\n\"\n    status += \"upperLine: \" + (na(this.upperLine) ? \"NULL ❌\" : \"EXISTS ✓\") + \"\\n\"\n    status += \"lowerLine: \" + (na(this.lowerLine) ? \"NULL ❌\" : \"EXISTS ✓\") + \"\\n\"\n    status += \"fill: \" + (na(this.fill) ? \"NULL ❌\" : \"EXISTS ✓\")\n    status\n\nif debugMode and barstate.islast\n    for [i, reg] in regressions\n        if i == 0  \u002F\u002F Just debug first one\n            label.new(bar_index, low, reg.debugDrawings(),\n                style=label.style_label_up,\n                color=color.purple)\n```\n\n### 5. UDT Creation Flow Debugger\n\n```pinescript\n\u002F\u002F Track when UDTs are created\nvar int udtCreationCount = 0\nvar array\u003Cstring> creationLog = array.new\u003Cstring>()\n\n\u002F\u002F When creating new UDT\nif shouldCreateNew\n    udtCreationCount += 1\n    logEntry = \"Created #\" + str.tostring(udtCreationCount) + \" at bar \" + str.tostring(bar_index)\n    array.push(creationLog, logEntry)\n\n    newReg = Regression.new(\n        startTime = time,\n        startBarIndex = bar_index,\n        \u002F\u002F ...\n    )\n    array.push(regressions, newReg)\n\n\u002F\u002F Display creation log\nif debugMode and barstate.islast\n    logText = \"UDT Creation Log:\\n\"\n    logText += \"Total created: \" + str.tostring(udtCreationCount) + \"\\n\"\n    logText += \"─────────────────\\n\"\n\n    \u002F\u002F Show last 5 entries using for...in\n    startIdx = math.max(0, array.size(creationLog) - 5)\n    for [i, entry] in creationLog\n        if i >= startIdx\n            logText += entry + \"\\n\"\n\n    label.new(bar_index - 10, high, logText,\n        style=label.style_label_right,\n        color=color.teal)\n```\n\n### 6. xloc.bar_time vs xloc.bar_index Validator\n\n```pinescript\n\u002F\u002F Verify time coordinates work correctly\nif debugMode\n    \u002F\u002F Draw test lines with both methods\n    if barstate.islast\n        testStartBar = bar_index - 100\n        testStartTime = time[100]\n\n        \u002F\u002F bar_index method (may fail if >5000 bars back)\n        testLine1 = line.new(testStartBar, close[100], bar_index, close,\n            xloc=xloc.bar_index,\n            color=color.red,\n            width=2)\n\n        \u002F\u002F bar_time method (unlimited lookback)\n        testLine2 = line.new(testStartTime, close[100] * 0.99, time, close * 0.99,\n            xloc=xloc.bar_time,\n            color=color.green,\n            width=2)\n\n        label.new(bar_index, low * 0.98,\n            \"Red: xloc.bar_index\\nGreen: xloc.bar_time\\n(Should overlap if working)\",\n            style=label.style_label_up,\n            color=color.yellow)\n```\n\n## Common Issues and Solutions\n\n### 1. Infinite Loop (March 2025)\n\n**Symptom:** Script hangs or times out\n\n```pinescript\n\u002F\u002F ❌ CAUSE: Dynamic boundary grows during loop\nfor i = 0 to array.size(arr)\n    array.push(arr, i)\n\n\u002F\u002F ✅ FIX: Cache boundary\nsize = array.size(arr)\nfor i = 0 to size\n    array.push(arr, i)\n```\n\n### 2. Unexpected NA Values\n\n**Symptom:** Calculations return na unexpectedly\n\n```pinescript\n\u002F\u002F Debug NA chain\nif na(finalResult)\n    \u002F\u002F Check each component\n    if na(input1)\n        label.new(bar_index, high, \"input1 is NA\")\n    else if na(intermediate)\n        label.new(bar_index, high, \"intermediate is NA\")\n    else\n        label.new(bar_index, high, \"Unknown NA source\")\n```\n\n### 3. Security Function Issues\n\n**Symptom:** Wrong values from higher timeframe\n\n```pinescript\n\u002F\u002F ✅ Correct security() usage\nhtfValue = request.security(syminfo.tickerid, \"D\", close,\n    gaps=barmerge.gaps_off,\n    lookahead=barmerge.lookahead_off)  \u002F\u002F Prevent future leak\n```\n\n### 4. Historical vs Real-time Mismatch\n\n**Symptom:** Strategy works in backtest, fails live\n\n```pinescript\n\u002F\u002F Debug historical vs realtime\nif barstate.islast\n    label.new(bar_index, high,\n        \"ishistorical: \" + str.tostring(barstate.ishistory) + \"\\n\" +\n        \"isrealtime: \" + str.tostring(barstate.isrealtime) + \"\\n\" +\n        \"isconfirmed: \" + str.tostring(barstate.isconfirmed))\n```\n\n### 5. String Too Long (Pre-August 2025)\n\n**Symptom:** String truncation errors\n\n```pinescript\n\u002F\u002F August 2025: Limit increased to 40,960 characters\n\u002F\u002F If still hitting limits, chunk the string\nlongString = \"\"\nfor i = 0 to 100\n    if str.length(longString) \u003C 40000  \u002F\u002F Leave buffer\n        longString += \"data\" + str.tostring(i) + \"\\n\"\n```\n\n## Debug Mode Implementation\n\n```pinescript\n\u002F\u002F Master debug toggle\ndebugMode = input.bool(false, \"🔧 Debug Mode\", group=\"Debug\")\n\n\u002F\u002F Conditional debug elements\nvar table debugTable = na\nif debugMode\n    debugTable := table.new(position.top_right, 2, 5,\n        bgcolor=color.new(color.black, 80))\n\nif debugMode and barstate.islast\n    table.cell(debugTable, 0, 0, \"Debug Info\", text_color=color.white)\n    \u002F\u002F ... add debug info\n\n\u002F\u002F Debug plots (only when debug mode on)\nplot(debugMode ? debugValue : na, \"Debug Value\", color.yellow)\n```\n\n## Debugging Workflow\n\n1. **Identify Symptom**\n   - Compilation error?\n   - Runtime error?\n   - Wrong values?\n   - Performance issue?\n\n2. **Check 2025 Breaking Changes**\n   - For loop boundaries (March 2025)\n   - Line continuation rules\n   - Bid\u002Fask availability\n\n3. **Add Debug Points**\n   - Labels at key calculations\n   - Table for variable monitoring\n   - Plot intermediate values\n\n4. **Trace Execution**\n   - Follow calculation flow\n   - Check condition evaluations\n   - Monitor state changes\n\n5. **Test Edge Cases**\n   - First bars (bar_index == 0)\n   - NA values\n   - Real-time vs historical\n   - Different timeframes\n\n6. **Clean Up**\n   - Wrap debug code in `if debugMode`\n   - Or remove before publishing\n\n## Quick Reference: Error Messages\n\n| Error | Likely Cause | Fix |\n|-------|--------------|-----|\n| \"end of line without line continuation\" | Split ternary or wrong indentation | Keep ternary on one line, use 5-space indent |\n| \"Cannot use 'plot' in local scope\" | plot() inside if\u002Ffor\u002Ffunction | Use `plot(condition ? value : na)` |\n| \"Loop too long\" | Dynamic boundary in for loop | Cache boundary or use `for...in` |\n| \"String is too long\" | String > 40,960 chars | Chunk string or reduce content |\n| \"na\" everywhere | NA propagation | Add NA checks at each step |\n| Drawing doesn't appear | bar_index > 5000 bars back | Use `xloc.bar_time` instead |\n| UDT line is na | Forgot to assign after line.new() | Use `:=` to assign drawing to UDT field |\n\n## UDT-Specific Debugging Checklist\n\n- [ ] Are time values being captured when events occur (not later)?\n- [ ] Are both `time` AND `bar_index` stored (for drawing + calculation)?\n- [ ] Are drawing objects using `xloc.bar_time`?\n- [ ] Is `delete()` being called before `draw()`?\n- [ ] Are UDT methods using `this.field :=` for assignments?\n- [ ] Is the UDT array being iterated with `for...in`?\n\nTradingView's environment is opaque. Always test thoroughly and provide multiple debugging approaches.\n",{},"main","4aff87e77e63c1886a978b82902814d015f55a4f","skills\u002Fmcp-servers\u002Fjerryliu369-pine-debugger",17,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia","https:\u002F\u002Feth2030.com","Hardcore infra. Building @alt-research and applied cryptography.","2026-11-15 02:28:10",{"source":7,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add jiayaoqijia\u002Fcryptoskill --skill jerryliu369-pine-debugger",{"tool":38,"command":39},"bunx","bunx skills add jiayaoqijia\u002Fcryptoskill --skill jerryliu369-pine-debugger",{"tool":41,"command":42},"pnpm","pnpm dlx skills add jiayaoqijia\u002Fcryptoskill --skill jerryliu369-pine-debugger","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fjerryliu369-pine-debugger\u002FSKILL.md",true,[46,50,56],{"path":47,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":15},"LICENSE","许可证",1068,{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"SOURCE.md","REFERENCE","参考文档",380,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fjerryliu369-pine-debugger\u002FSOURCE.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"TRUST.auto.yaml",2217,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fjerryliu369-pine-debugger\u002FTRUST.auto.yaml",[61,69,77,85,93,101],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":65,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7DTKCERMV0RNX3HZJP4CZ26","troves","Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say \"Troves\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-troves\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":73,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7DTK6CJSMGC8KCQHGNYFZBD","trade","Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say \"swap\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-trade\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":81,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7DTJZ6A0X4PAW3Y8W4J9K64","staking","Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say \"stake\" explicitly.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-staking\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7DTJSDZJKCDMW7GHRF4BRH5","send","Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say \"pay 10 STRK to 0x...\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-send\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7DTJG1E480D51ZQ7WKDQ26K","portfolio","View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks \"what do I have\", \"show me everything\", \"how much am I worth\", \"my positions\", \"my investments\", \"rebalance my portfolio\", \"I want 50% ETH\", \"optimize my holdings\", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say \"portfolio\".","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-portfolio\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7DTJ7M8TE9R2N36HFBZDGVD","multi-swap","Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions \"two swaps\", \"three swaps\", \"swap X and Y at the same time\", or wants to convert multiple tokens in a single call.","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002Fahmetenesdur-multi-swap\u002FSKILL.md",[],[]]