cli-discuss-agent

cli-discuss-agent is an agent for Claude Code from catlog22/Claude-Code-Workflow. It costs 42 tokens per session (2,910 once invoked), scanned A, original, MIT.

A discussion agent that compares analyses from several command-line tools and combines them into a proposed solution.

In plain words
What is it for?
It supports initial, iterative, and verification discussions, cross-checks findings from Gemini, Codex, and Qwen, and ranks synthesized approaches.
Why use it?
It helps expose disagreements between analyses and identify conclusions supported by multiple perspectives.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Codex.

Good fit It supports initial, iterative, and verification discussions, cross-checks findings from Gemini, Codex, and Qwen, and ranks synthesized approaches.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/catlog22/claude-code-workflow/cli-discuss-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/catlog22/Claude-Code-Workflow

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cli-discuss-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/catlog22/claude-code-workflow/cli-discuss-agent/github.svg)](https://agentmods.dev/agents/catlog22/claude-code-workflow/cli-discuss-agent)
Your own site
<a href="https://agentmods.dev/agents/catlog22/claude-code-workflow/cli-discuss-agent"><img src="https://agentmods.dev/badge/agents/catlog22/claude-code-workflow/cli-discuss-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cli-discuss-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/catlog22/claude-code-workflow/cli-discuss-agent"><img src="https://agentmods.dev/badge/agents/catlog22/claude-code-workflow/cli-discuss-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,910 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.02910
Opus 5.5 $0.00017 $0.01164
Sonnet 5.5 $0.00008 $0.00582
Haiku 4.5 $0.00004 $0.00291

Measured 3mo ago against content hash 3010b402ed32, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cli-discuss-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/cli-discuss-agent.md · 392 lines

How it starts

The opening of the file, as written. The whole thing — 392 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a specialized CLI discussion agent that orchestrates multiple CLI tools to analyze tasks, cross-verify findings, and synthesize structured solutions.

Core Capabilities

  1. Multi-CLI Orchestration - Invoke Gemini, Codex, Qwen for diverse perspectives
  2. Cross-Verification - Compare findings, identify agreements/disagreements
  3. Solution Synthesis - Merge approaches, score and rank by consensus
  4. Context Enrichment - ACE semantic search for supplementary context

Discussion Modes:

  • initial → First round, establish baseline analysis (parallel execution)
  • iterative → Build on previous rounds with user feedback (parallel + resume)
  • verification → Cross-verify specific approaches (serial execution)

5-Phase Execution Workflow

Phase 1: Context Preparation
    ↓ Parse input, enrich with ACE if needed, create round folder
Phase 2: Multi-CLI Execution
    ↓ Build prompts, execute CLIs with fallback chain, parse outputs
Phase 3: Cross-Verification
    ↓ Compare findings, identify agreements/disagreements, resolve conflicts
Phase 4: Solution Synthesis
    ↓ Extract approaches, merge similar, score and rank top 3
Phase 5: Output Generation
    ↓ Calculate convergence, generate questions, write synthesis.json

Input Schema

From orchestrator (may be JSON strings):

  • task_description - User's task or requirement
  • round_number - Current discussion round (1, 2, 3...)
  • session - { id, folder } for output paths
  • ace_context - { relevant_files[], detected_patterns[], architecture_insights }
  • previous_rounds - Array of prior SynthesisResult (optional)
  • user_feedback - User's feedback from last round (optional)
  • cli_config - { tools[], timeout, fallback_chain[], mode } (optional)
    • tools: Default ['gemini', 'codex'] or ['gemini', 'codex', 'claude']
    • fallback_chain: Default ['gemini', 'codex', 'claude']
    • mode: 'parallel' (default) or 'serial'

Output Schema

Output Path: {session.folder}/rounds/{round_number}/synthesis.json

Read the full file on GitHub · 392 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 392 lines · 42 tokens per session scan A 3010b402ed32

Subscribe to this mod's changes

cli-discuss-agent is an agent published in the GitHub repository catlog22/Claude-Code-Workflow (2,110 stars, last pushed 5mo ago), licensed MIT. It adds 42 tokens to every session and 2,910 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

cli-discuss-agent compared with agents from other repositories

cli-discuss-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cli-discuss-agentcatlog22/Claude-Code-WorkflowAgent2.1k5mo agoMITA42Claude Code
human-3-coachbl1nk-bot/bl1nk-agents-managerAgent828d agoMITA32Claude Code
implement-test-diversifiereai-support/eai-goferAgent17d agoApache-2.0A19Claude Code
agent-organizerqdhenry/Claude-Command-SuiteAgent1.4k9mo agononeA66Claude Code
nix-reviewerthoreinstein/beads-workflowAgent118mo agononeA28Claude Code
prompt-engineerthoreinstein/beads-workflowAgent118mo agononeA41Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code