qalma AGENTS.md

Repository guidance for Qalma, an Angular-first rich-text editor built on ProseMirror. It emphasizes typed Angular interfaces, signal-based state, accessibility, consumer-controlled UI, and plugin-based extension points.

In plain words
What is it for?
Use it when adding or changing editor plugins, commands, formatting marks, document nodes, keyboard shortcuts, public capabilities, documentation, architecture, or releases.
Why use it?
It helps contributors preserve the editor's public developer interface and architectural boundaries while changing editor behavior.

Instructions file for CodexOpenCode

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 instructions/cdskill/qalma/agents-md
Clone the repo
git clone --depth 1 https://github.com/cdskill/qalma

Made for: Codex, OpenCode.

Per session 1,059 This file is loaded in full into every session.
When invoked 1,059 The same file — it is already loaded in full.
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.01059 $0.01059
Opus 5 $0.00530 $0.00530
Sonnet 5 $0.00212 $0.00212
Haiku 4.5 $0.00106 $0.00106

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

Security

Grade A, and why

qalma AGENTS.md 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 2d 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.md · 104 lines

How it starts

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

Qalma Repository Guidance

Mission

Build an Angular-first, headless, plugin-based rich text editor on ProseMirror. The product should offer the composability expected from modern editors such as Plate or Tiptap while feeling native to Angular.

The public developer experience is the product. Prefer typed Angular-facing contracts, signal-based state, consumer-owned UI, accessibility, and deliberate extension points over exposing raw ProseMirror details.

Repository Skills

  • Use qalma-architecture for product vision, repository structure, public API design, new library boundaries, and architectural refactors.
  • Use qalma-plugin-development whenever adding, changing, reviewing, or removing an editor plugin, command, mark, node, shortcut, or ProseMirror behavior.
  • Use qalma-docs-sync after adding, changing, reviewing, or removing a public plugin capability that affects apps/docs, docs navigation, playground behavior, libs/editor/README.md, or durable workflow guidance.
  • Use git-commit when the user invokes /commit or asks to generate and create a conventional commit from staged changes.
  • Use qalma-release when discussing or changing versioning, the release scripts, the GitHub Actions release workflow, Nx release configuration, or npm publishing for @qalma/editor.

Architectural Invariants

  • Keep libs/editor headless. Do not bake toolbar buttons, product styling, or a fixed feature set into editor primitives.
  • Let consumers select plugins in TypeScript and compose their UI explicitly through Angular templates and content projection.
  • Treat apps/sandbox as a real consumer and executable documentation. It must use only the intentional public API from @qalma/editor.
  • Keep ProseMirror as the internal engine. Expose it publicly only after an explicit API design decision.
  • Let a QalmaPlugin contribute schema nodes or marks, commands, command states, shortcuts, and ProseMirror plugins.
  • Expose configurable features through Qalma-owned option interfaces, immutable defaults, and validation. Do not leak a third-party options object as the public contract by default.
  • Keep first-party plugins in libs/editor/src/lib/plugins until a real dependency, release, ownership, or bundle boundary justifies a dedicated lib.
  • Preserve unique plugin keys, schema names, command names, and shortcuts.
  • Keep the public barrel intentional and small. Do not export internal ProseMirror helpers or compatibility aliases without a concrete need.
  • Keep plugins/qalma as the public agent skill pack for Codex, Claude-compatible skill loaders, and other agents that consume SKILL.md folders.

Read the full file on GitHub · 104 lines

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. 2d ago First seen · 104 lines · 1,059 tokens per session scan A 9a67bfc28cb8

Subscribe to this mod's changes

qalma AGENTS.md is an instructions file published in the GitHub repository cdskill/qalma (10 stars, last pushed 1mo ago), licensed MIT. It adds 1,059 tokens to every session, about $0.0053 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.