Agent skill

Websocket Yjs

by exelearning in exelearning/exelearning

Change eXeLearning shared document mutations, WebSocket rooms, snapshots, reconnects or concurrent editing behavior.

AGPL-3.0Auto-check passedBackend & APIs

Install Websocket Yjs

skills CLI
$ npx skills add exelearning/exelearning --skill websocket-yjs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install exelearning/exelearning websocket-yjs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/exelearning/exelearning.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/websocket-yjs .claude/skills/websocket-yjs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
websocket-yjs
GitHub stars
145
Token cost
~759 tokens
SKILL.md length
357 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Change eXeLearning shared document mutations, WebSocket rooms, snapshots, reconnects or concurrent editing behavior.

  • Tasks that involve Realtime and WebSockets
  • SKILL.md covers State and transport boundaries and Mutations and concurrent editors
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Websocket Yjs is an agent skill from exelearning/exelearning. Change eXeLearning shared document mutations, WebSocket rooms, snapshots, reconnects or concurrent editing behavior.

Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Realtime and WebSockets. The repository describes itself as: eXeLearning is an AGPL-licensed free/libre tool to create and publish open educational resources. The licence is AGPL-3.0.

When your agent uses it

  • Tasks that involve Realtime and WebSockets

Example prompts

  • “/websocket-yjs”

What it can do on your machine

Read from SKILL.md and the folder at commit 319b5d2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.yjs.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Websocket Yjs loads about 759 tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 357 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~759

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from exelearning/exelearning at commit 319b5d2, republished under its AGPL-3.0 licence (© exelearning). 357 words, ~759 tokens.

