universal-remote-control: Instructions file for Claude Code

GEMINI.md

universal-remote-control GEMINI.md is an instructions file for Claude Code, 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 Claude CodeGemini CLI

Written for Claude Code and Gemini CLI: PostToolUse hook event, but also the file is GEMINI.md. Also seen: mentions Claude Code; mentions Codex; mentions Gemini CLI.

This is sidkandan/universal-remote-control's own configuration. It tells Claude Code and Gemini CLI how to work on universal-remote-control itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything universal-remote-control configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sidkandan/universal-remote-control. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sidkandan/universal-remote-control/master/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/sidkandan/universal-remote-control

Made for: Claude Code, 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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for universal-remote-control GEMINI.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.03182 $0.03182
Opus 5.5 $0.01273 $0.01273
Sonnet 5.5 $0.00636 $0.00636
Haiku 4.5 $0.00318 $0.00318

Measured 1mo ago against content hash eacfd46d4d20, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (14 stars, last pushed 1mo ago), licensed MIT. It adds 3,182 tokens to every session, about $0.0127 per session on Opus 5.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.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,786 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens