watch-radial-instruments

watch-radial-instruments is a cursor rule for Cursor from Ocean-Industries-Concept-Lab/openbridge-webcomponents. It costs 0 tokens per session (10,141 once invoked), scanned A, original, Apache-2.0.

A set of rules for circular navigation instruments built around the shared watch renderer in Openbridge. It covers instruments such as compasses, heading displays, rudders, wind displays, speed gauges, and thrusters.

In plain words
What is it for?
Use it when adding or changing shared circular visuals, watch rendering, radial instruments, compass behavior, or coupled pitch and roll frame calculations.
Why use it?
These instruments share a rendering core, so a change in one central file can alter many components. The rules help decide what belongs in the shared renderer and what must remain component-specific.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions AGENTS.md.

Good fit Use it when adding or changing shared circular visuals, watch rendering, radial instruments, compass behavior, or coupled pitch and roll frame calculations.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/ocean-industries-concept-lab/openbridge-webcomponents/watch-radial-instruments
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.

Clone the repo
git clone --depth 1 https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents

Made for: Cursor.

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 watch-radial-instruments

README.md
[![agentmods](https://agentmods.dev/badge/rules/ocean-industries-concept-lab/openbridge-webcomponents/watch-radial-instruments/github.svg)](https://agentmods.dev/rules/ocean-industries-concept-lab/openbridge-webcomponents/watch-radial-instruments)
Your own site
<a href="https://agentmods.dev/rules/ocean-industries-concept-lab/openbridge-webcomponents/watch-radial-instruments"><img src="https://agentmods.dev/badge/rules/ocean-industries-concept-lab/openbridge-webcomponents/watch-radial-instruments/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 watch-radial-instruments

Your own site · 80×15
<a href="https://agentmods.dev/rules/ocean-industries-concept-lab/openbridge-webcomponents/watch-radial-instruments"><img src="https://agentmods.dev/badge/rules/ocean-industries-concept-lab/openbridge-webcomponents/watch-radial-instruments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 10,141 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.10141
Opus 5 $0.00000 $0.05071
Sonnet 5 $0.00000 $0.02028
Haiku 4.5 $0.00000 $0.01014

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

Security

Grade A, and why

watch-radial-instruments scanned grade A with 0 findings 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 9d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/watch-radial-instruments.mdc · 764 lines

How it starts

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

Watch & Radial Instruments

These instructions apply to the circular/radial watch-based instrument system, including the core obc-watch renderer and all navigation instruments that use it.

⚠️ IMPORTANT: Interconnected Components

All components in this system are tightly interconnected and share the same rendering core:

  • watch.tsinstrument-radial.tscompass.tsheading.tsrudder.tswind.tsspeed-gauge.tsgauge-radial.tsazimuth-thruster.tsroll.tsrot-sector.ts

When implementing a new feature or changing existing behavior:

  1. Shared circular rendering belongs in watch.ts - it is the single source of truth for anything more than one instrument draws. Genuinely component-specific logic stays local: compass-sector owns its bespoke FOV compression, and pitch/roll/pitch-roll/pitch-roll-heave own their coupled buildFrame contracts (see "Shared frame computation"). Do not move those into the shared renderer — doing so changes every other instrument.
  2. Changes to watch.ts affect ALL instruments that use it
  3. If adding a new visual element, add it to watch.ts as a configurable option, not to individual instruments
  4. Navigation instruments are thin wrappers that configure obc-watch and add domain-specific overlays
  5. instrument-radial.ts is a reusable building block that wraps obc-watch for generic gauge use cases

Before completing any change, verify:

  • watch.ts has the core rendering logic
  • Helper modules (tickmark.ts, advice.ts, label.ts, etc.) are updated if needed
  • All consuming instruments still render correctly
  • ViewBox coordination is maintained across layers
  • Responsive scaling works at different sizes

Architecture Overview

The watch-based instrument system follows a core renderer + thin wrapper pattern:

Read the full file on GitHub · 764 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. 9d ago First seen · 764 lines · 0 tokens per session scan A d21355768e3a

Subscribe to this mod's changes

watch-radial-instruments is a cursor rule published in the GitHub repository Ocean-Industries-Concept-Lab/openbridge-webcomponents (95 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 10,141 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.