qalma-plugin-development

qalma-plugin-development is a skill for Claude Code, Codex from cdskill/qalma. It costs 64 tokens per session (625 once invoked), scanned A, original, MIT.

A development workflow for building and maintaining Qalma editor plugins, including ProseMirror-based editing features.

In plain words
What is it for?
Use it to add or change editor marks, nodes, commands, keyboard shortcuts, options, toolbars, plugin kits, sandbox examples, or behavior tests.
Why use it?
It keeps new editor features consistent with Qalma's architecture, public API, controls, and tests.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/cdskill/qalma/qalma-plugin-development
Any agent
npx skills add cdskill/qalma --skill qalma-plugin-development
Clone the repo
git clone --depth 1 https://github.com/cdskill/qalma

Made for: Claude Code, Codex.

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 qalma-plugin-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/cdskill/qalma/qalma-plugin-development.svg)](https://agentmods.dev/skills/cdskill/qalma/qalma-plugin-development)
Your own site
<a href="https://agentmods.dev/skills/cdskill/qalma/qalma-plugin-development"><img src="https://agentmods.dev/badge/skills/cdskill/qalma/qalma-plugin-development.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 625 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00064 $0.00625
Opus 5 $0.00032 $0.00313
Sonnet 5 $0.00013 $0.00125
Haiku 4.5 $0.00006 $0.00063

Measured 3d ago against content hash 842ccecda41e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

qalma-plugin-development 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 3d ago.

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.

.agents/skills/qalma-plugin-development/SKILL.md · 62 lines

How it starts

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

Qalma Plugin Development

Build each plugin as a complete consumer-visible vertical slice while preserving the headless Qalma architecture.

Prepare

  1. Read plugin-contract.md.
  2. Read definition-of-done.md.
  3. Inspect qalma-plugin.ts, the closest existing plugin, the ProseMirror registries, the public barrel, sandbox composition, and relevant tests.
  4. Use qalma-architecture first if the feature needs a new core extension point, public escape hatch, or library boundary.

Implement A Plugin

  1. Define the capability and separate engine behavior from consumer presentation.
  2. Prefer a proven ProseMirror package or primitive for editing semantics.
  3. Design Qalma-owned names and public options. Keep the raw engine contract private by default.
  4. Add the plugin under libs/editor/src/lib/plugins unless architecture criteria justify another location.
  5. Contribute only the contract fields the feature needs: schema, commands, command states, shortcuts, or ProseMirror plugins.
  6. Export only consumer-facing symbols from libs/editor/src/index.ts.
  7. Configure the plugin in the sandbox TypeScript and compose its controls explicitly in the sandbox template. Never make the core auto-render buttons.
  8. Use qalma-docs-sync to update apps/docs, docs navigation, and libs/editor/README.md for the public plugin surface.
  9. Add focused tests for public behavior, configuration, invalid options, state, and keyboard behavior as applicable.
  10. Run the definition-of-done checks and stop every server started for testing.

Configurable Plugin Rules

  • Define a Qalma-owned ...PluginOptions interface.
  • Export immutable default options when consumers benefit from knowing them.
  • Use createConfigurableQalmaPlugin.
  • Merge partial options with defaults.
  • Validate resolved options early with actionable errors.
  • Do not mutate the base plugin or previously configured instances.
  • Do not expose every upstream option automatically; expose options that form a useful and supportable public contract.

Read the full file on GitHub · 62 lines

Files

What ships with it

3 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. 3d ago First seen · 62 lines · 64 tokens per session scan A 842ccecda41e

Subscribe to this mod's changes

qalma-plugin-development is a skill published in the GitHub repository cdskill/qalma (10 stars, last pushed 1mo ago), licensed MIT. It adds 64 tokens to every session and 625 once invoked, about $0.0003 per session on Opus 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-31.

Related

Other skills, from other repositories

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

heap-snapshot-analysis

Analyze V8 heap snapshots to investigate memory leaks and retention issues. Use when given .heapsnapshot files, asked to compare before/after snapshots, asked to find what retains objects, or investigating why objects survive GC. Provides snapshot parsing, comparison, retainer-path helpers, and scratchpad scripts.

microsoft/vscode · 65 tokens

integrated-browser

Use this when working on the VS Code integrated browser ("browserView") to understand its architecture and mental model. Covers the embedded Chromium browser, its editor tab, navigation, overlay/layout, sessions, and agent browser tools under src/vs/platform/browserView and src/vs/workbench/contrib/browserView.

microsoft/vscode · 68 tokens

agent-host-e2e-tests

Use when writing, recording, updating, validating, or troubleshooting the agent host end-to-end tests under src/vs/platform/agentHost/test/node/e2e (black-box tests that drive the whole agent host over the AHP protocol, using a CapiReplayProxy record/replay system for Claude/Copilot/Codex). Covers adding a…

microsoft/vscode · 111 tokens

update-codex-sdk

Update VS Code's bundled @openai/codex dependency to a version available from the private VS Code npm feed, regenerate its protocol client, run the relevant tests, and verify the Codex Agent Host in a launched Code OSS window. Use for bundled Codex SDK/CLI version bumps in the VS Code repository.

microsoft/vscode · 70 tokens

ui4

Manually invoked skill for reskinning Payload UI components. Requires Figma URL. Usage: /ui4.

payloadcms/payload · 0 tokens