GE
gemini-runtime
Gemini CLI runtime/session control: use Gemini CLI slash commands and CLI flags to manage sessions, models, and restarts in a worker terminal. Trigger when the controller needs to operate the Gemini CLI like a human.
Install
mkdir -p .claude/skills/gemini-runtime && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13638" && unzip -o skill.zip -d .claude/skills/gemini-runtime && rm skill.zipInstalls to .claude/skills/gemini-runtime
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Gemini CLI runtime/session control: use Gemini CLI slash commands and CLI flags to manage sessions, models, and restarts in a worker terminal. Trigger when the controller needs to operate the Gemini CLI like a human.216 chars✓ has a “when” trigger
About this skill
Gemini Runtime
Overview
Operate the Gemini CLI safely: manage session state, model selection, and restarts from a worker terminal.
Session Safety
- Confirm idle state
- Snapshot and/or
statusthe worker; do not intervene mid-run. - Only proceed when the worker is at a prompt or explicitly idle.
- Prefer in-session resets
- Use
/clearto reset the current conversation. - Use
/rewindto go back to a previous step. - Use
/statsor/contextto confirm state.
- Full reset (only between tasks)
- Use
/quit(or/exit) to leave the CLI. - Relaunch with appropriate flags when a fresh context is needed.
Core Slash Commands (Gemini CLI)
Use /help to see the full list. Common commands:
/modelselect a model./resumeresume a saved session./restorerestore a previous state./chatmanage chat sessions./clearreset the current conversation./contextshow current context./statsshow session stats./settingsopen settings./privacyview privacy info./policiesview policies./bugfile a bug./vimtoggle vim mode./rewindstep backward in the session./quitor/exitexit the CLI.
Resume / Continue (Shell)
gemini --resume <SESSION_ID>orgemini -r <SESSION_ID>resume a session.gemini --list-sessionslist available sessions.gemini --delete-session <SESSION_ID>delete a session by index.
Guardrails
- Do not restart mid-run.
- Prefer
/clearor/rewindover full restarts when possible. - Use
/statsor/contextafter model changes to confirm state. - If the worker is not Gemini CLI, switch to the model-specific runtime skill instead.