
Description
Collaborative Text Editor is an agent skill that shows a coding agent how to build the backend of a shared, real-time text editor on RivetKit. Each document is one Rivet Actor that acts as a relay: it passes Yjs CRDT sync messages and awareness updates between the people who have the document open, so edits and cursors show up live for everyone. The actor also saves document snapshots. The skill points to a working example that includes a React front end with a plain textarea, remote cursor overlays and an index of documents in a workspace. Before writing code, the agent is told to read the BASE_SKILL.md guide that ships with the RivetKit skills, which covers debugging, error handling, state management, deployment and project setup. It is for developers who want shared editing inside their own app and would rather have an agent scaffold the server side than write the sync layer by hand.…
Highlights
- One Rivet Actor per document as the sync relay
- Yjs CRDT document sync with presence and cursors
- Snapshot persistence for each document
- React example with remote cursor overlays
- Points to a working example on GitHub
Ratings & Reviews
No ratings yet
Be the first to rate collaborative-text-editor.
People also visit
collaborative-text-editor FAQ
What does this skill do?
It guides a coding agent to build a collaborative text editor backend: one Rivet Actor per document, Yjs CRDT sync, presence and cursors, and snapshot persistence.
Who is it for?
Developers who want to add shared editing to an app on RivetKit and want an agent to set up the server side from a working pattern.
How do I install it?
Run npx skills add https://github.com/rivet-dev/skills --skill collaborative-text-editor in a project where your agent can use skills.
Does it need anything else?
The skill tells the agent to read the BASE_SKILL.md guide first. The reference code is in the rivet repository under examples/collaborative-document.
What are the security audit results?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Warn.
What are the best collaborative-text-editor alternatives?
Popular alternatives to collaborative-text-editor include deepspace, doc-coauthoring and anthropics/doc-coauthoring. See all collaborative-text-editor alternatives














