Skip to main content

Agent skills

libmisb agent skills give coding agents task-specific instructions, API references, and runnable examples. Install a skill in the project where your agent works and install the SDK separately for your application's runtime. Install the SDK.

A SKILL.md file connected to Claude Code, Codex, and Grok Build.

Bundled skills​

The libmisb SDK includes a set of bundled skills. Start with the skill that matches your integration. For example, a Python service using the native SDK starts with libmisb-native, and a TypeScript app decoding KLV in the browser starts with libmisb-wasm.

SkillUse it to
libmisb-setupChoose a package and set up libmisb in a project.
libmisb-nativeLoad the native SDK and call its language bindings or C ABI, including polling and resource cleanup.
libmisb-wasmDecode packets or streams in a browser or Node.js and handle diagnostics, exact JSON, and cleanup.
libmisb-decodeDecode raw KLV or semantic MISB metadata in a direct Go or Rust integration.
libmisb-encodeEncode KLV or supported MISB metadata in a direct Go or Rust integration.
libmisb-validateValidate supported MISB metadata and inspect rule findings in a direct Go or Rust integration.
libmisb-streamFrame packets from fragmented input and manage a direct Go or Rust stream.
libmisb-jsonPresent or transform metadata that has already been decoded into JSON.

Install in your project​

With Node.js 22.20 or later and access to the libmisb repository, open a terminal at the root of your application project. Use the first command to see the available skills. The second installs one skill. Select your coding agent when prompted.

npx skills add impleotv/libmisb --list
npx skills add impleotv/libmisb --skill libmisb-native

Replace libmisb-native with the name you need. For reproducible installs, use impleotv/libmisb@TAG as the source and replace TAG with a released tag that contains the skill. Skills CLI installation reference.

Install for a specific agent​

From your project root, run the command for your coding agent. Each example installs libmisb-native in the current project.

npx skills add impleotv/libmisb --skill libmisb-native --agent claude-code

Agent IDs and skill directories.

Install from a local copy​

If you already have the skill files, copy the entire selected folder, such as skills/libmisb-native, into the project-level skills directory documented by your agent. Keep SKILL.md, the references, and the examples together. Each libmisb skill works independently.

Use the skill with your agent​

Open a session in your application project. At the agent's prompt, invoke the installed libmisb-native skill using the syntax for your agent.

Enter /libmisb-native at the Claude Code prompt. Claude Code skills.

In your request, include your SDK version, language, runtime, input format, and expected result. Ask the agent to use the installed SDK declarations and run the relevant example or a test with your input.

Native SDK example

Use libmisb-native to add ST 0601 packet decoding to this Python service using the SDK already installed in the project. Preserve partial results and their diagnostics. Run a smoke test with example.klv.

Web SDK example

Use libmisb-wasm to decode fragmented ST 0601 input in this TypeScript browser app. Preserve exact timestamp digits, handle stream errors, and release decoder resources when the page closes. Test it in the browser.

Check which operations your installed SDK supports before extending either example. Supported operations · SDK API reference.