instruments-misc

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

Instructions for instruments outside the main watch-based instrument group, covering components that draw their own SVG graphics while reusing selected helper functions.

In plain words
What is it for?
Use it when modifying azimuth-thruster, depth, draft-trim, heave, or thruster instruments and when checking the effects of changes to their shared helpers.
Why use it?
It prevents developers from applying the wrong rules to these instruments. Changes to shared watch helpers can affect them even though they do not render the main watch component.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/ocean-industries-concept-lab/openbridge-webcomponents/instruments-misc
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 instruments-misc

README.md
[![agentmods](https://agentmods.dev/badge/rules/ocean-industries-concept-lab/openbridge-webcomponents/instruments-misc.svg)](https://agentmods.dev/rules/ocean-industries-concept-lab/openbridge-webcomponents/instruments-misc)
Your own site
<a href="https://agentmods.dev/rules/ocean-industries-concept-lab/openbridge-webcomponents/instruments-misc"><img src="https://agentmods.dev/badge/rules/ocean-industries-concept-lab/openbridge-webcomponents/instruments-misc.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 986 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00986
Opus 5 $0.00000 $0.00493
Sonnet 5 $0.00000 $0.00197
Haiku 4.5 $0.00000 $0.00099

Measured 3d ago against content hash 67f1863e713c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

instruments-misc 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 3d 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/instruments-misc.mdc · 77 lines

How it starts

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

Instruments Outside the Watch Core

The Instruments/ members that are not driven by obc-watch. Anything that renders <obc-watch> belongs to watch-radial-instruments.md instead — check before assuming a component lives here.

Two distinct groups sit in this file.

Group 1 — borrow watch helpers, draw their own SVG

azimuth-thruster-labeled, depth-actual, draft-trim, heave, thruster

These import helper modules out of watch/tickmark.ts, advice.ts, vessel.ts, vessels.ts — but never render <obc-watch>. They compose their own SVG around those shared pieces.

The distinction matters when changing a helper: a change to tickmark() or renderAdvice() reaches these components without going through obc-watch, so verifying "all watch instruments still render" is not sufficient. Check this group too.

They are also not bound by the watch viewBox contract — they own their own viewBox and coordinate system, so the "match the viewBox exactly" rule from the watch family does not apply here.

obc-azimuth-thruster-labeled is the composite of the group: it pulls in badge-command, readout and thruster alongside the watch helpers. Treat it as a layout shell over those parts rather than an instrument in its own right.

obc-main-engine builds on thruster and shares its thrust-bar vocabulary.

Group 2 — no watch involvement

badge-command, instrument-field, readout-list, readout-list-item, speed-arrows

  • obc-instrument-field — the labelled data field used across instrument panels. Two sizes via InstrumentFieldSize (regular, enhanced). It composes obc-button, obc-navigation-item and the drop-down icon, so it is interactive: keyboard and ARIA obligations from a11y.md apply, unlike the display-only instruments around it.
  • obc-readout-list / obc-readout-list-item — a dense row format for tables and lists. The list is a thin container over the items; put shared presentation on the item, not the container.
  • obc-badge-command — a standalone command/state badge with no dependencies at all.
  • obc-speed-arrows — vector arrow art, consumed by obc-speed-indicator. Changing its geometry moves the indicator too.

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

Subscribe to this mod's changes

instruments-misc is a cursor rule published in the GitHub repository Ocean-Industries-Concept-Lab/openbridge-webcomponents (91 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 986 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.