Skip to content

[Bug]: Claude Code process killed with SIGKILL when launched via coding-agent skill #910

@YuriNachos

Description

@YuriNachos

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

  1. Install Claude Code via Homebrew: brew install claude-code
  2. Try to run Claude Code via the coding-agent skill in background mode
  3. Command used: claude -p "Say 'Hello World'"
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions