/crawl4ai:update
Check for and apply updates to the Crawl4AI plugin and SDK.
Instructions
- •
Check current versions:
- •Read the installed plugin version:
cat ~/.claude/plugins/cache/crawl4ai-claude-plugins/crawl4ai/*/. claude-plugin/plugin.json 2>/dev/nulland extract theversionfield. - •Check the installed SDK version:
python3 -c "import crawl4ai_cloud; print(crawl4ai_cloud.__version__)" - •If the SDK is not installed, note that.
- •Read the installed plugin version:
- •
Check for plugin updates: Run:
code/plugin marketplace update crawl4ai-claude-plugins
This refreshes the marketplace catalog from the remote repository.
- •
Check if plugin needs reinstall: After the marketplace update, compare the installed version with the latest available. If different, tell the user:
codePlugin update available: v{old} → v{new} Run: /plugin uninstall crawl4ai@crawl4ai-claude-plugins Then: /plugin install crawl4ai@crawl4ai-claude-plugins - •
Update the SDK: Run:
bashpip3 install --upgrade crawl4ai-cloud-sdk[claude]
Report the new version after upgrade.
- •
If using local mode, also update crawl4ai: Check current config mode:
cat ~/.crawl4ai/claude_config.jsonIf mode is "local":bashpip3 install --upgrade crawl4ai
- •
Report summary: Tell the user what was updated and whether a Claude Code restart is needed (restart is needed if the plugin version changed).