Skip to content
Development
Hook

Hooks

What urc runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

Install
$ npx -y skills add sidkandan/universal-remote-control --agent claude-code

Ships with urc. Installing the plugin gets these hooks.

What fires, and when

UserPromptSubmit

Fires before Claude sees each prompt you send. A plugin can use it to inject context, so the same instruction reaches the model every turn instead of only at session start.

  • Runs urc-intercept.sh.

Stop

  • Runs hook.sh.

SessionStart

Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.

  • Runs plugin-setup.sh.
Read hooks/hooks.json
Ships withurc

Control Codex and Gemini from the Claude App on your phone. You know /remote-control — the Claude Code feature that lets you control a session from the Claude App on your phone. URC makes it universal. One command, and your phone controls Codex.

Get the whole plugin, auto-invoked
Stats
13
Stars
0
Views
3
Forks
Maintained
Maintenance
Shell
Language
MIT
License
4mo ago
Last commit
5mo ago
Created

Repo: sidkandan/universal-remote-control