modal-function-sync

Installation
SKILL.md

Modal Function Sync

Overview

Use this skill to add or modify Modal functions in modal_functions, register them, and locally sync the generated client into win.

Auto-generation rules

  • modal_functions is the source of truth; never implement Modal entrypoints directly in win.
  • services/modal/client_generated.py is generated from the modal_functions registry; do not edit it by hand.
  • Sync is local-first from the sibling checkout with scripts/local/sync_win_modal_client.sh.
  • Check drift without mutating win with scripts/local/check_win_modal_client_drift.sh.
  • CI validates and deploys Modal functions; it does not commit generated client files into win.
  • Generate locally to tmp/client_generated.py for fast validation without dirtying win.
  • Generate into ../win/services/modal/client_generated.py through the local sync wrapper before testing win wrappers/call sites.
  • Stable Modal runtime secrets should default to the Key Vault -> manifest -> Modal sync flow, not one-off manual Modal secret updates.

Workflow

Installs
13
GitHub Stars
22
First Seen
Jun 11, 2026
modal-function-sync — wisdom-in-a-nutshell/agents