CSM agent pack
Set-up

About 30 minutes of questions. Then your files, one at a time.

Type /setup in Claude Code. It asks one short question at a time, in plain words: 41 at most, fewer when some do not apply. Most have a default you can accept with “yes”, and “I don’t know” is always an answer. You can stop and pick up later, and change one answer afterwards (for example /setup competitors).

Short on time

Quick start: your own board from one file, before the full set-up

1. Give it one customer list

Type /start your-file.csv. A customer list with an account name is enough; renewal date, revenue and seat counts add depth. The pack works out your columns and shows any guess for you to confirm.

2. See your accounts in minutes

Your own accounts, what can and cannot be assessed with this one file (the rest says “not available”), the agents’ first reading and a first board. Nothing is sent or written to any outside system.

3. Then the full set-up

Until you run /setup it uses the demo company’s wording and competitor list, so the competitor, add-on and weekly-brief checks are matched against the demo’s lists, not yours. The full set-up fixes that, and you lose nothing by doing the quick start first.

The time, honestly

PartRealistic timeNotes
The interview, defaults accepted where they fitabout 30 minUp to about 45 minutes if you think each answer through. Stage times below add to about 30 minutes.
Each data export you connect10 to 20 min eachThe export itself is the long part. Bring them one at a time, after the questions (/setup connect). Nothing is lost by waiting.
First boardminutesOne customer list is enough for a first board; usage, tickets and contacts follow later.
Real-data readinessdays to weeks, mostly not yours to speed upYour company must approve AI processing of customer data in writing, and automatic sending needs legal sign-off. Both are on the limits page.

Stage lengths to scale, as the set-up interview itself states them.

After set-up, /profile chooses how deep each scan goes (lite, standard or full) and sets a spending cap: compare the three.

The data you can connect

An account name is the only required column in the customer list. Everything else makes the output richer, and a missing source is named as “not assessed”, never guessed.

Start here

Customer list

One row per customer: account name or id, renewal date, annual revenue (helps pick white-glove accounts by “top N by revenue”). Enough for a first board.

10 to 20 min

Usage

One row per customer and date: units licensed and in use, or a usage volume (API calls, messages). It drives adoption checks and the usage-drop signals. With no usage export there is no adoption monitoring at all; that source has no substitute.

10 to 20 min

Support tickets

Account, created date, subject, priority if you have it. Drives support-pain risk and the growth signals that come from ticket patterns.

10 to 20 min

Contacts

Account, name, job title, email, last activity. Shows who the champion is, who left, and whether an account depends on one person.

10 to 20 min

Optional: calls, CRM and customer-success platform exports

Call transcripts or notes, Salesforce-style opportunity and account data, Gainsight-style timeline, health and success-plan data. Any toolset works: the pack recognises files by their columns and shows you its column guesses to confirm.

Optional: the weekly market brief

Built by this repository’s own sentinel app from news feeds you choose, behind a wall from customer data. Nothing from your customers goes into it.

Not every export format is verified: the pack ships stand-in stacks for common tools, and your first real ingest will usually need a few fixes. See limits.

Every field the pack reads

Only the customer list’s id and name are required. A missing field is never guessed: the checks that need it say “not assessed”. This table is generated from the pack’s data contract, and the same table is in docs/SETUP_GUIDE.md in the repository. Once you have exports, python3 scripts/optional_fields.py lists the optional fields yours lack, where each could come from and which checks it would switch on.

account: Salesforce Account (or Gainsight Company)

Usual file: salesforce/accounts.csv

