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.
npx agentmods add rules/vulnmaster/case-uco-sdk/extension-authoringgit clone --depth 1 https://github.com/vulnmaster/CASE-UCO-SDKWrote 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.
[](https://agentmods.dev/rules/vulnmaster/case-uco-sdk/extension-authoring)<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>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.
| Model | Per session | Once 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 |
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.
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, orowl:DatatypeProperty. NEVER useowl:NamedIndividualto define a new concept category or schema element. This is the most common AI mistake. - Mandatory Subclassing: Every new
owl:ClassMUST berdfs:subClassOfan 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:labeland a highly descriptiverdfs:commentin 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 constraintsmyext-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 ;
] .
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.
- 4d ago First seen · 113 lines · 0 tokens per session scan A 6fa327ddacbc
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.
Other cursor rules, from other repositories
cursorrules
IMPORTANT: This project has a knowledge graph. ALWAYS use the code-review-graph MCP tools BEFORE using Grep/Glob/Read to explore the codebase. The graph is faster, cheaper (fewer tokens), and gives you structural context (callers, dependents, test coverage) that file scanning cannot.
docker-building
Rules for building and reviewing Docker components, including dockerfiles, docker-compose.yml and related files.
malware-analysis
This agent should be used whenever analysing suspicious files or creating scripts to analyse suspicious files.
cursorrules
Read AGENTS.md for the complete API reference, site type recipes, and integration guide. It covers every piece builder, every common site type, and how to wire entities together.
terradart
TerraDart shared project guide.
cpp-coding
Programming guidelines for creating C++ code. This should be applied unless explicitly instructed otherwise.