🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Feishu calendar sync, local ics to json data for AI agent

by @goog

Convert ICS calendar files to JSON format for importing, exporting, or processing Feishu calendar events and data integration.

Versionv1.0.1
Downloads797
TERMINAL
clawhub install feishu-candy

πŸ“– About This Skill


name: feishu-candy description: Convert ICS (iCalendar) files to JSON for Feishu calendar integration. Use when user needs to import calendar events from ICS format, export Feishu calendar to JSON, or process calendar files for Feishu calendar apps. Triggers on: ICS to JSON conversion, calendar file parsing, Feishu calendar data transformation.

Feishu Calendar Candy

Convert ICS calendar files to JSON format for Feishu calendar integration.

requirement

install vdirsyncer and setup calendar sync

Quick Start

Run the conversion script:

python scripts/ics2json.py  [-o output.json] [--split]

Arguments

  • input_dir - Directory containing .ics files (required)
  • -o, --output - Output JSON file (default: output.json)
  • --split - Output one JSON per ICS file instead of merging
  • Examples

    Merge all ICS files into one JSON:

    python scripts/ics2json.py ./calendars -o events.json
    

    Split each ICS into separate JSON:

    python scripts/ics2json.py ./calendars --split
    

    Output Format

    Each event contains:

  • uid - Unique event identifier
  • summary - Event title
  • status - Event status
  • organizer - Organizer info
  • start - Start time (ISO format)
  • end - End time (ISO format)
  • alarms - List of reminders/triggers
  • πŸ’‘ Examples

    Merge all ICS files into one JSON:

    python scripts/ics2json.py ./calendars -o events.json
    

    Split each ICS into separate JSON:

    python scripts/ics2json.py ./calendars --split