execute-task
Execute development tasks using Claude Code AI to interpret natural language requests, autonomously perform actions like reading files, editing code, and running commands to complete programming objectives.
Instructions
IMPORTANT: This is an AI programming assistant tool, NOT a direct shell command executor.
This tool spawns Claude Code (an AI coding agent) as a subprocess to complete development tasks. Claude Code will interpret your natural language request and autonomously decide which actions to take (reading files, editing code, running commands, etc.) to accomplish the goal.
What it does:
Accepts natural language task descriptions
Claude Code AI figures out how to complete the task
Returns the AI's response and actions taken
What it does NOT do:
NOT a direct shell/bash command executor
Does NOT return raw stdout/stderr from commands
For direct command execution, use the Bash tool instead
Example usage:
"Create a REST API endpoint for user authentication"
"Debug why the tests are failing"
"Refactor the user module to use TypeScript"
The returned output is Claude Code's conversational response, not raw command output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Natural language task description for Claude Code AI. This is NOT a direct shell command executor. Claude Code is an AI programming assistant that will interpret your request and use its own tools (Read, Edit, Bash, etc.) to complete the task. Example: "Create a README file" or "Fix the bug in login.js" or "Run the tests and report results" | |
| workingDirectory | No | The working directory for Claude Code execution. Defaults to the current workspace directory if not specified. | |
| timeout | No | Timeout in seconds (max 3600) | |
| additionalArgs | No | Additional CLI arguments for Claude Code |