FieldNeedUsually called
idRequiredId, Account ID, AccountId
nameRequiredName, Account Name, Company Name
arrCoreARR__c, ARR, Annual Recurring Revenue
renewal_dateCoreContract_End_Date__c, Renewal Date, Next Renewal Date
contract_startCoreContract_Start_Date__c, Contract Start Date, Original Contract Date
segmentUsefulSegment__c, Segment, CS Segment
industryUsefulIndustry, Vertical
countryUsefulBillingCountry, Country, Billing Country
websiteUsefulWebsite, Domain
employeesUsefulNumberOfEmployees, Employees, Employee Count
competitorsUsefulCompetitors__c, Competitors, Incumbent
term_monthsUsefulContract_Term_Months__c, Term (Months), Contract Term
auto_renewUsefulAuto_Renew__c, Auto Renew, Auto-Renewal
currencyUsefulCurrencyIsoCode, Currency
parent_idUsefulParentId, Parent Account, Parent Account ID
ae_ownerUsefulOwnerName, Account Owner, Owner
channel_modelUsefulChannel_Model__c, Channel Model, Route to Market
partner_nameUsefulPartner_Name__c, Partner, Reseller
contract_yearUsefulContract_Year__c, Contract Year, Year of Term
notesUsefulDescription, Account Notes, Notes
licensedUsefulSeats Licensed, Licensed Seats, Seats Purchased
usage_commitUsefulCommitted Volume, Commit, Committed Usage

contact: Salesforce Contact (or Gainsight Person)

Usual file: salesforce/contacts.csv

FieldNeedUsually called
account_idRequiredAccountId, Account ID, Associated Company ID
emailRequiredEmail, Email Address
first_nameCoreFirstName, First Name
last_nameCoreLastName, Last Name
titleUsefulTitle, Job Title
roleUsefulRole__c, Role, Contact Role
statusUsefulStatus__c, Status, Active
last_activityUsefulLastActivityDate, Last Activity, Last Activity Date
email_bouncedUsefulEmail Bounced, EmailBounced, IsEmailBounced

subscription: Salesforce Subscription, Asset or Opportunity Product lines

Usual file: salesforce/subscriptions.csv

FieldNeedUsually called
account_idRequiredAccountId, Account ID
productRequiredProduct, Product Name, Product2.Name
quantityCoreQuantity, Qty, Licences
arrUsefulARR, Line ARR
end_dateUsefulEndDate, End Date

opportunity: Salesforce Opportunity

Usual file: salesforce/opportunities.csv

FieldNeedUsually called
account_idRequiredAccountId, Account ID, Associated Company ID
typeRequiredType, Opportunity Type, Deal Type
stageCoreStageName, Stage, Deal Stage
amountCoreAmount
close_dateCoreCloseDate, Close Date, Expected Close Date
forecastUsefulForecastCategory, Forecast Category
last_activityUsefulLastActivityDate, Last Activity Date
idUsefulId, Opportunity ID, OpportunityId
descriptionUsefulDescription, Notes, Next Step

gs_company: Gainsight Company + Scorecard

Usual file: gainsight/company.csv

FieldNeedUsually called
account_idRequiredSFDC_Account_Id, SFDC Account Id, Account ID
gsidCoreGsid, GSID, Company ID
health_scoreCoreOverall_Health_Score, Overall Score, Health Score
lifecycle_stageUsefulLifecycle_Stage, Stage, Lifecycle Stage
adoption_scoreUsefulAdoption_Score, Product Adoption
engagement_scoreUsefulEngagement_Score, Engagement
support_scoreUsefulSupport_Score, Support
sentiment_scoreUsefulSentiment_Score, CSM Sentiment, Sentiment
npsUsefulNPS, NPS Score, Latest NPS
nps_commentUsefulNPS_Comment, NPS Comment, NPS Verbatim
nps_dateUsefulNPS_Date, NPS Response Date, Survey Date
last_touchUsefulLast_Touch_Date, Last Activity Date, Last Timeline Activity
seasonalityUsefulSeasonality_Note, Seasonality
hostingUsefulHosting__gc, Hosting, Deployment Type
product_versionUsefulDispatch_Version__gc, Dispatch Version
offerUsefulOffer__gc, Offer, Plan
web_unitsUsefulWeb_App_Seats__gc, Web App Seats, Web Users
mobile_unitsUsefulMobile_App_Seats__gc, Mobile App Seats, Mobile Users
accounting_sync_expiryUsefulaccounting_sync_expiry, Accounting_Sync_Expiry__gc, Accounting Sync Expiry
payroll_key_expiryUsefulpayroll_key_expiry, Payroll_Sync_Key_Expiry__gc, Payroll Sync Key Expiry
maps_key_expiryUsefulmaps_key_expiry, Maps_API_Key_Expiry__gc, Maps API Key Expiry
online_booking_enabledUsefulOnline_Booking_Enabled__gc, SSO Enabled
onboarding_completedUsefulOnboarding_Completed_Date__gc, Onboarding Completed
trained_adminsUsefulTrained_Admins__gc, Trained Admins, Trained Administrators
admin_training_levelUsefulAdmin_Training_Level__gc, Admin Training Level, Highest Course Completed
support_planUsefulSupport_Plan__gc, Support Plan, Premium Support
community_membersUsefulCommunity_Members__gc, Community Members
last_event_attendedUsefulLast_Event_Attended__gc, Last Event Attended, Last Customer Event
partnerUsefulPartner_Installer__gc, Partner, Reseller