Download SKILL.mdSave it as .claude/skills/websocket-yjs/SKILL.md (or your agent's skills folder).
name
websocket-yjs
description
Change eXeLearning shared document mutations, WebSocket rooms, snapshots, reconnects or concurrent editing behavior.

Yjs collaboration

Read src/websocket/{room-manager,yjs-websocket,yjs-persistence}.ts, src/yjs/, public/app/yjs/, and real-time documentation. Use Yjs shared types and document updates for API semantics.

State and transport boundaries

  • Browser YjsDocumentManager owns the live editing document. WebSocket rooms retain connections and lightweight coordination state; they do not keep a long-lived authoritative Y.Doc per room.
  • Server reconstruction, snapshot processing and CLI/API export do create temporary Y.Docs. Preserve those legitimate operations and their cleanup; do not turn the relay rule into a server-wide ban.
  • Binary Yjs sync/awareness and JSON asset coordination share a socket but are different protocols. Preserve authentication, project access, message limits, heartbeat, disconnect and room cleanup.
  • Awareness is ephemeral presence, not persistent content. Respect the existing late-join/resync protocol and connectWebSocket()/provider reconnect lifecycle rather than adding a second sync loop.

Mutations and concurrent editors

  • Use existing Y.Map/Y.Array/Y.Text shapes and transaction origins. Group related mutations in a transaction; preserve observer/undo origin filtering and avoid reflecting a remote update back as a fresh local edit.
  • A shared type can be integrated only once. Reordering/copying must follow the project's clone/rebuild helpers; deleting and reinserting the same integrated object is not an ordinary array move.
  • Do not replace shared structures with plain JSON mutations or apply whole-document replacement to a local edit. Concurrent peer updates and legacy import normalization must remain distinct.
  • Preserve the deferred-page-reload behavior when another user adds an iDevice while an editor is active. Resolve it through the existing bridge on leaving edition; never discard the active user's work.
  • Preserve installed Yjs identity and V1/V2 encoding contracts across browser bundles, persistence and server tools. A generic skill is not authorization to add Liveblocks, YKeyValue or a schema migration.
  • Unobserve listeners and destroy temporary documents/providers when their owner is disposed. Avoid retaining document references after cleanup; test reconnect without duplicate listeners or orphan awareness.
Show full SKILL.md (61 more words)Show less

Run focused Bun server specs and Vitest client specs, then final gates in verify-change. Use the collaboration fixture with separate users for simultaneous edits, late join, disconnect/reconnect, and an active editor while a peer changes the page. Check persisted content after reload, not only DOM text. Use valid hex project UUIDs in fixtures; test asset JSON messages separately from binary sync.

© exelearning, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/websocket-yjs of exelearning/exelearning.

Open the folder on GitHubat commit 319b5d2

Compare with similar skills

Websocket Yjs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Websocket Yjs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Websocket Yjs this skillexelearning/exelearning145—~759Automated safety check: PassAGPL-3.0
Supabase Development and Debuggingsupabase/agent-skills2.7k3 repos~3.6kAutomated safety check: PassMIT
Use Yaakmountain-loop/yaak19k—~1.9kAutomated safety check: PassMIT
Gemini Live API Devgoogle-gemini/gemini-skills4.3k—~4.6kAutomated safety check: PassApache-2.0
Web3 PolymarketPolymarket/agent-skills1912 repos~2kAutomated safety check: PassNone
GraphQL ArchitectJeffallan/claude-skills12k1 repos~1.3kAutomated safety check: PassMIT

Similar skills

  • Official

    General Supabase skill for database, auth, Edge Functions, Realtime and storage work, plus client libraries, migrations, security audits, debugging and reading logs.

    2.7k GitHub starsUsed in 3 repos~3.6k tokens
    Backend & APIsAuto-check passed
  • Use Yaak

    mountain-loop/yaak

    A skill your agent uses when the user mentions Yaak, a Yaak workspace, or the yaak command, or asks to call, hit, or smoke test HTTP/REST endpoints, save or organize API requests for reuse or manual…

    19k GitHub stars~1.9k tokensUpdated today
    Backend & APIsAuto-check passed
  • Gemini Live API Dev

    google-gemini/gemini-skills

    Official

    A skill your agent uses when building real-time, bidirectional streaming applications with the Gemini Live API, or migrating legacy Live models (2.0/2.5/3.1) to Gemini 3.8 Live.

    4.3k GitHub stars~4.6k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Web3 Polymarket

    Polymarket/agent-skills

    Polymarket integration for prediction market trading on Polygon.

    191 GitHub starsUsed in 2 repos~2k tokens
    Backend & APIsAuto-check passed
  • GraphQL Architect

    Jeffallan/claude-skills

    Designs GraphQL schemas and Apollo Federation graphs, with DataLoader resolvers, subscriptions, query complexity limits and caching.

    12k GitHub starsUsed in 1 repo~1.3k tokens
    Backend & APIsAuto-check passed
  • Broker Integration

    marketcalls/openalgo

    Integrate a new Indian broker into OpenAlgo, or modify an existing broker plugin.

    2.8k GitHub stars~4.7k tokensUpdated today
    Backend & APIsAuto-check: notes

More from exelearning/exelearning

All 17 skills in this repo
  • E2E Test

    exelearning/exelearning

    Write or debug repository Playwright specs, including isolated projects, preview frames and multi-user fixtures.

    145 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Frontend Module

    exelearning/exelearning

    Change vanilla JavaScript UI modules in public/app/, including DOM state, events and localization.

    145 GitHub stars~867 tokensUpdated today
    Auto-check passed
  • I18n

    exelearning/exelearning

    Add or change source-level localized strings using (), c() or the Nunjucks trans filter; not catalog extraction.

    145 GitHub stars~812 tokensUpdated today
    Auto-check passed
  • Idevice

    exelearning/exelearning

    Create or modify an eXeLearning iDevice, including edition/export data, legacy compatibility, assets, TypeScript bundles and teardown.

    145 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Verify Change

    exelearning/exelearning

    Choose and run the appropriate eXeLearning checks for a diff, including the final code gates or guidance-only validation.

    145 GitHub stars~676 tokensUpdated today
    Auto-check passed
  • API V1

    exelearning/exelearning

    Add or change external REST API v1 endpoints and their documented authentication/authorization contracts.

    145 GitHub stars~427 tokensUpdated today
    Auto-check passed

Categories

Questions about Websocket Yjs

What does Websocket Yjs do?

Change eXeLearning shared document mutations, WebSocket rooms, snapshots, reconnects or concurrent editing behavior. Websocket Yjs is an agent skill from exelearning/exelearning. Change eXeLearning shared document mutations, WebSocket rooms, snapshots, reconnects or concurrent editing behavior.

When should I use Websocket Yjs?

Websocket Yjs fits situations like: tasks that involve Realtime and WebSockets.

How do I install Websocket Yjs in Claude Code?

Run `npx skills add exelearning/exelearning --skill websocket-yjs -a claude-code`. Or copy the skill folder (.agents/skills/websocket-yjs in exelearning/exelearning) into .claude/skills/websocket-yjs in your project. Claude Code loads it when a task matches its description.

How do I install Websocket Yjs in Codex?

Run `npx skills add exelearning/exelearning --skill websocket-yjs -a codex`. Or copy the skill folder (.agents/skills/websocket-yjs in exelearning/exelearning) into .agents/skills/websocket-yjs in your project. Codex loads it when a task matches its description.

Can I use Websocket Yjs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add exelearning/exelearning --skill websocket-yjs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/websocket-yjs, .gemini/skills/websocket-yjs, .github/skills/websocket-yjs and .opencode/skills/websocket-yjs in your project.

What does Websocket Yjs need to run?

SKILL.md names no scripts, command-line tools or credentials: Websocket Yjs is instructions for the agent only.

Does Websocket Yjs access the network?

SKILL.md names 1 domain. As links in the text: docs.yjs.dev. This is read from the text; nothing was executed.

Is Websocket Yjs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Websocket Yjs use?

Websocket Yjs is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Websocket Yjs use?

About 759 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Websocket Yjs?

Skills that share tags, products or a category with Websocket Yjs: Supabase Development and Debugging (supabase/agent-skills, 2.7k stars), Use Yaak (mountain-loop/yaak, 19k stars), Gemini Live API Dev (google-gemini/gemini-skills, 4.3k stars) and Web3 Polymarket (Polymarket/agent-skills, 191 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Websocket Yjs?

exelearning (a GitHub organization) maintains it in exelearning/exelearning, which has 145 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 7, 2026.

Source: exelearning/exelearning on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.