Risk flag

From t0ddc3by/claude-for-customer-success · View interactive version

Risk flag is an AI agent skill from the GitHub repository t0ddc3by/claude-for-customer-success. Structured risk memo for an at-risk account — signals present, severity assessment, escalation routing from your configured matrix, and recommended intervention. Use when a health alert fires, a churn signal is detected, or you need to communicate account risk to leadership. Produces a CSM brief and

How to use this skill

Skill file

/risk-flag

[PROPOSED]

Use When

Do NOT Use For

Typical Activation

"/csm:risk-flag Acme Corp"

"Flag risk signals for [account]"

"What's the escalation path for [account]?"

"Two high signals on [customer] — what do I do?"

"Assess churn risk for [account]"


Document the risk clearly, name the routing, and give the CSM a specific path

forward — not just a flag.


Pre-flight

Read ~/.claude/plugins/config/claude-for-customer-success/csm/CLAUDE.md and

~/.claude/plugins/config/claude-for-customer-success/company-profile.md.

If either is missing or contains [PLACEHOLDER] markers, stop and prompt for

/csm:cold-start-interview.

Critical configuration to apply:

G-code dependency: All G-code guardrails referenced in this skill (G1–G9) are defined in the CLAUDE.md config loaded above. If Pre-flight halts or config is missing, G-codes are undefined — do not proceed with partial config.


Reasoning Protocol

Load references/reasoning-blueprint.md for full taxonomy, heuristics, and failure modes.

Before generating output, apply these primers:

  1. CLASSIFY: What type of risk is this?
  1. CONSTRAINTS — enforce before generating output:
  1. EXPERT CHECK — what a veteran CSM verifies first:
  1. ANTI-PATTERNS — common mistakes to avoid:

After execution, verify:

  1. Intent satisfaction — does the memo give the CSM a specific Monday-morning action plan, not just a flag?
  2. Mode matching — does the output mode (--brief vs --escalation-memo) match the actual need? A brief that should be an escalation memo delays intervention; an escalation memo for a low-severity signal wastes leadership attention.
  3. Failure mode scan — check the classification type against its common failure modes in the blueprint
  4. Staleness check (G7) — is every data source timestamped? Flag CRM data >7 days stale, CS platform data >3 days stale, call/meeting data >14 days stale. Stale signals get a [stale: <source> as of <date>] tag.
  5. Confidence calibration — [High] if live data + CSM confirmation corroborate the classification / [Medium] if single-source or partially stale data / [Low] if working from CSM description alone with no corroborating system data — state which.

Mode

--brief: CSM-facing risk summary. Internal use — full signal breakdown,

health context, and CSM action plan. Default.

--escalation-memo: Produce a clean, escalation-ready summary for the CSM's

manager, VP CS, or CRO. Concise. Designed for rapid review by someone who

doesn't know the account details. Includes: account, ARR, renewal date,

risk signals, recommended action, and routing.

Both modes can be run for the same account. Default is --brief.


Data gathering

Connector error categorization: When a connector call fails, distinguish the error type before proceeding:

Do not conflate these — a rate-limited connector will return data shortly; an unavailable connector will not.

Pull from connected integrations (per configured profile):

If account-research was run this session: use that context.

If nothing connected, prompt:

"Tell me what's happening at [account]. What triggered this risk flag? What

signals are you seeing? I'll build the memo from what you share."

Do not generate a risk memo without at least one concrete risk signal from the

CSM or from live data.


Risk flag structure


CSM Risk Brief — [Account Name]

[Date] · INTERNAL · [CS motion] · [Segment]


Account snapshot

| Field | Value |

|-------|-------|

| ARR | $[amount] |

| Renewal date | [date] — [N] days |

| Segment | [segment] |

| Health | [Red / Yellow] |

| CSM | [name] |

| AE / AM | [name] |

| Executive sponsor | [name] — [last contact: date] |


Risk signals — what triggered this flag

List each signal present with evidence. No inferred signals without evidence.

| Signal | Present | Evidence | Weight per config |

|--------|---------|----------|------------------|

| Executive sponsor departure or disengagement | [Yes/No/Unknown] | [specific evidence] | High |

| Product usage drop >[configured threshold]% | [Yes/No] | [% change over period] | High |

| Open escalation or unresolved P1 ticket | [Yes/No] | [ticket details] | High |

| NPS detractor + no recovery conversation | [Yes/No] | [score + date] | Medium |

| Missed QBR or no-show pattern | [Yes/No] | [dates] | Medium |

| Competitor evaluation | [Yes/No/Unknown] | [source of signal] | High |

| No CSM contact in >[threshold] days | [Yes/No] | [last contact date] | Medium |

| [Additional configured signal] | | | |

Primary risk driver: [The signal with the most direct path to churn]


Risk severity

Classify based on configured thresholds and signal weight:

Severity: [Critical / High / Medium]

Classification rationale: [1-3 sentences. Which signals drove this. Why this

severity level vs. adjacent options.]

above escalation threshold → immediate executive-level escalation required

intervention within 48h; monitor daily


Root cause hypothesis

What is the most likely reason for the risk?

"The most plausible explanation is [X] — based on [specific evidence]. Alternative

