/open-skills:yon-writefrom open-skills
Creates, generates, or converts content into YON (YounndAI Object Notation), a line-oriented stream-first format for AI systems. Preserves verbatim source text without interpretation.
Ships in open-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
YON Writing & Compilation Mode — create, generate, or convert content into YON (YounndAI Object Notation), a line-oriented, stream-first Cognitive Architecture for AI systems.
Foundational contract: YON preserves what the emitter wants to send. An encoder preserves what was said. A translator decides what was meant. YON is an encoder.
"probably purple" stays "probably purple" — do not resolve to confidence: 0.6"like everyone else does" stays verbatim — do not interpret vague social referencesYON is a Cognitive Architecture for AI pipelines, not a universal data format. Do not use it for:
YON belongs in: system prompts, agent instructions, multi-hop pipelines, rules/policies, workflows, cognitive traces, provenance tracking, and anywhere intent + data + audit travel together.
| Profile | Use When |
|---|---|
core | Basic structure (docs, notes) |
decl | Rules and schemas (policies, configs) |
exec | Workflows (steps, checks, error handling) |
audit | Provenance tracking |
cognitive | AI thought chains |
agent | Multi-agent systems |
Authority and dependency. This writer targets YON format 2.0. The profile behavior summarized in domains-card.txt is bound to reference validator @younndai/[email protected]; profiles are feature presets, not a cumulative ladder. Structural tags including @STAMP are allowed in every preset; logic includes @INTENT and @SCOPE. audit enables additional provenance bookkeeping. For a different validator revision, inspect its exact contract before claiming profile conformance.
For tags beyond the local required-field table, first load the v2.0 reader field registry and extended reader card. These are required conditional dependencies for extended writing, not permission to install or fetch anything. If absent, incompatible or contradictory, stop dependent extended generation/conformance and name the missing authority; basic supported encoding may continue. Report field-table review separately from actual parser acceptance, including validator version and selected profile. Neither establishes unverified external-spec or all-tag conformance.
| Format | Use Case |
|---|---|
canon | Human docs, reference material |
min | LLM pipelines, agents (recommended default) |
ultra | Cost-critical transport |
doc, rule, workflow, skill, sidecar, spec, context, memory, note, prompt
When writing to a .yon file: Output YON records ONLY. No markdown, no fenced blocks, no commentary. Pure YON.
When showing YON in conversation: Use a fenced code block and briefly explain your choices (profile, kind, key decisions made during encoding).
Always:
@DOC| (space, pipe, space)[A-Za-z0-9_./:@+#-]+, otherwise double-quote| MUST be quoted: regex="a|b|c"n:int=3, active:bool=true, ts:ts=2026-01-01T00:00:00Z@MAP pairs: BOTH sides quoted: pairs=["key"->"value"]@BEGIN/@END blocks: mime= required, boundary= 8+ chars, id= required when multiple blocks or referencedguide="https://yon.younndai.com/yon-guide.txt" when the document targets LLMs without YON knowledge| Tag | Required Fields |
|---|---|
@DOC | ver, id, title |
@SEC | name |
@NOTE | text |
@STAMP | ts, src |
@RULE | lvl (MUST/MUST_NOT/SHOULD/SHOULD_NOT/MAY), when, then |
@MAP | name, pairs |
@CFG | id, set |
@INTENT | goal |
@CHECK | rid, assert, fail (ABORT/WARN/SKIP), msg |
@STEP | rid, n:int, op |
@CATCH | target, on, do |
@RETRY | target, max |
@PATCH | ts, target, set |
@VOID | ts, target |
@REDACTION | target, reason |
@CONSENT | party, scope |
When provenance is enabled, the selected validator additionally requires rid on referenceable RULE/CFG/MAP/SCHEMA/STEP/CHECK records. Apply the exact selected profile contract as well as the field table.
"Always" / "Must" → lvl=MUST"Never" / "Must not" → lvl=MUST_NOT"Prefer" / "Should" → lvl=SHOULD"Optional" / "May" → lvl=MAY@SCHEMA key=severity | opts=[low,med,high] | default=med@MAP name=Routing | pairs=["input"->"output"]@CFG id=X | set=[k=v] then @MAP name=Context | pairs=["ctx"->"cfg:X"]@BEGIN CODE | id=handler | mime="text/x-python" | boundary="bnd_py_001"
def hello():
return "world"
@END CODE | boundary="bnd_py_001"
in/out: reference tokens ONLY (block:, rid:, cfg:, ref:, file:, url:, agent:, etc.)args/set: field items ONLY (key=value, key:type=value)pairs: map pairs ONLY ("k"->"v")Input (user's messy prose):
"ok so we need an api rate limiting thing. all calls must have auth tokens. standard users get 100/min, premium 500. if they hit the limit they should probably back off exponentially. never expose internal errors in responses."
Output:
@DOC ver=2.0 | id=api-rate-policy | title="API Rate Limiting Policy" | kind=rule | profile=decl | fmt=min
@INTENT goal="Define authentication and rate limiting standards for public API"
@SEC name="Authentication"
@RULE rid=rule:auth | lvl=MUST | when="calling any API endpoint" | then="include valid auth token"
@SEC name="Rate Limits"
@MAP name=TierLimits | pairs=["standard"->"100/min","premium"->"500/min"]
@RULE rid=rule:backoff | lvl=SHOULD | when="rate limit exceeded" | then="probably back off exponentially"
@SEC name="Error Handling"
@RULE rid=rule:errors | lvl=MUST_NOT | when="returning API response" | then="expose internal error details"
@STAMP ts:ts=2026-03-30T12:00:00Z | src=human
What the encoding did: Detected section boundaries from topic shifts. "must" → MUST, "never" → MUST_NOT, "should probably" → SHOULD. Preserved "probably back off exponentially" verbatim (hedging preserved). Dropped "ok so" and "thing" (zero semantic content).
What the encoding did NOT do: Did not resolve "probably" into a confidence level. Did not reorder the user's sequence. Did not add fields the user didn't mention.
When the input doesn't map cleanly to YON:
@NOTE or raw block, or ask a material clarification. Do not turn an unknown scope into a universal condition.@INTENT, constraints in @RULE, factual descriptions in @NOTE. When unsure, @NOTE is the safe default.@NOTE or raw block, or ask a material clarification. Emit normative level and scope only when supported by the source; do not invent a default severity.@CFG for grouped settings, @BEGIN/@END blocks for verbatim payloads. Depth limit is 1.After writing, verify:
@DOC, first non-comment record@BEGIN have matching @END with same TAG and boundary@BEGIN include mime=@MAP uses pairs=[...] with both sides quoted| used consistently@RULE with lvl=MUST or MUST_NOT are individual records (never merged/summarized)@DOC → @STAMP → @META → @DEF → @REF → @INTENT → @SCOPE → @SEC sections → @BEGIN/@END blocks
For edge cases, extended syntax, and complete examples:
Full spec: https://yon.younndai.com
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub allemaar/open-skills --plugin open-skills93 skills in this plugin
/agent-mailboxTwo or more agents — any harness, any vendor — collaborate through any shared folder: share a folder, load the skill, point at it.
/agent-outputCompact agent-to-agent communication contract for worker reports, handoffs, status, blockers, and review findings. Trigger phrases: "/agent-output", "brief the worker", "make agent reports terse". Not a transport; use /agent-mailbox for delivery.
/ask-gateThe Ask-Gate Protocol (AGP). Before surfacing an AskUserQuestion, triage whether the question is genuinely the handler's call (anti-nag); ask routine questions directly after a quality checklist, but escalate high-stakes / branching / irreversible ones through /insight-critique then /insight-assess first. Trigger via /ask-gate, or automatically before any handler-facing question. Not /caller-options (routes a skill's venue/mode) or /next-skills (recommends successors) — AGP governs the question itself.
/ask-meConstructively interview someone about an idea, task, project or decision so useful work can start. Use when explicitly asked to be interviewed, including “ask me”; ordinary task requests do not start this interview./audit-code-commentsInventory the code comments in a repository, classify each one against the code it sits beside (tautology, stale, excuse, decision, keep, uncertain), then report, prune or strictly migrate them: delete noise, turn excuse comments into issue drafts, move decisions into ADRs, and optionally lock the result with a per-file comment ratchet. Edits go through a real parser with a token guard. Scales from a small module to a large repo with a pilot batch, path stages and budget gates. Trigger on /audit-code-comments, "audit the comments in this repo", "clean up code comments", "move comments to ADRs", "turn TODO comments into issues", "add a comment ratchet". Not for reviewing a diff for bugs (use /cold-review), not for prose in docs (use /prose-audit), not for duplicated constants (use /audit-coupled-constant).
/audit-coupled-constantAudit every site of a constant whose value is duplicated across multiple call sites (retry budgets, timeouts, page sizes, magic numbers, feature flags). The author-maintained `SEE ALSO` trail is documentation, not enforcement — one missed site means the trail lies. Trigger on /audit-coupled-constant, "audit budget consistency", "find all sites of this value", "check coupled invariant", "before raising this constant", or after any edit to a constant that has SEE ALSO cross-references in its comments. Pairs naturally before /cold-review on a "raise the budget" PR. Not for extract-constant refactors that consolidate scattered values into a single named import — use /improve-codebase-architecture. Not for constants enforced by the type system (TypeScript `as const` literal imported everywhere) where the compiler is the audit — skip.Other plugins' skills for the same job