vmark: Skill for Claude Code

.claude/skills/tiptap-dev/SKILL.md

tiptap-dev is a skill for Claude Code from xiaolai/vmark. It costs 68 tokens per session (898 once invoked), scanned A, original, ISC.

A development guide for building rich-text editors with Tiptap, a toolkit for creating editable documents in web applications. It covers Tiptap's underlying ProseMirror model and its React integration.

In plain words
What is it for?
Use it to create custom formatting and document elements, add typing or paste behavior, build React editors, and extend existing Tiptap features.
Why use it?
It gives developers patterns for extending an editor without having to work out the document structure and editor commands alone.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is xiaolai/vmark's own configuration. It tells Claude Code how to work on vmark itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything vmark configures →

Reuse

Borrowing it

Nothing to install: this file belongs to xiaolai/vmark. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/xiaolai/vmark/main/.claude/skills/tiptap-dev/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/xiaolai/vmark

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tiptap-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaolai/vmark/tiptap-dev/github.svg)](https://agentmods.dev/skills/xiaolai/vmark/tiptap-dev)
Your own site
<a href="https://agentmods.dev/skills/xiaolai/vmark/tiptap-dev"><img src="https://agentmods.dev/badge/skills/xiaolai/vmark/tiptap-dev/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tiptap-dev

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaolai/vmark/tiptap-dev"><img src="https://agentmods.dev/badge/skills/xiaolai/vmark/tiptap-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 898 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.00898
Opus 5.5 $0.00027 $0.00359
Sonnet 5.5 $0.00014 $0.00180
Haiku 4.5 $0.00007 $0.00090

Measured yesterday against content hash a32ed1451781, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tiptap-dev scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/tiptap-dev/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tiptap Development (VMark)

VMark's WYSIWYG editor is Tiptap on ProseMirror. This skill covers both the general Tiptap API and where VMark uses Tiptap versus raw ProseMirror.

Tiptap API or ProseMirror?

Prefer the Tiptap API for: format commands (bold, italic, underline…), block type changes, list operations, table operations through the table extension, content insertion and replacement, and state queries (isActive, getAttributes). Use editor.commands.x() for one operation and editor.chain().focus().x().run() when focus is needed or operations chain.

Use ProseMirror directly for:

  • The markdown conversion layer (src/utils/markdownPipeline/ — mdastToProseMirror.ts and the mdast*Converters.ts family)
  • Multi-cursor selection subclassing (src/plugins/shared/MultiSelection.ts)
  • Custom node views, low-level transactions, schema-level operations

Respect block boundaries. Never flatten with doc.textContent when a position or block matters; resolve the position and use the $pos helpers ($pos.parent, $pos.before(depth), $pos.after(depth)). references/vmark-patterns.md has the $pos reference.

VMark examples to copy from: src/plugins/toolbarActions/wysiwygAdapter*.ts (block, list, code-block and CJK operations), src/plugins/editorPlugins.tiptap.ts (state checks), src/components/Editor/TiptapEditor.tsx (content setup). Plugins must not import app stores (lint:store-coupling; rule 00).

When to Use This Skill

  • Creating custom nodes, marks, or extensions for Tiptap
  • Implementing input rules or paste rules
  • Working with the Tiptap commands API
  • Building React integrations with useEditor
  • Extending existing extensions
  • Creating custom node views
  • Understanding the schema and content model

Reference Files

File Description
references/extensions.md Extension types (Node, Mark, Extension), creation patterns
references/commands-and-api.md Commands API, editor API, chaining
references/input-paste-rules.md Input rules and paste rules
references/react-integration.md React-specific hooks and components
references/schema.md Schema properties, content patterns
references/examples.md Complete working examples
references/vmark-patterns.md Commands, state queries, $pos traversal and transactions, as VMark uses them

Read the full file on GitHub · 96 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +24 lines · -12 tokens per session a32ed1451781
  2. 2mo ago First seen · 72 lines · 80 tokens per session scan A 3705ee643873

Subscribe to this mod's changes

tiptap-dev is a skill published in the GitHub repository xiaolai/vmark (878 stars, last pushed yesterday), licensed ISC. It adds 68 tokens to every session and 898 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens