Summary
Claude Code process starts but is immediately killed with SIGKILL when launched via the coding-agent skill, preventing any output or execution.
Steps to reproduce
- Install Claude Code via Homebrew:
brew install claude-code
- Try to run Claude Code via the coding-agent skill in background mode
- Command used:
claude -p "Say 'Hello World'"
- Process starts but is killed with SIGKILL within seconds
Expected behavior
Claude Code should start, process the prompt, and return output.
Actual behavior
- Process starts successfully
- No output is captured
- Process is terminated with SIGKILL
- No files are created
- Multiple attempts with different flags (
-p, --output-format json) yield the same result
- Process monitoring shows: "Process exited with signal SIGKILL"
Environment
- Clawdbot version: 2026.1.12-2
- OS: Darwin 25.2.0 (arm64) - macOS on Mac mini
- Install method: Claude Code installed via Homebrew at
/opt/homebrew/bin/claude
- Claude Code version: 2.1.5 (Claude Code)
Logs or screenshots
# Test 1: Interactive mode (background)
cd ~/Desktop/claude-code-test && claude "Create a simple hello.sh script..."
Result: Process starts, no output, killed with SIGKILL
# Test 2: Print mode with JSON output
claude -p --output-format json "Say 'Hello World'"
Result: Process starts, no output, killed with SIGKILL
# Working commands:
claude --help ✓ (works correctly)
claude --version ✓ (returns: 2.1.5 (Claude Code))
# Process checks:
ps aux | grep claude (no processes found)
ls -la ~/Desktop/claude-code-test/ (empty directory)
Additional observations
claude --help and claude --version work correctly
- No configuration directory found at
~/.config/claude-code/
- Running claude without background mode works for simple commands but not for prompts requiring AI interaction
- Multiple test attempts all end with SIGKILL within 5-10 seconds
- Test directory
~/Desktop/claude-code-test/ remains empty after attempted execution
Summary
Claude Code process starts but is immediately killed with SIGKILL when launched via the coding-agent skill, preventing any output or execution.
Steps to reproduce
brew install claude-codeclaude -p "Say 'Hello World'"Expected behavior
Claude Code should start, process the prompt, and return output.
Actual behavior
-p,--output-format json) yield the same resultEnvironment
/opt/homebrew/bin/claudeLogs or screenshots
Additional observations
claude --helpandclaude --versionwork correctly~/.config/claude-code/~/Desktop/claude-code-test/remains empty after attempted execution