# claude-code-delegate

Quick start:

```bash
python3 Skills/claude-code-delegate/scripts/setup.py
python3 Skills/claude-code-delegate/scripts/claude_delegate.py create-session --repo /home/workspace
python3 Skills/claude-code-delegate/scripts/claude_delegate.py create-prompt --session-id <session-id> --text "your detailed coding task"
delegate-claude-code -p <session-id>/<prompt-id>
```

Smoke test:

```bash
runuser -u claude -- claude --dangerously-skip-permissions -p "Reply with exactly: delegate-ok"
```

Session ops:

```bash
python3 Skills/claude-code-delegate/scripts/claude_delegate.py list-sessions
python3 Skills/claude-code-delegate/scripts/claude_delegate.py close-session <session-id>
tmux attach -t claude-delegate-<session-id>
```

If setup says Claude is not logged in, sign in manually in the Zo terminal with:

```bash
claude auth login
```
