instrument-indicators

instrument-indicators is a cursor rule for Cursor from Ocean-Industries-Concept-Lab/openbridge-webcomponents. It costs 0 tokens per session (1,272 once invoked), scanned A, original, Apache-2.0.

A group of 17 small symbols that show one value at a glance, for use in strips, lists, and tiles instead of complete instrument panels.

In plain words
What is it for?
Use it when adding or modifying compact compass, gauge, heading, engine, motion, or propulsion status symbols.
Why use it?
It clarifies that these indicators draw their own graphics and are separate from the full-size instruments with similar names. Changes to one do not automatically change the other.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when adding or modifying compact compass, gauge, heading, engine, motion…

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

README.md
[![agentmods](https://agentmods.dev/badge/rules/ocean-industries-concept-lab/openbridge-webcomponents/instrument-indicators.svg)](https://agentmods.dev/rules/ocean-industries-concept-lab/openbridge-webcomponents/instrument-indicators)
Your own site
<a href="https://agentmods.dev/rules/ocean-industries-concept-lab/openbridge-webcomponents/instrument-indicators"><img src="https://agentmods.dev/badge/rules/ocean-industries-concept-lab/openbridge-webcomponents/instrument-indicators.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,272 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.01272
Opus 5 $0.00000 $0.00636
Sonnet 5 $0.00000 $0.00254
Haiku 4.5 $0.00000 $0.00127

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

Security

Grade A, and why

instrument-indicators 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 7d 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/instrument-indicators.mdc · 98 lines

How it starts

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

Instrument Indicators

Seventeen compact glyphs that convey one value at a glance, sized for strips, lists and tiles rather than for a full instrument panel.

The family boundary is not a code construct — it comes from the Storybook Indicators/ group, which is the curated product taxonomy. Note propulsion-tunnel-thruster belongs here despite its name; the taxonomy's judgement wins over the naming.

They redraw; they do not wrap

This is the single most important fact, and the one that most invites a wrong assumption. An indicator is not a shrunken instance of its full-size counterpart:

  • None extends a shared base class — all extend LitElement directly.
  • None composes obc-instrument-field.
  • None renders the full instrument. obc-rot-indicator imports RateOfTurnController from ../rate-of-turn/ — the domain logic — and then draws its own SVG. It does not render <obc-rate-of-turn>.

So the shared contract is a convention, not an inheritance hierarchy. Changing a full instrument does not change its indicator, and vice versa. Ten pairs share a base name (compass, gauge-radial, gauge-trend, heading, heave, main-engine, pitch, roll, rudder, wind), and keeping them visually consistent is a manual obligation.

When a value-to-angle or value-to-state mapping already exists as a controller on the full instrument, import the controller rather than reimplementing the maths. That is the one thing that should be shared.

The canvas convention

Most indicators draw on a 48 × 48 canvas via a local VIEW_SIZE constant. Two deviate deliberately — pitch-indicator and roll-indicator declare VIEW_SIZE = 36 for their inner scale, with the outer frame still at 48.

Hosts size themselves from the design token, not from px:

:host {
  width: var(--global-size-spacing-touch-target-min);
  height: var(--global-size-spacing-touch-target-min);
}

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

Subscribe to this mod's changes

instrument-indicators is a cursor rule published in the GitHub repository Ocean-Industries-Concept-Lab/openbridge-webcomponents (92 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,272 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.