ai-cli

Aggregate outputs from multiple CLI-backed LLMs into a single result.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/EndUser123/cc-marketplace --skill ai-cli-enduser123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-cli
Source: https://github.com/EndUser123/cc-marketplace/tree/main/plugins/cc-skills-ai-cli/skills/ai-cli
Command: npx skills add https://github.com/EndUser123/cc-marketplace --skill ai-cli-enduser123

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyyaml, python-dotenv, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Consolidate outputs from multiple CLI-backed LLMs into a single, aggregated result.

Core Features & Use Cases

  • Parallel invocation of qwen, gemini, codex, and opencode CLIs, with aggregated outputs and a unified transcript.
  • Optional quality gate and critic subagent to evaluate outputs for confidence, consistency, and evidence.
  • Config-driven defaults and routing rules to select CLIs based on query intent.

Quick Start

Run the /ai-cli with your query to execute all CLIs in parallel and return an aggregated result.

Frequently Asked Questions about ai-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I consolidate outputs from multiple LLM CLIs into a single result?

You can consolidate multiple LLM CLI outputs by running parallel invocations of models like qwen, gemini, and codex, then aggregating them into a unified transcript. The ai-cli Skill routes queries via keyword rules and merges results automatically.

What is cross-model validation and how does an aggregated LLM output work?

Cross-model validation compares responses from multiple LLMs to ensure consistency. An aggregated LLM output works by running CLIs in parallel, combining their responses, and optionally applying a critic subagent to evaluate confidence and evidence.

How do I route queries to specific LLM CLIs based on intent?

You route queries to specific LLM CLIs using config-driven defaults and keyword-based routing rules. This allows the aggregation layer to select appropriate CLIs like qwen or gemini dynamically based on your query intent.

Do I need pyyaml and python-dotenv to aggregate CLI-backed LLM responses?

Yes, you need pyyaml and python-dotenv dependencies to aggregate CLI-backed LLM responses. These libraries support config-driven defaults and environment variable loading required for routing rules and parallel CLI execution.

Can I evaluate LLM aggregation confidence using a critic subagent?

Yes, you can evaluate aggregation confidence using an optional ai-cli-critic subagent. This quality gate evaluates parallel LLM outputs for confidence, consistency, and evidence before returning the final consolidated JSON output.

What are the limitations of parallel LLM CLI invocation for consolidated results?

Limitations of parallel LLM CLI invocation include dependency on external CLIs like opencode and codex, requiring keyword-based routing rules for selection. Consolidated results depend on the availability and response quality of the configured backend models.