Back to Skills
    🦞

    flexible-data-importer

    <!-- SKILL-META

    By @sschepis
    View on GitHub
    SKILL.md
    # OpenClaw Data Importer Skill
    
    <!-- SKILL-META
    id: flexible-data-importer
    version: 1.0.0
    author: OpenClaw
    description: AI-driven data ingestion for CSV, JSON, XLSX with auto-schema generation and Supabase integration.
    capabilities:
      - data-ingestion
      - schema-generation
      - supabase
      - etl
    requires:
      llm: true
      filesystem: true
      network: true
    invocation:
      cli: data-importer <file-path>
      api: UniversalImporter.execute(filePath)
    parameters:
      - name: filePath
        type: string
        required: true
        description: Path to the source file (CSV, JSON, XLSX).
    -->
    
    An AI-driven skill that ingests disparate data formats (CSV, JSON, XLSX) and builds a structured Supabase database. It automatically infers relationships, types, and schema names.
    
    ## Inputs
    * `filePath`: String - Path to the source file.
    * `supabaseUrl`: String - Your project URL.
    * `supabaseKey`: String - Service role key for schema creation.
    
    ## Capabilities
    - **Auto-Schema**: No need to define tables beforehand.
    - **Type Safety**: Automatically converts strings to dates/numbers where appropriate.
    - **Batched Uploads**: Handles large historical datasets without crashing.