# Comfy Pr Bot CLI

> Unified command-line interface for all ComfyPR bot capabilities including GitHub PR creation, Slack messaging, and Notion search. Use when the user wants to access any bot functionality through a single unified command.

- Skill: `comfy-org/comfy-pr-bot-cli` (Agent Skill)
- Install (CLI): `npx skillmds@latest add comfy-org/comfy-pr-bot-cli`
- Raw SKILL.md: https://api.skillmd.com/api/skills/comfy-org/comfy-pr-bot-cli/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: Comfy-Org (https://skillmd.com/u/comfy-org)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/comfy-org/comfy-pr-bot-cli

---


# PR-Bot Unified CLI

This skill provides a unified command-line interface for all ComfyPR bot capabilities.

## Available Commands

### Code PR Creation (Automatic)

```bash
prbot code pr -r <OWNER/REPO> [-b <BRANCH>] -p "<PROMPT>"
prbot github pr -r <OWNER/REPO> [-b <BRANCH>] -p "<PROMPT>"  # Alias
prbot pr -r <OWNER/REPO> [-b <BRANCH>] -p "<PROMPT>"  # Short alias
```

**Options:**

- `-r, --repo`: Repository in format `owner/repo` (required)
- `-b, --branch`: Target branch (default: `main`)
- `-p, --prompt`: Coding task description (required)

### Code Search

```bash
prbot code search -q "<QUERY>" [--repo <REPO>] [--path <PATH>]
```

**Options:**

- `-q, --query`: Search query (required)
- `--repo`: Filter by repository (optional)
- `--path`: Filter by file path pattern (optional)

### GitHub Issue Search

```bash
prbot github-issue search -q "<QUERY>" [-l <LIMIT>]
```

**Options:**

- `-q, --query`: Search query (required)
- `-l, --limit`: Maximum number of results (default: 10)

### Slack Message Update

```bash
prbot slack update -c <CHANNEL_ID> -t <TIMESTAMP> -m "<MESSAGE>"
```

**Options:**

- `-c, --channel`: Slack channel ID (required)
- `-t, --ts`: Message timestamp (required)
- `-m, --text`: New message text (required)

### Slack Thread Reader

```bash
prbot slack read-thread -c <CHANNEL_ID> -t <TIMESTAMP> [-l <LIMIT>]
```

**Options:**

- `-c, --channel`: Slack channel ID (required)
- `-t, --ts`: Thread timestamp (required)
- `-l, --limit`: Max messages to retrieve (default: 100)

### Notion Search

```bash
prbot notion search -q "<QUERY>" [-l <LIMIT>]
```

**Options:**

- `-q, --query`: Search terms (required)
- `-l, --limit`: Max results (default: 10)

### Registry Search

```bash
prbot registry search -q "<QUERY>" [-l <LIMIT>] [--include-deprecated]
```

**Options:**

- `-q, --query`: Search query for custom nodes (required)
- `-l, --limit`: Maximum number of results (default: 10)
- `--include-deprecated`: Include deprecated nodes (default: false)

## Examples

```bash
# Create automatic PR for bug fix
prbot code pr -r Comfy-Org/ComfyUI -b main -p "Fix auth bug in login"

# Search ComfyUI code
prbot code search -q "binarization" --repo Comfy-Org/ComfyUI

# Search GitHub issues
prbot github-issue search -q "is:open label:bug" -l 5

# Search ComfyUI custom nodes registry
prbot registry search -q "video" -l 5

# Update Slack message
prbot slack update -c C123 -t 1234567890.123456 -m "Working on it"

# Read Slack thread
prbot slack read-thread -c C123 -t 1234567890.123456

# Search Notion docs
prbot notion search -q "ComfyUI setup" -l 5
```

## Notes

- This is the recommended way to access all bot functionality
- Globally linked as `pr-bot` command
- Run `prbot --help` for full command documentation
- Each subcommand has its own `--help` option

