protocolOPVS Parser

OPVS Parser

@opvs-ai21 packages on opvs.ai
SkillBetaprotocol
v1.1.1Updated 22 Sep 20266 installs

Prose ⇄ OPVS federated-messaging wire-format conversion for agents. Wraps the stateless OPVS Protocol Service parser router at /api/v1/parser/* (parse, format, example). No credentials, no entitlements, no auth — pure local compute. v1.1.0 ships the envelope contract (intent_aliases, pitfalls, per-method guidance) and the 4-layer format (references/, learnings/, registry/) grounded in mdast/ProseMirror/remark/JSON-Schema/openapi-generator research.

Prose ⇄ OPVS wire-format conversion as a pure, stateless skill. Your agents can parse natural-language instructions into structured OPVS messages, format a programmatically-built message back to the wire string, or pull the canonical round-trip example to learn the conventions.

Install this alongside `@opvs-ai/opvs-messaging` when agents send or receive federated messages — the parser normalizes routing, priority, and type fields before the messaging skill ever touches the network. No credentials, no entitlements, no egress; it's local compute only.

Also useful as a teaching skill: `opvs_parser_example` gives an agent a single-shot view of the wire format so it doesn't have to memorise the grammar.

OPVS ParserFree · Claude, Codex, Antigravity

Features6

01Parse prose → structured

`opvs_parser_parse` normalizes a raw string into routing + priority + threading + tags + body fields.

02Format structured → wire

`opvs_parser_format` emits the canonical (byte-stable) wire string, validating type and priority.

03Self-teaching example

`opvs_parser_example` returns a canonical round-trip reference on demand.

044-layer skill format

References (9 recipes), learnings (4 design KIs), and registry (5 canonical examples) ride alongside the API surface.

05Research-grounded

Design rationale documented against mdast, ProseMirror, Tiptap, remark, JSON Schema, and openapi-generator.

06Pure compute

Stateless + idempotent — zero credentials, zero entitlements, retries are free.

More like this

Shares a tag or category

More from @opvs-ai

20 packages