Skip to content

[FEATURE] Add CSV export skill for data collection workflows #24

@edenreich

Description

@edenreich

Summary

Add a new skill write_to_csv that enables the agent to export extracted data to CSV files. This would complement the existing extract_data skill to enable complete data collection workflows, such as collecting prices from websites and saving them to structured files.

Acceptance Criteria

  • Add write_to_csv skill definition to agent.yaml
  • Implement CSV writing functionality that accepts structured data (arrays/objects)
  • Support custom CSV headers and file paths
  • Handle both creating new CSV files and appending to existing ones
  • Provide proper error handling for file operations
  • Include validation for data format compatibility with CSV structure
  • Add documentation and examples for the new skill
  • Test integration with extract_data skill for end-to-end workflows

Example Use Case

Enable queries like: "Please collect all the prices from X website and write them to a CSV file" by chaining:

  1. navigate_to_url → navigate to target website
  2. extract_data → collect pricing data
  3. write_to_csv → export data to structured file

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions