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.
npx agentmods add rules/ocean-industries-concept-lab/openbridge-webcomponents/generated-codegit clone --depth 1 https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponentsWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01607 |
| Opus 5 | $0.00000 | $0.00804 |
| Sonnet 5 | $0.00000 | $0.00321 |
| Haiku 4.5 | $0.00000 | $0.00161 |
Grade A, and why
generated-code 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generated Code — What Is, What Isn't
Most files in scope here are produced by a generator. A local edit to one is not a fix: it survives until the next regeneration and is then silently discarded, taking the change with it. Fix the problem at its source instead.
This file also attaches to the look-alikes — src/manual-icon/ above all —
precisely so the difference is stated at the point of editing. If you are in a
file listed under What is NOT generated, edit it
normally.
What is generated, and by what
| Path | Regenerate with | Source of truth |
|---|---|---|
src/icons/** (2000+ components) |
npm run download:icons |
The OpenBridge Icons Figma file |
src/generated/** (gitignored) |
npm run build:translations |
lit localize extraction from msg() calls in source |
src/palettes/variables.css |
obc-figma-plugin cssvariables |
OpenBridge 6.1 Figma file (variable definitions) |
src/mixins/fonts.css |
obc-figma-plugin font-exports |
OpenBridge 6.1 Figma file (text styles) |
script/figmavariables.json |
obc-figma-plugin variables map |
OpenBridge Icons Figma file — not the main design file |
packages/openbridge-webcomponents-*/** |
npm run wrappers |
The core package's source JSDoc, via lit labs gen |
custom-elements.json |
npm run analyze |
The core package's source JSDoc, via cem analyze |
.github/instructions/** |
npm run agents:sync |
docs/agents/*.md |
.github/copilot-instructions.md |
npm run agents:sync |
docs/agents/*.md |
.cursor/rules/** |
npm run agents:sync |
docs/agents/*.md |
CLAUDE.md (gitignored) |
npm run agents:sync |
pointer only — carries no rules of its own |
AGENTS.md § 4 routing table |
npm run agents:sync |
the globs frontmatter of every docs/agents/*.md |
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.
- 2d ago First seen · 102 lines · 0 tokens per session scan A 9c1339325c87
generated-code is a cursor rule published in the GitHub repository Ocean-Industries-Concept-Lab/openbridge-webcomponents (91 stars, last pushed 3d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,607 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.
Other cursor rules, from other repositories
cursorrules
Read and follow AGENTS.md for all development conventions.
internationalization
Cursor rule "internationalization" from dtyq/magic, covering internationalization (i18n) rules, 国际化基本规范, 1. 文件结构, 2. 命名空间规范 and 3. 组件中使用国际化.
test-plan
Plan Katalon True Platform/TestOps testing for a release, sprint, or feature. Use when you need to translate quality goals into scope, prioritize testing by requirement coverage and risk, decide what to test first, or build the executable plan structure (folders, suites, and sprint/release association) that stands in…
static-analysis
Run local static analysis and fix new issues before finishing a task.
strapi
Strapi v5 backend patterns — content types, relations, i18n, SEO, R2/S3 storage, PostgreSQL, Docker + Traefik.
controlflow-docs-evals
Rules for documentation parity, localized tutorials, and eval verification.