[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M718532JBBS9MA007V4YVN4E":3,"skill-same:01M718532JBBS9MA007V4YVN4E":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":26,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":14,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M718532JBBS9MA007V4YVN4E","calc",null,"Spreadsheet creation, format conversion (ODS\u002FXLSX\u002FCSV), formulas, data automation with LibreOffice Calc.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcalc\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000004","电子表格","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[5,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"xlsx","personal","safe","automation","csv","data","spreadsheet","format","conversion","creation","processing","with","libreoffice calc","formulas","2026","2026-11-10 10:12:30",false,"---\nname: calc\ndescription: \"Spreadsheet creation, format conversion (ODS\u002FXLSX\u002FCSV), formulas, data automation with LibreOffice Calc.\"\ncategory: spreadsheet-processing\nrisk: safe\nsource: personal\ndate_added: \"2026-02-27\"\n---\n\n# LibreOffice Calc\n\n## Overview\n\nLibreOffice Calc skill for creating, editing, converting, and automating spreadsheet workflows using the native ODS (OpenDocument Spreadsheet) format.\n\n## When to Use This Skill\n\nUse this skill when:\n- Creating new spreadsheets in ODS format\n- Converting between ODS, XLSX, CSV, PDF formats\n- Automating data processing and analysis\n- Creating formulas, charts, and pivot tables\n- Batch processing spreadsheet operations\n\n## Core Capabilities\n\n### 1. Spreadsheet Creation\n- Create new ODS spreadsheets from scratch\n- Generate spreadsheets from templates\n- Create data entry forms\n- Build dashboards and reports\n\n### 2. Format Conversion\n- ODS to other formats: XLSX, CSV, PDF, HTML\n- Other formats to ODS: XLSX, XLS, CSV, DBF\n- Batch conversion of multiple files\n\n### 3. Data Automation\n- Formula automation and calculations\n- Data import from CSV, database, APIs\n- Data export to various formats\n- Batch data processing\n\n### 4. Data Analysis\n- Pivot tables and data summarization\n- Statistical functions and analysis\n- Data validation and filtering\n- Conditional formatting\n\n### 5. Integration\n- Command-line automation via soffice\n- Python scripting with UNO\n- Database connectivity\n\n## Workflows\n\n### Creating a New Spreadsheet\n\n#### Method 1: Command-Line\n```bash\nsoffice --calc template.ods\n```\n\n#### Method 2: Python with UNO\n```python\nimport uno\n\ndef create_spreadsheet():\n    local_ctx = uno.getComponentContext()\n    resolver = local_ctx.ServiceManager.createInstanceWithContext(\n        \"com.sun.star.bridge.UnoUrlResolver\", local_ctx\n    )\n    ctx = resolver.resolve(\n        \"uno:socket,host=localhost,port=8100;urp;StarOffice.ComponentContext\"\n    )\n    smgr = ctx.ServiceManager\n    doc = smgr.createInstanceWithContext(\"com.sun.star.sheet.SpreadsheetDocument\", ctx)\n    sheets = doc.getSheets()\n    sheet = sheets.getByIndex(0)\n    cell = sheet.getCellByPosition(0, 0)\n    cell.setString(\"Hello from LibreOffice Calc!\")\n    doc.storeToURL(\"file:\u002F\u002F\u002Fpath\u002Fto\u002Fspreadsheet.ods\", ())\n    doc.close(True)\n```\n\n#### Method 3: Using ezodf\n```python\nimport ezodf\n\ndoc = ezodf.newdoc('ods', 'spreadsheet.ods')\nsheet = doc.sheets[0]\nsheet['A1'].set_value('Hello')\nsheet['B1'].set_value('World')\ndoc.save()\n```\n\n### Converting Spreadsheets\n\n```bash\n# ODS to XLSX\nsoffice --headless --convert-to xlsx spreadsheet.ods\n\n# ODS to CSV\nsoffice --headless --convert-to csv spreadsheet.ods\n\n# ODS to PDF\nsoffice --headless --convert-to pdf spreadsheet.ods\n\n# XLSX to ODS\nsoffice --headless --convert-to ods spreadsheet.xlsx\n\n# Batch convert\nfor file in *.ods; do\n    soffice --headless --convert-to xlsx \"$file\"\ndone\n```\n\n### Formula Automation\n```python\nimport uno\n\ndef create_formula_spreadsheet():\n    local_ctx = uno.getComponentContext()\n    resolver = local_ctx.ServiceManager.createInstanceWithContext(\n        \"com.sun.star.bridge.UnoUrlResolver\", local_ctx\n    )\n    ctx = resolver.resolve(\n        \"uno:socket,host=localhost,port=8100;urp;StarOffice.ComponentContext\"\n    )\n    smgr = ctx.ServiceManager\n    doc = smgr.createInstanceWithContext(\"com.sun.star.sheet.SpreadsheetDocument\", ctx)\n    sheet = doc.getSheets().getByIndex(0)\n    \n    sheet.getCellByPosition(0, 0).setDoubleValue(100)\n    sheet.getCellByPosition(0, 1).setDoubleValue(200)\n    \n    cell = sheet.getCellByPosition(0, 2)\n    cell.setFormula(\"SUM(A1:A2)\")\n    \n    doc.storeToURL(\"file:\u002F\u002F\u002Fpath\u002Fto\u002Fformulas.ods\", ())\n    doc.close(True)\n```\n\n## Format Conversion Reference\n\n### Supported Input Formats\n- ODS (native), XLSX, XLS, CSV, DBF, HTML\n\n### Supported Output Formats\n- ODS, XLSX, XLS, CSV, PDF, HTML\n\n## Command-Line Reference\n\n```bash\nsoffice --headless\nsoffice --headless --convert-to \u003Cformat> \u003Cfile>\nsoffice --calc  # Calc\n```\n\n## Python Libraries\n\n```bash\npip install ezodf     # ODS handling\npip install odfpy     # ODF manipulation\npip install pandas    # Data analysis\n```\n\n## Best Practices\n\n1. Use named ranges for clarity\n2. Document complex formulas\n3. Use data validation for input control\n4. Create templates for recurring reports\n5. Store ODS source files in version control\n6. Test conversions thoroughly\n7. Use CSV for data exchange\n8. Handle conversion failures gracefully\n\n## Troubleshooting\n\n### Cannot open socket\n```bash\nkillall soffice.bin\nsoffice --headless --accept=\"socket,host=localhost,port=8100;urp;\"\n```\n\n## Resources\n\n- [LibreOffice Calc Guide](https:\u002F\u002Fdocumentation.libreoffice.org\u002F)\n- [UNO API Reference](https:\u002F\u002Fapi.libreoffice.org\u002F)\n- [ezodf Documentation](http:\u002F\u002Fezodf.rst2.org\u002F)\n\n## Related Skills\n\n- writer\n- impress\n- draw\n- base\n- xlsx-official\n- workflow-automation\n","# LibreOffice Calc\n\n## Overview\n\nLibreOffice Calc skill for creating, editing, converting, and automating spreadsheet workflows using the native ODS (OpenDocument Spreadsheet) format.\n\n## When to Use This Skill\n\nUse this skill when:\n- Creating new spreadsheets in ODS format\n- Converting between ODS, XLSX, CSV, PDF formats\n- Automating data processing and analysis\n- Creating formulas, charts, and pivot tables\n- Batch processing spreadsheet operations\n\n## Core Capabilities\n\n### 1. Spreadsheet Creation\n- Create new ODS spreadsheets from scratch\n- Generate spreadsheets from templates\n- Create data entry forms\n- Build dashboards and reports\n\n### 2. Format Conversion\n- ODS to other formats: XLSX, CSV, PDF, HTML\n- Other formats to ODS: XLSX, XLS, CSV, DBF\n- Batch conversion of multiple files\n\n### 3. Data Automation\n- Formula automation and calculations\n- Data import from CSV, database, APIs\n- Data export to various formats\n- Batch data processing\n\n### 4. Data Analysis\n- Pivot tables and data summarization\n- Statistical functions and analysis\n- Data validation and filtering\n- Conditional formatting\n\n### 5. Integration\n- Command-line automation via soffice\n- Python scripting with UNO\n- Database connectivity\n\n## Workflows\n\n### Creating a New Spreadsheet\n\n#### Method 1: Command-Line\n```bash\nsoffice --calc template.ods\n```\n\n#### Method 2: Python with UNO\n```python\nimport uno\n\ndef create_spreadsheet():\n    local_ctx = uno.getComponentContext()\n    resolver = local_ctx.ServiceManager.createInstanceWithContext(\n        \"com.sun.star.bridge.UnoUrlResolver\", local_ctx\n    )\n    ctx = resolver.resolve(\n        \"uno:socket,host=localhost,port=8100;urp;StarOffice.ComponentContext\"\n    )\n    smgr = ctx.ServiceManager\n    doc = smgr.createInstanceWithContext(\"com.sun.star.sheet.SpreadsheetDocument\", ctx)\n    sheets = doc.getSheets()\n    sheet = sheets.getByIndex(0)\n    cell = sheet.getCellByPosition(0, 0)\n    cell.setString(\"Hello from LibreOffice Calc!\")\n    doc.storeToURL(\"file:\u002F\u002F\u002Fpath\u002Fto\u002Fspreadsheet.ods\", ())\n    doc.close(True)\n```\n\n#### Method 3: Using ezodf\n```python\nimport ezodf\n\ndoc = ezodf.newdoc('ods', 'spreadsheet.ods')\nsheet = doc.sheets[0]\nsheet['A1'].set_value('Hello')\nsheet['B1'].set_value('World')\ndoc.save()\n```\n\n### Converting Spreadsheets\n\n```bash\n# ODS to XLSX\nsoffice --headless --convert-to xlsx spreadsheet.ods\n\n# ODS to CSV\nsoffice --headless --convert-to csv spreadsheet.ods\n\n# ODS to PDF\nsoffice --headless --convert-to pdf spreadsheet.ods\n\n# XLSX to ODS\nsoffice --headless --convert-to ods spreadsheet.xlsx\n\n# Batch convert\nfor file in *.ods; do\n    soffice --headless --convert-to xlsx \"$file\"\ndone\n```\n\n### Formula Automation\n```python\nimport uno\n\ndef create_formula_spreadsheet():\n    local_ctx = uno.getComponentContext()\n    resolver = local_ctx.ServiceManager.createInstanceWithContext(\n        \"com.sun.star.bridge.UnoUrlResolver\", local_ctx\n    )\n    ctx = resolver.resolve(\n        \"uno:socket,host=localhost,port=8100;urp;StarOffice.ComponentContext\"\n    )\n    smgr = ctx.ServiceManager\n    doc = smgr.createInstanceWithContext(\"com.sun.star.sheet.SpreadsheetDocument\", ctx)\n    sheet = doc.getSheets().getByIndex(0)\n    \n    sheet.getCellByPosition(0, 0).setDoubleValue(100)\n    sheet.getCellByPosition(0, 1).setDoubleValue(200)\n    \n    cell = sheet.getCellByPosition(0, 2)\n    cell.setFormula(\"SUM(A1:A2)\")\n    \n    doc.storeToURL(\"file:\u002F\u002F\u002Fpath\u002Fto\u002Fformulas.ods\", ())\n    doc.close(True)\n```\n\n## Format Conversion Reference\n\n### Supported Input Formats\n- ODS (native), XLSX, XLS, CSV, DBF, HTML\n\n### Supported Output Formats\n- ODS, XLSX, XLS, CSV, PDF, HTML\n\n## Command-Line Reference\n\n```bash\nsoffice --headless\nsoffice --headless --convert-to \u003Cformat> \u003Cfile>\nsoffice --calc  # Calc\n```\n\n## Python Libraries\n\n```bash\npip install ezodf     # ODS handling\npip install odfpy     # ODF manipulation\npip install pandas    # Data analysis\n```\n\n## Best Practices\n\n1. Use named ranges for clarity\n2. Document complex formulas\n3. Use data validation for input control\n4. Create templates for recurring reports\n5. Store ODS source files in version control\n6. Test conversions thoroughly\n7. Use CSV for data exchange\n8. Handle conversion failures gracefully\n\n## Troubleshooting\n\n### Cannot open socket\n```bash\nkillall soffice.bin\nsoffice --headless --accept=\"socket,host=localhost,port=8100;urp;\"\n```\n\n## Resources\n\n- [LibreOffice Calc Guide](https:\u002F\u002Fdocumentation.libreoffice.org\u002F)\n- [UNO API Reference](https:\u002F\u002Fapi.libreoffice.org\u002F)\n- [ezodf Documentation](http:\u002F\u002Fezodf.rst2.org\u002F)\n\n## Related Skills\n\n- writer\n- impress\n- draw\n- base\n- xlsx-official\n- workflow-automation\n",{"name":5,"risk":29,"source":28,"category":47,"date_added":48,"description":7},"spreadsheet-processing","2026-02-27","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fglobal\u002Fcalc","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill calc",{"tool":61,"command":62},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill calc",{"tool":64,"command":65},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill calc","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcalc\u002FSKILL.md",true,[],[70,80,87,95,101,109],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":75,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":79},"01M72R8PZX1ABFHJGTYPA4CAF1","webapp-testing","To test local web applications, write native Python Playwright scripts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":79},"01M72QG37MMZNDY7X7GXPAK5W6","python-packaging","Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fpython-packaging\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":79},"01M72NXR0QMP9G46TW6A2DH59C","canvas-design","These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FSKILL.md",[],[],{"skillNo":96,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":79},"01M72N55TK3EEQ4QK4AWDC2KZS","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":79},"01M72MTWC150CFAP4Y5GSNKF80","slack-gif-creator","A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":79},"01M72KPT3VVNSP88MNAY466TZT","frontend-design","You are a frontend designer-engineer, not a layout generator.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FSKILL.md",[],[]]