xl-extract
Extract Excel worksheets as CSV-formatted .txt files from workbooks or folders
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Extract Excel worksheets as CSV-formatted .txt files from workbooks or folders
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | xl-extract |
| description | Extract Excel worksheets as CSV-formatted .txt files from workbooks or folders |
Extract each worksheet from Excel workbooks as a CSV-formatted .txt file, placed alongside the source file. Accepts a folder (recursive) or a single .xlsx/.xls file.
When the user asks to extract or convert Excel spreadsheets to CSV or text, run the following command:
dotnet run "${CLAUDE_SKILL_DIR}/xl-extract.cs" <rootFolder|file.xlsx>
${CLAUDE_SKILL_DIR} resolves to this skill's directory regardless of where it's installed. Replace the argument with the absolute or relative path to a directory or a single Excel file.
.xlsx and .xls file under the given directory and all subfolders.<workbookname>-<sheetname>.txt in the same directory as the source workbook."".[OK], [SKIP], or [ERROR].Scanning: /data/spreadsheets
[OK] /data/spreadsheets/Budget.xlsx :: Q1 Sales
[OK] /data/spreadsheets/Budget.xlsx :: Q2 Sales
[SKIP] /data/spreadsheets/Budget.xlsx :: Summary
[ERROR] /data/spreadsheets/Locked.xlsx :: Sheet1
InvalidOperationException: The workbook is password protected.
Done. Total: 2 | Processed: 2 | Skipped: 1 | Errors: 1
dotnet available on the PATH.ClosedXML@0.102.3 NuGet package is restored automatically on first run..txt output files)..xlsm macro-enabled workbooks are opened in read-only mode; macros are not executed.[ERROR] entry and be skipped.