extension-authoring

extension-authoring is a cursor rule for Cursor from vulnmaster/CASE-UCO-SDK. It costs 0 tokens per session (1,228 once invoked), scanned A, original, Apache-2.0.

Rules for creating extensions to CASE and UCO, standards for describing digital evidence and related information with web-linked definitions.

In plain words
What is it for?
Writing OWL classes and properties with required parent classes, labels, detailed English descriptions, source citations, and patterns based on CASE examples.
Why use it?
They reduce common ontology modelling mistakes, such as defining categories as individual records or leaving new concepts without parent types and documentation.

Cursor rule for Cursor

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 rules/vulnmaster/case-uco-sdk/extension-authoring
Clone the repo
git clone --depth 1 https://github.com/vulnmaster/CASE-UCO-SDK

Made for: Cursor.

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 extension-authoring

README.md
[![agentmods](https://agentmods.dev/badge/rules/vulnmaster/case-uco-sdk/extension-authoring.svg)](https://agentmods.dev/rules/vulnmaster/case-uco-sdk/extension-authoring)
Your own site
<a href="https://agentmods.dev/rules/vulnmaster/case-uco-sdk/extension-authoring"><img src="https://agentmods.dev/badge/rules/vulnmaster/case-uco-sdk/extension-authoring.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,228 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.00000 $0.01228
Opus 5 $0.00000 $0.00614
Sonnet 5 $0.00000 $0.00246
Haiku 4.5 $0.00000 $0.00123

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

Security

Grade A, and why

extension-authoring 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 4d 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.

.cursor/rules/extension-authoring.mdc · 113 lines

How it starts

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

Extension Ontology Authoring

Follow these patterns when creating CASE/UCO extension ontologies. These rules are derived from the CDO Community Playground Guide.

Critical Constraints

  • T-Box vs. A-Box: When defining new ontology concepts, you MUST use owl:Class, owl:ObjectProperty, or owl:DatatypeProperty. NEVER use owl:NamedIndividual to define a new concept category or schema element. This is the most common AI mistake.
  • Mandatory Subclassing: Every new owl:Class MUST be rdfs:subClassOf an existing UCO, CASE, or established community extension class. Classes may have multiple superclasses, but must respect class disjointedness (if A and B are disjoint, C cannot subclass both).
  • Documentation: ALWAYS include rdfs:label and a highly descriptive rdfs:comment in English (@en) for every class and property. Err on the side of longer, more detailed descriptions. Descriptions should include citations to a canonical source that is web accessible (e.g., an RFC, W3C spec, NIST publication, or authoritative reference URL).
  • Reference Validated Examples: Prioritize patterns from CASE-Examples.

File Structure

Each extension MUST have separate OWL and SHACL files:

  • myext.ttl — OWL class and property definitions (T-Box)
  • myext-shapes.ttl — SHACL NodeShape constraints
  • myext-exemplar.ttl — example instance data (A-Box) for validation testing

Class Definition Pattern

myext:MyClass
    a owl:Class ;
    rdfs:subClassOf uco-core:UcoObject ;
    rdfs:label "MyClass"@en ;
    rdfs:comment "A detailed description of what this class represents, written so that cyber domain practitioners can broadly understand it. See https://example.org/spec for the canonical definition."@en .

SHACL Shape Pattern

myext:MyClass-shape
    a sh:NodeShape ;
    sh:targetClass myext:MyClass ;
    sh:property [
        sh:path myext:myProperty ;
        sh:datatype xsd:string ;
        sh:minCount 1 ;
        sh:maxCount 1 ;
    ] .

Read the full file on GitHub · 113 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. 4d ago First seen · 113 lines · 0 tokens per session scan A 6fa327ddacbc

Subscribe to this mod's changes

extension-authoring is a cursor rule published in the GitHub repository vulnmaster/CASE-UCO-SDK (9 stars, last pushed 4d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,228 tokens. 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.