openbridge-webcomponents: Instructions file for GitHub Copilot

.github/copilot-instructions.md

openbridge-webcomponents copilot-instructions.md is an instructions file for GitHub Copilot from Ocean-Industries-Concept-Lab/openbridge-webcomponents. It costs 1,993 tokens per session, scanned C, original, Apache-2.0.

A guide to the GitHub Copilot instruction files for the Openbridge Web Components repository, a library of reusable maritime navigation and automation interface parts.

In plain words
What is it for?
Use it to find the correct project guidance before changing components, especially when work depends on accessibility or a particular source-code area.
Why use it?
It points Copilot to the repository’s main rules and to instructions for areas such as accessibility, augmented reality, and automation components.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file. Also seen: mentions AGENTS.md.

This is Ocean-Industries-Concept-Lab/openbridge-webcomponents's own configuration. It tells GitHub Copilot how to work on openbridge-webcomponents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything openbridge-webcomponents configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Canonical instructions live in [`AGENTS.md`](../AGENTS.md)**, and the.

Reuse

Borrowing it

Nothing to install: this file belongs to Ocean-Industries-Concept-Lab/openbridge-webcomponents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/develop/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents

Made for: GitHub Copilot.

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 openbridge-webcomponents copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ocean-industries-concept-lab/openbridge-webcomponents/copilot-instructions.svg)](https://agentmods.dev/instructions/ocean-industries-concept-lab/openbridge-webcomponents/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/ocean-industries-concept-lab/openbridge-webcomponents/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/ocean-industries-concept-lab/openbridge-webcomponents/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,993 This file is loaded in full into every session.
When invoked 1,993 The same file — it is already loaded in full.
Security scan C 1 finding. 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.1 $0.01993 $0.01993
Opus 5 $0.00996 $0.00996
Sonnet 5 $0.00399 $0.00399
Haiku 4.5 $0.00199 $0.00199

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

Security

Grade C, and why

openbridge-webcomponents copilot-instructions.md scanned grade C with 1 finding 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 6d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- prettier-ignore-start -->
.github/copilot-instructions.md · 49 lines

How it starts

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

GitHub Copilot Custom Instructions

Canonical instructions live in AGENTS.md, and the path-scoped rules in docs/agents/. This file exists because Copilot reads .github/copilot-instructions.md by convention.

This repository contains the Openbridge Web Components library, a collection of maritime navigation and automation UI components built with Lit and TypeScript.

  • Start here → AGENTS.md.
  • Path-scoped rules are auto-attached from .github/instructions/, which is generated from docs/agents/. Read the canonical file, not the copy.
  • Ask for clarification (e.g. a list of questions) before implementing significant changes.

Available Instruction Files

Doc Scope (globs) Description
a11y packages/openbridge-webcomponents/src/{components,automation,internal}/** Accessibility (WCAG 2.1 AA + 2.2 § 2.5.8 target size) — keyboard nav, ARIA, focus
ar packages/openbridge-webcomponents/src/ar/** Augmented-reality POI overlay — controller, layer stack, overlap resolution, and the POI composition chain
automation-components packages/openbridge-webcomponents/src/automation/** Automation devices, valves, lines, tanks, badges
building-blocks packages/openbridge-webcomponents/src/{building-blocks,svghelpers}/** SVG-based building block components and shared utilities
ci-and-release .github/workflows/**{.releaserc.json,package.json}scripts/**packages/openbridge-webcomponents/package.jsonpackages/openbridge-webcomponents/script/**!packages/openbridge-webcomponents/script/docgen/** CI workflows, the semantic-release model, which commit types ship a release, and the two script directories
circular-charts packages/openbridge-webcomponents/src/bars-graphs/{donut-chart,pie-chart,polar-chart,radial-bar-chart}/**packages/openbridge-webcomponents/src/charthelpers/** Circular chart components (donut, pie, polar, radial-bar)
coding-standards packages/openbridge-webcomponents/src/**/{*.ts,*.css}packages/openbridge-webcomponents/script/**/{*.ts,*.mjs}packages/openbridge-webcomponents/.storybook/**/*.ts!packages/openbridge-webcomponents/src/{icons,generated,manual-icon}/** Comment rules, CSS why-comments, the writing-style ban list, boolean naming and Storybook titles
css-postcss packages/openbridge-webcomponents/src/**/*.css PostCSS mixins, the two-layer colour model, size variants and font mixins
docgen packages/openbridge-webcomponents/script/docgen/** The OpenAI-backed JSDoc generation CLI and its review-copy workflow
external-scale packages/openbridge-webcomponents/src/building-blocks/{external-scale,bar-vertical,bar-horizontal}/**packages/openbridge-webcomponents/src/navigation-instruments/{gauge-vertical,gauge-horizontal,gauge-trend}/** External scale renderer and bar/gauge wrappers
generated-code packages/openbridge-webcomponents/src/{icons,manual-icon}/**packages/openbridge-webcomponents/src/palettes/variables.csspackages/openbridge-webcomponents/src/mixins/fonts.csspackages/openbridge-webcomponents/script/figmavariables.jsonpackages/{openbridge-webcomponents-react,openbridge-webcomponents-vue,openbridge-webcomponents-ng,openbridge-webcomponents-svelte}/** Generated files that must never be hand-edited, and the command that regenerates each
instrument-indicators packages/openbridge-webcomponents/src/navigation-instruments/{bearing-indicator,compass-indicator,depth-indicator,gauge-bar-indicator,gauge-radial-indicator,gauge-trend-indicator,heading-indicator,heave-indicator,main-engine-indicator,pitch-indicator,propulsion-azimuth-indicator,propulsion-tunnel-thruster,roll-indicator,rot-indicator,rudder-indicator,speed-indicator,wind-indicator}/** Compact indicator glyphs — miniature instrument renderings for strips, lists and tiles
instruments-misc packages/openbridge-webcomponents/src/navigation-instruments/{azimuth-thruster-labeled,badge-command,depth-actual,draft-trim,heave,instrument-field,main-engine,readout-list,readout-list-item,speed-arrows,thruster}/** Instruments outside the obc-watch core — readout rows, propulsion glyphs, and helper-borrowing SVG instruments
integration-systems packages/openbridge-webcomponents/src/integration-systems/** Integration bar, fleet and vessel selection components built on the shared integration-button primitive
jsdoc packages/openbridge-webcomponents/src/**/*.ts!packages/openbridge-webcomponents/src/{icons,generated,manual-icon}/**!packages/openbridge-webcomponents/src/**/{*.stories.ts,*.spec.ts} JSDoc template, slot/event tags, lifecycle tags, and the three documentation patterns
line-area-charts packages/openbridge-webcomponents/src/building-blocks/chart-line/**packages/openbridge-webcomponents/src/bars-graphs/{line-graph,area-graph}/**packages/openbridge-webcomponents/src/navigation-instruments/gauge-trend/** Line/area charts and composite gauge-trend component
pages packages/openbridge-webcomponents/src/pages/** Full-page composite examples that assemble many components into one screen
readout-components packages/openbridge-webcomponents/src/components/textbox/**packages/openbridge-webcomponents/src/building-blocks/readout-block/**packages/openbridge-webcomponents/src/navigation-instruments/{readout-list-item,readout-list}/**packages/openbridge-webcomponents/src/navigation-instruments/readout/{readout.ts,readout-formatters.ts,readout-shared.ts} Readout composition stack (textbox → block → list-item → list) and its value/format contracts
setpoint packages/openbridge-webcomponents/src/svghelpers/{setpoint.ts,setpoint-mixin.ts,setpoint-bundle.ts}packages/openbridge-webcomponents/src/building-blocks/setpoint/** Setpoint design layer, mixin/bundle, confirm animation
testing-visual packages/openbridge-webcomponents/{.storybook,__vis__}/**packages/vue-demo/e2e/** Storybook config, visual snapshot baselines, and the vue-demo Playwright suite
ui-components packages/openbridge-webcomponents/src/components/** General UI components (buttons, cards, inputs, feedback)
watch-radial-instruments packages/openbridge-webcomponents/src/navigation-instruments/{watch,compass,compass-sector,heading,rudder,wind,pitch,roll,pitch-roll,pitch-roll-heave,speed-gauge,gauge-radial,rot-sector,rate-of-turn,course-arrows,readout,watch-flat,compass-flat,rot-linear,azimuth-thruster,current,gauge-proportional,pitch-roll-yaw,position-deviation,speed-directions,top-view-propulsion,velocity-projection-plot,wind-propulsion}/**packages/openbridge-webcomponents/src/building-blocks/{single-axis-inclinometer,instrument-radial}/**packages/openbridge-webcomponents/src/automation/{gauge-valve,gauge-generator,gauge-motors-and-pumps}/** Watch-based instruments (radial core + linear strip counterparts), radial gauges, shared arrow/readout modules

Read the full file on GitHub · 49 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. 6d ago First seen · 49 lines · 1,993 tokens per session scan C 916b89d8793e

Subscribe to this mod's changes

openbridge-webcomponents copilot-instructions.md is an instructions file published in the GitHub repository Ocean-Industries-Concept-Lab/openbridge-webcomponents (92 stars, last pushed yesterday), licensed Apache-2.0. It adds 1,993 tokens to every session, about $0.0100 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens