AI Agent CLI Invoker

•
1
•

Standardizes the invocation of third-party AI coding CLIs as non-interactive subprocesses for multi-agent workflows.

The invoke-agent skill provides a robust reference library for programmatically calling various AI agents—including Claude, Gemini, Codex, Kimi, and Cursor—within a CLI-based environment. Designed for multi-agent debate and consensus systems, it manages the complexities of non-interactive execution, including installation verification, prompt passing via stdin or temporary files, ANSI code stripping, and structured log management. This ensures that subagents can reliably communicate with diverse AI models while maintaining strict resource budgets and standardized error-handling protocols.

주요 기능

01Built-in ANSI stripping and log sanitization for clean, structured results
02Robust failure classification and retry logic based on exit codes
03Standardized playbooks for major AI coding CLIs like Claude, Gemini, and Cursor
04Non-interactive subprocess execution with automated input/output handling
05Portable timeout wrapping to manage execution budgets across different OS environments
061 GitHub stars

사용 사례

01Automating complex coding tasks that require specific capabilities of different AI CLI tools
02Creating standardized wrappers for third-party AI CLIs within custom developer automation workflows
03Orchestrating multi-agent debates between different AI models to find optimal coding solutions