gs_cta: Gainsight Cockpit (Calls to Action)

Usual file: gainsight/ctas.csv

FieldNeedUsually called
company_gsidRequiredCompany_Gsid, Company ID
nameCoreName, CTA Name
typeCoreType, CTA Type
statusCoreStatus
due_dateCoreDue_Date, Due Date
reasonUsefulReason
priorityUsefulPriority
sourceUsefulSource
idUsefulCTA_Id, CTA Id, CTA ID
createdUsefulCreated_Date, Created Date, Created
closedUsefulClosed_Date, Closed Date, Completed Date

gs_timeline: Gainsight Timeline

Usual file: gainsight/timeline.csv

FieldNeedUsually called
company_gsidRequiredCompany_Gsid, Company ID
typeCoreType, Activity Type
dateCoreActivity_Date, Activity Date
subjectUsefulSubject
notesUsefulNotes, Note
idUsefulActivity_Id, Activity ID, Activity Id

gs_plan: Gainsight Success Plans (objectives)

Usual file: gainsight/success_plans.csv

FieldNeedUsually called
company_gsidRequiredCompany_Gsid, Company ID
objectiveCoreObjective, Objective Name
due_dateCoreDue_Date, Due Date
statusCoreStatus
metricUsefulMetric
targetUsefulTarget
ownerUsefulOwner, Plan Owner, Objective Owner

telemetry: Tallyroot product usage export (dashboard, warehouse or Gainsight usage data; API later)

Usual file: telemetry/seat_counts.csv

FieldNeedUsually called
account_idRequiredaccount_id, Account ID, sfdc_account_id
snapshot_dateRequiredsnapshot_date, date, as_of
licensedCorelicensed_seats, licensed, licences_purchased
activatedCoreactivated_seats, activated, activated_users
active_30dUsefulactive_30d_seats, active_seats_30d, active_30d_users
unit_mixUsefuldesktop, desktop_count, desktop_seats
version_shareUsefulos_latest_pct, pct_on_latest_version, latest_version_pct
active_7dUsefulchecked_in_7d_seats, seats_checked_in_7d, active_7d_seats
current_version_pctUsefulpct_on_current_os, current_os_pct, pct_seats_current_os
admin_changes_30dUsefuladmin_changes, policy_changes_30d, rule_changes_30d
usage_volumeUsefulusage_volume, Usage, usage
usage_commitUsefulusage_commit, commit, Commit
entity_idUsefulentity_id, workspace_id, Workspace ID

feature: Tallyroot product usage export, per feature

Usual file: telemetry/feature_usage.csv

FieldNeedUsually called
account_idRequiredaccount_id, Account ID
featureRequiredfeature, feature_name
productCoreproduct
in_useCorein_use, enabled
events_30dUsefulevents_30d, usage_30d
as_ofUsefulAs Of Date, As Of, Snapshot Date

case: Support cases (Salesforce Case or the support desk)

Usual file: tickets/cases.csv

FieldNeedUsually called
account_idRequiredAccountId, Account ID, organization_id
createdRequiredCreatedDate, Created Date, Opened
subjectCoreSubject, Title, Summary
priorityCorePriority, Severity, priority
statusCoreStatus, state, status
idUsefulCaseNumber, Case Number, Case ID
closedUsefulClosedDate, Closed Date, Resolved
descriptionUsefulDescription, Body, description
productUsefulProduct, Product Area
contact_emailUsefulContactEmail, Contact Email, Requester

