# Gemini CLI Runtime

> Internal helper contract for calling the Gemini companion runtime from Claude Code Use when this capability is needed.

- Skill: `tomevault-io/gemini-cli-runtime-4` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/gemini-cli-runtime-4`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/gemini-cli-runtime-4/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/gemini-cli-runtime-4

---


# Gemini CLI Runtime Contract

Primary helper:

```bash
node "${CLAUDE_PLUGIN_ROOT}/scripts/gemini-companion.mjs" task "<raw arguments>"
```

## Execution rules

- Use this in the `gemini:gemini-rescue` subagent only.
- Single call per rescue request.
- May use `gemini-prompting` to tighten prompt before call.
- Do not inspect the repo, solve tasks, or analyze.
- Return stdout unchanged.

## Flags

| Flag | Behavior |
|------|----------|
| `--write` | Default add (write-capable) |
| `-m <model>` | Pass through (pro/flash/flash-lite/auto) |
| `--background` | Strip — handled by Claude Code execution |
| `--wait` | Strip — handled by Claude Code execution |

## Output handling

Return the full stdout of the companion script verbatim. Do not parse, summarize, or reformat it.

---
> Source: [rsecss/gemini-plugin-cc](https://github.com/rsecss/gemini-plugin-cc) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-16 -->

