تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

expanso-csv-to-json

بواسطة aronchick

PDF & Documents
662التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

"Convert CSV data to JSON array of objects".

الوصف

ما الذي تفعله هذه المهارة

Converts CSV data into a JSON array of objects. Runs as a standalone CLI pipeline via stdin or as an MCP server. Can also be deployed to Expanso Cloud.

Runs as either a CLI pipeline or MCP server without writing custom parsing code, making it reusable across different integration patterns.

متى تستخدمها

  • Converting exported spreadsheet data for use in a REST API
  • Transforming database CSV exports for JavaScript applications
  • Migrating CSV config files to JSON format
  • Processing CSV reports for ingestion into a web dashboard
  • Feeding tabular data into JSON-based automation workflows

مثال على سير العمل

الإدخال

User asks: Convert this sales_data.csv to JSON

الوكيل
  1. 1

    Receives CSV content via stdin

  2. 2

    Runs expanso-edge with pipeline-cli.yaml

  3. 3

    Parses CSV rows into key-value objects using column headers as keys

  4. 4

    Outputs a JSON array

الإخراج

A JSON array where each element is an object with keys matching the CSV column headers

المتطلبات

  • Expanso Edge binary installed via: clawhub install expanso-edge

التثبيت

clawhub install aronchick/expanso-csv-to-json

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط