execute_claude_script
Automatically detect and execute Python scripts from Claude LLM for bioinformatics analysis, with auto-installation of dependencies and generation of HTML reports including execution logs.
Instructions
🚀 MAIN TOOL: Automatically detect and execute Python scripts generated by Claude LLM for bioinformatics tasks. Features: ✅ Auto-detects Python installation ✅ Provides detailed installation guide if Python missing ✅ Auto-installs required packages (pandas, numpy, biopython, etc.) ✅ Full execution logging and error handling ✅ Script length monitoring (recommends ≤100 lines) ✅ HTML report generation with auto-browser opening
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| claude_response | Yes | The full response from Claude LLM that may contain Python scripts | |
| workflow_id | No | Optional workflow ID to associate with this execution | |
| execution_context | No | Context about what the script is supposed to do |