[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XBWB0CKDF2BN9NEVQB8VCM":3,"skill-same:01M6XBWB0CKDF2BN9NEVQB8VCM":62},{"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":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":13,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M6XBWB0CKDF2BN9NEVQB8VCM","python-execution-fallback-9d4989",null,"Fallback method for executing Python when execute_code_sandbox fails with unknown errors","UF-gzj\u002Fopenspace-claude-evolution","UF-gzj","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F272393507?v=4","01M6XBCZB755P01VVYGQWPYZY3","01M6XBCZFJA5AREA17WGETA3FW",0,"MIT","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fpython-execution-fallback-9d4989\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30],"python","execution","fallback","python execution fallback 9d4989","python execution fallback","sandbox","code","execute","with","errors","for","unknown","when","2026-11-10 10:12:30",false,"---\nname: python-execution-fallback-9d4989\ndescription: Fallback method for executing Python when execute_code_sandbox fails with unknown errors\n---\n\n# Python Execution Fallback\n\n## When to Use\n\nUse this skill when `execute_code_sandbox` returns 'unknown error' or fails unexpectedly, even on simple Python code like print statements.\n\n## Solution\n\nSwitch to using `run_shell` with Python heredoc syntax instead of `execute_code_sandbox`.\n\n### Basic Syntax\n\n```bash\npython3 \u003C\u003C 'EOF'\n# Your Python code here\nprint(\"Hello World\")\nresult = 2 + 2\nprint(f\"Result: {result}\")\nEOF\n```\n\n### How to Call\n\nInstead of:\n```python\nexecute_code_sandbox(code=\"print('Hello')\")\n```\n\nUse:\n```python\nrun_shell(command=\"python3 \u003C\u003C 'EOF'\\nprint('Hello')\\nEOF\")\n```\n\nFor multi-line code, build the command string:\n```python\ncode = \"\"\"\nimport json\ndata = {\"status\": \"ok\", \"count\": 42}\nprint(json.dumps(data))\n\"\"\"\nrun_shell(command=f\"python3 \u003C\u003C 'EOF'\\n{code}\\nEOF\")\n```\n\n## Why This Works\n\n- `run_shell` executes commands directly in the shell environment, bypassing sandbox issues\n- Heredoc syntax (`\u003C\u003C 'EOF'`) allows clean multi-line Python code without complex escaping\n- Single quotes around EOF prevent unwanted shell variable expansion\n- More reliable for simple to moderate Python execution tasks\n\n## Guidelines\n\n1. **Always use single quotes around EOF** (`'EOF'`) to prevent variable expansion\n2. **Test with a simple print statement first** to verify Python is available\n3. **For longer scripts**, consider writing to a `.py` file first, then executing:\n   ```python\n   run_shell(command=\"python3 \u002Fpath\u002Fto\u002Fscript.py\")\n   ```\n4. **Capture stdout** from run_shell to get Python output\n5. **Handle errors** by checking run_shell's stderr output\n\n## Example: Complete Workflow\n\n```python\n# Step 1: Try execute_code_sandbox\ntry:\n    result = execute_code_sandbox(code=\"print(2+2)\")\nexcept Exception as e:\n    # Step 2: Fallback to run_shell with heredoc\n    result = run_shell(command=\"python3 \u003C\u003C 'EOF'\\nprint(2+2)\\nEOF\")\n    # Parse stdout to get the output\n    output = result.stdout.strip()\n```\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Python not found | Use `which python3` to verify installation |\n| Heredoc not working | Ensure single quotes around EOF delimiter |\n| Complex imports fail | Install required packages or write to .py file |\n| Output not captured | Check run_shell stdout, not return value |","# Python Execution Fallback\n\n## When to Use\n\nUse this skill when `execute_code_sandbox` returns 'unknown error' or fails unexpectedly, even on simple Python code like print statements.\n\n## Solution\n\nSwitch to using `run_shell` with Python heredoc syntax instead of `execute_code_sandbox`.\n\n### Basic Syntax\n\n```bash\npython3 \u003C\u003C 'EOF'\n# Your Python code here\nprint(\"Hello World\")\nresult = 2 + 2\nprint(f\"Result: {result}\")\nEOF\n```\n\n### How to Call\n\nInstead of:\n```python\nexecute_code_sandbox(code=\"print('Hello')\")\n```\n\nUse:\n```python\nrun_shell(command=\"python3 \u003C\u003C 'EOF'\\nprint('Hello')\\nEOF\")\n```\n\nFor multi-line code, build the command string:\n```python\ncode = \"\"\"\nimport json\ndata = {\"status\": \"ok\", \"count\": 42}\nprint(json.dumps(data))\n\"\"\"\nrun_shell(command=f\"python3 \u003C\u003C 'EOF'\\n{code}\\nEOF\")\n```\n\n## Why This Works\n\n- `run_shell` executes commands directly in the shell environment, bypassing sandbox issues\n- Heredoc syntax (`\u003C\u003C 'EOF'`) allows clean multi-line Python code without complex escaping\n- Single quotes around EOF prevent unwanted shell variable expansion\n- More reliable for simple to moderate Python execution tasks\n\n## Guidelines\n\n1. **Always use single quotes around EOF** (`'EOF'`) to prevent variable expansion\n2. **Test with a simple print statement first** to verify Python is available\n3. **For longer scripts**, consider writing to a `.py` file first, then executing:\n   ```python\n   run_shell(command=\"python3 \u002Fpath\u002Fto\u002Fscript.py\")\n   ```\n4. **Capture stdout** from run_shell to get Python output\n5. **Handle errors** by checking run_shell's stderr output\n\n## Example: Complete Workflow\n\n```python\n# Step 1: Try execute_code_sandbox\ntry:\n    result = execute_code_sandbox(code=\"print(2+2)\")\nexcept Exception as e:\n    # Step 2: Fallback to run_shell with heredoc\n    result = run_shell(command=\"python3 \u003C\u003C 'EOF'\\nprint(2+2)\\nEOF\")\n    # Parse stdout to get the output\n    output = result.stdout.strip()\n```\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|----------|\n| Python not found | Use `which python3` to verify installation |\n| Heredoc not working | Ensure single quotes around EOF delimiter |\n| Complex imports fail | Install required packages or write to .py file |\n| Output not captured | Check run_shell stdout, not return value |",{"name":5,"description":7},"main","0650921d63895de3997bc81f1ff1d0ac67032072","gdpval_bench\u002Fskills\u002Fpython-execution-fallback-9d4989","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution","https:\u002F\u002Fgithub.com\u002FUF-gzj","2026-04-16 09:31:03",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add UF-gzj\u002Fopenspace-claude-evolution --skill python-execution-fallback-9d4989",{"tool":48,"command":49},"bunx","bunx skills add UF-gzj\u002Fopenspace-claude-evolution --skill python-execution-fallback-9d4989",{"tool":51,"command":52},"pnpm","pnpm dlx skills add UF-gzj\u002Fopenspace-claude-evolution --skill python-execution-fallback-9d4989","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fpython-execution-fallback-9d4989\u002FSKILL.md",true,[56],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},".skill_id","OTHER","其他",46,"https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fpython-execution-fallback-9d4989\u002F.skill_id",[63,85,101,110,140,156],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":31},"01M6XCCXD3NCM2YKR3WNGBASPC","write-special-chars-ts-check","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) using a Python heredoc script, plus a reliable TypeScript type-checking step that filters output to only the newly-written files to avoid being misled by pre-existing errors.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-ts-check\u002FSKILL.md",[],[70,71,72,73,74,75,76,77,28,27,78,79,80,81,82,83,84,18],"check","write","write special chars ts check","typescript","filters","characters","Existing","type-checking","script","output","type","files","only","template","file",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":31},"01M6XCCT7E3J922Q345PBGSHPN","write-special-chars-readback","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) using a Python heredoc script, with mandatory post-write verification via read_file and cleanup of \u002Ftmp helper scripts.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-readback\u002FSKILL.md",[],[92,93,71,84,94,18,95,96,97,98,99,83,100,26,75,28,78],"readback","write special chars readback","helper","post","via","scripts","cleanup","read","verification",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":31},"01M6XCCMQX1R8B6FECWB3P63T7","write-special-chars-heredoc","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) by using a Python heredoc script executed via shell.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-heredoc\u002FSKILL.md",[],[108,71,75,109,78,96,83,84,18,28],"write special chars heredoc","shell",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":121,"publishedAt":31},"01M6XCCG41M994JJEX6VN52PEP","worldmonitor-reference","Curated architecture index of the WorldMonitor open-source dashboard. Reference for extracting patterns — vanilla TypeScript, Panel class hierarchy, service layer, CSS grid, API edge functions, refresh scheduler, and 60+ data source integrations.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fworldmonitor-reference\u002FSKILL.md",[116],{"categoryNo":117,"categoryName":118,"taxonomyType":119,"taxonomyTypeDesc":120},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[122,123,124,125,126,73,127,128,129,130,131,28,132,133,134,135,136,137,138,139],"reference","worldmonitor","worldmonitor reference","architecture","dashboard","css","scheduler","layer","hierarchy","source","extracting","panel","patterns","edge functions","integrations","open","api","data",{"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":146,"publishedAt":31},"01M6XCCCHWNKG2W4VH9E6A10HF","virtual-list","Implement efficient virtual scrolling for rendering large lists with DOM recycling, chunk-based rendering, and performance optimizations","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fvirtual-list\u002FSKILL.md",[],[147,148,149,150,28,151,26,152,153,154,155],"virtual list","list","virtual","chunk","dom","rendering","recycling","implement","performance",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":31},"01M6XCC7X8PKMR2DEW91XGHYSV","verify-directory-structure","Diagnose and resolve file access issues by first verifying the directory structure.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fverify-directory-structure\u002FSKILL.md",[],[163,164,165,166,167,168,84,169,170,171],"directory","verify directory structure","structure","verify","access","first","issues","diagnose","file access"]