Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

csm-patterns

Skill by serac-labs

Builds ServiceNow Customer Service Management patterns for accounts, contacts, cases, service entitlements and Customer Portal case submission. It is written for developers building CSM on ServiceNow.

  • Score 52
  • 77 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install csm-patterns

Built from the published package, never by AI.

git clone --depth 1 https://github.com/serac-labs/serac /tmp/serac && mkdir -p ~/.claude/skills && cp -r /tmp/serac/packages/skills/csm-patterns ~/.claude/skills/csm-patterns

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install csm-patterns in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

csm-patterns is an agent skill for building ServiceNow Customer Service Management. It provides code patterns for customer accounts and contacts (customer_account, customer_contact), customer cases (sn_customerservice_case), case routing in a before insert business rule, and service entitlements (service_entitlement). It also covers Customer Portal widget server scripts for submitting cases and listing a user's cases.

The skill includes an architecture overview linking accounts, contacts, contracts, entitlements, assets and cases. Entitlement examples check whether a customer is entitled, and an after insert business rule decrements used and remaining case counts and queues an entitlement.low event when five or fewer remain. It also lists MCP tools for querying CSM tables, finding and deploying CSM artifacts and running scripts. It is aimed at developers working on CSM in ServiceNow.

Written from the project's SKILL.md and checked against it.

What it can do

  • snow_query_tableQueries CSM tables such as sn_customerservice_case and ast_contract.
  • snow_artifact_manageFinds CSM configurations and deploys CSM widgets.
  • snow_execute_scriptRuns CSM scripts, such as a checkEntitlement test, for testing.
  • Case routingAssigns cases by premium support entitlement, product support group or a default group.
  • Entitlement usageDecrements used and remaining cases when a case is created and links the case to the entitlement.
  • Customer Portal casesProvides a widget server script that creates cases and lists a user's recent cases.
  • Account and contact setupShows how to create customer accounts and contacts, including a portal user for a contact.

What you need

  • Serac
  • ServiceNow development environment

Try asking

  • Write a before insert business rule that routes CSM cases to a support group.
  • Show me how to check a customer's active premium support entitlement.
  • Create a Customer Portal widget script that lists a user's recent cases.

Good to know

  • Code samples are ES5 JavaScript only, according to the source.
  • The snow_create_customer_case tool is listed in the metadata but is not described in the body.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: packages/skills/csm-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to csm-patterns

All alternatives →

Compare with lead-triage, lead-finder or outreach-composer

csm-patterns: common questions

Which tables does this skill cover?

The source covers customer_account, customer_contact, sn_customerservice_case, service_entitlement and ast_contract, along with related contracts, assets and cases.

Does it include Customer Portal code?

Yes. It includes a widget server script that creates a case from user input and returns a user's cases with state and priority display values.

What JavaScript version do the examples use?

The source states that the examples are ES5 only and warns against modern JavaScript syntax.

How do I install csm-patterns?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is csm-patterns free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is csm-patterns safe to use?

It scores 52 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to csm-patterns?

Similar skills: lead-triage, lead-finder, outreach-composer, cold-email.

csm-patterns Install

Add to stack

Loading.