csdm-modeling

csdm-modeling is a skill for Claude Code from serac-labs/serac. It costs 53 tokens per session (4,698 once invoked), scanned A, original, Apache-2.0.

Guidance for choosing the correct ServiceNow Common Service Data Model (CSDM) class for a service record in the configuration management database (CMDB).

In plain words
What is it for?
Use it to distinguish business services, service offerings, application services, and business applications, and to direct CMDB tools to the appropriate class.
Why use it?
It helps prevent records from being placed in the wrong ServiceNow class, which can make later reporting, rules, references, and migrations harder.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the skills plugin — 56 skills shipped together

Good fit Use it to distinguish business services, service offerings, application services, and business…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/serac-labs/serac/csdm-modeling
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.

Any agent
npx skills add serac-labs/serac --skill csdm-modeling
Clone the repo
git clone --depth 1 https://github.com/serac-labs/serac

Made for: Claude Code.

Or install skills, the plugin that ships this one along with the rest of its 56 skills.

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 csdm-modeling

README.md
[![agentmods](https://agentmods.dev/badge/skills/serac-labs/serac/csdm-modeling.svg)](https://agentmods.dev/skills/serac-labs/serac/csdm-modeling)
Your own site
<a href="https://agentmods.dev/skills/serac-labs/serac/csdm-modeling"><img src="https://agentmods.dev/badge/skills/serac-labs/serac/csdm-modeling.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,698 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.
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.00053 $0.04698
Opus 5 $0.00026 $0.02349
Sonnet 5 $0.00011 $0.00940
Haiku 4.5 $0.00005 $0.00470

Measured 7d ago against content hash 8346f1525a32, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

csdm-modeling 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 7d 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.

packages/skills/csdm-modeling/SKILL.md · 328 lines

How it starts

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

CSDM Modeling

The Common Service Data Model is ServiceNow's prescription for which table a service record goes in. It is not a plugin, not a field, and not something you switch on. It is a set of classes that already exist in your CMDB, plus guidance about which one a given record belongs to. Get the class wrong and nothing fails today — the record saves, the tool returns created: true, and the bill arrives later. ServiceNow's own migration guidance is blunt about the trade: you can keep using non-conforming tables, but "you might not get the full benefit of your products", and moving CIs to the right table afterwards does not move the reports, business rules and references already pointing at them, while "during migration, you lose all customized or base-system attributes that are not in the same table hierarchy".

This guide is about the model. cmdb-patterns is about the tools — relationship mechanics, orphan and stale detection, the cmdb_rel_type lookup. Read that one for those.

The default mistake

Asked to "create a business service", an agent reaches for snow_create_ci with ci_class: "cmdb_ci_service". That produces a record in the base Service class — precisely the record ServiceNow publishes a migration path off of. A dedicated Business Service class exists, the guidance to move records into it is published, and a large share of long-lived instances are carrying exactly that backlog right now.

Never create a record in cmdb_ci_service. It is a parent class. Records belong in one of its children.

The classes, and what belongs in each

What you are modelling Table Platform label
A service published to business users cmdb_ci_service_business Business Service
A service published to service owners, underpinning business services cmdb_ci_service_technical Technology Management Service (formerly Technical Service)
A specific consumable variant of a service, with commitments service_offering Service Offering
A running, mapped instance of an application and its infrastructure cmdb_ci_service_auto Service Instance (formerly Application Service)
The same, created by the Manual service population method cmdb_ci_service_discovered Mapped Application Service
The conceptual application the business talks about cmdb_ci_business_app Business Application
The installed software instance on a host cmdb_ci_appl Application

Read the full file on GitHub · 328 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. 7d ago First seen · 328 lines · 53 tokens per session scan A 8346f1525a32

Subscribe to this mod's changes

csdm-modeling is a skill published in the GitHub repository serac-labs/serac (78 stars, last pushed 12d ago), licensed Apache-2.0. It adds 53 tokens to every session and 4,698 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-30.