[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XBXXR4RF3HSRRAKBXFK3Y1":3,"skill-same:01M6XBXXR4RF3HSRRAKBXFK3Y1":65},{"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":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":13,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M6XBXXR4RF3HSRRAKBXFK3Y1","resilient-spreadsheet-workflow",null,"Resilient multi-step workflow for spreadsheet processing when execute_code_sandbox fails, using shell_agent exploration, file-based scripts, and verification steps","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\u002Fresilient-spreadsheet-workflow\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"workflow","spreadsheet","resilient spreadsheet workflow","sandbox","code","verification","file","shell","execute","exploration","scripts","processing","multi","for","agent exploration","when","2026-11-10 10:12:30",false,"---\nname: resilient-spreadsheet-workflow\ndescription: Resilient multi-step workflow for spreadsheet processing when execute_code_sandbox fails, using shell_agent exploration, file-based scripts, and verification steps\n---\n\n# Resilient Spreadsheet Workflow\n\nThis skill provides a robust workflow for processing spreadsheet files (CSV, XLSX) when `execute_code_sandbox` encounters failures. It uses a combination of tools to ensure reliable execution and clear error diagnosis.\n\n## When to Use\n\n- Processing spreadsheet files when `execute_code_sandbox` returns unknown errors\n- Need to debug why spreadsheet operations fail\n- Require reliable file I\u002FO with verification at each step\n\n## Step-by-Step Workflow\n\n### Step 1: Initial Exploration with shell_agent\n\nStart by using `shell_agent` to explore the file structure and understand what files exist:\n\n```\nUse shell_agent to:\n- List files in the working directory\n- Identify spreadsheet files (CSV, XLSX)\n- Examine file sizes and basic structure\n```\n\n**Example task for shell_agent:**\n```\nExplore the current directory to find all spreadsheet files (CSV, XLSX). \nList their sizes and identify which files need processing.\n```\n\n### Step 2: Write Processing Script with write_file\n\nCreate a standalone script file rather than executing inline code:\n\n```python\n# Use write_file to create a script like \"process_sheet.py\"\ncontent = \"\"\"\nimport pandas as pd\nimport sys\n\ntry:\n    df = pd.read_csv('input.csv')  # or pd.read_excel for XLSX\n    # Perform your processing\n    result = df.describe()\n    result.to_csv('output.csv', index=False)\n    print(\"Processing complete\")\nexcept Exception as e:\n    print(f\"Error: {e}\", file=sys.stderr)\n    sys.exit(1)\n\"\"\"\n\nwrite_file(path=\"process_sheet.py\", content=content)\n```\n\n### Step 3: Execute with run_shell and Error Redirection\n\nExecute the script with stderr redirected to stdout for complete error capture:\n\n```bash\nrun_shell command=\"python process_sheet.py 2>&1\"\n```\n\nThe `2>&1` redirection ensures both stdout and stderr are captured together, making error messages visible.\n\n### Step 4: Isolate Errors with Verification Commands\n\nIf Step 3 fails, add targeted verification commands to diagnose the actual problem:\n\n```bash\n# Check if Python is available\nrun_shell command=\"which python 2>&1\"\n\n# Check if pandas is installed\nrun_shell command=\"python -c 'import pandas' 2>&1\"\n\n# Verify input file exists and is readable\nrun_shell command=\"ls -la input.csv 2>&1\"\n\n# Check file encoding\u002Fcontent\nrun_shell command=\"file input.csv 2>&1\"\nrun_shell command=\"head -5 input.csv 2>&1\"\n```\n\n### Step 5: Verify Output Before Reading\n\nBefore reading results with `read_file`, verify the output file exists:\n\n```\nlist_dir(path=\".\")\n# Confirm output file appears in the listing\n# Then proceed to read_file\n```\n\n## Complete Example\n\n```\n1. shell_agent(task=\"Find and describe all CSV\u002FXLSX files in current directory\")\n2. write_file(path=\"analyze_data.py\", content=\"\u003Cprocessing script>\")\n3. run_shell(command=\"python analyze_data.py 2>&1\")\n4. If error: run_shell(command=\"python -c 'import pandas; print(pandas.__version__)' 2>&1\")\n5. list_dir(path=\".\")  # Verify output exists\n6. read_file(filetype=\"csv\", file_path=\"output.csv\")\n```\n\n## Common Error Patterns\n\n| Symptom | Diagnostic Command | Likely Cause |\n|---------|-------------------|--------------|\n| Module not found | `python -c 'import pandas'` | Missing dependency |\n| File not found | `ls -la \u003Cfilename>` | Wrong path or name |\n| Permission denied | `ls -la \u003Cfilename>` | File permissions |\n| Encoding error | `file \u003Cfilename>` | Wrong file format |\n\n## Best Practices\n\n1. **Always use 2>&1** with run_shell for shell commands to capture full error output\n2. **Verify before reading** - use list_dir to confirm file existence before read_file\n3. **Break into small steps** - separate exploration, script writing, execution, and verification\n4. **Use shell_agent for unknowns** - when directory structure or file types are unclear\n5. **Write scripts to files** - more reliable than inline code execution for complex operations","# Resilient Spreadsheet Workflow\n\nThis skill provides a robust workflow for processing spreadsheet files (CSV, XLSX) when `execute_code_sandbox` encounters failures. It uses a combination of tools to ensure reliable execution and clear error diagnosis.\n\n## When to Use\n\n- Processing spreadsheet files when `execute_code_sandbox` returns unknown errors\n- Need to debug why spreadsheet operations fail\n- Require reliable file I\u002FO with verification at each step\n\n## Step-by-Step Workflow\n\n### Step 1: Initial Exploration with shell_agent\n\nStart by using `shell_agent` to explore the file structure and understand what files exist:\n\n```\nUse shell_agent to:\n- List files in the working directory\n- Identify spreadsheet files (CSV, XLSX)\n- Examine file sizes and basic structure\n```\n\n**Example task for shell_agent:**\n```\nExplore the current directory to find all spreadsheet files (CSV, XLSX). \nList their sizes and identify which files need processing.\n```\n\n### Step 2: Write Processing Script with write_file\n\nCreate a standalone script file rather than executing inline code:\n\n```python\n# Use write_file to create a script like \"process_sheet.py\"\ncontent = \"\"\"\nimport pandas as pd\nimport sys\n\ntry:\n    df = pd.read_csv('input.csv')  # or pd.read_excel for XLSX\n    # Perform your processing\n    result = df.describe()\n    result.to_csv('output.csv', index=False)\n    print(\"Processing complete\")\nexcept Exception as e:\n    print(f\"Error: {e}\", file=sys.stderr)\n    sys.exit(1)\n\"\"\"\n\nwrite_file(path=\"process_sheet.py\", content=content)\n```\n\n### Step 3: Execute with run_shell and Error Redirection\n\nExecute the script with stderr redirected to stdout for complete error capture:\n\n```bash\nrun_shell command=\"python process_sheet.py 2>&1\"\n```\n\nThe `2>&1` redirection ensures both stdout and stderr are captured together, making error messages visible.\n\n### Step 4: Isolate Errors with Verification Commands\n\nIf Step 3 fails, add targeted verification commands to diagnose the actual problem:\n\n```bash\n# Check if Python is available\nrun_shell command=\"which python 2>&1\"\n\n# Check if pandas is installed\nrun_shell command=\"python -c 'import pandas' 2>&1\"\n\n# Verify input file exists and is readable\nrun_shell command=\"ls -la input.csv 2>&1\"\n\n# Check file encoding\u002Fcontent\nrun_shell command=\"file input.csv 2>&1\"\nrun_shell command=\"head -5 input.csv 2>&1\"\n```\n\n### Step 5: Verify Output Before Reading\n\nBefore reading results with `read_file`, verify the output file exists:\n\n```\nlist_dir(path=\".\")\n# Confirm output file appears in the listing\n# Then proceed to read_file\n```\n\n## Complete Example\n\n```\n1. shell_agent(task=\"Find and describe all CSV\u002FXLSX files in current directory\")\n2. write_file(path=\"analyze_data.py\", content=\"\u003Cprocessing script>\")\n3. run_shell(command=\"python analyze_data.py 2>&1\")\n4. If error: run_shell(command=\"python -c 'import pandas; print(pandas.__version__)' 2>&1\")\n5. list_dir(path=\".\")  # Verify output exists\n6. read_file(filetype=\"csv\", file_path=\"output.csv\")\n```\n\n## Common Error Patterns\n\n| Symptom | Diagnostic Command | Likely Cause |\n|---------|-------------------|--------------|\n| Module not found | `python -c 'import pandas'` | Missing dependency |\n| File not found | `ls -la \u003Cfilename>` | Wrong path or name |\n| Permission denied | `ls -la \u003Cfilename>` | File permissions |\n| Encoding error | `file \u003Cfilename>` | Wrong file format |\n\n## Best Practices\n\n1. **Always use 2>&1** with run_shell for shell commands to capture full error output\n2. **Verify before reading** - use list_dir to confirm file existence before read_file\n3. **Break into small steps** - separate exploration, script writing, execution, and verification\n4. **Use shell_agent for unknowns** - when directory structure or file types are unclear\n5. **Write scripts to files** - more reliable than inline code execution for complex operations",{"name":5,"description":7},"main","0650921d63895de3997bc81f1ff1d0ac67032072","gdpval_bench\u002Fskills\u002Fresilient-spreadsheet-workflow","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":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add UF-gzj\u002Fopenspace-claude-evolution --skill resilient-spreadsheet-workflow",{"tool":51,"command":52},"bunx","bunx skills add UF-gzj\u002Fopenspace-claude-evolution --skill resilient-spreadsheet-workflow",{"tool":54,"command":55},"pnpm","pnpm dlx skills add UF-gzj\u002Fopenspace-claude-evolution --skill resilient-spreadsheet-workflow","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fresilient-spreadsheet-workflow\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},".skill_id","OTHER","其他",44,"https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fgdpval_bench\u002Fskills\u002Fresilient-spreadsheet-workflow\u002F.skill_id",[66,89,104,112,137,153],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":34},"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",[],[73,74,75,76,77,78,79,80,31,81,82,83,84,85,86,87,24,88],"check","write","write special chars ts check","typescript","filters","characters","Existing","type-checking","errors","script","output","type","files","only","template","python",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":34},"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",[],[96,97,74,24,98,88,99,100,28,101,102,87,23,103,78,31,82],"readback","write special chars readback","helper","post","via","cleanup","read","with",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":34},"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",[],[111,74,78,25,82,100,87,24,88,31],"write special chars heredoc",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":34},"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",[],[119,120,121,122,123,76,124,125,126,127,128,31,129,130,131,132,133,134,135,136],"reference","worldmonitor","worldmonitor reference","architecture","dashboard","css","scheduler","layer","hierarchy","source","extracting","panel","patterns","edge functions","integrations","open","api","data",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":34},"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",[],[144,145,146,147,31,148,103,149,150,151,152],"virtual list","list","virtual","chunk","dom","rendering","recycling","implement","performance",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":34},"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",[],[160,161,162,163,164,165,24,166,167,168],"directory","verify directory structure","structure","verify","access","first","issues","diagnose","file access"]