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.
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-patternsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/serac-labs/serac /tmp/serac && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/serac/packages/skills/csm-patterns ~/.gemini/antigravity-cli/skills/csm-patternsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Scores inbound HubSpot leads on engagement, company fit and urgency, then ranks the ones worth a call today. Built for sales owners who need to decide who to call first.
Builds a ranked list of prospects by deriving an ideal customer profile from existing customers. It finds look-alike companies and decision-makers, then scores them. Built for owners who need new customers.
Writes prospect outreach and follow-up sequences in the owner's own voice, learned from their sent mail. Queues every send for approval and logs each touch to the CRM. Runs draft-only when no mail connector is available.
Writes and runs B2B cold outbound, including cold emails, follow-up sequences, LinkedIn messages and multichannel cadences. Built for sales development and outbound teams that want replies rather than template blasts.
Speed to Lead checks inbound inquiries from web forms, the shared inbox, and the CRM, then drafts replies for the owner to approve. It is for owners who lose leads because nobody replies fast enough.
Helps write, build and improve B2B cold email and follow-up sequences for prospects who did not opt in. Covers SDR and founder outreach.
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.
