universal-remote-control GEMINI.md

universal-remote-control GEMINI.md is an instructions file for Gemini CLI from sidkandan/universal-remote-control. It costs 3,182 tokens per session, scanned C, original, MIT.

Repository guidance for Universal Remote Control, which lets Claude Code, Codex, and Gemini communicate between terminal panels through shared coordination tools.

In plain words
What is it for?
Use it when sending messages between agent sessions, controlling a Gemini panel from Claude Code, or setting up the `/rc` and `/rc-bridge` workflows.
Why use it?
It explains the message relay, shared state, pane setup, and available coordination tools needed to pass messages between command-line agents.

Instructions file for Gemini CLI

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/sidkandan/universal-remote-control/gemini-md
Clone the repo
git clone --depth 1 https://github.com/sidkandan/universal-remote-control

Made for: Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for universal-remote-control GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sidkandan/universal-remote-control/gemini-md.svg)](https://agentmods.dev/instructions/sidkandan/universal-remote-control/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/sidkandan/universal-remote-control/gemini-md"><img src="https://agentmods.dev/badge/instructions/sidkandan/universal-remote-control/gemini-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,182 This file is loaded in full into every session.
When invoked 3,182 The same file — it is already loaded in full.
Security scan C 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.03182 $0.03182
Opus 5 $0.01591 $0.01591
Sonnet 5 $0.00636 $0.00636
Haiku 4.5 $0.00318 $0.00318

Measured 3d ago against content hash eacfd46d4d20, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

universal-remote-control GEMINI.md scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- This file contains instructions for Gemini CLI agents. For human documentation, see README.md -->
GEMINI.md · 177 lines

How it starts

The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.

URC — CLI-to-CLI Communication & RC Bridge

What This Is

URC enables cross-CLI communication between Claude Code, Codex, and Gemini panes via MCP tools backed by a shared SQLite coordination database.

RC Bridge

The RC Bridge makes this Gemini pane controllable from the Claude Code phone app. A Haiku relay pane forwards messages between the phone app and this pane.

How it works:

  1. A Claude Code relay pane runs the rc-bridge agent (Haiku model)
  2. It's pre-configured with target pane ID and CLI type via tmux pane options (set by urc-spawn.sh)
  3. State is stored in tmux pane options (@bridge_target, @bridge_cli, @bridge_relays)
  4. Phone message -> relay hook dispatches to this pane via send.sh -> your response is captured by hook.sh and written to a push file -> relay picks it up on next wake and displays it verbatim on phone

Launch: Use /rc command in this Gemini pane, or /rc-bridge gemini from Claude Code.

Available MCP Tools (urc_coordination — 11 tools)

Note: Gemini CLI uses underscores in MCP server names (urc_coordination) instead of hyphens (urc-coordination) — this is a Gemini CLI naming convention requirement. The naming is transparent: just use mcp__urc_coordination__tool_name() syntax. The MCP server is urc/core/server.py.

NEVER run python3 urc/core/server.py as a shell command — it is an MCP server, not a CLI tool.

Tool Purpose
register_agent Register this pane in the coordination DB
heartbeat Send a heartbeat with context usage
get_fleet_status List all registered agents
rename_agent Set a display label for a pane
dispatch_to_pane Send a message to a tmux pane via send.sh
read_pane_output Capture recent output from a pane's buffer
send_message Send a message to another agent (use notify=true to include wake nudge)
receive_messages Get unread messages
kill_pane Kill a tmux pane (requires explicit confirmation)
cancel_dispatch SIGINT target + clear signals + unblock waiting dispatcher
bootstrap_validate Validate CWD/directories/hook/tmux setup

Read the full file on GitHub · 177 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 177 lines · 3,182 tokens per session scan C eacfd46d4d20

Subscribe to this mod's changes

universal-remote-control GEMINI.md is an instructions file published in the GitHub repository sidkandan/universal-remote-control (13 stars, last pushed 5mo ago), licensed MIT. It adds 3,182 tokens to every session, about $0.0159 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.