ailinks:

cmux/rules

Add a rule

Opens cmux with a named rule ready to add.

macos · updated 2026-07-13

Format

cmux://rules?name={name}&text={text}
webhttps://cmux.com/deeplink/rules?name={name}&text={text}

Try it

cmux://rules?name=freestyle&text=Prefer%20small%20PRsOpen

What you supply

{name}

What to call the rule.

{text}

The rule's content — the standing instruction for agents in this workspace.

URL-encode it. Commas, colons, and literal plus signs survive if you encode them properly.

Prefer the https://cmux.com/deeplink/rules?… form for a link other people will click: it opens the native scheme when cmux is installed and shows the download page when it is not, where the bare cmux:// link would simply do nothing.

A rule is persistent context for the agents working in that workspace, so a link that installs one is doing more than it appears to. Read it before you accept it.