gemini-cli-runner

Executes Gemini CLI subprocesses with enforced timeouts and logged errors.

1|1|Updated Jul 24, 2014
One-click install
npx skills add https://github.com/rmanzoku/dotfiles --skill gemini-cli-runner-rmanzoku
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-cli-runner
Source: https://github.com/rmanzoku/dotfiles/tree/main/skills/gemini-cli-runner
Command: npx skills add https://github.com/rmanzoku/dotfiles --skill gemini-cli-runner-rmanzoku

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gemini-cli, python, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a fail-safe, observability-enhanced environment to run Gemini CLI subprocesses, addressing concerns such as timeouts, model preservation, and failure handling.

Core Features & Use Cases

  • Observable Logs: Stream-json logs offer transparency and facilitate debugging.
  • Timeout Controls: Set time limits to ensure tasks do not exceed a designated runtime.
  • Config-Preserving: preserves user-defined model preferences and approval controls.
  • Artifact-Based Handling: Ensures task outcomes are recorded and verifiable.
  • Use Case: Use this Skill to automate repetitive Gemini CLI tasks while ensuring reliability and observability.

Quick Start

Use the gemini-cli-runner skill to execute the 'gemini -p "source_prompt"' command and handle any errors.

Frequently Asked Questions about gemini-cli-runner

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

FAQPage Schema
How do I run Gemini CLI subprocesses with timeout controls and error recovery?

To run Gemini CLI subprocesses with timeout controls and error recovery, execute commands within an observability-enhanced environment that enforces runtime limits, preserves model configurations, and documents errors for further analysis.

What is the best way to automate repetitive Gemini CLI tasks while ensuring reliability?

Automating repetitive Gemini CLI tasks requires a fail-safe environment that produces verifiable artifacts, uses stream-json logs for transparency, and handles failures systematically to ensure overall workflow reliability.

Why does my Gemini CLI automation fail without observable logs or artifacts?

Gemini CLI automation fails without observable logs or artifacts because standard execution lacks strict observability, meaning timeouts are not enforced and task outcomes are not recorded for debugging and verification.

Do I need Python and gemini-cli installed to use subprocess automation with artifact logging?

Yes, you need Python and the gemini-cli package installed to use subprocess automation with artifact logging, as these dependencies provide the foundational runtime environment and command-line interface.

Can I preserve user-defined model preferences and approval controls during Gemini CLI automation?

You can preserve user-defined model preferences and approval controls during Gemini CLI automation by using a config-preserving runner that maintains your settings while executing subprocesses.

What are the limitations of running Gemini CLI without strict subprocess timeout handling?

Running Gemini CLI without strict subprocess timeout handling risks tasks exceeding designated runtimes, lacking documented error recovery, and failing to produce verifiable artifacts for automation workflows.