tui-tester

द्वारा google-gemini

टर्मिनल ऑटोमेशन का उपयोग करके Gemini CLI व्यवहार और दृश्य आउटपुट के परीक्षण के लिए विशेषज्ञ मार्गदर्शन।

npx skills add https://github.com/google-gemini/gemini-cli --skill tui-tester

TUI Tester Skill

This skill provides the operational manual for verifying Gemini CLI behavioral changes and visual output using terminal automation.

Core Responsibilities

  • Verify Behavior: Confirm that code changes result in the expected terminal interactions.
  • Visual Validation: Ensure the TUI renders correctly across different terminal sizes and states.
  • Regression Testing: Use automation to prevent breaking existing interactive workflows.

Critical Protocol

When performing TUI testing, you must adhere to these strict rules:

1. Initialization

YOUR ABSOLUTE FIRST ACTION MUST BE: Activate the agent-tui skill. This provides the underlying tools needed for terminal automation.

2. Environment Setup (macOS / Parallel Safe)

Ensure the global daemon is running and the live preview is open:

if ! agent-tui sessions >/dev/null 2>&1; then
  tmux kill-session -t agent-tui 2>/dev/null || true
  agent-tui daemon stop 2>/dev/null || true
  rm -f /tmp/agent-tui*
  tmux new-session -d -s agent-tui 'agent-tui daemon start --foreground > /tmp/agent-tui-daemon.log 2>&1'
  sleep 1
fi
agent-tui live start --open

3. Session Management

  • Session IDs: Always use the session_id returned by agent-tui run for subsequent interactions.
  • Atomic Execution: Execute exactly one command per turn. Do not pipeline actions.
  • The Loop: Action -> Wait -> Screenshot -> Verify -> Next Action.

4. Gemini CLI Specifics

  • Build First: Always run npm run build or npm run build:all before testing local changes.
  • Bypass Trust: Set GEMINI_CLI_TRUST_WORKSPACE=true to avoid focus-stealing modals.
  • Isolate Config: Use GEMINI_CLI_HOME to prevent interference with your personal settings.

Workflow Example

# Start the CLI
env GEMINI_CLI_TRUST_WORKSPACE=true agent-tui run node packages/cli/dist/index.js

# Wait for the prompt
agent-tui wait "│" --assert

# Send a command
agent-tui type "/help"
agent-tui press Enter

# Verify output
agent-tui wait "Available Commands" --assert

Error Recovery

If a wait times out, take a fresh screenshot to diagnose the state. If you see os error 61, restart the daemon using the tmux method.

google-gemini की और Skills

agent-tui
google-gemini
Main Agents: Do NOT use this skill directly. If you need to test the TUI, invoke the `tui_tester` subagent. Drive terminal UI (TUI) applications…
gemini-api-cli
google-gemini
Gemini API CLI टूल का उपयोग करने के लिए मार्गदर्शिका। इसका उपयोग तब करें जब आपको कमांड लाइन के माध्यम से Gemini API से संवाद करना हो, एजेंट प्रबंधित करने हों, या मीडिया (चित्र, …) उत्पन्न करना हो।
behavioral-evals
google-gemini
व्यवहारिक मूल्यांकन बनाने, चलाने, ठीक करने और बढ़ावा देने के लिए मार्गदर्शन। एजेंट निर्णय तर्क को सत्यापित करने, विफलताओं को डीबग करने, प्रॉम्प्ट को डीबग करने के दौरान उपयोग करें…
gemini-live-api-dev
google-gemini
जेमिनी के साथ वेबसॉकेट पर ऑडियो, वीडियो और टेक्स्ट वार्तालापों के लिए रीयल-टाइम द्विदिश स्ट्रीमिंग। ऑडियो इनपुट/आउटपुट (16 kHz PCM), वीडियो फ्रेम, टेक्स्ट और व्यवधान प्रबंधन के लिए वॉयस एक्टिविटी डिटेक्शन के साथ स्वचालित ट्रांसक्रिप्शन का समर्थन करता है। इसमें मूल ऑडियो सुविधाएँ शामिल हैं: भावात्मक संवाद, सक्रिय ऑडियो और विचार मोड; सिंक्रोनस और एसिंक्रोनस
gemini-omni-flash-api
google-gemini
जनरेटिव वीडियो संपादन, टेक्स्ट-टू-वीडियो, इमेज-रेफरेंस्ड वीडियो जनरेशन, और फर्स्ट-फ्रेम-टू-वीडियो ट्रांज़िशन एनिमेशन के लिए इस स्किल का उपयोग करें...
gemini-api-dev
google-gemini
Google के Gemini मॉडल के साथ एप्लिकेशन बनाएं, जो Python, JavaScript, Go और Java में मल्टीमॉडल कंटेंट, फंक्शन कॉलिंग और स्ट्रक्चर्ड आउटपुट को सपोर्ट करता है। 1M टोकन कॉन्टेक्स्ट के साथ वर्तमान Gemini 3 मॉडल (Pro, Flash, Pro Image) तक पहुंचें; लीगेसी Gemini 2.x और 1.5 मॉडल डिप्रीकेटेड हैं। टेक्स्ट जनरेशन, इमेज/ऑडियो/वीडियो समझ, फंक्शन कॉलिंग, स्ट्रक्चर्ड JSON आउटपुट, कोड एक्जी
gemini-interactions-api
google-gemini
Gemini मॉडल और एजेंटों के लिए एकीकृत इंटरफ़ेस, जिसमें सर्वर-साइड स्थिति, स्ट्रीमिंग और टूल ऑर्केस्ट्रेशन शामिल है। कई वर्तमान मॉडलों (gemini-3-flash-preview, gemini-3-pro-preview, gemini-2.5-flash/pro) और डीप रिसर्च एजेंट का समर्थन करता है; पुराने मॉडल आईडी को स्वचालित रूप से वर्तमान विकल्पों से बदल देता है। मैन्युअल इतिहास प्रबंधन के बिना स्टेटफुल मल्टी-टर्न इंटरैक्शन के लिए previous_interaction_id के माध्य
deliver
google-gemini
ब्रिफिंग का संक्षिप्त संस्करण Google Chat या Slack इनकमिंग वेबहुक पर पोस्ट करता है, ताकि दैनिक रन स्वयं वितरित हो जाए — जब कोई वेबहुक न हो तो चुपचाप छोड़ देता है…