Gemini CLI Runtime

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

tomevault-io Updated

File contents

Gemini CLI Runtime Contract

Primary helper:

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 — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/rsecss--gemini-plugin-cc--gemini-cli-runtime commit baa1b4452f

Frequently asked questions

npx skillmds@latest add tomevault-io/gemini-cli-runtime-4