Claude Delegate
Use this skill to delegate coding tasks to Claude Code. It simplifies the process by providing the correct command structure for non-interactive execution.
Usage
To delegate a task to Claude Code, use the exec tool with the bash command, specifying the working directory and the task as a string. Claude Code will run with --print --permission-mode bypassPermissions automatically.
bash workdir:/path/to/project command:"claude --permission-mode bypassPermissions --print 'your coding task here'"
Examples
-
build a feature:
bash workdir:~/projects/my-app command:"claude --permission-mode bypassPermissions --print 'build a user authentication module'" -
refactor a module:
bash workdir:~/projects/my-lib command:"claude --permission-mode bypassPermissions --print 'refactor the data processing module for better performance'" -
review a pull request:
bash workdir:/tmp/pr-review command:"claude --permission-mode bypassPermissions --print 'review the changes in pull request #123 and provide feedback'"