signalk-plugin

signalk-plugin is a skill for Claude Code from sailingnaturali/claude-skills. It costs 280 tokens per session (14,190 once invoked), scanned A, original, MIT.

A guide for building and publishing SignalK server plugins, which add functions to software used on boats, as npm packages, the standard way JavaScript code is shared.

In plain words
What is it for?
Use it when creating a TypeScript or JavaScript SignalK plugin, serving vessel data, adding tests, and publishing the plugin to npm.
Why use it?
It explains the project files, server API patterns, and npm publishing setup needed to avoid common packaging and first-release failures.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is publicDir: '../static',.

Part of the signalk-plugin plugin — 1 skill shipped together

Good fit Use it when creating a TypeScript or JavaScript SignalK plugin, serving vessel data, adding tests, and publishing the plugin to npm.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/sailingnaturali/claude-skills
agentmods
npx agentmods add skills/sailingnaturali/claude-skills/signalk-plugin

Made for: Claude Code.

Or install signalk-plugin, the plugin that ships this one along with the rest of its 1 skill.

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 signalk-plugin

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sailingnaturali/claude-skills/signalk-plugin"><img src="https://agentmods.dev/badge/skills/sailingnaturali/claude-skills/signalk-plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 280 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 14,190 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.00280 $0.14190
Opus 5.5 $0.00112 $0.05676
Sonnet 5.5 $0.00056 $0.02838
Haiku 4.5 $0.00028 $0.01419

Measured 4d ago against content hash 278b7f5417f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

signalk-plugin 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 4d 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.

signalk-plugin/skills/signalk-plugin/SKILL.md · 870 lines

How it starts

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

Author & publish a SignalK plugin

Hard-won notes for building a SignalK Node-server plugin and shipping it to npm. Mirror a clean reference: openwatersio/signalk-tides (TypeScript) is the best one to read for the @signalk/server-api calls.

1. Scaffold

Public repo, npm package, MIT, zero runtime deps where possible. Files: index.js (or TS src/ built with tsc), package.json, LICENSE, README.md, .gitignore (node_modules, *.tgz), tests (index.test.js via node:test, or test/ via vitest), .github/workflows/{test.yml,publish.yml}.

package.json essentials — a missing files ships nothing because .gitignore excludes the build:

{
  "name": "signalk-<name>",
  "type": "module",
  "files": ["index.js"],
  "keywords": ["signalk-node-server-plugin", "signalk-category-utility"],
  "engines": { "node": ">=24" },
  "license": "MIT"
}

engines states the Node versions you test on: test on Node 24 and 26 and declare >=24 (the plugin-CI setup is in the signalk-registry skill, Check 4). For a scoped package add "publishConfig": { "access": "public" }. For TypeScript use "files": ["dist"], point "main": "dist/index.js" (and "types": "dist/index.d.ts") at the build output — without main the server resolves a nonexistent root index.js — and add "prepare": "npm run build" so npm publish builds first. The signalk-node-server-plugin keyword is what surfaces it in the SignalK app store.

2. Write new plugins as ESM

Prefer "type": "module" over CJS for anything new. The server has loaded ESM plugins since v2.14.0 (June 2025): it require()s the plugin directory first — Node ≥ 20.19 / ≥ 22.12 loads ESM through require by default — and falls back to dynamic import() resolved via esm-resolve (plain import() can't take a directory path), so ESM plugins load even on Nodes where require(esm) isn't available. (Server 2.30.0 itself requires Node ≥ 22; v2.14.0 required ≥ 20.) The require path unwraps mod.default ?? mod; the import() fallback returns module.default directly — anything without one loads as undefined there. So the entry point must export default function (app) { ... } returning the plugin object. The practical reason to switch: new majors of common dependencies ship ESM-only, and a CJS plugin can only reach those through awkward dynamic import() — an ESM plugin just imports them. For TypeScript, "module": "nodenext" with a default export compiles to the same shape — remember nodenext makes relative imports require explicit .js extensions (./helpers.js, even in .ts files).

Read the full file on GitHub · 870 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. 4d ago Changed · +24 lines 278b7f5417f4
  2. 8d ago Changed · +89 lines · +15 tokens per session d72ea49e8ad5
  3. 16d ago Changed · +147 lines · +58 tokens per session 896cdc27a3b5
  4. 23d ago Changed · +88 lines · +19 tokens per session da6310fd1c34
  5. 24d ago Changed · +3 lines 36fe5c5a8168
  6. 1mo ago Changed · +81 lines · +30 tokens per session de970384f654
  7. 1mo ago Changed · -10 lines b28dd87dd32e
  8. 1mo ago Changed · +71 lines · +8 tokens per session 0159701518e6
  9. 1mo ago Changed · +19 lines ca6bf42dae82
  10. 1mo ago First seen · 358 lines · 150 tokens per session scan A 2aca600ac479

Subscribe to this mod's changes

signalk-plugin is a skill published in the GitHub repository sailingnaturali/claude-skills (3 stars, last pushed 4d ago), licensed MIT. It adds 280 tokens to every session and 14,190 once invoked, about $0.0011 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

signalk-plugin compared with skills from other repositories

signalk-plugin next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
signalk-pluginsailingnaturali/claude-skillsSkill34d agoMITA280Claude Code
ruview-cli-apiruvnet/RuViewSkill106ktodayMITA104Claude Code
amazon-alexasickn33/agentic-awesome-skillsSkill51kyesterdayMITA53Claude Code
doca-socket-relayNVIDIA/skillsSkill4.2ktodayApache-2.0A236Claude Code
jetson-customize-pcieNVIDIA/skillsSkill4.2ktodayApache-2.0A53Claude Code, Codex
deepep-to-cam-converterXiaoLuoLYG/GODSkill1.3k6d agoApache-2.0A63Claude Code, Codex
telnyx-iot-curlteam-telnyx/aiSkill231yesterdayMITA45Claude Code