[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KJZ45079E2Z8HJ2GWA4S8P":3,"skill-same:01M6KJZ45079E2Z8HJ2GWA4S8P":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":13,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M6KJZ45079E2Z8HJ2GWA4S8P","sandbox-fallback-execution-048d5a",null,"Fallback method to execute Python code when execute_code_sandbox fails with e2b errors","AG064\u002FOpenSpace","AG064","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184930299?v=4","01M6KHVFG7TB73NHX3RDYSTMH2","01M6KHVFMM7XA2PZA9Z83PHS3V",0,"MIT","https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fsandbox-fallback-execution-048d5a\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29],"sandbox","execution","fallback","sandbox fallback execution 048d5a","sandbox fallback execution","python","code","execute","e2b","with","errors","python code","2026-11-10 10:12:30",false,"---\nname: sandbox-fallback-execution-048d5a\ndescription: Fallback method to execute Python code when execute_code_sandbox fails with e2b errors\n---\n\n# Sandbox Fallback Execution\n\nWhen `execute_code_sandbox` repeatedly fails with e2b sandbox errors, use this fallback pattern to execute Python code directly on the host system.\n\n## When to Use\n\nUse this skill when:\n- `execute_code_sandbox` fails with e2b-related errors\n- Multiple retry attempts (3+) have not resolved the issue\n- The code does not require sandbox isolation\n\n## Steps\n\n### Step 1: Write Python Script to File\n\nUse `write_file` to save your Python code as a `.py` file:\n\n```\nTool: write_file\npath: \u002Fworkspace\u002Fscript_name.py\ncontent: |\n  # Your Python code here\n  import pandas as pd\n  # ... rest of code\n```\n\n### Step 2: Execute via Shell\n\nUse `run_shell` with explicit `python3` path:\n\n```\nTool: run_shell\ncommand: python3 \u002Fworkspace\u002Fscript_name.py\ntimeout: 120\n```\n\n### Step 3: Verify Output\n\nCheck the stdout\u002Fstderr from `run_shell` for:\n- Successful execution messages\n- Expected output or file creation confirmations\n- Any errors that need debugging\n\n## Complete Example\n\n```yaml\n# Instead of this (failing):\nTool: execute_code_sandbox\ncode: |\n  import pandas as pd\n  df = pd.DataFrame({'a': [1,2,3]})\n  df.to_excel('output.xlsx')\n\n# Use this fallback:\nTool: write_file\npath: \u002Fworkspace\u002Fgenerate_report.py\ncontent: |\n  import pandas as pd\n  \n  # Create sample data\n  df = pd.DataFrame({'a': [1,2,3], 'b': [4,5,6]})\n  \n  # Save to Excel\n  df.to_excel('\u002Fworkspace\u002Foutput.xlsx', index=False)\n  print('File created successfully')\n\nTool: run_shell\ncommand: python3 \u002Fworkspace\u002Fgenerate_report.py\ntimeout: 120\n```\n\n## Tips\n\n1. **Use absolute paths** in your Python script when reading\u002Fwriting files\n2. **Add print statements** for debugging since you won't get interactive output\n3. **Increase timeout** if the script performs heavy computation\n4. **Check working directory** - scripts run from the workspace root by default\n5. **Handle errors explicitly** with try\u002Fexcept blocks and meaningful error messages\n\n## Common e2b Errors That Trigger This Fallback\n\n- `E2B execution error`\n- `Sandbox timeout`\n- `Connection refused`\n- `Sandbox initialization failed`\n- Repeated retry failures (3+ attempts)\n\n## When NOT to Use This Fallback\n\n- When sandbox isolation is required for security\n- When the code needs specific sandbox environment variables\n- On first failure only - try `execute_code_sandbox` retry first","# Sandbox Fallback Execution\n\nWhen `execute_code_sandbox` repeatedly fails with e2b sandbox errors, use this fallback pattern to execute Python code directly on the host system.\n\n## When to Use\n\nUse this skill when:\n- `execute_code_sandbox` fails with e2b-related errors\n- Multiple retry attempts (3+) have not resolved the issue\n- The code does not require sandbox isolation\n\n## Steps\n\n### Step 1: Write Python Script to File\n\nUse `write_file` to save your Python code as a `.py` file:\n\n```\nTool: write_file\npath: \u002Fworkspace\u002Fscript_name.py\ncontent: |\n  # Your Python code here\n  import pandas as pd\n  # ... rest of code\n```\n\n### Step 2: Execute via Shell\n\nUse `run_shell` with explicit `python3` path:\n\n```\nTool: run_shell\ncommand: python3 \u002Fworkspace\u002Fscript_name.py\ntimeout: 120\n```\n\n### Step 3: Verify Output\n\nCheck the stdout\u002Fstderr from `run_shell` for:\n- Successful execution messages\n- Expected output or file creation confirmations\n- Any errors that need debugging\n\n## Complete Example\n\n```yaml\n# Instead of this (failing):\nTool: execute_code_sandbox\ncode: |\n  import pandas as pd\n  df = pd.DataFrame({'a': [1,2,3]})\n  df.to_excel('output.xlsx')\n\n# Use this fallback:\nTool: write_file\npath: \u002Fworkspace\u002Fgenerate_report.py\ncontent: |\n  import pandas as pd\n  \n  # Create sample data\n  df = pd.DataFrame({'a': [1,2,3], 'b': [4,5,6]})\n  \n  # Save to Excel\n  df.to_excel('\u002Fworkspace\u002Foutput.xlsx', index=False)\n  print('File created successfully')\n\nTool: run_shell\ncommand: python3 \u002Fworkspace\u002Fgenerate_report.py\ntimeout: 120\n```\n\n## Tips\n\n1. **Use absolute paths** in your Python script when reading\u002Fwriting files\n2. **Add print statements** for debugging since you won't get interactive output\n3. **Increase timeout** if the script performs heavy computation\n4. **Check working directory** - scripts run from the workspace root by default\n5. **Handle errors explicitly** with try\u002Fexcept blocks and meaningful error messages\n\n## Common e2b Errors That Trigger This Fallback\n\n- `E2B execution error`\n- `Sandbox timeout`\n- `Connection refused`\n- `Sandbox initialization failed`\n- Repeated retry failures (3+ attempts)\n\n## When NOT to Use This Fallback\n\n- When sandbox isolation is required for security\n- When the code needs specific sandbox environment variables\n- On first failure only - try `execute_code_sandbox` retry first",{"name":5,"description":7},"main","ff671ef61ed6587c49bd54c81cdc751c0b99e363","gdpval_bench\u002Fskills\u002Fsandbox-fallback-execution-048d5a","https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace","https:\u002F\u002Fgithub.com\u002FAG064","AG064, E.Mi.\r\n\r\nA person who thinks all the time, yet all they have to think about is nothing. I want to improve the world and work on open source projects","2026-10-08 06:53:48",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add AG064\u002FOpenSpace --skill sandbox-fallback-execution-048d5a",{"tool":48,"command":49},"bunx","bunx skills add AG064\u002FOpenSpace --skill sandbox-fallback-execution-048d5a",{"tool":51,"command":52},"pnpm","pnpm dlx skills add AG064\u002FOpenSpace --skill sandbox-fallback-execution-048d5a","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fsandbox-fallback-execution-048d5a\u002FSKILL.md",true,[56],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},".skill_id","OTHER","其他",47,"https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fsandbox-fallback-execution-048d5a\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":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":30},"01M6KKMPWA0B5SCCH766F8M5EA","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\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-ts-check\u002FSKILL.md",[],[70,71,72,73,74,75,76,28,77,78,79,80,81,82,83,23,84],"write special chars ts check","check","write","filters","Existing","type-checking","for","script","output","type","files","only","template","file","typescript",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":30},"01M6KKMJXVBNVEY3TRK055F4A7","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\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-readback\u002FSKILL.md",[],[92,93,72,82,94,95,83,23,96,97,98,99,100,76,77,27],"readback","write special chars readback","cleanup","read","scripts","verification","via","post","helper",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":30},"01M6KKMEGX9M9NC105J0W3Q5B9","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\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-heredoc\u002FSKILL.md",[],[72,108,23,76,98,82,109,83,77],"write special chars heredoc","shell",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":121,"publishedAt":30},"01M6KKM8EJ2AATVHZBNB916WT0","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\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fworldmonitor-reference\u002FSKILL.md",[116],{"categoryNo":117,"categoryName":118,"taxonomyType":119,"taxonomyTypeDesc":120},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[122,123,124,125,84,126,127,128,129,130,76,131,132,133,134,135,136,137,138,139],"reference","worldmonitor","worldmonitor reference","dashboard","css","architecture","extracting","hierarchy","source","layer","panel","patterns","edge functions","integrations","open","api","data","scheduler",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":30},"01M6KKM39PHYK627F19GE2B9XN","virtual-list","Implement efficient virtual scrolling for rendering large lists with DOM recycling, chunk-based rendering, and performance optimizations","https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fvirtual-list\u002FSKILL.md",[],[147,148,149,150,76,151,27,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":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":30},"01M6KKKY7T2P61Y0JH54CDEJKQ","verify-directory-structure","Diagnose and resolve file access issues by first verifying the directory structure.","https:\u002F\u002Fgithub.com\u002FAG064\u002FOpenSpace\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fverify-directory-structure\u002FSKILL.md",[],[163,164,165,166,167,168,83,169,170,171],"directory","verify","structure","verify directory structure","access","first","issues","diagnose","file access"]