一键导入
data-formats
Reading, writing, and converting common data formats (CSV, Excel, JSON, YAML) with correct handling of encoding, types, and edge cases.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Reading, writing, and converting common data formats (CSV, Excel, JSON, YAML) with correct handling of encoding, types, and edge cases.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Keyboard shortcuts for common desktop applications — LibreOffice, GIMP, Chrome, Thunderbird, VS Code.
When to prefer GUI mouse clicks over keyboard shortcuts — especially for formatting, multi-step visual tasks, and cross-application workflows.
General GUI navigation patterns for desktop environments — finding elements, interacting with menus, and handling dialogs.
How to interpret accessibility tree elements and correlate them with screenshot regions for accurate GUI interaction.
Verification patterns to confirm task completion before submitting. Read this before calling submit().
Workarounds for bot detection, CAPTCHA, 403 errors, and Cloudflare challenges when browsing the web.
| name | data-formats |
| description | Reading, writing, and converting common data formats (CSV, Excel, JSON, YAML) with correct handling of encoding, types, and edge cases. |
import pandas as pd
df = pd.read_excel('input.xlsx', engine='openpyxl')
# Check what you got
print(df.columns.tolist())
print(df.dtypes)
print(df.head())
df.to_excel('output.xlsx', index=False, engine='openpyxl')
openpyxl writes formula strings but does NOT compute them. Verifiers read VALUES, not formulas.
Problem: Cell with =SUM(A1:A3) shows as 0 or #N/A when read back.
Solutions (in order of preference):
ssconvert --recalc file.xlsx file.xlsxlibreoffice --headless --calc --convert-to xlsx file.xlsx2025 vs string "2025" breaks MATCH/VLOOKUPpip3 install --break-system-packages openpyxl xlsxwriterpd.ExcelFile('input.xlsx').sheet_namespd.read_excel('input.xlsx', sheet_name='Sheet2')import pandas as pd
# Always specify encoding
df = pd.read_csv('input.csv', encoding='utf-8')
# Check for issues
print(f"Shape: {df.shape}")
print(f"Columns: {df.columns.tolist()}")
print(df.head())
# Write
df.to_csv('output.csv', index=False, encoding='utf-8')
; or \t — check with head -2 file.csvencoding='latin-1' if utf-8 failsheader=Nonedtype=str to read everything as strings firstimport json
with open('input.json', encoding='utf-8') as f:
data = json.load(f)
# Write with proper formatting
with open('output.json', 'w', encoding='utf-8') as f:
json.dump(data, f, indent=2, ensure_ascii=False)
# Install: pip3 install --break-system-packages pyyaml
import yaml
with open('input.yaml') as f:
data = yaml.safe_load(f)
df.fillna(0) or df.dropna()round(value, N) for expected decimal places