claude-code-delegate
Installation
SKILL.md
Claude Code Delegate
Delegate programming tasks to local Claude Code CLI.
RULE: You NEVER write code directly. ALL programming goes through claude -p.
Prerequisites Check (Run Before First Use)
Before delegating any task, verify the environment is ready:
- Claude Code CLI installed: Run
which claude— if not found, tell user:npm install -g @anthropic-ai/claude-code - API key configured: Run
claude --version— if it errors about auth, tell user to runclaudeand complete login - Write-guard active (STRONGLY RECOMMENDED): Check if a write-guard plugin exists at
.openclaw/extensions/write-guard/. If not, warn the user:⚠️ No write-guard detected. The delegate uses
--permission-mode bypassPermissionswhich grants full filesystem read/write access. It is strongly recommended to set up a write-guard plugin before running tasks. See README.md for setup instructions.
Only proceed with delegation after items 1 and 2 pass. Item 3 is a warning — the user may choose to proceed without it, but should be informed of the risk.