colregs

colregs is a skill for Claude Code, Codex from meiiie/wiii. It costs 16 tokens per session (542 once invoked), scanned A, original, MIT.

A reference to the 72 International Regulations for Preventing Collisions at Sea, the rules ships use to avoid hitting one another.

In plain words
What is it for?
Use it when working with the international collision-avoidance rules for ships.
Why use it?
It provides a named source of navigation rules when discussing or checking ship movements at sea.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when working with the international collision-avoidance rules for ships.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meiiie/wiii/colregs
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.

Any agent
npx skills add meiiie/wiii --skill colregs
Clone the repo
git clone --depth 1 https://github.com/meiiie/wiii

Made for: Claude Code, Codex.

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 colregs

README.md
[![agentmods](https://agentmods.dev/badge/skills/meiiie/wiii/colregs/github.svg)](https://agentmods.dev/skills/meiiie/wiii/colregs)
Your own site
<a href="https://agentmods.dev/skills/meiiie/wiii/colregs"><img src="https://agentmods.dev/badge/skills/meiiie/wiii/colregs/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 colregs

Your own site · 80×15
<a href="https://agentmods.dev/skills/meiiie/wiii/colregs"><img src="https://agentmods.dev/badge/skills/meiiie/wiii/colregs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 542 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.00016 $0.00542
Opus 5.5 $0.00006 $0.00217
Sonnet 5.5 $0.00003 $0.00108
Haiku 4.5 $0.00002 $0.00054

Measured 3mo ago against content hash 84a2803f7c4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

colregs 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 3mo 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.

maritime-ai-service/app/domains/maritime/skills/colregs/SKILL.md · 47 lines

What it actually says

COLREGs - Quy tắc Quốc tế Phòng ngừa Đâm va trên Biển

Phần A: Quy tắc chung (Rule 1-3)

  • Rule 1: Phạm vi áp dụng
  • Rule 2: Trách nhiệm
  • Rule 3: Định nghĩa

Phần B: Quy tắc lái tàu và hành trình

Mục I: Tàu trong mọi tầm nhìn (Rule 4-10)

  • Rule 4: Áp dụng
  • Rule 5: Cảnh giới
  • Rule 6: Tốc độ an toàn
  • Rule 7: Nguy cơ đâm va
  • Rule 8: Hành động tránh đâm va
  • Rule 9: Luồng hẹp
  • Rule 10: Phân luồng giao thông

Mục II: Tàu nhìn thấy nhau (Rule 11-18)

  • Rule 11: Áp dụng
  • Rule 12: Tàu buồm
  • Rule 13: Vượt
  • Rule 14: Đối hướng
  • Rule 15: Cắt hướng
  • Rule 16: Hành động của tàu nhường đường
  • Rule 17: Hành động của tàu được nhường đường
  • Rule 18: Trách nhiệm giữa các tàu

Mục III: Tàu trong tầm nhìn hạn chế (Rule 19)

Phần C: Đèn và dấu hiệu (Rule 20-31)

Phần D: Tín hiệu âm thanh và ánh sáng (Rule 32-37)

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. 3mo ago First seen · 47 lines · 16 tokens per session scan A 84a2803f7c4a

Subscribe to this mod's changes

colregs is a skill published in the GitHub repository meiiie/wiii (6 stars, last pushed 6d ago), licensed MIT. It adds 16 tokens to every session and 542 once invoked, about $0.0001 per session on Opus 5.5. 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-31.

Related

colregs compared with skills from other repositories

colregs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
colregsmeiiie/wiiiSkill66d agoMITA16Claude Code, Codex
canonsimota/agent-skillsSkill10612d agoMITA50Claude Code, Codex
trade_compliancefdueblab/Micro-AgentSkill1016d agoMITA0Claude Code, Codex
cloaksimota/agent-skillsSkill10612d agoMITA38Claude Code, Codex
domain_amlfdueblab/Micro-AgentSkill1016d agoMITA0Claude Code, Codex
domain_ecommercefdueblab/Micro-AgentSkill1016d agoMITA0Claude Code, Codex
auto-trader-designmgh3326/auto_traderSkill10todayMITA80Claude Code