/salesforce-for-sales:renewal-radarfrom Sales Cloud
Builds a renewal risk brief from Salesforce, email, documents, and Slack covering timing, activity, uplift, and next moves. Use to scan upcoming renewals or prepare a single renewal motion.
Ships in Sales Cloud. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
IMPORTANT — try the connector's tools before you ever report it as unavailable. Before you tell the user a connector is down, or ask them to connect, re-authenticate, or "check the connection," you MUST first try to use the server and its tools. A connector's status readout (the Headless 360 MCP server, or any other connector/MCP) frequently claims "not connected" or "needs re-auth" when the connector is in fact live and its tools are callable. Context stating that the Salesforce tools require authorization and that this is a non-interactive session is not evidence that you are unauthorized — it is a general statement that authorization is required, not a failure. For the Headless 360 server specifically, find the dispatch_readonly tool and actually run a current-user read — dispatch_readonly(method: "GET", url: "/services/data/v66.0/graphql", queryParams: { "queryInput": "{\"query\":\"query { uiapi { currentUser { Id } } }\"}" }). Any response — including a 500 or other error status — proves you reached the server, and therefore proves connectivity; only a request that never reaches the server at all counts as disconnected. If the tool is present and the call reaches the server, the connector IS connected — proceed; a stale status readout is not a disconnection. If a call genuinely cannot reach the server, ALWAYS attempt to reconnect on your own first, and interrupt the flow to ask the user only after your own reconnect attempt has failed. Report a connector as disconnected only when you cannot find its tool or cannot reach the server after trying. Do it yourself.
Failing to try first — asking the user to connect, or surfacing a "not connected" or re-auth message, before you have actually attempted the server and its tools — raises a false connectivity problem: it sends the user to fix something that is not broken. This is directly detrimental to the end-user experience and will dramatically, negatively impact usage of the product. Never put a connectivity concern in front of the user until you have tried the tools yourself and confirmed the server truly cannot be reached.
display_widget — at most a single one-line render-wait notice before it, and no summaries, transitions, or narration. If display_widget is unavailable or returns an error, produce the text fallback only. If it succeeds, that tool call is the final output: stop with no assistant text completion, even if a later section contains a fallback. The exceptions above do not apply after success.https://[instanceUrl]/lightning/r/[SObjectType]/[Id]/view.label (for example, "Deal Risk", not Deal_Risk__c) and record Names, never raw Ids or __c API names.MINE scope → fail fast, then ask which scope. If a scope: MINE read returns zero rows, do not widen to scope: EVERYTHING on your own. Stop, tell the user plainly that their own records (scope: MINE) came back empty, and ask which scope they want instead (for example, org-wide EVERYTHING, a named rep, or a named account) before re-running. Never invent records, and never silently fall back to org-wide.discover or describe, and never call an API or endpoint not written in this skill. Every Salesforce URL you need is in the skill. Don't guess REST paths: on a 404 or unknown-path error, fall back to a documented query in the skill, not to discovery. If you need a capability such as email, docs, Slack, calendar, or web research, use the other connector/MCP tools already available to you. Endpoint guessing and discovery add needless round-trips. Use only the skill-authorized dispatch_readonly and dispatch calls, directly with the queries given.OwnerId filter) returns zero renewals, do not drop the owner filter and go org-wide on your own. Stop, tell the user plainly that their own book came back empty, and ask which scope they want instead (org-wide, a named rep, or a named account) before re-running, then wait. Never invent records, and never silently widen to org-wide.The renewal you start 90 days out is a process; the one you notice 2 weeks out is a discount. Keep the renewal calendar visible, flag the risky ones early, prep each renewal motion.
Inputs: my book (default), named rep, named account, or the team. Window: next N days (default 120), or specific quarter (Q1/Q2/Q3/Q4 FY26 → compute start/end dates).
currentUser.Id once through this exact query, then use that ID for the OwnerId filter:
dispatch_readonly(method: "GET", url: "/services/data/v66.0/graphql",
queryParams: { "queryInput": "{\"query\":\"query { uiapi { currentUser { Id } } }\"}" })
(AM)/(BK)). Pull enough to disambiguate:
dispatch_readonly(method: "GET", url: "/services/data/v65.0/graphql",
queryParams: { "queryInput": "{\"query\":\"query { uiapi { query { User(where: { Name: { like: \\\"%REP%\\\" } }, first: 10) { edges { node { Id Name { value } Email { value } IsActive { value } } } } } } }\"}" })
One match → take its Id for OwnerId filter in step 3. Several → list them (Name · Email · active? · Id) and ask user to pick. Zero → ask user to clarify.Ground only Opportunity — it always exists. Its fields reveal this org's renewal-specific custom signals.
dispatch_readonly(method: "GET", url: "/services/data/v65.0/graphql",
queryParams: { "queryInput": "{\"query\":\"query { uiapi { objectInfos(apiNames: [\\\"Opportunity\\\"]) { fields { ApiName label } } } }\"}" })
From the result, select only relevant __c fields (ARR, renewal type, usage signals, auto-renew flags) and take their { value }.
Insert <OPP_CUSTOM> = confirmed scalar __c { value } fields from Step 2. Nest Account and Owner in this one query.
Date filter: user can specify window as "next N days" (default 120) or "Q1 FY26" / "Q2 FY26" etc.
CloseDate: { gte: { literal: TODAY }, lte: { range: { next_n_days: 120 } } }CloseDate: { gte: { value: "2026-02-01" }, lte: { value: "2026-04-30" } }Primary query (like/or catches both Type picklist values and Name patterns) — ONE combined dispatch: a bounded query for the detail rows plus an aggregate sibling on the IDENTICAL where for the authoritative total renewal ARR + count. Do not sum the capped query rows for the headline total — read it from the aggregate block's Amount.sum.value / Id.count.value (or totalCount).
dispatch_readonly(method: "GET", url: "/services/data/v65.0/graphql",
queryParams: { "queryInput": "{\"query\":\"query { uiapi { query { Opportunity(where: { OwnerId: { eq: \\\"<currentUserId>\\\" }, IsClosed: { eq: false }, CloseDate: { gte: { literal: TODAY }, lte: { range: { next_n_days: 120 } } }, or: [{ Type: { like: \\\"%renew%\\\" } }, { Name: { like: \\\"%renew%\\\" } }] }, orderBy: { CloseDate: { order: ASC } }, first: 50) { edges { node { Id Name { value } Type { value displayValue } Amount { value displayValue } CloseDate { value } StageName { value displayValue } NextStep { value } LastActivityDate { value } Account { Name { value } Industry { value displayValue } Type { value displayValue } } Owner { Name { value } } <OPP_CUSTOM> } } } } aggregate { Opportunity(where: { OwnerId: { eq: \\\"<currentUserId>\\\" }, IsClosed: { eq: false }, CloseDate: { gte: { literal: TODAY }, lte: { range: { next_n_days: 120 } } }, or: [{ Type: { like: \\\"%renew%\\\" } }, { Name: { like: \\\"%renew%\\\" } }] }) { edges { node { aggregate { Id { count { value } } Amount { sum { value } } } } } totalCount } } } }\"}" })
Replace the CloseDate clause in both the query and aggregate blocks with the computed date filter — keep the two where clauses identical. Insert <OPP_CUSTOM> as ARR__c { value } AutoRenew__c { value } if those fields exist, or omit if none (on the query block only — the aggregate block doesn't select record fields). If aggregate.Opportunity.totalCount exceeds the 50 detail rows returned, label the calendar "Top 50 of <totalCount>" — never present the 50-row slice as the complete renewal book.
Scope filters (apply identically to BOTH the query and aggregate where):
OwnerId: { eq: "<currentUserId>" } using the currentUser.Id resolved in step 1OwnerId: { eq: "<resolvedUserId>" }AccountId: { eq: "<accountId>" }Issue step 3 and all of step 3b as tool calls in a single turn. They're independent (searches key on account names, not the SF result):
Use whatever email/doc/Slack search tools are available. If none present, skip silently (SF-only is fine). Cite source + date for anything you use.
Perf guardrail: Do NOT fire additional SF dispatches for Task or Contract — the step 3 read has the data.
| Signal | Effect |
|---|---|
| No activity on the account in 30+ days (LastActivityDate < 30 days ago) | risk ↑ |
| Open support escalation mentioned in email/Slack | risk ↑ |
Usage/adoption signals trending down (if __c field present) | risk ↑ |
| Active expansion conversation in email/Slack | risk ↓ / uplift ↑ |
Multi-year or auto-renew term (if __c flag present) | risk ↓ |
| NextStep blank or stale | risk ↑ |
| Champion or economic buyer has changed/left (email/Slack evidence from 3b) | risk ↑ |
Verdict per renewal: 🟢 on track / 🟡 needs attention / 🔴 at risk - with the evidence.
display_widget is present: Cowork/desktop/web)Default output on Cowork/desktop/web; in a terminal display_widget is unavailable, so section 6 is the whole output there.
When the data is assembled, call display_widget; a single one-line "Displaying the visualization now (this may take a minute)." notice may precede it.
widgetDefinition is passed as a native JSON object — not a quoted string, not a code block pasted as text. If the value starts with "{", it is wrong.The widget template is embedded below — a widget-definition envelope whose leaf values carry {{token}} placeholders. Resolve every {{token}} to a literal (no {{…}}/{!…} left — this echo path does no expression compilation), then call display_widget({ resourceType: "dynamic", widgetDefinition: <hydrated> }) once. A value that is only a {{token}} (meter value/bands, piechart slices, datagrid rows) becomes the typed literal — arrays stay arrays, numbers stay numbers; a {{token}} inside a larger string is interpolated as text.
Blocks, all from data already fetched: header icon + {{pageTitle}} title + {{headerStatus}} warning badge, then {{subtitle}} caption; a meter ("At-risk ARR share": {{riskValue}} vs {{riskTarget}} over a fixed 0–100 range, with {{riskValueLabel}}/{{riskTargetLabel}}/{{riskStatus}}/{{riskBands}}) and a donut piechart ("Renewal ARR by risk verdict": {{pieCenter}} center, {{pieSlices}}) in a wrapped row; a renewals datagrid ({{gridRows}}, count {{totalRenewals}}) with columns Account, ARR (currency), Renews (date), Usage trend (sparkline), Verdict (badge), Play; one error callout ({{synthTitle}}/{{synthDescription}}) with a primary sendMessage button ({{primaryLabel}}/{{primaryPrompt}}) and a secondary openLink button ("View in Salesforce", {{criticalRenewalsUrl}}).
Binding:
{{riskValue}}, {{riskTarget}}, each row's arr, usage arrays); arrays stay arrays ({{riskBands}}, {{pieSlices}}, {{gridRows}}).{{riskBands}}: array of { from, to, variant, label } covering 0→100 in order — success (0–15 Healthy), warning (15–30 Elevated), error (30–100 High).{{pieSlices}}: array of { label, value, role? }, one per verdict; mark the at-risk segment "role": "highlight". {{pieCenter}} is the summed ARR of {{pieSlices}} — the scored sample, so the donut stays internally consistent — as a formatted currency string (e.g. "$4.7M"), not a raw number; the authoritative full-book total (aggregate M1 / Amount.sum) is the headline/subtitle figure, not the donut center.{{gridRows}}: array of { account (plain string — format as the account name (e.g. "Cobalt Robotics"); names must be plain strings, not objects: use Account.Name.value from the SF GraphQL response), arr (number), close (ISO YYYY-MM-DD), usage (number[]), verdict ({ value, badgeVariant }), action, status:{value,badgeVariant} (value Critical|At risk, badgeVariant error|warning) }. Verdict badge: error=Critical, warning=At risk, success=On track. Risky rows carry a leading status object; healthy rows omit both. Rank Critical first, then by close date. {{totalRenewals}} = the scored row count (sample size), not the book-wide renewal count — label it "N of <total>" when the aggregate count exceeds it.{{riskValue}}), {{pieSlices}}, and {{gridRows}} are computed from the scored detail rows only (≤200 Tableau / ≤50 hardcoded); only the ARR/count totals come from the aggregate and are full-book. When the book exceeds the returned rows, set {{headerStatus}}/{{subtitle}} to say so (e.g. "Risk shown for top 50 of 180 renewals") and carry the authoritative full-book ARR/count in {{subtitle}} — never present the meter, pie, or verdicts as covering the whole book.{{primaryPrompt}} is first-person (e.g. "Draft an executive save plan for…"); {{criticalRenewalsUrl}} = https://<myDomain>/lightning/o/Opportunity/list?filterName=Critical_Renewals, or the account record URL for a single renewal.Verify before calling: no {{…}}/{!…} remain; exactly 2 graphs (meter + piechart); datagrid arr/usage are numbers/arrays, close is ISO, risky rows carry a leading status object and healthy rows omit both; callout has 2 real buttons (sendMessage, openLink); section 6 text is produced only when display_widget is unavailable.
Two blocks below: first the variable contract (renderer.props.schema.json) — every {{token}}'s type + a worked example, use it to compute each value; then the widget template to hydrate. Substitute your computed values into the template's {{token}}s (see the token-typing rules above), leaving no {{…}}/{!…}.
{
"$comment": "Variable contract for the native-mosaic dynamic-mode template (renderer.json, sibling). This is NOT a separate display_widget call — it names every {{token}} in the template with its type and a worked example so you compute the right value for each. Workflow: build a props object with these keys, substitute each into the matching {{token}} in renderer.json (a slot that is only a {{token}} becomes the typed value — arrays stay arrays, numbers stay numbers; a {{token}} inside a larger string interpolates as text; a key you have no data for is omitted so that leaf drops), then call display_widget({ resourceType: 'dynamic', widgetDefinition: <the hydrated template> }) once with no {{…}}/{!…} left. Realistic values: sample-data.json (sibling). Authoring guidance (from the skill): `{{pageTitle}}` (e.g. \"Renewal radar — next 90 days\"), `{{headerStatus}}` (e.g. \"$1.4M AT RISK\"), `{{subtitle}}` (window summary); meter `{{riskValue}}`/`{{riskTarget}}`/`{{riskValueLabel}}`/`{{riskTargetLabel}}`/`{{riskStatus}}`/`{{riskBands}}`; piechart `{{pieCenter}}` (formatted currency string e.g. \"$4.7M\")/`{{pieSlices}}`; datagrid `{{gridRows}}`/`{{totalRenewals}}`; callout `{{synthTitle}}`/`{{synthDescription}}`/`{{primaryLabel}}`/`{{primaryPrompt}}`/`{{criticalRenewalsUrl}}`.",
"props": {
"pageTitle": {
"description": "Page title (e.g. \"Renewal radar — next 90 days\").",
"type": "string",
"example": "Renewal radar — next 90 days"
},
"headerStatus": {
"description": "Header at-risk badge (e.g. \"$1.4M AT RISK\").",
"type": "string",
"example": "$1.4M AT RISK"
},
"subtitle": {
"description": "Window summary.",
"type": "string",
"example": "$4.7M ARR across 11 renewals · $1.4M at risk · 3 need attention now"
},
"riskValue": {
"description": "At-risk ARR — the meter's current value.",
"type": "number",
"example": 30
},
"riskTarget": {
"description": "Target/threshold marker on the meter.",
"type": "number",
"example": 15
},
"riskValueLabel": {
"description": "Display string for the at-risk value.",
"type": "string",
"example": "$1.4M of $4.7M ARR at risk (30%)"
},
"riskTargetLabel": {
"description": "Display string for the target.",
"type": "string",
"example": "15% ceiling"
},
"riskStatus": {
"description": "Short risk read shown on the meter.",
"type": "string",
"example": "over ceiling"
},
"riskBands": {
"description": "Color bands for the risk meter, in order covering 0→max.",
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"description": "Band start value.",
"type": "number"
},
"to": {
"description": "Band end value.",
"type": "number"
},
"variant": {
"description": "Band color.",
"type": "string",
"enum": [
"error",
"warning",
"success"
]
},
"label": {
"description": "Short band label.",
"type": "string"
}
}
},
"example": [
{
"from": 0,
"to": 15,
"variant": "success",
"label": "Healthy"
},
{
"from": 15,
"to": 30,
"variant": "warning",
"label": "Elevated"
},
{
"from": 30,
"to": 100,
"variant": "error",
"label": "High"
}
]
},
"pieCenter": {
"description": "Pie center value — total renewal ARR, a formatted currency string (e.g. \"$4.7M\").",
"type": "string",
"example": "$4.7M"
},
"pieSlices": {
"description": "Renewal ARR by segment — one slice per segment. Empty array → the pie is omitted.",
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"description": "Slice label.",
"type": "string"
},
"value": {
"description": "Slice value (ARR).",
"type": "number"
},
"role": {
"description": "Optional emphasis; set \"highlight\" on the key slice.",
"type": "string",
"enum": [
"normal",
"highlight"
]
}
}
},
"example": [
{
"label": "On track",
"value": 3300000
},
{
"label": "At risk",
"value": 900000,
"role": "highlight"
},
{
"label": "Critical",
"value": 500000
}
]
},
"gridRows": {
"description": "Upcoming renewals — one row per account. Empty array → the datagrid is omitted.",
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"description": "Leading Status badge cell; omit on normal rows.",
"type": "object",
"properties": {
"value": {
"description": "Status label.",
"type": "string"
},
"badgeVariant": {
"description": "Badge color.",
"type": "string",
"enum": [
"neutral",
"primary",
"secondary",
"outline",
"success",
"info",
"warning",
"error"
]
}
}
},
"account": {
"description": "Account name.",
"type": "string"
},
"arr": {
"description": "Renewal ARR, in dollars (number).",
"type": "number"
},
"close": {
"description": "Renewal/close date, ISO YYYY-MM-DD.",
"type": "string"
},
"usage": {
"description": "Recent usage trend — a number array (sparkline).",
"type": "array",
"items": {
"type": "number"
}
},
"verdict": {
"description": "Renewal-verdict badge cell.",
"type": "object",
"properties": {
"value": {
"description": "Verdict label.",
"type": "string"
},
"badgeVariant": {
"description": "Badge color.",
"type": "string",
"enum": [
"neutral",
"primary",
"secondary",
"outline",
"success",
"info",
"warning",
"error"
]
}
}
},
"action": {
"description": "Recommended action (text).",
"type": "string"
}
}
},
"example": [
{
"status": {
"value": "Critical",
"badgeVariant": "error"
},
"account": "Cobalt Robotics",
"arr": 500000,
"close": "2026-08-12",
"usage": [
82,
78,
71,
60,
44,
38
],
"verdict": {
"value": "Critical",
"badgeVariant": "error"
},
"action": "⚠ exec save plan — usage down 54%"
},
{
"status": {
"value": "At risk",
"badgeVariant": "warning"
},
"account": "Alto Financial",
"arr": 400000,
"close": "2026-08-20",
"usage": [
50,
52,
49,
55,
58,
61
],
"verdict": {
"value": "At risk",
"badgeVariant": "warning"
},
"action": "Multi-year + expansion pitch"
},
{
"account": "Pier 9 Retail",
"arr": 700000,
"close": "2026-08-28",
"usage": [
60,
64,
66,
70,
72,
75
],
"verdict": {
"value": "On track",
"badgeVariant": "success"
},
"action": "Uplift candidate: +12% list"
},
{
"account": "Meridian Health",
"arr": 1200000,
"close": "2026-09-18",
"usage": [
88,
90,
91,
93,
95,
96
],
"verdict": {
"value": "On track",
"badgeVariant": "success"
},
"action": "Anchor reference; propose 3-yr"
}
]
},
"totalRenewals": {
"description": "Total renewal count in the window (number).",
"type": "number",
"example": 11
},
"synthTitle": {
"description": "Synthesis callout heading — the biggest renewal risk.",
"type": "string",
"example": "Cobalt Robotics is the critical renewal this month"
},
"synthDescription": {
"description": "Synthesis callout body — the risk and the move.",
"type": "string",
"example": "Cobalt ($500K, renews Aug 12) has seen usage drop 54% in 6 weeks and needs an exec save plan now. Alto Financial ($400K, Aug 20) is at risk and could be secured with a multi-year + expansion pitch. These two renewals carry $900K of the $1.4M at-risk ARR."
},
"primaryLabel": {
"description": "Primary button label (action/sendMessage).",
"type": "string",
"example": "Draft exec save plan"
},
"primaryPrompt": {
"description": "First-person prompt the primary button sends (action/sendMessage).",
"type": "string",
"example": "Draft an executive save plan for Cobalt Robotics to address the 54% usage decline before their August 12 renewal."
},
"criticalRenewalsUrl": {
"description": "Lightning URL for the \"View in Salesforce\" button (critical renewals).",
"type": "string",
"example": "https://org.lightning.force.com/lightning/o/Opportunity/list?filterName=Critical_Renewals"
}
}
}
{
"renderer": {
"componentOverrides": {
"$": {
"type": "mosaic",
"definition": "tile/widget",
"children": [
{
"definition": "tile/row",
"attributes": {
"gap": "sm",
"align": "center",
"justify": "between",
"isWrapped": true
},
"children": [
{
"definition": "tile/row",
"attributes": {
"gap": "sm",
"align": "center"
},
"children": [
{
"definition": "tile/icon",
"attributes": {
"name": "refresh",
"size": "xl",
"alt": ""
}
},
{
"definition": "tile/text",
"attributes": {
"text": "{{pageTitle}}",
"variant": "h1"
}
}
]
},
{
"definition": "tile/badge",
"attributes": {
"label": "{{headerStatus}}",
"variant": "warning"
}
}
]
},
{
"definition": "tile/text",
"attributes": {
"text": "{{subtitle}}",
"variant": "caption",
"color": "muted"
}
},
{
"definition": "tile/separator"
},
{
"definition": "tile/row",
"attributes": {
"gap": "lg",
"align": "stretch",
"isWrapped": true
},
"children": [
{
"definition": "tile/column",
"attributes": {
"width": "stretch"
},
"children": [
{
"definition": "tile/meter",
"attributes": {
"label": "At-risk ARR share",
"value": "{{riskValue}}",
"min": 0,
"max": 100,
"target": "{{riskTarget}}",
"valueFormat": "percent",
"valueLabel": "{{riskValueLabel}}",
"targetLabel": "{{riskTargetLabel}}",
"status": "{{riskStatus}}",
"bands": "{{riskBands}}",
"size": "lg"
}
}
]
},
{
"definition": "tile/column",
"attributes": {
"width": "stretch"
},
"children": [
{
"definition": "tile/piechart",
"attributes": {
"caption": "Renewal ARR by risk verdict",
"variant": "donut",
"valueFormat": "currency",
"centerLabel": "ARR",
"centerValue": "{{pieCenter}}",
"slices": "{{pieSlices}}"
}
}
]
}
]
},
{
"definition": "tile/datagrid",
"attributes": {
"caption": "Renewals in the next 90 days, soonest and riskiest first",
"appearance": "striped",
"defaultSort": {
"key": "close",
"direction": "asc"
},
"columns": [
{
"key": "status",
"header": "Status",
"type": "badge"
},
{
"key": "account",
"header": "Account",
"type": "text"
},
{
"key": "arr",
"header": "ARR",
"type": "currency",
"align": "right",
"sortable": true
},
{
"key": "close",
"header": "Renews",
"type": "date",
"sortable": true
},
{
"key": "usage",
"header": "Usage trend",
"type": "sparkline"
},
{
"key": "verdict",
"header": "Verdict",
"type": "badge"
},
{
"key": "action",
"header": "Play",
"type": "text"
}
],
"rows": "{{gridRows}}",
"totalRows": "{{totalRenewals}}"
}
},
{
"definition": "tile/callout",
"attributes": {
"variant": "error",
"title": "{{synthTitle}}",
"description": "{{synthDescription}}"
},
"children": [
{
"definition": "tile/row",
"attributes": {
"gap": "sm",
"align": "center",
"isWrapped": true
},
"children": [
{
"definition": "tile/button",
"attributes": {
"label": "{{primaryLabel}}",
"variant": "primary",
"actions": {
"click": [
{
"definition": "action/sendMessage",
"attributes": {
"content": "{{primaryPrompt}}"
}
}
]
}
}
},
{
"definition": "tile/button",
"attributes": {
"label": "View in Salesforce",
"iconName": "open-in-new",
"variant": "secondary",
"actions": {
"click": [
{
"definition": "action/openLink",
"attributes": {
"url": "{{criticalRenewalsUrl}}"
}
}
]
}
}
}
]
}
]
}
]
}
}
}
}
display_widget SUCCEEDEDFormatting rules:
[Account] [↗](https://[instanceUrl]/lightning/r/Opportunity/[Id]/view) inline in table + full URLs in Hygiene sectionurl field or construct from org subdomain (e.g. org62.my.salesforce.com)# Renewal Radar - [scope] - [date range] ([instanceUrl])
| Account | Opp | Renewal date | ARR/Amount | Status | Risk driver | Next step |
|---|---|---|---|---|---|---|
| [Account] | [↗](https://[instanceUrl]/lightning/r/Opportunity/[Id]/view) | [date] | $[X] | [extracted status] | [flag] | [action] |
## At risk (act this week)
- **[Account] [↗](url)** - [date] ([N days away]) - [specific risk with timeline context: "no activity in 2.5 months", "6 days away"] → [the play]
## Uplift candidates
- **[Account] [↗](url)** - [the expansion signal and the proposed uplift motion]
## Hygiene
For each renewal with missing/incorrect data, propose the EXACT field change needed with **full Lightning URL**:
**Missing NextStep:**
🔧 Update [Opp Name]
Current NextStep: [blank] → Should be: [specific action based on stage and date proximity]
Apply this change via update-opportunity?
**Incorrect CloseDate:**
🔧 Update [Opp Name]
Current Close Date: [wrong date] → Should be: [corrected date based on contract/renewal timing]
Apply this change via update-opportunity?
**Missing renewal opportunity** (an account whose term is ending with no renewal opp on the books):
📋 Create Renewal Opportunity
Account: [Account] · Name: "[Account] – [Year] Renewal" Type: Renewal · Amount: [prior ARR] · Close Date: [term end] · Stage: [initial renewal stage]
Create this record?
Present each proposed change with confirmation before attempting any write. On a read-only connector, output these as a checklist for manual entry.
For a single named account, expand into a renewal prep brief: history, current sentiment, pricing/uplift recommendation, paperwork timeline worked back from the end date.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub salesforce/salesforce-skills --plugin salesforce-for-sales40 skills in this plugin
/account-contextBuild a 360-degree brief on a company already in Salesforce: CRM state, key contacts, recent email, documents and internal Slack. Use when asked to tell about, catch up on, or give the full picture on an existing account. Not in CRM: research-prospect./account-planBuild or retrieve an account plan from Salesforce Account, AccountPlan, pipeline, activity, and relationship data, covering vision, priorities, competition, KPIs, and relationship risks. Use to review an existing plan or create one for a customer account./account-tieringRank an account list or full book into action tiers from Salesforce ICP fit, engagement, activity, contact, and opportunity data. Use to score accounts, prioritize coverage, decide where to focus, or identify accounts to activate, qualify, or deprioritize./assign-target-to-sdrAssign a Salesforce Lead or Contact to an active Agentforce Engagement Agent using target records and Agentforce agent definitions, after confirming both. Use to hand a prospect to Agentforce for automated qualification and email outreach./calendar-eventsShow a schedule from Salesforce Event data with local times, subjects, locations, and linked contacts, accounts or deals. Use to review today's calendar, upcoming meetings, or a past or future schedule; for a broader morning rundown, use daily-briefing./call-follow-upCreate a customer follow-up email and internal recap from a meeting transcript plus Salesforce account and opportunity history. Use after a customer call to capture decisions, commitments, objections, open questions, next steps, and proposed CRM updates.Other plugins' skills for the same job