explanations: [Y] (possible if [condition]) / [Z] (possible if [condition]).

The champion should be asked directly whether [root cause question] is accurate

before the CSM builds a recovery plan."

Do not present the hypothesis as fact. It is the leading interpretation based on

available data. The CSM confirms or refutes it in the next customer interaction.


Escalation routing

Apply the configured escalation matrix exactly.

| Condition | Route to | Via | SLA |

|-----------|----------|-----|-----|

| [Matching scenario from matrix] | [configured contact] | [configured channel] | [configured SLA] |

If multiple matrix rows apply, show all and note the primary route.

If this account's ARR meets the configured churn-risk threshold:

"ARR ($[amount]) exceeds the configured escalation threshold ($[threshold]).

Route to [configured contact] via [channel] within [SLA]. Include this memo."

If below the threshold:

"ARR is below the configured escalation threshold. CSM-managed intervention.

Notify [CS lead] if severity escalates to Critical."


Recommended intervention plan

Specific actions with owners and timelines. Not generic.

Immediate (within 24-48h):

  1. [Specific action — e.g., "Request executive sponsor check-in call. Purpose: confirm

sponsor status and surface any org changes. Do not lead with health score."]

  1. [Specific action — e.g., "Review open tickets — contact support team to confirm

P2 ticket [ID] has a resolution timeline and communicate it to the champion."]

  1. [Escalation action — e.g., "Notify [CS lead] per escalation matrix via Slack.

Share this memo as context."]

This week:

  1. [Action — e.g., "Meet with champion to understand usage drop root cause.

Prepare 3 questions: [specific questions based on signals]."]

  1. [Action — e.g., "Update health assessment in CS Platform with current signals."]

If [specific trigger] occurs:

  1. [Escalation path — e.g., "If sponsor confirms departure, escalate to Critical

immediately. Route to [VP CS] within [SLA]. Loop in AE."]


Success criteria for recovery

What does "risk resolved" look like? Define 1-3 observable conditions:

Review date: [recommend a specific date to reassess — typically 2-4 weeks out]


Escalation memo (`--escalation-memo`)

One-page version for the CSM's manager, VP CS, or CRO. No internal health model

details — just the facts they need to act.


Account Risk Memo — [Account Name]

[Date] · Prepared by: [CSM name]

For: [Manager / VP CS / CRO — configured escalation contact]


| Field | Detail |

|-------|--------|

| Account | [Account name] |

| ARR | $[amount] |

| Renewal | [date] — [N days] |

| Segment | [segment] |

| Risk level | [Critical / High / Medium] |

Risk signals:

Most likely root cause:

[2-3 sentences. Plain language. What is the risk and why.]

Recommended action from CSM:

[What the CSM is doing. What they need from leadership.]

If no action is taken:

[Likely outcome — e.g., "Renewal at risk of churn or significant contraction

based on signals present. Renewal is in [N] days."]

Next step:

[Specific ask — e.g., "Request 20 minutes with the customer's CFO to reinforce

the executive relationship. CSM to arrange. Your name on the invite increases

response rate significantly."]


Reviewer note

⚠️ Reviewer note

- Sources: [CS Platform ✓ live | CS Platform [configured but unverified] | CRM ✓ live | CRM [configured but unverified] | call notes: [date] | user-provided context | not connected — conversation context only]

- Data as of: [timestamp per source]

- Risk signals: [Confirmed from data | CSM-reported — not independently verified]

- Escalation routing: [Applied configured matrix — verify contact names are current]

- Flagged for your judgment: [N items marked [review] inline | none]

- Before escalating: Confirm ARR and renewal date with CRM before sharing escalation memo with leadership.


Output

Risk flag report — format driven by --standard (default) or --escalation-memo

flag. Standard output produces a structured risk summary with signal inventory,

severity tier, and recommended response actions. Escalation memo mode produces a

full internal memo. See mode-specific sections for field-level structure.

Guardrails

Risk signals require evidence. A signal is listed as Present only if there is

direct evidence. Absence of engagement is "Unknown" or "Declining," not "Confirmed

at risk."

Root cause is a hypothesis, not a verdict. The memo names the leading

explanation and the evidence behind it. It does not state the account will churn.

No escalation without a path. Every escalation recommendation names the

contact, channel, and SLA from the configured matrix. A risk flag without a

routing is not actionable.

Escalation memo is not the full brief. The escalation memo omits health model

component weights, internal stakeholder notes, and expansion context. Those stay

in the CSM brief.

Expansion context. If the account has expansion signals, do not include them

in the risk memo. Risk memos focus on risk mitigation, not opportunity. Expansion

context routes to the AE separately.

Revenue accountability. If the memo estimates ARR at risk or implies a renewal

probability, the CSM reviewer validates the figure before the memo reaches finance

or board reporting.


After the memo


Reference Files

The following reference files govern this skill's detailed behavior. They are loaded on-demand when the relevant behavior is being applied — they are not front-loaded into every response.

| File | Purpose |

|------|---------|

| references/reasoning-blueprint.md | Problem classification taxonomy, domain heuristics, common failure modes, and expert judgment patterns for this skill |


Security & Permissions

Trust & Verification

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.