[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-minimax-xlsx":3,"mdc--yk5bkz-key":39,"related-repo-minimax-xlsx":2281,"related-org-minimax-xlsx":2401},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":34,"sourceUrl":37,"mdContent":38},"xlsx","create and analyze Excel spreadsheets","Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"minimax","MiniMax","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fminimax.jpg","MiniMax-AI",[13,17,20,23],{"name":14,"slug":15,"type":16},"Excel","excel","tag",{"name":18,"slug":19,"type":16},"Spreadsheets","spreadsheets",{"name":21,"slug":22,"type":16},"Data Analysis","data-analysis",{"name":24,"slug":25,"type":16},"Office","office",2872,"https:\u002F\u002Fgithub.com\u002FMiniMax-AI\u002FMini-Agent","2026-07-13T06:17:53.120815","Proprietary. LICENSE.txt has complete terms",421,[32,33,8],"agent","llm",{"repoUrl":27,"stars":26,"forks":30,"topics":35,"description":36},[32,33,8],"A minimal yet professional single agent demo project that showcases the core execution pipeline and production-grade features of agents.","https:\u002F\u002Fgithub.com\u002FMiniMax-AI\u002FMini-Agent\u002Ftree\u002FHEAD\u002Fmini_agent\u002Fskills\u002Fdocument-skills\u002Fxlsx","---\nname: xlsx\ndescription: \"Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas\"\nlicense: Proprietary. LICENSE.txt has complete terms\n---\n\n# Requirements for Outputs\n\n## All Excel files\n\n### Zero Formula Errors\n- Every Excel model MUST be delivered with ZERO formula errors (#REF!, #DIV\u002F0!, #VALUE!, #N\u002FA, #NAME?)\n\n### Preserve Existing Templates (when updating templates)\n- Study and EXACTLY match existing format, style, and conventions when modifying files\n- Never impose standardized formatting on files with established patterns\n- Existing template conventions ALWAYS override these guidelines\n\n## Financial models\n\n### Color Coding Standards\nUnless otherwise stated by the user or existing template\n\n#### Industry-Standard Color Conventions\n- **Blue text (RGB: 0,0,255)**: Hardcoded inputs, and numbers users will change for scenarios\n- **Black text (RGB: 0,0,0)**: ALL formulas and calculations\n- **Green text (RGB: 0,128,0)**: Links pulling from other worksheets within same workbook\n- **Red text (RGB: 255,0,0)**: External links to other files\n- **Yellow background (RGB: 255,255,0)**: Key assumptions needing attention or cells that need to be updated\n\n### Number Formatting Standards\n\n#### Required Format Rules\n- **Years**: Format as text strings (e.g., \"2024\" not \"2,024\")\n- **Currency**: Use $#,##0 format; ALWAYS specify units in headers (\"Revenue ($mm)\")\n- **Zeros**: Use number formatting to make all zeros \"-\", including percentages (e.g., \"$#,##0;($#,##0);-\")\n- **Percentages**: Default to 0.0% format (one decimal)\n- **Multiples**: Format as 0.0x for valuation multiples (EV\u002FEBITDA, P\u002FE)\n- **Negative numbers**: Use parentheses (123) not minus -123\n\n### Formula Construction Rules\n\n#### Assumptions Placement\n- Place ALL assumptions (growth rates, margins, multiples, etc.) in separate assumption cells\n- Use cell references instead of hardcoded values in formulas\n- Example: Use =B5*(1+$B$6) instead of =B5*1.05\n\n#### Formula Error Prevention\n- Verify all cell references are correct\n- Check for off-by-one errors in ranges\n- Ensure consistent formulas across all projection periods\n- Test with edge cases (zero values, negative numbers)\n- Verify no unintended circular references\n\n#### Documentation Requirements for Hardcodes\n- Comment or in cells beside (if end of table). Format: \"Source: [System\u002FDocument], [Date], [Specific Reference], [URL if applicable]\"\n- Examples:\n  - \"Source: Company 10-K, FY2024, Page 45, Revenue Note, [SEC EDGAR URL]\"\n  - \"Source: Company 10-Q, Q2 2025, Exhibit 99.1, [SEC EDGAR URL]\"\n  - \"Source: Bloomberg Terminal, 8\u002F15\u002F2025, AAPL US Equity\"\n  - \"Source: FactSet, 8\u002F20\u002F2025, Consensus Estimates Screen\"\n\n# XLSX creation, editing, and analysis\n\n## Overview\n\nA user may ask you to create, edit, or analyze the contents of an .xlsx file. You have different tools and workflows available for different tasks.\n\n## Important Requirements\n\n**LibreOffice Required for Formula Recalculation**: You can assume LibreOffice is installed for recalculating formula values using the `recalc.py` script. The script automatically configures LibreOffice on first run\n\n## Reading and analyzing data\n\n### Data analysis with pandas\nFor data analysis, visualization, and basic operations, use **pandas** which provides powerful data manipulation capabilities:\n\n```python\nimport pandas as pd\n\n# Read Excel\ndf = pd.read_excel('file.xlsx')  # Default: first sheet\nall_sheets = pd.read_excel('file.xlsx', sheet_name=None)  # All sheets as dict\n\n# Analyze\ndf.head()      # Preview data\ndf.info()      # Column info\ndf.describe()  # Statistics\n\n# Write Excel\ndf.to_excel('output.xlsx', index=False)\n```\n\n## Excel File Workflows\n\n## CRITICAL: Use Formulas, Not Hardcoded Values\n\n**Always use Excel formulas instead of calculating values in Python and hardcoding them.** This ensures the spreadsheet remains dynamic and updateable.\n\n### ❌ WRONG - Hardcoding Calculated Values\n```python\n# Bad: Calculating in Python and hardcoding result\ntotal = df['Sales'].sum()\nsheet['B10'] = total  # Hardcodes 5000\n\n# Bad: Computing growth rate in Python\ngrowth = (df.iloc[-1]['Revenue'] - df.iloc[0]['Revenue']) \u002F df.iloc[0]['Revenue']\nsheet['C5'] = growth  # Hardcodes 0.15\n\n# Bad: Python calculation for average\navg = sum(values) \u002F len(values)\nsheet['D20'] = avg  # Hardcodes 42.5\n```\n\n### ✅ CORRECT - Using Excel Formulas\n```python\n# Good: Let Excel calculate the sum\nsheet['B10'] = '=SUM(B2:B9)'\n\n# Good: Growth rate as Excel formula\nsheet['C5'] = '=(C4-C2)\u002FC2'\n\n# Good: Average using Excel function\nsheet['D20'] = '=AVERAGE(D2:D19)'\n```\n\nThis applies to ALL calculations - totals, percentages, ratios, differences, etc. The spreadsheet should be able to recalculate when source data changes.\n\n## Common Workflow\n1. **Choose tool**: pandas for data, openpyxl for formulas\u002Fformatting\n2. **Create\u002FLoad**: Create new workbook or load existing file\n3. **Modify**: Add\u002Fedit data, formulas, and formatting\n4. **Save**: Write to file\n5. **Recalculate formulas (MANDATORY IF USING FORMULAS)**: Use the recalc.py script\n   ```bash\n   python recalc.py output.xlsx\n   ```\n6. **Verify and fix any errors**: \n   - The script returns JSON with error details\n   - If `status` is `errors_found`, check `error_summary` for specific error types and locations\n   - Fix the identified errors and recalculate again\n   - Common errors to fix:\n     - `#REF!`: Invalid cell references\n     - `#DIV\u002F0!`: Division by zero\n     - `#VALUE!`: Wrong data type in formula\n     - `#NAME?`: Unrecognized formula name\n\n### Creating new Excel files\n\n```python\n# Using openpyxl for formulas and formatting\nfrom openpyxl import Workbook\nfrom openpyxl.styles import Font, PatternFill, Alignment\n\nwb = Workbook()\nsheet = wb.active\n\n# Add data\nsheet['A1'] = 'Hello'\nsheet['B1'] = 'World'\nsheet.append(['Row', 'of', 'data'])\n\n# Add formula\nsheet['B2'] = '=SUM(A1:A10)'\n\n# Formatting\nsheet['A1'].font = Font(bold=True, color='FF0000')\nsheet['A1'].fill = PatternFill('solid', start_color='FFFF00')\nsheet['A1'].alignment = Alignment(horizontal='center')\n\n# Column width\nsheet.column_dimensions['A'].width = 20\n\nwb.save('output.xlsx')\n```\n\n### Editing existing Excel files\n\n```python\n# Using openpyxl to preserve formulas and formatting\nfrom openpyxl import load_workbook\n\n# Load existing file\nwb = load_workbook('existing.xlsx')\nsheet = wb.active  # or wb['SheetName'] for specific sheet\n\n# Working with multiple sheets\nfor sheet_name in wb.sheetnames:\n    sheet = wb[sheet_name]\n    print(f\"Sheet: {sheet_name}\")\n\n# Modify cells\nsheet['A1'] = 'New Value'\nsheet.insert_rows(2)  # Insert row at position 2\nsheet.delete_cols(3)  # Delete column 3\n\n# Add new sheet\nnew_sheet = wb.create_sheet('NewSheet')\nnew_sheet['A1'] = 'Data'\n\nwb.save('modified.xlsx')\n```\n\n## Recalculating formulas\n\nExcel files created or modified by openpyxl contain formulas as strings but not calculated values. Use the provided `recalc.py` script to recalculate formulas:\n\n```bash\npython recalc.py \u003Cexcel_file> [timeout_seconds]\n```\n\nExample:\n```bash\npython recalc.py output.xlsx 30\n```\n\nThe script:\n- Automatically sets up LibreOffice macro on first run\n- Recalculates all formulas in all sheets\n- Scans ALL cells for Excel errors (#REF!, #DIV\u002F0!, etc.)\n- Returns JSON with detailed error locations and counts\n- Works on both Linux and macOS\n\n## Formula Verification Checklist\n\nQuick checks to ensure formulas work correctly:\n\n### Essential Verification\n- [ ] **Test 2-3 sample references**: Verify they pull correct values before building full model\n- [ ] **Column mapping**: Confirm Excel columns match (e.g., column 64 = BL, not BK)\n- [ ] **Row offset**: Remember Excel rows are 1-indexed (DataFrame row 5 = Excel row 6)\n\n### Common Pitfalls\n- [ ] **NaN handling**: Check for null values with `pd.notna()`\n- [ ] **Far-right columns**: FY data often in columns 50+ \n- [ ] **Multiple matches**: Search all occurrences, not just first\n- [ ] **Division by zero**: Check denominators before using `\u002F` in formulas (#DIV\u002F0!)\n- [ ] **Wrong references**: Verify all cell references point to intended cells (#REF!)\n- [ ] **Cross-sheet references**: Use correct format (Sheet1!A1) for linking sheets\n\n### Formula Testing Strategy\n- [ ] **Start small**: Test formulas on 2-3 cells before applying broadly\n- [ ] **Verify dependencies**: Check all cells referenced in formulas exist\n- [ ] **Test edge cases**: Include zero, negative, and very large values\n\n### Interpreting recalc.py Output\nThe script returns JSON with error details:\n```json\n{\n  \"status\": \"success\",           \u002F\u002F or \"errors_found\"\n  \"total_errors\": 0,              \u002F\u002F Total error count\n  \"total_formulas\": 42,           \u002F\u002F Number of formulas in file\n  \"error_summary\": {              \u002F\u002F Only present if errors found\n    \"#REF!\": {\n      \"count\": 2,\n      \"locations\": [\"Sheet1!B5\", \"Sheet1!C10\"]\n    }\n  }\n}\n```\n\n## Best Practices\n\n### Library Selection\n- **pandas**: Best for data analysis, bulk operations, and simple data export\n- **openpyxl**: Best for complex formatting, formulas, and Excel-specific features\n\n### Working with openpyxl\n- Cell indices are 1-based (row=1, column=1 refers to cell A1)\n- Use `data_only=True` to read calculated values: `load_workbook('file.xlsx', data_only=True)`\n- **Warning**: If opened with `data_only=True` and saved, formulas are replaced with values and permanently lost\n- For large files: Use `read_only=True` for reading or `write_only=True` for writing\n- Formulas are preserved but not evaluated - use recalc.py to update values\n\n### Working with pandas\n- Specify data types to avoid inference issues: `pd.read_excel('file.xlsx', dtype={'id': str})`\n- For large files, read specific columns: `pd.read_excel('file.xlsx', usecols=['A', 'C', 'E'])`\n- Handle dates properly: `pd.read_excel('file.xlsx', parse_dates=['date_column'])`\n\n## Code Style Guidelines\n**IMPORTANT**: When generating Python code for Excel operations:\n- Write minimal, concise Python code without unnecessary comments\n- Avoid verbose variable names and redundant operations\n- Avoid unnecessary print statements\n\n**For Excel files themselves**:\n- Add comments to cells with complex formulas or important assumptions\n- Document data sources for hardcoded values\n- Include notes for key calculations and model sections",{"data":40,"body":41},{"name":4,"description":6,"license":29},{"type":42,"children":43},"root",[44,53,60,67,77,83,101,107,113,119,126,180,186,192,255,261,267,285,291,319,325,399,405,411,416,422,441,447,453,465,593,599,605,615,621,714,720,789,794,800,986,992,1196,1202,1380,1386,1398,1443,1448,1477,1482,1510,1516,1521,1527,1581,1587,1695,1701,1750,1756,1761,2062,2068,2074,2096,2102,2172,2178,2214,2220,2230,2248,2257,2275],{"type":45,"tag":46,"props":47,"children":49},"element","h1",{"id":48},"requirements-for-outputs",[50],{"type":51,"value":52},"text","Requirements for Outputs",{"type":45,"tag":54,"props":55,"children":57},"h2",{"id":56},"all-excel-files",[58],{"type":51,"value":59},"All Excel files",{"type":45,"tag":61,"props":62,"children":64},"h3",{"id":63},"zero-formula-errors",[65],{"type":51,"value":66},"Zero Formula Errors",{"type":45,"tag":68,"props":69,"children":70},"ul",{},[71],{"type":45,"tag":72,"props":73,"children":74},"li",{},[75],{"type":51,"value":76},"Every Excel model MUST be delivered with ZERO formula errors (#REF!, #DIV\u002F0!, #VALUE!, #N\u002FA, #NAME?)",{"type":45,"tag":61,"props":78,"children":80},{"id":79},"preserve-existing-templates-when-updating-templates",[81],{"type":51,"value":82},"Preserve Existing Templates (when updating templates)",{"type":45,"tag":68,"props":84,"children":85},{},[86,91,96],{"type":45,"tag":72,"props":87,"children":88},{},[89],{"type":51,"value":90},"Study and EXACTLY match existing format, style, and conventions when modifying files",{"type":45,"tag":72,"props":92,"children":93},{},[94],{"type":51,"value":95},"Never impose standardized formatting on files with established patterns",{"type":45,"tag":72,"props":97,"children":98},{},[99],{"type":51,"value":100},"Existing template conventions ALWAYS override these guidelines",{"type":45,"tag":54,"props":102,"children":104},{"id":103},"financial-models",[105],{"type":51,"value":106},"Financial models",{"type":45,"tag":61,"props":108,"children":110},{"id":109},"color-coding-standards",[111],{"type":51,"value":112},"Color Coding Standards",{"type":45,"tag":114,"props":115,"children":116},"p",{},[117],{"type":51,"value":118},"Unless otherwise stated by the user or existing template",{"type":45,"tag":120,"props":121,"children":123},"h4",{"id":122},"industry-standard-color-conventions",[124],{"type":51,"value":125},"Industry-Standard Color Conventions",{"type":45,"tag":68,"props":127,"children":128},{},[129,140,150,160,170],{"type":45,"tag":72,"props":130,"children":131},{},[132,138],{"type":45,"tag":133,"props":134,"children":135},"strong",{},[136],{"type":51,"value":137},"Blue text (RGB: 0,0,255)",{"type":51,"value":139},": Hardcoded inputs, and numbers users will change for scenarios",{"type":45,"tag":72,"props":141,"children":142},{},[143,148],{"type":45,"tag":133,"props":144,"children":145},{},[146],{"type":51,"value":147},"Black text (RGB: 0,0,0)",{"type":51,"value":149},": ALL formulas and calculations",{"type":45,"tag":72,"props":151,"children":152},{},[153,158],{"type":45,"tag":133,"props":154,"children":155},{},[156],{"type":51,"value":157},"Green text (RGB: 0,128,0)",{"type":51,"value":159},": Links pulling from other worksheets within same workbook",{"type":45,"tag":72,"props":161,"children":162},{},[163,168],{"type":45,"tag":133,"props":164,"children":165},{},[166],{"type":51,"value":167},"Red text (RGB: 255,0,0)",{"type":51,"value":169},": External links to other files",{"type":45,"tag":72,"props":171,"children":172},{},[173,178],{"type":45,"tag":133,"props":174,"children":175},{},[176],{"type":51,"value":177},"Yellow background (RGB: 255,255,0)",{"type":51,"value":179},": Key assumptions needing attention or cells that need to be updated",{"type":45,"tag":61,"props":181,"children":183},{"id":182},"number-formatting-standards",[184],{"type":51,"value":185},"Number Formatting Standards",{"type":45,"tag":120,"props":187,"children":189},{"id":188},"required-format-rules",[190],{"type":51,"value":191},"Required Format Rules",{"type":45,"tag":68,"props":193,"children":194},{},[195,205,215,225,235,245],{"type":45,"tag":72,"props":196,"children":197},{},[198,203],{"type":45,"tag":133,"props":199,"children":200},{},[201],{"type":51,"value":202},"Years",{"type":51,"value":204},": Format as text strings (e.g., \"2024\" not \"2,024\")",{"type":45,"tag":72,"props":206,"children":207},{},[208,213],{"type":45,"tag":133,"props":209,"children":210},{},[211],{"type":51,"value":212},"Currency",{"type":51,"value":214},": Use $#,##0 format; ALWAYS specify units in headers (\"Revenue ($mm)\")",{"type":45,"tag":72,"props":216,"children":217},{},[218,223],{"type":45,"tag":133,"props":219,"children":220},{},[221],{"type":51,"value":222},"Zeros",{"type":51,"value":224},": Use number formatting to make all zeros \"-\", including percentages (e.g., \"$#,##0;($#,##0);-\")",{"type":45,"tag":72,"props":226,"children":227},{},[228,233],{"type":45,"tag":133,"props":229,"children":230},{},[231],{"type":51,"value":232},"Percentages",{"type":51,"value":234},": Default to 0.0% format (one decimal)",{"type":45,"tag":72,"props":236,"children":237},{},[238,243],{"type":45,"tag":133,"props":239,"children":240},{},[241],{"type":51,"value":242},"Multiples",{"type":51,"value":244},": Format as 0.0x for valuation multiples (EV\u002FEBITDA, P\u002FE)",{"type":45,"tag":72,"props":246,"children":247},{},[248,253],{"type":45,"tag":133,"props":249,"children":250},{},[251],{"type":51,"value":252},"Negative numbers",{"type":51,"value":254},": Use parentheses (123) not minus -123",{"type":45,"tag":61,"props":256,"children":258},{"id":257},"formula-construction-rules",[259],{"type":51,"value":260},"Formula Construction Rules",{"type":45,"tag":120,"props":262,"children":264},{"id":263},"assumptions-placement",[265],{"type":51,"value":266},"Assumptions Placement",{"type":45,"tag":68,"props":268,"children":269},{},[270,275,280],{"type":45,"tag":72,"props":271,"children":272},{},[273],{"type":51,"value":274},"Place ALL assumptions (growth rates, margins, multiples, etc.) in separate assumption cells",{"type":45,"tag":72,"props":276,"children":277},{},[278],{"type":51,"value":279},"Use cell references instead of hardcoded values in formulas",{"type":45,"tag":72,"props":281,"children":282},{},[283],{"type":51,"value":284},"Example: Use =B5*(1+$B$6) instead of =B5*1.05",{"type":45,"tag":120,"props":286,"children":288},{"id":287},"formula-error-prevention",[289],{"type":51,"value":290},"Formula Error Prevention",{"type":45,"tag":68,"props":292,"children":293},{},[294,299,304,309,314],{"type":45,"tag":72,"props":295,"children":296},{},[297],{"type":51,"value":298},"Verify all cell references are correct",{"type":45,"tag":72,"props":300,"children":301},{},[302],{"type":51,"value":303},"Check for off-by-one errors in ranges",{"type":45,"tag":72,"props":305,"children":306},{},[307],{"type":51,"value":308},"Ensure consistent formulas across all projection periods",{"type":45,"tag":72,"props":310,"children":311},{},[312],{"type":51,"value":313},"Test with edge cases (zero values, negative numbers)",{"type":45,"tag":72,"props":315,"children":316},{},[317],{"type":51,"value":318},"Verify no unintended circular references",{"type":45,"tag":120,"props":320,"children":322},{"id":321},"documentation-requirements-for-hardcodes",[323],{"type":51,"value":324},"Documentation Requirements for Hardcodes",{"type":45,"tag":68,"props":326,"children":327},{},[328,360],{"type":45,"tag":72,"props":329,"children":330},{},[331,333,339,341,346,347,352,353,358],{"type":51,"value":332},"Comment or in cells beside (if end of table). Format: \"Source: ",{"type":45,"tag":334,"props":335,"children":336},"span",{},[337],{"type":51,"value":338},"System\u002FDocument",{"type":51,"value":340},", ",{"type":45,"tag":334,"props":342,"children":343},{},[344],{"type":51,"value":345},"Date",{"type":51,"value":340},{"type":45,"tag":334,"props":348,"children":349},{},[350],{"type":51,"value":351},"Specific Reference",{"type":51,"value":340},{"type":45,"tag":334,"props":354,"children":355},{},[356],{"type":51,"value":357},"URL if applicable",{"type":51,"value":359},"\"",{"type":45,"tag":72,"props":361,"children":362},{},[363,365],{"type":51,"value":364},"Examples:\n",{"type":45,"tag":68,"props":366,"children":367},{},[368,379,389,394],{"type":45,"tag":72,"props":369,"children":370},{},[371,373,378],{"type":51,"value":372},"\"Source: Company 10-K, FY2024, Page 45, Revenue Note, ",{"type":45,"tag":334,"props":374,"children":375},{},[376],{"type":51,"value":377},"SEC EDGAR URL",{"type":51,"value":359},{"type":45,"tag":72,"props":380,"children":381},{},[382,384,388],{"type":51,"value":383},"\"Source: Company 10-Q, Q2 2025, Exhibit 99.1, ",{"type":45,"tag":334,"props":385,"children":386},{},[387],{"type":51,"value":377},{"type":51,"value":359},{"type":45,"tag":72,"props":390,"children":391},{},[392],{"type":51,"value":393},"\"Source: Bloomberg Terminal, 8\u002F15\u002F2025, AAPL US Equity\"",{"type":45,"tag":72,"props":395,"children":396},{},[397],{"type":51,"value":398},"\"Source: FactSet, 8\u002F20\u002F2025, Consensus Estimates Screen\"",{"type":45,"tag":46,"props":400,"children":402},{"id":401},"xlsx-creation-editing-and-analysis",[403],{"type":51,"value":404},"XLSX creation, editing, and analysis",{"type":45,"tag":54,"props":406,"children":408},{"id":407},"overview",[409],{"type":51,"value":410},"Overview",{"type":45,"tag":114,"props":412,"children":413},{},[414],{"type":51,"value":415},"A user may ask you to create, edit, or analyze the contents of an .xlsx file. You have different tools and workflows available for different tasks.",{"type":45,"tag":54,"props":417,"children":419},{"id":418},"important-requirements",[420],{"type":51,"value":421},"Important Requirements",{"type":45,"tag":114,"props":423,"children":424},{},[425,430,432,439],{"type":45,"tag":133,"props":426,"children":427},{},[428],{"type":51,"value":429},"LibreOffice Required for Formula Recalculation",{"type":51,"value":431},": You can assume LibreOffice is installed for recalculating formula values using the ",{"type":45,"tag":433,"props":434,"children":436},"code",{"className":435},[],[437],{"type":51,"value":438},"recalc.py",{"type":51,"value":440}," script. The script automatically configures LibreOffice on first run",{"type":45,"tag":54,"props":442,"children":444},{"id":443},"reading-and-analyzing-data",[445],{"type":51,"value":446},"Reading and analyzing data",{"type":45,"tag":61,"props":448,"children":450},{"id":449},"data-analysis-with-pandas",[451],{"type":51,"value":452},"Data analysis with pandas",{"type":45,"tag":114,"props":454,"children":455},{},[456,458,463],{"type":51,"value":457},"For data analysis, visualization, and basic operations, use ",{"type":45,"tag":133,"props":459,"children":460},{},[461],{"type":51,"value":462},"pandas",{"type":51,"value":464}," which provides powerful data manipulation capabilities:",{"type":45,"tag":466,"props":467,"children":472},"pre",{"className":468,"code":469,"language":470,"meta":471,"style":471},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import pandas as pd\n\n# Read Excel\ndf = pd.read_excel('file.xlsx')  # Default: first sheet\nall_sheets = pd.read_excel('file.xlsx', sheet_name=None)  # All sheets as dict\n\n# Analyze\ndf.head()      # Preview data\ndf.info()      # Column info\ndf.describe()  # Statistics\n\n# Write Excel\ndf.to_excel('output.xlsx', index=False)\n","python","",[473],{"type":45,"tag":433,"props":474,"children":475},{"__ignoreMap":471},[476,486,496,505,514,523,531,540,549,558,567,575,584],{"type":45,"tag":334,"props":477,"children":480},{"class":478,"line":479},"line",1,[481],{"type":45,"tag":334,"props":482,"children":483},{},[484],{"type":51,"value":485},"import pandas as pd\n",{"type":45,"tag":334,"props":487,"children":489},{"class":478,"line":488},2,[490],{"type":45,"tag":334,"props":491,"children":493},{"emptyLinePlaceholder":492},true,[494],{"type":51,"value":495},"\n",{"type":45,"tag":334,"props":497,"children":499},{"class":478,"line":498},3,[500],{"type":45,"tag":334,"props":501,"children":502},{},[503],{"type":51,"value":504},"# Read Excel\n",{"type":45,"tag":334,"props":506,"children":508},{"class":478,"line":507},4,[509],{"type":45,"tag":334,"props":510,"children":511},{},[512],{"type":51,"value":513},"df = pd.read_excel('file.xlsx')  # Default: first sheet\n",{"type":45,"tag":334,"props":515,"children":517},{"class":478,"line":516},5,[518],{"type":45,"tag":334,"props":519,"children":520},{},[521],{"type":51,"value":522},"all_sheets = pd.read_excel('file.xlsx', sheet_name=None)  # All sheets as dict\n",{"type":45,"tag":334,"props":524,"children":526},{"class":478,"line":525},6,[527],{"type":45,"tag":334,"props":528,"children":529},{"emptyLinePlaceholder":492},[530],{"type":51,"value":495},{"type":45,"tag":334,"props":532,"children":534},{"class":478,"line":533},7,[535],{"type":45,"tag":334,"props":536,"children":537},{},[538],{"type":51,"value":539},"# Analyze\n",{"type":45,"tag":334,"props":541,"children":543},{"class":478,"line":542},8,[544],{"type":45,"tag":334,"props":545,"children":546},{},[547],{"type":51,"value":548},"df.head()      # Preview data\n",{"type":45,"tag":334,"props":550,"children":552},{"class":478,"line":551},9,[553],{"type":45,"tag":334,"props":554,"children":555},{},[556],{"type":51,"value":557},"df.info()      # Column info\n",{"type":45,"tag":334,"props":559,"children":561},{"class":478,"line":560},10,[562],{"type":45,"tag":334,"props":563,"children":564},{},[565],{"type":51,"value":566},"df.describe()  # Statistics\n",{"type":45,"tag":334,"props":568,"children":570},{"class":478,"line":569},11,[571],{"type":45,"tag":334,"props":572,"children":573},{"emptyLinePlaceholder":492},[574],{"type":51,"value":495},{"type":45,"tag":334,"props":576,"children":578},{"class":478,"line":577},12,[579],{"type":45,"tag":334,"props":580,"children":581},{},[582],{"type":51,"value":583},"# Write Excel\n",{"type":45,"tag":334,"props":585,"children":587},{"class":478,"line":586},13,[588],{"type":45,"tag":334,"props":589,"children":590},{},[591],{"type":51,"value":592},"df.to_excel('output.xlsx', index=False)\n",{"type":45,"tag":54,"props":594,"children":596},{"id":595},"excel-file-workflows",[597],{"type":51,"value":598},"Excel File Workflows",{"type":45,"tag":54,"props":600,"children":602},{"id":601},"critical-use-formulas-not-hardcoded-values",[603],{"type":51,"value":604},"CRITICAL: Use Formulas, Not Hardcoded Values",{"type":45,"tag":114,"props":606,"children":607},{},[608,613],{"type":45,"tag":133,"props":609,"children":610},{},[611],{"type":51,"value":612},"Always use Excel formulas instead of calculating values in Python and hardcoding them.",{"type":51,"value":614}," This ensures the spreadsheet remains dynamic and updateable.",{"type":45,"tag":61,"props":616,"children":618},{"id":617},"wrong-hardcoding-calculated-values",[619],{"type":51,"value":620},"❌ WRONG - Hardcoding Calculated Values",{"type":45,"tag":466,"props":622,"children":624},{"className":468,"code":623,"language":470,"meta":471,"style":471},"# Bad: Calculating in Python and hardcoding result\ntotal = df['Sales'].sum()\nsheet['B10'] = total  # Hardcodes 5000\n\n# Bad: Computing growth rate in Python\ngrowth = (df.iloc[-1]['Revenue'] - df.iloc[0]['Revenue']) \u002F df.iloc[0]['Revenue']\nsheet['C5'] = growth  # Hardcodes 0.15\n\n# Bad: Python calculation for average\navg = sum(values) \u002F len(values)\nsheet['D20'] = avg  # Hardcodes 42.5\n",[625],{"type":45,"tag":433,"props":626,"children":627},{"__ignoreMap":471},[628,636,644,652,659,667,675,683,690,698,706],{"type":45,"tag":334,"props":629,"children":630},{"class":478,"line":479},[631],{"type":45,"tag":334,"props":632,"children":633},{},[634],{"type":51,"value":635},"# Bad: Calculating in Python and hardcoding result\n",{"type":45,"tag":334,"props":637,"children":638},{"class":478,"line":488},[639],{"type":45,"tag":334,"props":640,"children":641},{},[642],{"type":51,"value":643},"total = df['Sales'].sum()\n",{"type":45,"tag":334,"props":645,"children":646},{"class":478,"line":498},[647],{"type":45,"tag":334,"props":648,"children":649},{},[650],{"type":51,"value":651},"sheet['B10'] = total  # Hardcodes 5000\n",{"type":45,"tag":334,"props":653,"children":654},{"class":478,"line":507},[655],{"type":45,"tag":334,"props":656,"children":657},{"emptyLinePlaceholder":492},[658],{"type":51,"value":495},{"type":45,"tag":334,"props":660,"children":661},{"class":478,"line":516},[662],{"type":45,"tag":334,"props":663,"children":664},{},[665],{"type":51,"value":666},"# Bad: Computing growth rate in Python\n",{"type":45,"tag":334,"props":668,"children":669},{"class":478,"line":525},[670],{"type":45,"tag":334,"props":671,"children":672},{},[673],{"type":51,"value":674},"growth = (df.iloc[-1]['Revenue'] - df.iloc[0]['Revenue']) \u002F df.iloc[0]['Revenue']\n",{"type":45,"tag":334,"props":676,"children":677},{"class":478,"line":533},[678],{"type":45,"tag":334,"props":679,"children":680},{},[681],{"type":51,"value":682},"sheet['C5'] = growth  # Hardcodes 0.15\n",{"type":45,"tag":334,"props":684,"children":685},{"class":478,"line":542},[686],{"type":45,"tag":334,"props":687,"children":688},{"emptyLinePlaceholder":492},[689],{"type":51,"value":495},{"type":45,"tag":334,"props":691,"children":692},{"class":478,"line":551},[693],{"type":45,"tag":334,"props":694,"children":695},{},[696],{"type":51,"value":697},"# Bad: Python calculation for average\n",{"type":45,"tag":334,"props":699,"children":700},{"class":478,"line":560},[701],{"type":45,"tag":334,"props":702,"children":703},{},[704],{"type":51,"value":705},"avg = sum(values) \u002F len(values)\n",{"type":45,"tag":334,"props":707,"children":708},{"class":478,"line":569},[709],{"type":45,"tag":334,"props":710,"children":711},{},[712],{"type":51,"value":713},"sheet['D20'] = avg  # Hardcodes 42.5\n",{"type":45,"tag":61,"props":715,"children":717},{"id":716},"correct-using-excel-formulas",[718],{"type":51,"value":719},"✅ CORRECT - Using Excel Formulas",{"type":45,"tag":466,"props":721,"children":723},{"className":468,"code":722,"language":470,"meta":471,"style":471},"# Good: Let Excel calculate the sum\nsheet['B10'] = '=SUM(B2:B9)'\n\n# Good: Growth rate as Excel formula\nsheet['C5'] = '=(C4-C2)\u002FC2'\n\n# Good: Average using Excel function\nsheet['D20'] = '=AVERAGE(D2:D19)'\n",[724],{"type":45,"tag":433,"props":725,"children":726},{"__ignoreMap":471},[727,735,743,750,758,766,773,781],{"type":45,"tag":334,"props":728,"children":729},{"class":478,"line":479},[730],{"type":45,"tag":334,"props":731,"children":732},{},[733],{"type":51,"value":734},"# Good: Let Excel calculate the sum\n",{"type":45,"tag":334,"props":736,"children":737},{"class":478,"line":488},[738],{"type":45,"tag":334,"props":739,"children":740},{},[741],{"type":51,"value":742},"sheet['B10'] = '=SUM(B2:B9)'\n",{"type":45,"tag":334,"props":744,"children":745},{"class":478,"line":498},[746],{"type":45,"tag":334,"props":747,"children":748},{"emptyLinePlaceholder":492},[749],{"type":51,"value":495},{"type":45,"tag":334,"props":751,"children":752},{"class":478,"line":507},[753],{"type":45,"tag":334,"props":754,"children":755},{},[756],{"type":51,"value":757},"# Good: Growth rate as Excel formula\n",{"type":45,"tag":334,"props":759,"children":760},{"class":478,"line":516},[761],{"type":45,"tag":334,"props":762,"children":763},{},[764],{"type":51,"value":765},"sheet['C5'] = '=(C4-C2)\u002FC2'\n",{"type":45,"tag":334,"props":767,"children":768},{"class":478,"line":525},[769],{"type":45,"tag":334,"props":770,"children":771},{"emptyLinePlaceholder":492},[772],{"type":51,"value":495},{"type":45,"tag":334,"props":774,"children":775},{"class":478,"line":533},[776],{"type":45,"tag":334,"props":777,"children":778},{},[779],{"type":51,"value":780},"# Good: Average using Excel function\n",{"type":45,"tag":334,"props":782,"children":783},{"class":478,"line":542},[784],{"type":45,"tag":334,"props":785,"children":786},{},[787],{"type":51,"value":788},"sheet['D20'] = '=AVERAGE(D2:D19)'\n",{"type":45,"tag":114,"props":790,"children":791},{},[792],{"type":51,"value":793},"This applies to ALL calculations - totals, percentages, ratios, differences, etc. The spreadsheet should be able to recalculate when source data changes.",{"type":45,"tag":54,"props":795,"children":797},{"id":796},"common-workflow",[798],{"type":51,"value":799},"Common Workflow",{"type":45,"tag":801,"props":802,"children":803},"ol",{},[804,814,824,834,844,882],{"type":45,"tag":72,"props":805,"children":806},{},[807,812],{"type":45,"tag":133,"props":808,"children":809},{},[810],{"type":51,"value":811},"Choose tool",{"type":51,"value":813},": pandas for data, openpyxl for formulas\u002Fformatting",{"type":45,"tag":72,"props":815,"children":816},{},[817,822],{"type":45,"tag":133,"props":818,"children":819},{},[820],{"type":51,"value":821},"Create\u002FLoad",{"type":51,"value":823},": Create new workbook or load existing file",{"type":45,"tag":72,"props":825,"children":826},{},[827,832],{"type":45,"tag":133,"props":828,"children":829},{},[830],{"type":51,"value":831},"Modify",{"type":51,"value":833},": Add\u002Fedit data, formulas, and formatting",{"type":45,"tag":72,"props":835,"children":836},{},[837,842],{"type":45,"tag":133,"props":838,"children":839},{},[840],{"type":51,"value":841},"Save",{"type":51,"value":843},": Write to file",{"type":45,"tag":72,"props":845,"children":846},{},[847,852,854],{"type":45,"tag":133,"props":848,"children":849},{},[850],{"type":51,"value":851},"Recalculate formulas (MANDATORY IF USING FORMULAS)",{"type":51,"value":853},": Use the recalc.py script\n",{"type":45,"tag":466,"props":855,"children":859},{"className":856,"code":857,"language":858,"meta":471,"style":471},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","python recalc.py output.xlsx\n","bash",[860],{"type":45,"tag":433,"props":861,"children":862},{"__ignoreMap":471},[863],{"type":45,"tag":334,"props":864,"children":865},{"class":478,"line":479},[866,871,877],{"type":45,"tag":334,"props":867,"children":869},{"style":868},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[870],{"type":51,"value":470},{"type":45,"tag":334,"props":872,"children":874},{"style":873},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[875],{"type":51,"value":876}," recalc.py",{"type":45,"tag":334,"props":878,"children":879},{"style":873},[880],{"type":51,"value":881}," output.xlsx\n",{"type":45,"tag":72,"props":883,"children":884},{},[885,890,892],{"type":45,"tag":133,"props":886,"children":887},{},[888],{"type":51,"value":889},"Verify and fix any errors",{"type":51,"value":891},":\n",{"type":45,"tag":68,"props":893,"children":894},{},[895,900,929,934],{"type":45,"tag":72,"props":896,"children":897},{},[898],{"type":51,"value":899},"The script returns JSON with error details",{"type":45,"tag":72,"props":901,"children":902},{},[903,905,911,913,919,921,927],{"type":51,"value":904},"If ",{"type":45,"tag":433,"props":906,"children":908},{"className":907},[],[909],{"type":51,"value":910},"status",{"type":51,"value":912}," is ",{"type":45,"tag":433,"props":914,"children":916},{"className":915},[],[917],{"type":51,"value":918},"errors_found",{"type":51,"value":920},", check ",{"type":45,"tag":433,"props":922,"children":924},{"className":923},[],[925],{"type":51,"value":926},"error_summary",{"type":51,"value":928}," for specific error types and locations",{"type":45,"tag":72,"props":930,"children":931},{},[932],{"type":51,"value":933},"Fix the identified errors and recalculate again",{"type":45,"tag":72,"props":935,"children":936},{},[937,939],{"type":51,"value":938},"Common errors to fix:\n",{"type":45,"tag":68,"props":940,"children":941},{},[942,953,964,975],{"type":45,"tag":72,"props":943,"children":944},{},[945,951],{"type":45,"tag":433,"props":946,"children":948},{"className":947},[],[949],{"type":51,"value":950},"#REF!",{"type":51,"value":952},": Invalid cell references",{"type":45,"tag":72,"props":954,"children":955},{},[956,962],{"type":45,"tag":433,"props":957,"children":959},{"className":958},[],[960],{"type":51,"value":961},"#DIV\u002F0!",{"type":51,"value":963},": Division by zero",{"type":45,"tag":72,"props":965,"children":966},{},[967,973],{"type":45,"tag":433,"props":968,"children":970},{"className":969},[],[971],{"type":51,"value":972},"#VALUE!",{"type":51,"value":974},": Wrong data type in formula",{"type":45,"tag":72,"props":976,"children":977},{},[978,984],{"type":45,"tag":433,"props":979,"children":981},{"className":980},[],[982],{"type":51,"value":983},"#NAME?",{"type":51,"value":985},": Unrecognized formula name",{"type":45,"tag":61,"props":987,"children":989},{"id":988},"creating-new-excel-files",[990],{"type":51,"value":991},"Creating new Excel files",{"type":45,"tag":466,"props":993,"children":995},{"className":468,"code":994,"language":470,"meta":471,"style":471},"# Using openpyxl for formulas and formatting\nfrom openpyxl import Workbook\nfrom openpyxl.styles import Font, PatternFill, Alignment\n\nwb = Workbook()\nsheet = wb.active\n\n# Add data\nsheet['A1'] = 'Hello'\nsheet['B1'] = 'World'\nsheet.append(['Row', 'of', 'data'])\n\n# Add formula\nsheet['B2'] = '=SUM(A1:A10)'\n\n# Formatting\nsheet['A1'].font = Font(bold=True, color='FF0000')\nsheet['A1'].fill = PatternFill('solid', start_color='FFFF00')\nsheet['A1'].alignment = Alignment(horizontal='center')\n\n# Column width\nsheet.column_dimensions['A'].width = 20\n\nwb.save('output.xlsx')\n",[996],{"type":45,"tag":433,"props":997,"children":998},{"__ignoreMap":471},[999,1007,1015,1023,1030,1038,1046,1053,1061,1069,1077,1085,1092,1100,1109,1117,1126,1135,1144,1153,1161,1170,1179,1187],{"type":45,"tag":334,"props":1000,"children":1001},{"class":478,"line":479},[1002],{"type":45,"tag":334,"props":1003,"children":1004},{},[1005],{"type":51,"value":1006},"# Using openpyxl for formulas and formatting\n",{"type":45,"tag":334,"props":1008,"children":1009},{"class":478,"line":488},[1010],{"type":45,"tag":334,"props":1011,"children":1012},{},[1013],{"type":51,"value":1014},"from openpyxl import Workbook\n",{"type":45,"tag":334,"props":1016,"children":1017},{"class":478,"line":498},[1018],{"type":45,"tag":334,"props":1019,"children":1020},{},[1021],{"type":51,"value":1022},"from openpyxl.styles import Font, PatternFill, Alignment\n",{"type":45,"tag":334,"props":1024,"children":1025},{"class":478,"line":507},[1026],{"type":45,"tag":334,"props":1027,"children":1028},{"emptyLinePlaceholder":492},[1029],{"type":51,"value":495},{"type":45,"tag":334,"props":1031,"children":1032},{"class":478,"line":516},[1033],{"type":45,"tag":334,"props":1034,"children":1035},{},[1036],{"type":51,"value":1037},"wb = Workbook()\n",{"type":45,"tag":334,"props":1039,"children":1040},{"class":478,"line":525},[1041],{"type":45,"tag":334,"props":1042,"children":1043},{},[1044],{"type":51,"value":1045},"sheet = wb.active\n",{"type":45,"tag":334,"props":1047,"children":1048},{"class":478,"line":533},[1049],{"type":45,"tag":334,"props":1050,"children":1051},{"emptyLinePlaceholder":492},[1052],{"type":51,"value":495},{"type":45,"tag":334,"props":1054,"children":1055},{"class":478,"line":542},[1056],{"type":45,"tag":334,"props":1057,"children":1058},{},[1059],{"type":51,"value":1060},"# Add data\n",{"type":45,"tag":334,"props":1062,"children":1063},{"class":478,"line":551},[1064],{"type":45,"tag":334,"props":1065,"children":1066},{},[1067],{"type":51,"value":1068},"sheet['A1'] = 'Hello'\n",{"type":45,"tag":334,"props":1070,"children":1071},{"class":478,"line":560},[1072],{"type":45,"tag":334,"props":1073,"children":1074},{},[1075],{"type":51,"value":1076},"sheet['B1'] = 'World'\n",{"type":45,"tag":334,"props":1078,"children":1079},{"class":478,"line":569},[1080],{"type":45,"tag":334,"props":1081,"children":1082},{},[1083],{"type":51,"value":1084},"sheet.append(['Row', 'of', 'data'])\n",{"type":45,"tag":334,"props":1086,"children":1087},{"class":478,"line":577},[1088],{"type":45,"tag":334,"props":1089,"children":1090},{"emptyLinePlaceholder":492},[1091],{"type":51,"value":495},{"type":45,"tag":334,"props":1093,"children":1094},{"class":478,"line":586},[1095],{"type":45,"tag":334,"props":1096,"children":1097},{},[1098],{"type":51,"value":1099},"# Add formula\n",{"type":45,"tag":334,"props":1101,"children":1103},{"class":478,"line":1102},14,[1104],{"type":45,"tag":334,"props":1105,"children":1106},{},[1107],{"type":51,"value":1108},"sheet['B2'] = '=SUM(A1:A10)'\n",{"type":45,"tag":334,"props":1110,"children":1112},{"class":478,"line":1111},15,[1113],{"type":45,"tag":334,"props":1114,"children":1115},{"emptyLinePlaceholder":492},[1116],{"type":51,"value":495},{"type":45,"tag":334,"props":1118,"children":1120},{"class":478,"line":1119},16,[1121],{"type":45,"tag":334,"props":1122,"children":1123},{},[1124],{"type":51,"value":1125},"# Formatting\n",{"type":45,"tag":334,"props":1127,"children":1129},{"class":478,"line":1128},17,[1130],{"type":45,"tag":334,"props":1131,"children":1132},{},[1133],{"type":51,"value":1134},"sheet['A1'].font = Font(bold=True, color='FF0000')\n",{"type":45,"tag":334,"props":1136,"children":1138},{"class":478,"line":1137},18,[1139],{"type":45,"tag":334,"props":1140,"children":1141},{},[1142],{"type":51,"value":1143},"sheet['A1'].fill = PatternFill('solid', start_color='FFFF00')\n",{"type":45,"tag":334,"props":1145,"children":1147},{"class":478,"line":1146},19,[1148],{"type":45,"tag":334,"props":1149,"children":1150},{},[1151],{"type":51,"value":1152},"sheet['A1'].alignment = Alignment(horizontal='center')\n",{"type":45,"tag":334,"props":1154,"children":1156},{"class":478,"line":1155},20,[1157],{"type":45,"tag":334,"props":1158,"children":1159},{"emptyLinePlaceholder":492},[1160],{"type":51,"value":495},{"type":45,"tag":334,"props":1162,"children":1164},{"class":478,"line":1163},21,[1165],{"type":45,"tag":334,"props":1166,"children":1167},{},[1168],{"type":51,"value":1169},"# Column width\n",{"type":45,"tag":334,"props":1171,"children":1173},{"class":478,"line":1172},22,[1174],{"type":45,"tag":334,"props":1175,"children":1176},{},[1177],{"type":51,"value":1178},"sheet.column_dimensions['A'].width = 20\n",{"type":45,"tag":334,"props":1180,"children":1182},{"class":478,"line":1181},23,[1183],{"type":45,"tag":334,"props":1184,"children":1185},{"emptyLinePlaceholder":492},[1186],{"type":51,"value":495},{"type":45,"tag":334,"props":1188,"children":1190},{"class":478,"line":1189},24,[1191],{"type":45,"tag":334,"props":1192,"children":1193},{},[1194],{"type":51,"value":1195},"wb.save('output.xlsx')\n",{"type":45,"tag":61,"props":1197,"children":1199},{"id":1198},"editing-existing-excel-files",[1200],{"type":51,"value":1201},"Editing existing Excel files",{"type":45,"tag":466,"props":1203,"children":1205},{"className":468,"code":1204,"language":470,"meta":471,"style":471},"# Using openpyxl to preserve formulas and formatting\nfrom openpyxl import load_workbook\n\n# Load existing file\nwb = load_workbook('existing.xlsx')\nsheet = wb.active  # or wb['SheetName'] for specific sheet\n\n# Working with multiple sheets\nfor sheet_name in wb.sheetnames:\n    sheet = wb[sheet_name]\n    print(f\"Sheet: {sheet_name}\")\n\n# Modify cells\nsheet['A1'] = 'New Value'\nsheet.insert_rows(2)  # Insert row at position 2\nsheet.delete_cols(3)  # Delete column 3\n\n# Add new sheet\nnew_sheet = wb.create_sheet('NewSheet')\nnew_sheet['A1'] = 'Data'\n\nwb.save('modified.xlsx')\n",[1206],{"type":45,"tag":433,"props":1207,"children":1208},{"__ignoreMap":471},[1209,1217,1225,1232,1240,1248,1256,1263,1271,1279,1287,1295,1302,1310,1318,1326,1334,1341,1349,1357,1365,1372],{"type":45,"tag":334,"props":1210,"children":1211},{"class":478,"line":479},[1212],{"type":45,"tag":334,"props":1213,"children":1214},{},[1215],{"type":51,"value":1216},"# Using openpyxl to preserve formulas and formatting\n",{"type":45,"tag":334,"props":1218,"children":1219},{"class":478,"line":488},[1220],{"type":45,"tag":334,"props":1221,"children":1222},{},[1223],{"type":51,"value":1224},"from openpyxl import load_workbook\n",{"type":45,"tag":334,"props":1226,"children":1227},{"class":478,"line":498},[1228],{"type":45,"tag":334,"props":1229,"children":1230},{"emptyLinePlaceholder":492},[1231],{"type":51,"value":495},{"type":45,"tag":334,"props":1233,"children":1234},{"class":478,"line":507},[1235],{"type":45,"tag":334,"props":1236,"children":1237},{},[1238],{"type":51,"value":1239},"# Load existing file\n",{"type":45,"tag":334,"props":1241,"children":1242},{"class":478,"line":516},[1243],{"type":45,"tag":334,"props":1244,"children":1245},{},[1246],{"type":51,"value":1247},"wb = load_workbook('existing.xlsx')\n",{"type":45,"tag":334,"props":1249,"children":1250},{"class":478,"line":525},[1251],{"type":45,"tag":334,"props":1252,"children":1253},{},[1254],{"type":51,"value":1255},"sheet = wb.active  # or wb['SheetName'] for specific sheet\n",{"type":45,"tag":334,"props":1257,"children":1258},{"class":478,"line":533},[1259],{"type":45,"tag":334,"props":1260,"children":1261},{"emptyLinePlaceholder":492},[1262],{"type":51,"value":495},{"type":45,"tag":334,"props":1264,"children":1265},{"class":478,"line":542},[1266],{"type":45,"tag":334,"props":1267,"children":1268},{},[1269],{"type":51,"value":1270},"# Working with multiple sheets\n",{"type":45,"tag":334,"props":1272,"children":1273},{"class":478,"line":551},[1274],{"type":45,"tag":334,"props":1275,"children":1276},{},[1277],{"type":51,"value":1278},"for sheet_name in wb.sheetnames:\n",{"type":45,"tag":334,"props":1280,"children":1281},{"class":478,"line":560},[1282],{"type":45,"tag":334,"props":1283,"children":1284},{},[1285],{"type":51,"value":1286},"    sheet = wb[sheet_name]\n",{"type":45,"tag":334,"props":1288,"children":1289},{"class":478,"line":569},[1290],{"type":45,"tag":334,"props":1291,"children":1292},{},[1293],{"type":51,"value":1294},"    print(f\"Sheet: {sheet_name}\")\n",{"type":45,"tag":334,"props":1296,"children":1297},{"class":478,"line":577},[1298],{"type":45,"tag":334,"props":1299,"children":1300},{"emptyLinePlaceholder":492},[1301],{"type":51,"value":495},{"type":45,"tag":334,"props":1303,"children":1304},{"class":478,"line":586},[1305],{"type":45,"tag":334,"props":1306,"children":1307},{},[1308],{"type":51,"value":1309},"# Modify cells\n",{"type":45,"tag":334,"props":1311,"children":1312},{"class":478,"line":1102},[1313],{"type":45,"tag":334,"props":1314,"children":1315},{},[1316],{"type":51,"value":1317},"sheet['A1'] = 'New Value'\n",{"type":45,"tag":334,"props":1319,"children":1320},{"class":478,"line":1111},[1321],{"type":45,"tag":334,"props":1322,"children":1323},{},[1324],{"type":51,"value":1325},"sheet.insert_rows(2)  # Insert row at position 2\n",{"type":45,"tag":334,"props":1327,"children":1328},{"class":478,"line":1119},[1329],{"type":45,"tag":334,"props":1330,"children":1331},{},[1332],{"type":51,"value":1333},"sheet.delete_cols(3)  # Delete column 3\n",{"type":45,"tag":334,"props":1335,"children":1336},{"class":478,"line":1128},[1337],{"type":45,"tag":334,"props":1338,"children":1339},{"emptyLinePlaceholder":492},[1340],{"type":51,"value":495},{"type":45,"tag":334,"props":1342,"children":1343},{"class":478,"line":1137},[1344],{"type":45,"tag":334,"props":1345,"children":1346},{},[1347],{"type":51,"value":1348},"# Add new sheet\n",{"type":45,"tag":334,"props":1350,"children":1351},{"class":478,"line":1146},[1352],{"type":45,"tag":334,"props":1353,"children":1354},{},[1355],{"type":51,"value":1356},"new_sheet = wb.create_sheet('NewSheet')\n",{"type":45,"tag":334,"props":1358,"children":1359},{"class":478,"line":1155},[1360],{"type":45,"tag":334,"props":1361,"children":1362},{},[1363],{"type":51,"value":1364},"new_sheet['A1'] = 'Data'\n",{"type":45,"tag":334,"props":1366,"children":1367},{"class":478,"line":1163},[1368],{"type":45,"tag":334,"props":1369,"children":1370},{"emptyLinePlaceholder":492},[1371],{"type":51,"value":495},{"type":45,"tag":334,"props":1373,"children":1374},{"class":478,"line":1172},[1375],{"type":45,"tag":334,"props":1376,"children":1377},{},[1378],{"type":51,"value":1379},"wb.save('modified.xlsx')\n",{"type":45,"tag":54,"props":1381,"children":1383},{"id":1382},"recalculating-formulas",[1384],{"type":51,"value":1385},"Recalculating formulas",{"type":45,"tag":114,"props":1387,"children":1388},{},[1389,1391,1396],{"type":51,"value":1390},"Excel files created or modified by openpyxl contain formulas as strings but not calculated values. Use the provided ",{"type":45,"tag":433,"props":1392,"children":1394},{"className":1393},[],[1395],{"type":51,"value":438},{"type":51,"value":1397}," script to recalculate formulas:",{"type":45,"tag":466,"props":1399,"children":1401},{"className":856,"code":1400,"language":858,"meta":471,"style":471},"python recalc.py \u003Cexcel_file> [timeout_seconds]\n",[1402],{"type":45,"tag":433,"props":1403,"children":1404},{"__ignoreMap":471},[1405],{"type":45,"tag":334,"props":1406,"children":1407},{"class":478,"line":479},[1408,1412,1416,1422,1427,1433,1438],{"type":45,"tag":334,"props":1409,"children":1410},{"style":868},[1411],{"type":51,"value":470},{"type":45,"tag":334,"props":1413,"children":1414},{"style":873},[1415],{"type":51,"value":876},{"type":45,"tag":334,"props":1417,"children":1419},{"style":1418},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[1420],{"type":51,"value":1421}," \u003C",{"type":45,"tag":334,"props":1423,"children":1424},{"style":873},[1425],{"type":51,"value":1426},"excel_fil",{"type":45,"tag":334,"props":1428,"children":1430},{"style":1429},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[1431],{"type":51,"value":1432},"e",{"type":45,"tag":334,"props":1434,"children":1435},{"style":1418},[1436],{"type":51,"value":1437},">",{"type":45,"tag":334,"props":1439,"children":1440},{"style":1429},[1441],{"type":51,"value":1442}," [timeout_seconds]\n",{"type":45,"tag":114,"props":1444,"children":1445},{},[1446],{"type":51,"value":1447},"Example:",{"type":45,"tag":466,"props":1449,"children":1451},{"className":856,"code":1450,"language":858,"meta":471,"style":471},"python recalc.py output.xlsx 30\n",[1452],{"type":45,"tag":433,"props":1453,"children":1454},{"__ignoreMap":471},[1455],{"type":45,"tag":334,"props":1456,"children":1457},{"class":478,"line":479},[1458,1462,1466,1471],{"type":45,"tag":334,"props":1459,"children":1460},{"style":868},[1461],{"type":51,"value":470},{"type":45,"tag":334,"props":1463,"children":1464},{"style":873},[1465],{"type":51,"value":876},{"type":45,"tag":334,"props":1467,"children":1468},{"style":873},[1469],{"type":51,"value":1470}," output.xlsx",{"type":45,"tag":334,"props":1472,"children":1474},{"style":1473},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1475],{"type":51,"value":1476}," 30\n",{"type":45,"tag":114,"props":1478,"children":1479},{},[1480],{"type":51,"value":1481},"The script:",{"type":45,"tag":68,"props":1483,"children":1484},{},[1485,1490,1495,1500,1505],{"type":45,"tag":72,"props":1486,"children":1487},{},[1488],{"type":51,"value":1489},"Automatically sets up LibreOffice macro on first run",{"type":45,"tag":72,"props":1491,"children":1492},{},[1493],{"type":51,"value":1494},"Recalculates all formulas in all sheets",{"type":45,"tag":72,"props":1496,"children":1497},{},[1498],{"type":51,"value":1499},"Scans ALL cells for Excel errors (#REF!, #DIV\u002F0!, etc.)",{"type":45,"tag":72,"props":1501,"children":1502},{},[1503],{"type":51,"value":1504},"Returns JSON with detailed error locations and counts",{"type":45,"tag":72,"props":1506,"children":1507},{},[1508],{"type":51,"value":1509},"Works on both Linux and macOS",{"type":45,"tag":54,"props":1511,"children":1513},{"id":1512},"formula-verification-checklist",[1514],{"type":51,"value":1515},"Formula Verification Checklist",{"type":45,"tag":114,"props":1517,"children":1518},{},[1519],{"type":51,"value":1520},"Quick checks to ensure formulas work correctly:",{"type":45,"tag":61,"props":1522,"children":1524},{"id":1523},"essential-verification",[1525],{"type":51,"value":1526},"Essential Verification",{"type":45,"tag":68,"props":1528,"children":1531},{"className":1529},[1530],"contains-task-list",[1532,1551,1566],{"type":45,"tag":72,"props":1533,"children":1536},{"className":1534},[1535],"task-list-item",[1537,1542,1544,1549],{"type":45,"tag":1538,"props":1539,"children":1541},"input",{"disabled":492,"type":1540},"checkbox",[],{"type":51,"value":1543}," ",{"type":45,"tag":133,"props":1545,"children":1546},{},[1547],{"type":51,"value":1548},"Test 2-3 sample references",{"type":51,"value":1550},": Verify they pull correct values before building full model",{"type":45,"tag":72,"props":1552,"children":1554},{"className":1553},[1535],[1555,1558,1559,1564],{"type":45,"tag":1538,"props":1556,"children":1557},{"disabled":492,"type":1540},[],{"type":51,"value":1543},{"type":45,"tag":133,"props":1560,"children":1561},{},[1562],{"type":51,"value":1563},"Column mapping",{"type":51,"value":1565},": Confirm Excel columns match (e.g., column 64 = BL, not BK)",{"type":45,"tag":72,"props":1567,"children":1569},{"className":1568},[1535],[1570,1573,1574,1579],{"type":45,"tag":1538,"props":1571,"children":1572},{"disabled":492,"type":1540},[],{"type":51,"value":1543},{"type":45,"tag":133,"props":1575,"children":1576},{},[1577],{"type":51,"value":1578},"Row offset",{"type":51,"value":1580},": Remember Excel rows are 1-indexed (DataFrame row 5 = Excel row 6)",{"type":45,"tag":61,"props":1582,"children":1584},{"id":1583},"common-pitfalls",[1585],{"type":51,"value":1586},"Common Pitfalls",{"type":45,"tag":68,"props":1588,"children":1590},{"className":1589},[1530],[1591,1612,1627,1642,1665,1680],{"type":45,"tag":72,"props":1592,"children":1594},{"className":1593},[1535],[1595,1598,1599,1604,1606],{"type":45,"tag":1538,"props":1596,"children":1597},{"disabled":492,"type":1540},[],{"type":51,"value":1543},{"type":45,"tag":133,"props":1600,"children":1601},{},[1602],{"type":51,"value":1603},"NaN handling",{"type":51,"value":1605},": Check for null values with ",{"type":45,"tag":433,"props":1607,"children":1609},{"className":1608},[],[1610],{"type":51,"value":1611},"pd.notna()",{"type":45,"tag":72,"props":1613,"children":1615},{"className":1614},[1535],[1616,1619,1620,1625],{"type":45,"tag":1538,"props":1617,"children":1618},{"disabled":492,"type":1540},[],{"type":51,"value":1543},{"type":45,"tag":133,"props":1621,"children":1622},{},[1623],{"type":51,"value":1624},"Far-right columns",{"type":51,"value":1626},": FY data often in columns 50+",{"type":45,"tag":72,"props":1628,"children":1630},{"className":1629},[1535],[1631,1634,1635,1640],{"type":45,"tag":1538,"props":1632,"children":1633},{"disabled":492,"type":1540},[],{"type":51,"value":1543},{"type":45,"tag":133,"props":1636,"children":1637},{},[1638],{"type":51,"value":1639},"Multiple matches",{"type":51,"value":1641},": Search all occurrences, not just first",{"type":45,"tag":72,"props":1643,"children":1645},{"className":1644},[1535],[1646,1649,1650,1655,1657,1663],{"type":45,"tag":1538,"props":1647,"children":1648},{"disabled":492,"type":1540},[],{"type":51,"value":1543},{"type":45,"tag":133,"props":1651,"children":1652},{},[1653],{"type":51,"value":1654},"Division by zero",{"type":51,"value":1656},": Check denominators before using ",{"type":45,"tag":433,"props":1658,"children":1660},{"className":1659},[],[1661],{"type":51,"value":1662},"\u002F",{"type":51,"value":1664}," in formulas (#DIV\u002F0!)",{"type":45,"tag":72,"props":1666,"children":1668},{"className":1667},[1535],[1669,1672,1673,1678],{"type":45,"tag":1538,"props":1670,"children":1671},{"disabled":492,"type":1540},[],{"type":51,"value":1543},{"type":45,"tag":133,"props":1674,"children":1675},{},[1676],{"type":51,"value":1677},"Wrong references",{"type":51,"value":1679},": Verify all cell references point to intended cells (#REF!)",{"type":45,"tag":72,"props":1681,"children":1683},{"className":1682},[1535],[1684,1687,1688,1693],{"type":45,"tag":1538,"props":1685,"children":1686},{"disabled":492,"type":1540},[],{"type":51,"value":1543},{"type":45,"tag":133,"props":1689,"children":1690},{},[1691],{"type":51,"value":1692},"Cross-sheet references",{"type":51,"value":1694},": Use correct format (Sheet1!A1) for linking sheets",{"type":45,"tag":61,"props":1696,"children":1698},{"id":1697},"formula-testing-strategy",[1699],{"type":51,"value":1700},"Formula Testing Strategy",{"type":45,"tag":68,"props":1702,"children":1704},{"className":1703},[1530],[1705,1720,1735],{"type":45,"tag":72,"props":1706,"children":1708},{"className":1707},[1535],[1709,1712,1713,1718],{"type":45,"tag":1538,"props":1710,"children":1711},{"disabled":492,"type":1540},[],{"type":51,"value":1543},{"type":45,"tag":133,"props":1714,"children":1715},{},[1716],{"type":51,"value":1717},"Start small",{"type":51,"value":1719},": Test formulas on 2-3 cells before applying broadly",{"type":45,"tag":72,"props":1721,"children":1723},{"className":1722},[1535],[1724,1727,1728,1733],{"type":45,"tag":1538,"props":1725,"children":1726},{"disabled":492,"type":1540},[],{"type":51,"value":1543},{"type":45,"tag":133,"props":1729,"children":1730},{},[1731],{"type":51,"value":1732},"Verify dependencies",{"type":51,"value":1734},": Check all cells referenced in formulas exist",{"type":45,"tag":72,"props":1736,"children":1738},{"className":1737},[1535],[1739,1742,1743,1748],{"type":45,"tag":1538,"props":1740,"children":1741},{"disabled":492,"type":1540},[],{"type":51,"value":1543},{"type":45,"tag":133,"props":1744,"children":1745},{},[1746],{"type":51,"value":1747},"Test edge cases",{"type":51,"value":1749},": Include zero, negative, and very large values",{"type":45,"tag":61,"props":1751,"children":1753},{"id":1752},"interpreting-recalcpy-output",[1754],{"type":51,"value":1755},"Interpreting recalc.py Output",{"type":45,"tag":114,"props":1757,"children":1758},{},[1759],{"type":51,"value":1760},"The script returns JSON with error details:",{"type":45,"tag":466,"props":1762,"children":1766},{"className":1763,"code":1764,"language":1765,"meta":471,"style":471},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"status\": \"success\",           \u002F\u002F or \"errors_found\"\n  \"total_errors\": 0,              \u002F\u002F Total error count\n  \"total_formulas\": 42,           \u002F\u002F Number of formulas in file\n  \"error_summary\": {              \u002F\u002F Only present if errors found\n    \"#REF!\": {\n      \"count\": 2,\n      \"locations\": [\"Sheet1!B5\", \"Sheet1!C10\"]\n    }\n  }\n}\n","json",[1767],{"type":45,"tag":433,"props":1768,"children":1769},{"__ignoreMap":471},[1770,1778,1825,1859,1893,1922,1947,1978,2038,2046,2054],{"type":45,"tag":334,"props":1771,"children":1772},{"class":478,"line":479},[1773],{"type":45,"tag":334,"props":1774,"children":1775},{"style":1418},[1776],{"type":51,"value":1777},"{\n",{"type":45,"tag":334,"props":1779,"children":1780},{"class":478,"line":488},[1781,1786,1791,1795,1800,1805,1810,1814,1819],{"type":45,"tag":334,"props":1782,"children":1783},{"style":1418},[1784],{"type":51,"value":1785},"  \"",{"type":45,"tag":334,"props":1787,"children":1789},{"style":1788},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1790],{"type":51,"value":910},{"type":45,"tag":334,"props":1792,"children":1793},{"style":1418},[1794],{"type":51,"value":359},{"type":45,"tag":334,"props":1796,"children":1797},{"style":1418},[1798],{"type":51,"value":1799},":",{"type":45,"tag":334,"props":1801,"children":1802},{"style":1418},[1803],{"type":51,"value":1804}," \"",{"type":45,"tag":334,"props":1806,"children":1807},{"style":873},[1808],{"type":51,"value":1809},"success",{"type":45,"tag":334,"props":1811,"children":1812},{"style":1418},[1813],{"type":51,"value":359},{"type":45,"tag":334,"props":1815,"children":1816},{"style":1418},[1817],{"type":51,"value":1818},",",{"type":45,"tag":334,"props":1820,"children":1822},{"style":1821},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1823],{"type":51,"value":1824},"           \u002F\u002F or \"errors_found\"\n",{"type":45,"tag":334,"props":1826,"children":1827},{"class":478,"line":498},[1828,1832,1837,1841,1845,1850,1854],{"type":45,"tag":334,"props":1829,"children":1830},{"style":1418},[1831],{"type":51,"value":1785},{"type":45,"tag":334,"props":1833,"children":1834},{"style":1788},[1835],{"type":51,"value":1836},"total_errors",{"type":45,"tag":334,"props":1838,"children":1839},{"style":1418},[1840],{"type":51,"value":359},{"type":45,"tag":334,"props":1842,"children":1843},{"style":1418},[1844],{"type":51,"value":1799},{"type":45,"tag":334,"props":1846,"children":1847},{"style":1473},[1848],{"type":51,"value":1849}," 0",{"type":45,"tag":334,"props":1851,"children":1852},{"style":1418},[1853],{"type":51,"value":1818},{"type":45,"tag":334,"props":1855,"children":1856},{"style":1821},[1857],{"type":51,"value":1858},"              \u002F\u002F Total error count\n",{"type":45,"tag":334,"props":1860,"children":1861},{"class":478,"line":507},[1862,1866,1871,1875,1879,1884,1888],{"type":45,"tag":334,"props":1863,"children":1864},{"style":1418},[1865],{"type":51,"value":1785},{"type":45,"tag":334,"props":1867,"children":1868},{"style":1788},[1869],{"type":51,"value":1870},"total_formulas",{"type":45,"tag":334,"props":1872,"children":1873},{"style":1418},[1874],{"type":51,"value":359},{"type":45,"tag":334,"props":1876,"children":1877},{"style":1418},[1878],{"type":51,"value":1799},{"type":45,"tag":334,"props":1880,"children":1881},{"style":1473},[1882],{"type":51,"value":1883}," 42",{"type":45,"tag":334,"props":1885,"children":1886},{"style":1418},[1887],{"type":51,"value":1818},{"type":45,"tag":334,"props":1889,"children":1890},{"style":1821},[1891],{"type":51,"value":1892},"           \u002F\u002F Number of formulas in file\n",{"type":45,"tag":334,"props":1894,"children":1895},{"class":478,"line":516},[1896,1900,1904,1908,1912,1917],{"type":45,"tag":334,"props":1897,"children":1898},{"style":1418},[1899],{"type":51,"value":1785},{"type":45,"tag":334,"props":1901,"children":1902},{"style":1788},[1903],{"type":51,"value":926},{"type":45,"tag":334,"props":1905,"children":1906},{"style":1418},[1907],{"type":51,"value":359},{"type":45,"tag":334,"props":1909,"children":1910},{"style":1418},[1911],{"type":51,"value":1799},{"type":45,"tag":334,"props":1913,"children":1914},{"style":1418},[1915],{"type":51,"value":1916}," {",{"type":45,"tag":334,"props":1918,"children":1919},{"style":1821},[1920],{"type":51,"value":1921},"              \u002F\u002F Only present if errors found\n",{"type":45,"tag":334,"props":1923,"children":1924},{"class":478,"line":525},[1925,1930,1934,1938,1942],{"type":45,"tag":334,"props":1926,"children":1927},{"style":1418},[1928],{"type":51,"value":1929},"    \"",{"type":45,"tag":334,"props":1931,"children":1932},{"style":868},[1933],{"type":51,"value":950},{"type":45,"tag":334,"props":1935,"children":1936},{"style":1418},[1937],{"type":51,"value":359},{"type":45,"tag":334,"props":1939,"children":1940},{"style":1418},[1941],{"type":51,"value":1799},{"type":45,"tag":334,"props":1943,"children":1944},{"style":1418},[1945],{"type":51,"value":1946}," {\n",{"type":45,"tag":334,"props":1948,"children":1949},{"class":478,"line":533},[1950,1955,1960,1964,1968,1973],{"type":45,"tag":334,"props":1951,"children":1952},{"style":1418},[1953],{"type":51,"value":1954},"      \"",{"type":45,"tag":334,"props":1956,"children":1957},{"style":1473},[1958],{"type":51,"value":1959},"count",{"type":45,"tag":334,"props":1961,"children":1962},{"style":1418},[1963],{"type":51,"value":359},{"type":45,"tag":334,"props":1965,"children":1966},{"style":1418},[1967],{"type":51,"value":1799},{"type":45,"tag":334,"props":1969,"children":1970},{"style":1473},[1971],{"type":51,"value":1972}," 2",{"type":45,"tag":334,"props":1974,"children":1975},{"style":1418},[1976],{"type":51,"value":1977},",\n",{"type":45,"tag":334,"props":1979,"children":1980},{"class":478,"line":542},[1981,1985,1990,1994,1998,2003,2007,2012,2016,2020,2024,2029,2033],{"type":45,"tag":334,"props":1982,"children":1983},{"style":1418},[1984],{"type":51,"value":1954},{"type":45,"tag":334,"props":1986,"children":1987},{"style":1473},[1988],{"type":51,"value":1989},"locations",{"type":45,"tag":334,"props":1991,"children":1992},{"style":1418},[1993],{"type":51,"value":359},{"type":45,"tag":334,"props":1995,"children":1996},{"style":1418},[1997],{"type":51,"value":1799},{"type":45,"tag":334,"props":1999,"children":2000},{"style":1418},[2001],{"type":51,"value":2002}," [",{"type":45,"tag":334,"props":2004,"children":2005},{"style":1418},[2006],{"type":51,"value":359},{"type":45,"tag":334,"props":2008,"children":2009},{"style":873},[2010],{"type":51,"value":2011},"Sheet1!B5",{"type":45,"tag":334,"props":2013,"children":2014},{"style":1418},[2015],{"type":51,"value":359},{"type":45,"tag":334,"props":2017,"children":2018},{"style":1418},[2019],{"type":51,"value":1818},{"type":45,"tag":334,"props":2021,"children":2022},{"style":1418},[2023],{"type":51,"value":1804},{"type":45,"tag":334,"props":2025,"children":2026},{"style":873},[2027],{"type":51,"value":2028},"Sheet1!C10",{"type":45,"tag":334,"props":2030,"children":2031},{"style":1418},[2032],{"type":51,"value":359},{"type":45,"tag":334,"props":2034,"children":2035},{"style":1418},[2036],{"type":51,"value":2037},"]\n",{"type":45,"tag":334,"props":2039,"children":2040},{"class":478,"line":551},[2041],{"type":45,"tag":334,"props":2042,"children":2043},{"style":1418},[2044],{"type":51,"value":2045},"    }\n",{"type":45,"tag":334,"props":2047,"children":2048},{"class":478,"line":560},[2049],{"type":45,"tag":334,"props":2050,"children":2051},{"style":1418},[2052],{"type":51,"value":2053},"  }\n",{"type":45,"tag":334,"props":2055,"children":2056},{"class":478,"line":569},[2057],{"type":45,"tag":334,"props":2058,"children":2059},{"style":1418},[2060],{"type":51,"value":2061},"}\n",{"type":45,"tag":54,"props":2063,"children":2065},{"id":2064},"best-practices",[2066],{"type":51,"value":2067},"Best Practices",{"type":45,"tag":61,"props":2069,"children":2071},{"id":2070},"library-selection",[2072],{"type":51,"value":2073},"Library Selection",{"type":45,"tag":68,"props":2075,"children":2076},{},[2077,2086],{"type":45,"tag":72,"props":2078,"children":2079},{},[2080,2084],{"type":45,"tag":133,"props":2081,"children":2082},{},[2083],{"type":51,"value":462},{"type":51,"value":2085},": Best for data analysis, bulk operations, and simple data export",{"type":45,"tag":72,"props":2087,"children":2088},{},[2089,2094],{"type":45,"tag":133,"props":2090,"children":2091},{},[2092],{"type":51,"value":2093},"openpyxl",{"type":51,"value":2095},": Best for complex formatting, formulas, and Excel-specific features",{"type":45,"tag":61,"props":2097,"children":2099},{"id":2098},"working-with-openpyxl",[2100],{"type":51,"value":2101},"Working with openpyxl",{"type":45,"tag":68,"props":2103,"children":2104},{},[2105,2110,2129,2146,2167],{"type":45,"tag":72,"props":2106,"children":2107},{},[2108],{"type":51,"value":2109},"Cell indices are 1-based (row=1, column=1 refers to cell A1)",{"type":45,"tag":72,"props":2111,"children":2112},{},[2113,2115,2121,2123],{"type":51,"value":2114},"Use ",{"type":45,"tag":433,"props":2116,"children":2118},{"className":2117},[],[2119],{"type":51,"value":2120},"data_only=True",{"type":51,"value":2122}," to read calculated values: ",{"type":45,"tag":433,"props":2124,"children":2126},{"className":2125},[],[2127],{"type":51,"value":2128},"load_workbook('file.xlsx', data_only=True)",{"type":45,"tag":72,"props":2130,"children":2131},{},[2132,2137,2139,2144],{"type":45,"tag":133,"props":2133,"children":2134},{},[2135],{"type":51,"value":2136},"Warning",{"type":51,"value":2138},": If opened with ",{"type":45,"tag":433,"props":2140,"children":2142},{"className":2141},[],[2143],{"type":51,"value":2120},{"type":51,"value":2145}," and saved, formulas are replaced with values and permanently lost",{"type":45,"tag":72,"props":2147,"children":2148},{},[2149,2151,2157,2159,2165],{"type":51,"value":2150},"For large files: Use ",{"type":45,"tag":433,"props":2152,"children":2154},{"className":2153},[],[2155],{"type":51,"value":2156},"read_only=True",{"type":51,"value":2158}," for reading or ",{"type":45,"tag":433,"props":2160,"children":2162},{"className":2161},[],[2163],{"type":51,"value":2164},"write_only=True",{"type":51,"value":2166}," for writing",{"type":45,"tag":72,"props":2168,"children":2169},{},[2170],{"type":51,"value":2171},"Formulas are preserved but not evaluated - use recalc.py to update values",{"type":45,"tag":61,"props":2173,"children":2175},{"id":2174},"working-with-pandas",[2176],{"type":51,"value":2177},"Working with pandas",{"type":45,"tag":68,"props":2179,"children":2180},{},[2181,2192,2203],{"type":45,"tag":72,"props":2182,"children":2183},{},[2184,2186],{"type":51,"value":2185},"Specify data types to avoid inference issues: ",{"type":45,"tag":433,"props":2187,"children":2189},{"className":2188},[],[2190],{"type":51,"value":2191},"pd.read_excel('file.xlsx', dtype={'id': str})",{"type":45,"tag":72,"props":2193,"children":2194},{},[2195,2197],{"type":51,"value":2196},"For large files, read specific columns: ",{"type":45,"tag":433,"props":2198,"children":2200},{"className":2199},[],[2201],{"type":51,"value":2202},"pd.read_excel('file.xlsx', usecols=['A', 'C', 'E'])",{"type":45,"tag":72,"props":2204,"children":2205},{},[2206,2208],{"type":51,"value":2207},"Handle dates properly: ",{"type":45,"tag":433,"props":2209,"children":2211},{"className":2210},[],[2212],{"type":51,"value":2213},"pd.read_excel('file.xlsx', parse_dates=['date_column'])",{"type":45,"tag":54,"props":2215,"children":2217},{"id":2216},"code-style-guidelines",[2218],{"type":51,"value":2219},"Code Style Guidelines",{"type":45,"tag":114,"props":2221,"children":2222},{},[2223,2228],{"type":45,"tag":133,"props":2224,"children":2225},{},[2226],{"type":51,"value":2227},"IMPORTANT",{"type":51,"value":2229},": When generating Python code for Excel operations:",{"type":45,"tag":68,"props":2231,"children":2232},{},[2233,2238,2243],{"type":45,"tag":72,"props":2234,"children":2235},{},[2236],{"type":51,"value":2237},"Write minimal, concise Python code without unnecessary comments",{"type":45,"tag":72,"props":2239,"children":2240},{},[2241],{"type":51,"value":2242},"Avoid verbose variable names and redundant operations",{"type":45,"tag":72,"props":2244,"children":2245},{},[2246],{"type":51,"value":2247},"Avoid unnecessary print statements",{"type":45,"tag":114,"props":2249,"children":2250},{},[2251,2256],{"type":45,"tag":133,"props":2252,"children":2253},{},[2254],{"type":51,"value":2255},"For Excel files themselves",{"type":51,"value":1799},{"type":45,"tag":68,"props":2258,"children":2259},{},[2260,2265,2270],{"type":45,"tag":72,"props":2261,"children":2262},{},[2263],{"type":51,"value":2264},"Add comments to cells with complex formulas or important assumptions",{"type":45,"tag":72,"props":2266,"children":2267},{},[2268],{"type":51,"value":2269},"Document data sources for hardcoded values",{"type":45,"tag":72,"props":2271,"children":2272},{},[2273],{"type":51,"value":2274},"Include notes for key calculations and model sections",{"type":45,"tag":2276,"props":2277,"children":2278},"style",{},[2279],{"type":51,"value":2280},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2282,"total":1111},[2283,2302,2324,2338,2353,2369,2385],{"slug":2284,"name":2284,"fn":2285,"description":2286,"org":2287,"tags":2288,"stars":26,"repoUrl":27,"updatedAt":2301},"algorithmic-art","generate algorithmic art with p5.js","Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2289,2292,2295,2298],{"name":2290,"slug":2291,"type":16},"Creative","creative",{"name":2293,"slug":2294,"type":16},"Design","design",{"name":2296,"slug":2297,"type":16},"Generative Art","generative-art",{"name":2299,"slug":2300,"type":16},"Graphics","graphics","2026-07-16T06:02:02.834983",{"slug":2303,"name":2303,"fn":2304,"description":2305,"org":2306,"tags":2307,"stars":26,"repoUrl":27,"updatedAt":2323},"artifacts-builder","build complex React HTML artifacts","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2308,2311,2314,2317,2320],{"name":2309,"slug":2310,"type":16},"Frontend","frontend",{"name":2312,"slug":2313,"type":16},"HTML","html",{"name":2315,"slug":2316,"type":16},"React","react",{"name":2318,"slug":2319,"type":16},"shadcn\u002Fui","shadcn-ui",{"name":2321,"slug":2322,"type":16},"Tailwind CSS","tailwind-css","2026-07-13T06:17:37.887194",{"slug":2325,"name":2325,"fn":2326,"description":2327,"org":2328,"tags":2329,"stars":26,"repoUrl":27,"updatedAt":2337},"brand-guidelines","apply brand guidelines to documents","Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2330,2333,2334],{"name":2331,"slug":2332,"type":16},"Branding","branding",{"name":2293,"slug":2294,"type":16},{"name":2335,"slug":2336,"type":16},"Typography","typography","2026-07-13T06:17:36.624966",{"slug":2339,"name":2339,"fn":2340,"description":2341,"org":2342,"tags":2343,"stars":26,"repoUrl":27,"updatedAt":2352},"canvas-design","create visual art and design documents","Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2344,2345,2346,2349],{"name":2290,"slug":2291,"type":16},{"name":2293,"slug":2294,"type":16},{"name":2347,"slug":2348,"type":16},"Images","images",{"name":2350,"slug":2351,"type":16},"PDF","pdf","2026-07-16T06:01:59.313156",{"slug":2354,"name":2354,"fn":2355,"description":2356,"org":2357,"tags":2358,"stars":26,"repoUrl":27,"updatedAt":2368},"docx","create and edit Word documents","Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2359,2362,2364,2365],{"name":2360,"slug":2361,"type":16},"Documents","documents",{"name":2363,"slug":2354,"type":16},"DOCX",{"name":24,"slug":25,"type":16},{"name":2366,"slug":2367,"type":16},"Word","word","2026-07-13T06:17:51.582447",{"slug":2370,"name":2370,"fn":2371,"description":2372,"org":2373,"tags":2374,"stars":26,"repoUrl":27,"updatedAt":2384},"internal-comms","draft internal company communications","A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2375,2378,2381],{"name":2376,"slug":2377,"type":16},"Communications","communications",{"name":2379,"slug":2380,"type":16},"Operations","operations",{"name":2382,"slug":2383,"type":16},"Writing","writing","2026-07-13T06:17:28.861835",{"slug":2386,"name":2386,"fn":2387,"description":2388,"org":2389,"tags":2390,"stars":26,"repoUrl":27,"updatedAt":2400},"mcp-builder","build MCP servers for external integrations","Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node\u002FTypeScript (MCP SDK).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2391,2394,2397],{"name":2392,"slug":2393,"type":16},"Agents","agents",{"name":2395,"slug":2396,"type":16},"API Development","api-development",{"name":2398,"slug":2399,"type":16},"MCP","mcp","2026-07-13T06:17:18.339572",{"items":2402,"total":2585},[2403,2427,2439,2454,2469,2489,2505,2523,2536,2552,2565,2575],{"slug":2404,"name":2404,"fn":2405,"description":2406,"org":2407,"tags":2408,"stars":2424,"repoUrl":2425,"updatedAt":2426},"android-native-dev","develop Android native applications","Android native application development and UI design guide. Covers Material Design 3, Kotlin\u002FCompose development, project configuration, accessibility, and build troubleshooting. Read this before Android native application development.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2409,2412,2415,2418,2421],{"name":2410,"slug":2411,"type":16},"Accessibility","accessibility",{"name":2413,"slug":2414,"type":16},"Android","android",{"name":2416,"slug":2417,"type":16},"Kotlin","kotlin",{"name":2419,"slug":2420,"type":16},"Mobile","mobile",{"name":2422,"slug":2423,"type":16},"UI Components","ui-components",13030,"https:\u002F\u002Fgithub.com\u002FMiniMax-AI\u002Fskills","2026-07-13T06:16:54.247834",{"slug":2428,"name":2428,"fn":2429,"description":2430,"org":2431,"tags":2432,"stars":2424,"repoUrl":2425,"updatedAt":2438},"buddy-sings","generate singing performances for AI companions","Use when user wants their Claude Code pet (\u002Fbuddy) to sing a song. Triggers on any request that combines the concept of their Claude Code buddy, pet, or companion with singing or music. Supports multilingual triggers — match equivalent phrases in any language.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2433,2434,2437],{"name":2392,"slug":2393,"type":16},{"name":2435,"slug":2436,"type":16},"Audio","audio",{"name":2290,"slug":2291,"type":16},"2026-07-13T06:16:35.130644",{"slug":2440,"name":2440,"fn":2441,"description":2442,"org":2443,"tags":2444,"stars":2424,"repoUrl":2425,"updatedAt":2453},"color-font-skill","select color palettes and font pairings","Choose presentation-ready color palettes and font pairings for PPT\u002Fdesign tasks. Use when users ask for visual theme choices, brand-safe palettes, or font recommendations. Triggers include: 配色, 色板, 字体, color palette, font, PPT配色, 字体搭配.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2445,2446,2449,2452],{"name":2293,"slug":2294,"type":16},{"name":2447,"slug":2448,"type":16},"Presentations","presentations",{"name":2450,"slug":2451,"type":16},"Themes","themes",{"name":2335,"slug":2336,"type":16},"2026-07-13T06:17:02.785587",{"slug":2455,"name":2455,"fn":2456,"description":2457,"org":2458,"tags":2459,"stars":2424,"repoUrl":2425,"updatedAt":2468},"design-style-skill","select visual design systems for presentations","Select a consistent visual design system for PPT slides using radius\u002Fspacing style recipes. Use when users ask for overall style direction or component styling consistency. Includes Sharp\u002FSoft\u002FRounded\u002FPill recipes, component mappings, typography\u002Fspacing rules, and mixing guidance. Triggers: 风格, style, radius, spacing, 圆角, 间距, PPT风格, 视觉风格, design style, component style.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2460,2461,2464,2467],{"name":2293,"slug":2294,"type":16},{"name":2462,"slug":2463,"type":16},"Design System","design-system",{"name":2465,"slug":2466,"type":16},"PowerPoint","powerpoint",{"name":2447,"slug":2448,"type":16},"2026-07-13T06:17:10.398389",{"slug":2470,"name":2470,"fn":2471,"description":2472,"org":2473,"tags":2474,"stars":2424,"repoUrl":2425,"updatedAt":2488},"flutter-dev","build cross-platform apps with Flutter","Flutter cross-platform development guide covering widget patterns, Riverpod\u002FBloc state management, GoRouter navigation, performance optimization, and platform-specific implementations. Includes const optimization, responsive layouts, testing strategies, and DevTools profiling.\nUse when: building Flutter apps, implementing state management (Riverpod\u002FBloc), setting up GoRouter navigation, creating custom widgets, optimizing performance, writing widget tests, cross-platform development.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2475,2478,2481,2482,2485],{"name":2476,"slug":2477,"type":16},"Dart","dart",{"name":2479,"slug":2480,"type":16},"Flutter","flutter",{"name":2419,"slug":2420,"type":16},{"name":2483,"slug":2484,"type":16},"Performance","performance",{"name":2486,"slug":2487,"type":16},"State Management","state-management","2026-07-13T06:16:36.626679",{"slug":2490,"name":2490,"fn":2491,"description":2492,"org":2493,"tags":2494,"stars":2424,"repoUrl":2425,"updatedAt":2504},"frontend-dev","build visually striking frontend web pages","Full-stack frontend development combining premium UI design, cinematic animations,\nAI-generated media assets, persuasive copywriting, and visual art. Builds complete,\nvisually striking web pages with real media, advanced motion, and compelling copy.\nUse when: building landing pages, marketing sites, product pages, dashboards,\ngenerating media assets (image\u002Fvideo\u002Faudio\u002Fmusic), writing conversion copy,\ncreating generative art, or implementing cinematic scroll animations.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2495,2498,2499,2500,2501],{"name":2496,"slug":2497,"type":16},"Animation","animation",{"name":2290,"slug":2291,"type":16},{"name":2293,"slug":2294,"type":16},{"name":2309,"slug":2310,"type":16},{"name":2502,"slug":2503,"type":16},"Web Development","web-development","2026-07-13T06:16:39.108827",{"slug":2506,"name":2506,"fn":2507,"description":2508,"org":2509,"tags":2510,"stars":2424,"repoUrl":2425,"updatedAt":2522},"fullstack-dev","build full-stack web applications","Full-stack backend architecture and frontend-backend integration guide.\nTRIGGER when: building a full-stack app, creating REST API with frontend, scaffolding backend service,\nbuilding todo app, building CRUD app, building real-time app, building chat app,\nExpress + React, Next.js API, Node.js backend, Python backend, Go backend,\ndesigning service layers, implementing error handling, managing config\u002Fauth,\nsetting up API clients, implementing auth flows, handling file uploads,\nadding real-time features (SSE\u002FWebSocket), hardening for production.\nDO NOT TRIGGER when: pure frontend UI work, pure CSS\u002Fstyling, database schema only.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2511,2514,2515,2518,2521],{"name":2512,"slug":2513,"type":16},"Backend","backend",{"name":2309,"slug":2310,"type":16},{"name":2516,"slug":2517,"type":16},"Full-stack","full-stack",{"name":2519,"slug":2520,"type":16},"REST API","rest-api",{"name":2502,"slug":2503,"type":16},"2026-07-13T06:16:43.219005",{"slug":2524,"name":2524,"fn":2525,"description":2526,"org":2527,"tags":2528,"stars":2424,"repoUrl":2425,"updatedAt":2535},"gif-sticker-maker","create animated GIF stickers from photos","Convert photos (people, pets, objects, logos) into 4 animated GIF stickers with captions.\nUse when: user wants to create cartoon stickers, GIF expressions, emoji packs, animated avatars,\nor convert photos to Funko Pop \u002F Pop Mart blind box style animations.\nTriggers: sticker, GIF, cartoon, emoji, expression pack, avatar animation.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2529,2530,2531,2532],{"name":2496,"slug":2497,"type":16},{"name":2290,"slug":2291,"type":16},{"name":2347,"slug":2348,"type":16},{"name":2533,"slug":2534,"type":16},"Media","media","2026-07-13T06:16:51.74461",{"slug":2537,"name":2537,"fn":2538,"description":2539,"org":2540,"tags":2541,"stars":2424,"repoUrl":2425,"updatedAt":2551},"ios-application-dev","develop iOS applications with SwiftUI and UIKit","iOS application development guide covering UIKit, SnapKit, and SwiftUI. Includes touch targets, safe areas, navigation patterns, Dynamic Type, Dark Mode, accessibility, collection views, common UI components, and SwiftUI design guidelines. For detailed references on specific topics, see the reference files.\nUse when: developing iOS apps, implementing UI, reviewing iOS code, working with UIKit\u002FSnapKit\u002FSwiftUI layouts, building iPhone interfaces, Swift mobile development, Apple HIG compliance, iOS accessibility implementation.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2542,2543,2546,2547,2550],{"name":2410,"slug":2411,"type":16},{"name":2544,"slug":2545,"type":16},"iOS","ios",{"name":2419,"slug":2420,"type":16},{"name":2548,"slug":2549,"type":16},"SwiftUI","swiftui",{"name":2422,"slug":2423,"type":16},"2026-07-13T06:16:55.686092",{"slug":2553,"name":2553,"fn":2554,"description":2555,"org":2556,"tags":2557,"stars":2424,"repoUrl":2425,"updatedAt":2564},"minimax-docx","create and edit DOCX documents","Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET). Three pipelines: (A) create new documents from scratch, (B) fill\u002Fedit content in existing documents, (C) apply template formatting with XSD validation gate-check. MUST use this skill whenever the user wants to produce, modify, or format a Word document — including when they say \"write a report\", \"draft a proposal\", \"make a contract\", \"fill in this form\", \"reformat to match this template\", or any task whose final output is a .docx file. Even if the user doesn't mention \"docx\" explicitly, if the task implies a printable\u002Fformal document, use this skill.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2558,2559,2560,2561],{"name":2360,"slug":2361,"type":16},{"name":2363,"slug":2354,"type":16},{"name":24,"slug":25,"type":16},{"name":2562,"slug":2563,"type":16},"Templates","templates","2026-07-13T06:16:40.461868",{"slug":2566,"name":2566,"fn":2567,"description":2568,"org":2569,"tags":2570,"stars":2424,"repoUrl":2425,"updatedAt":2574},"minimax-music-gen","generate music and audio tracks","Use when user wants to generate music, songs, or audio tracks. Triggers on any request involving music creation, song writing, lyrics generation, audio production, or covers. Also triggers when user provides lyrics and wants them turned into a song, or describes a mood\u002Fscene and wants background music. Supports multilingual triggers — match equivalent phrases in any language. Do NOT use for music playback of existing files, music theory questions, or music recommendation without generation.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2571,2572,2573],{"name":2435,"slug":2436,"type":16},{"name":2290,"slug":2291,"type":16},{"name":2533,"slug":2534,"type":16},"2026-07-13T06:16:50.381758",{"slug":2576,"name":2576,"fn":2577,"description":2578,"org":2579,"tags":2580,"stars":2424,"repoUrl":2425,"updatedAt":2584},"minimax-music-playlist","generate personalized music playlists","Generate personalized music playlists by analyzing the user's music taste and generation feedback history. Triggers on any request involving playlist generation, music taste profiling, or personalized music recommendations. Supports multilingual triggers — match equivalent phrases in any language.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2581,2582,2583],{"name":2435,"slug":2436,"type":16},{"name":2290,"slug":2291,"type":16},{"name":2533,"slug":2534,"type":16},"2026-07-13T06:16:57.002997",37]