call: Call recording tool (Gong, Zoom or similar): index plus one text file per call

Usual file: transcripts/index.csv

FieldNeedUsually called
call_idRequiredcall_id, Call ID
account_idRequiredaccount_id, Account ID, account_hint
dateRequireddate, Call Date, call_date
attendeesUsefulattendees, Participants
languageUsefullanguage
pathUsefulpath, file, transcript_path

web: Customer's public website (live fetch when web access is permitted; saved profile otherwise)

Usual file: web/

FieldNeedUsually called
profileUsefulnot available

brief: CS Sentinel weekly brief (week.json), fetched from the brief's published store

Usual file: brief/week.json

FieldNeedUsually called
cardsUsefulnot available

invoice: Finance accounts-receivable export (ERP, billing or NetSuite invoice list)

Usual file: finance/invoices.csv

FieldNeedUsually called
account_idUsefulAccountId, Account ID, Customer ID
invoice_idUsefulInvoice ID, InvoiceId, Invoice Number
due_dateUsefulDue Date, DueDate, Invoice Due Date
paid_dateUsefulPaid Date, PaidDate, Payment Date
amountUsefulAmount, Invoice Amount, Total
statusUsefulStatus, Invoice Status, Payment Status

The questions, by stage

These are the actual questions the interview asks, read from the pack’s set-up script. Six stages, 44 defined, 41 at most asked.

Stage 1: You and your company

about 10 min

Who you are and what you sell. The answers replace the demo company everywhere: drafts, board and brief.

  • What is your company called?

    Why it asks: It replaces the demo name everywhere: drafts, the brief and the status board.

  • What is your name?

    Why it asks: It signs your drafts (you send them yourself) and heads the digest.

  • What is your work email? (Shown on drafts and the digest; nothing is sent. The safety guard trusts it only after you confirm it once at a terminal.) Say skip to leave it out.

    Why it asks: Drafts show it as the sender for you to check.

    can skip
  • Which time zone do you work in? A city is fine.

    Why it asks: The daily scan, the digest and every 'today' follow it.

    has a default
  • When a date in your exports reads 03/04/2026, is that 3 April (day first) or March 4 (month first)? Say skip if your exports write dates year first (2026-04-03).

    Why it asks: Day-first and month-first dates look the same; a wrong guess moves a renewal by months. The import settles it from the data when it can, and uses your answer when it cannot.

    can skip
  • Which countries are your customers in? List them as your CRM writes them, or say skip.

    Why it asks: Nothing is sent on its own, and each country you ever send to automatically needs its own working days and holidays set by you (config/send_policy.json) and legal's sign-off. This list tells you which ones are still missing. Your time zone is not assumed to be where your customers are.

    can skip
  • What is your main product called, and in one line, what does it do?

    Why it asks: Agents name it in drafts; the brief matches market news to it.

  • Which separately bought add-on products do you sell on top of it? For each, one line on what it does. Say none if you sell none (a product that only comes in plan tiers has no add-ons).

    Why it asks: A growth signal pitches an add-on when a customer's tickets show the need for it; with none, there are no add-on growth signals.

    can skip
  • Does the product come in plan tiers, such as Starter, Team and Enterprise? Name them, or say none.

    Why it asks: Tiers are kept as context for drafts and the expansion talk; they are not add-ons and create no pitch playbook.

    can skip
  • Do you sell bundles or packages of these under their own name? Say none if not. (Not asked when you sell no add-ons.)

    Why it asks: So a bundle is read as yours, not as a competitor.

    only if you sell add-ons
  • What do you count when you price or size a customer: seat, device, user, licence, workspace, or something else? One word.

    Why it asks: Usage, licence and adoption lines use this word. If customers pay only for usage, name what they hold (a workspace, a project).

    has a default
  • (a follow-up that uses your earlier answer)

    Why it asks:

    has a default
  • What shows a customer is getting value: a count of units in use, a usage volume (such as API calls or messages a month), or both?

    Why it asks: Units in use are checked against what was bought; a usage volume is checked against its own past and any allowance.

    has a default
  • What is the usage volume called, in your customers' words? For example 'API calls', 'messages sent', 'GB stored' or 'documents processed'.

    Why it asks: Usage lines in drafts and the board name it. (Asked only when value is shown by volume.)

    only if value is shown by usage volume
  • How often does your usage export refresh (the one with units in use, or the usage volume): daily, weekly or monthly? If you are not sure, say so: at stage d I show what the dates in the file suggest.

    Why it asks:

    optional
  • Does each customer have an included or committed volume that their use can be compared against? yes or no.

    Why it asks: With one, the board can say 'over' or 'under' their allowance; without, only change over time. (Asked only when value is shown by volume.)

    only if value is shown by usage volumehas a default
  • Do you sell through partners, resellers or distributors? Say direct if you sell to every customer yourselves, or partners if some or all buy that way.

    Why it asks: Where an account has no channel column, a direct company treats it as direct. Otherwise the channel is unknown and every commercial draft says to align with the partner first.

    has a default
  • How do you tell your white-glove (high-touch) accounts from the rest: a column in your CRM, a list, or simply your top N by revenue?

    Why it asks: White-glove accounts are reviewed every day and get bespoke drafts; the rest follow thresholds.

    has a default
  • If you have call transcripts: how are your own colleagues marked? For example 'Sam Lee (Acme):' means the tag is (Acme). Say none if you have no transcripts.

    Why it asks: So what your colleagues say is never read as the customer speaking.

    can skip

