CLI Tools & Hot-Reloading
Extension AuthoringCLI Tools & Hot-Reloading

CLI Tools & Hot-Reloading

Developer shell scripts, instant manifest validation, and ~2s local hot-reloading.

Agent Prompt

Copy instruction prompt for Cursor, Claude, Antigravity, or ChatGPT.

OpenClip includes shell scripts in scripts/ to streamline creating, validating, and installing extensions:

Scaffolding New Extensions

Terminal
# Scaffold a new JavaScript extension
./scripts/new_extension.sh "Markdown Tools" --type js

# Scaffold a URL template extension
./scripts/new_extension.sh "Reddit Search" --type url

# Scaffold a group extension with sub-actions
./scripts/new_extension.sh "Formatting Suite" --type group

Offline Manifest Validation

Validate an extension bundle against all manifest rules without launching the application:

Terminal
./scripts/validate_extension.sh ./Extensions/raw/MarkdownTools.openclipext

Extension Installation & Hot Reloading

Terminal
# Validates and copies package to ~/.openclip/extensions
./scripts/install_extension.sh ./Extensions/raw/MarkdownTools.openclipext

Automatic 2-Second Hot-Reloading

OpenClip monitors ~/.openclip/extensions with file system event watchers. Any new, modified, or removed extension is detected and reloaded into the action registry in real-time within ~2 seconds without restarting the app.