agent-cli

Delegate coding tasks to alternative AI agent CLIs with session persistence.

3|2|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/yoonhwan/ai-feature-pack --skill agent-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-cli
Source: https://github.com/yoonhwan/ai-feature-pack/tree/main/feature-pack/agent-cli
Command: npx skills add https://github.com/yoonhwan/ai-feature-pack --skill agent-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires perl, python3, and includes scripts (resource) and references (resource) components.

What problem does it solve?

When using an AI coding agent, you often need a second opinion, adversarial review, or specialized design input from a different model. Switching sessions breaks flow and loses context. This skill enables you to delegate tasks to other AI coding CLIs—Claude Code, Codex, Gemini, OpenCode, and Cursor Agent—directly from your current session, maintaining workflow continuity through non-interactive execution, persona injection, and session resume chains.

Core Features & Use Cases

  • Cross-CLI Delegation: Launch other AI coding agents non-interactively for second opinions, adversarial validation (DA), design critique, architecture review, or cross-checking without leaving your session.
  • Persona Injection: Instantly assign specialized roles—Devil's Advocate, designer, or architect—by injecting system prompts into delegated agents for targeted output.
  • Session Persistence: Resume previous cross-model conversations using session IDs, enabling multi-round Q&A, human-in-the-loop refinement, and progressive decision-making across different AI providers.
  • Environment Validation: Automatically detect your OS (macOS, Linux, WSL) and available CLIs, with built-in self-test scripts that verify non-interactive execution, autonomous driving flags, and resume functionality with timeout protection.

Quick Start

Use the agent-cli skill to delegate the current code review to Codex in DA mode for adversarial validation and resume the session with follow-up questions.

Frequently Asked Questions about agent-cli

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

FAQPage Schema
How do I get a code review from a different AI CLI without losing my current session context?

Cross-CLI delegation enables you to launch alternative AI coding agents non-interactively for code review or adversarial validation directly from your current session, maintaining workflow continuity without context switching. It supports session persistence for multi-round follow-ups.

Can I run Gemini or Codex non-interactively to cross-check code from within another agent?

Yes, you can run Gemini, Codex, Claude Code, OpenCode, or Cursor Agent non-interactively to cross-check code. The delegation mechanism applies autonomous driving flags and timeout protection via process group SIGKILL to ensure execution completes safely.

How does persona injection work when delegating tasks to other AI coding agents?

Persona injection works by injecting specialized system prompts into delegated agents, instantly assigning roles like Devil's Advocate, designer, or architect for targeted output. This enables adversarial validation, design critique, and architecture review workflows.

Does cross-model session resume support macOS, Linux, and WSL environments?

Cross-model session resume supports macOS, Linux, and WSL environments. Built-in environment validation automatically detects your OS and available CLIs, running self-test scripts to verify non-interactive execution and resume functionality.

Do I need perl and python3 installed to delegate tasks to alternative AI agent CLIs?

Yes, perl and python3 are required dependencies to run the delegation scripts. These components handle non-interactive execution, autonomous driving flags, and environment validation across supported platforms.

What's the best way to perform adversarial validation across different AI models for architecture review?

The best way to perform adversarial validation is delegating tasks to alternative AI agent CLIs with persona injection and session resume chains. This enables progressive decision-making and human-in-the-loop refinement across different AI providers without manual context switching.