Stage 2: How your customers succeed and fail

about 7 min

What “going well” and “going wrong” look like for your customers, so the thresholds are yours, never a model's guess.

  • Which few features show a customer really uses the main product (two to eight)?

    Why it asks: Adoption checks whether customers use them.

  • These are neutral ticket categories, each with the words that recognise it. Keep them, or give your own list: one line per category, 'Name: what goes in it'.

    Why it asks: Tickets are sorted into these to spot patterns (support pain, a need an add-on answers). The words are what the keyword pre-labeller looks for.

    has a default
  • Which ticket category does each add-on answer? One category per add-on; leave an add-on out, or say skip, and it has no growth signal until you name a category. Say I don't know and I will suggest one (or a new category from its line). (Not asked when you sell no add-on.)

    Why it asks: A run of those tickets suggests the add-on.

    only if you sell add-ons
  • Does usage have quiet periods every year, such as a seasonal low, an off-season or a year-end shutdown? Give each with rough dates, for example 'Year-end freeze: 20 Dec to 6 Jan'. If only some accounts are seasonal, add them: 'Year-end lull: 5 Jan to 28 Feb for Acme, Bolt' (or 'for scale...

    Why it asks: A fall inside a quiet period is read as the season, not as a customer leaving; the dates are yours, never guessed.

    can skip
  • Are there up to three things that expire and break your product for a customer, such as a certificate, a token or an integration key? For each: its name and the export column with its expiry date. Or none.

    Why it asks: The adoption monitor warns before each one lapses.

    can skip
  • Which big suites do customers say already include something like your product (for example their ERP or office suite)? Or none.

    Why it asks: A customer saying 'it comes with X' is a consolidation risk.

    can skip
  • Which phrases mean 'something we already pay for does this'? Keep these or change them.

    Why it asks: Read in context as a question, not a threat to leave.

    has a default
  • These are the main thresholds. Do they look right? Change a number only if you know yours.

    Why it asks: Every number is a default; you set it, the agents never do.

    has a default

Stage 3: Your market and the weekly brief

about 7 min

The market you compete in, who your competitors are, and when the weekly competitive brief should be ready.

  • Which market categories do you win or lose deals in? For each: a name, one line of scope and a few words that mark news about it (for example 'time tracking', 'ocr', 'api gateway'). Say 'I don't know' and I will suggest some from what you told me.

    Why it asks: The weekly brief watches these categories.

  • Who are your competitors, as your customers say them, and their websites?

    Why it asks: Calls and tickets are searched for these names; the brief follows their news.

  • For each competitor: other spellings or mis-hearings, which of your products it competes with, how much it matters (primary, secondary or watch), and its category.

    Why it asks: So 'fen nuvo' in a transcript still counts, and the risk lands on the right product.

    has a default
  • Do you depend on another vendor's platform, whose releases can break or change your product? Name and website, or none.

    Why it asks: Their changes are read like your own, never as a competitor.

    can skip
  • Which news or review sites do you trust for your market? Name and website, or none.

    Why it asks: Their articles are filed under the vendor they name.

    can skip
  • Where does your company publish release notes or a blog? A web address, or none.

    Why it asks: Your own changes show in the brief as things to prepare customers for.

    can skip
  • I looked for news feeds on each website. Keep the ones listed?

    Why it asks: Only feeds found and checked here are added; a vendor with none is listed as not watched yet.

    shown for confirmation
  • Which of your company's public pages say how you position against competitors (for example 'Why us', product pages)? Or none.

    Why it asks: Battlecards are built only from these pages, with citations. With none, the brief has no battlecards and says so.

    can skip
  • Which day and time should the weekly brief be ready, in your time zone, and who reads it: just you, or you and your manager?

    Why it asks: It is built before then. A manager page is built only when you say so; it is never linked from yours.

    has a default
  • Any notes on tone for the brief? Keep the default or say yours.

    Why it asks: Model-written lines follow it; the rules against promises stay whatever you say.

    has a default
  • What is the most the brief may spend on the model each month, in US dollars? 0 means it never calls a model and uses plain template text.

    Why it asks: A hard cap; the brief falls back to template text when it is reached.

    has a default

Stage 4: Your tools and data

about 2 min

The approval question comes first for real data. Then whether to connect your files now or later.

  • Before I read any real customer data: has your company approved processing it with an AI model, and where may it be stored? Answer yes, no, or I don't know.

    Why it asks: Real exports are never read without that approval. With no or don't know, set-up carries on with your answers only and the fictional sample data; you can connect real data later (/setup connect).

  • Do you want to connect your files now, or finish the questions first and connect later with /setup connect? Now means the /connect steps 0 to 6, one source at a time, starting with the customer list (usage, tickets and contacts can follow later). Record what it found, or say later.

    Why it asks: So the agents read your customers, usage and tickets. Nothing is lost by connecting after apply.

    skipped if AI approval is no or unknownhas a default

Stage 5: Voice and brand

about 2 min

Drafts copy your style, never your content. Decks use a neutral look until you give a brand guide.

  • Paste up to five emails you sent to customers, so drafts sound like you. Or skip.

    Why it asks: Drafts copy your style, never your content.

    can skip
  • Optional: should the system notice how you change its drafts, so the weekly review can learn from it? It compares your edited draft file with the original and keeps only the difference, on this machine; it sends nothing. If your company does not allow reading drafts or mail, say no. yes or no...

    Why it asks: Off unless you say yes. With yes it reads only the draft files in drafts/ (no mail account); reading drafts back from Gmail is a separate switch you make yourself later (python3 scripts/edit_capture.py status). It never records a decision for you.

    can skip
  • Do you have a brand guide (a file) or a Canva brand template id (starts with BTM) for decks? Or default.

    Why it asks: Decks use it; the default look is neutral.

    has a default

Stage 6: Confirm and apply

about 2 min

A plain-words summary of what was understood. Nothing is written before you say yes.

  • Here is what I understood (a summary). Shall I write it?

    Why it asks: Everything outward stays parked: no email is sent, nothing is posted, nothing is written to your systems. You switch each action on yourself, and no agent can.

What happens on your “yes”

  • Set-up writes your company’s settings, keeps every number you did not change yourself, and moves the demo out of the way.
  • It then lists what is still open, in plain words.
  • config/permissions.json (what the agents may do outside the folder) stays on the demo’s safe profile until you change it. That file is guarded and no agent edits it.
  • Automatic sending stays off until your company adds each country you write to in config/send_policy.json and config/compliance.json and legal signs off.

Then: how a daily run works →