subagent-cli

Community

Delegate complex coding to external AI via Bash

Authorxuiltul
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a safe, repeatable way to delegate complex, multi-file coding, review, and refactoring tasks to external AI agent CLIs via Bash while retaining the host agent's identity, memory, and decision logic.

Core Features & Use Cases

  • Tool orchestration and fallback: Prefer codex exec, fall back to cursor-agent -p, then claude -p with cost limits and sandboxing flags.
  • Workspace-targeted execution: Enforces explicit workspace directory, captures stdout/stderr or writes outputs to files, and recommends git-based workflows for change tracking.
  • Background execution and resilience: Uses nohup, timeout, and PID checks to run long tasks asynchronously and avoid blocking the host agent.
  • Safety and audit: Recommends ephemeral sessions, sandboxed workspace-write, prompt hygiene, and post-run git diff checks.
  • Use case: Delegate a multi-file refactor, unit test generation, or a comprehensive code review that requires a dedicated external coding agent.

Quick Start

Run a background codex exec targeting the project workspace with --full-auto and --ephemeral, saving the agent output to a result file and using a timeout to prevent runaway execution.

Dependency Matrix

Required Modules

None required

Components

Standard package

đź’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: subagent-cli
Download link: https://github.com/xuiltul/animaworks/archive/main.zip#subagent-cli

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.