Skip to content

discussion-moderator

by official

Discussion

Discussion facilitator and orchestrator

discussion utility orchestrated-discussions
# discussion-moderator

Discussion facilitator and orchestrator

## Installation

This is a CmdForge tool. Install it via the CmdForge registry:

```bash
cmdforge install discussion-moderator
```

Or create it manually using `cmdforge create`.

## Usage

Pipe discussion context or topics into the tool:

```bash
# Basic usage
echo "Should we refactor the authentication system?" | discussion-moderator

# With specific callout
echo "API design discussion" | discussion-moderator --callout "@architect what patterns should we use?"

# Custom participants
echo "Database schema changes" | discussion-moderator --participants "dba,backend,frontend"

# With logging
echo "Migration strategy" | discussion-moderator --log-file discussion.log

# Custom templates directory
echo "Performance optimization" | discussion-moderator --templates-dir ./custom-templates
```

## Arguments

| Flag | Default | Description |
|------|---------|-------------|
| `--callout` | (empty) | Specific question or @mention context |
| `--templates-dir` | `templates` | Path to templates directory |
| `--participants` | `architect,security,pragmatist` | Comma-separated list of expected participants |
| `--log-file` | (empty) | Path to log file for progress updates |

## How It Works

This tool uses a 2-step pipeline:

1. **Code Step**: Analyzes the input discussion topic and prepares phase context with participant information and templates
2. **Prompt Step**: Uses Claude Sonnet to generate moderated discussion responses based on the analysis and context

The tool orchestrates multi-participant discussions by managing context, facilitating responses, and tracking conversation flow.

## Dependencies

None

No reviews yet.

Issues

No issues reported for this tool.