revenue-at-risk

revenue-at-risk is a skill for Claude Code, Codex from ozgurkarahan/salesforce-meta-tool-identity-propagation. It costs 59 tokens per session (437 once invoked), scanned A, original, MIT.

A workflow for measuring sales revenue that may be affected by serious ServiceNow incidents. It matches high-priority IT problems with open Salesforce opportunities, where an opportunity is a possible sale being tracked by a business.

In plain words
What is it for?
Use it to total open sales by affected account, count critical and high-priority incidents, find the nearest deal closing date, and rank accounts by risk.
Why use it?
It brings support incidents and sales data together instead of reviewing them separately. This helps identify which customer deals may be at risk and which risks deserve attention first.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to total open sales by affected account, count critical and high-priority incidents, find the nearest deal closing date, and rank accounts by risk.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ozgurkarahan/salesforce-meta-tool-identity-propagation/revenue-at-risk
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ozgurkarahan/salesforce-meta-tool-identity-propagation --skill revenue-at-risk
Clone the repo
git clone --depth 1 https://github.com/ozgurkarahan/salesforce-meta-tool-identity-propagation

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for revenue-at-risk

README.md
[![agentmods](https://agentmods.dev/badge/skills/ozgurkarahan/salesforce-meta-tool-identity-propagation/revenue-at-risk/github.svg)](https://agentmods.dev/skills/ozgurkarahan/salesforce-meta-tool-identity-propagation/revenue-at-risk)
Your own site
<a href="https://agentmods.dev/skills/ozgurkarahan/salesforce-meta-tool-identity-propagation/revenue-at-risk"><img src="https://agentmods.dev/badge/skills/ozgurkarahan/salesforce-meta-tool-identity-propagation/revenue-at-risk/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for revenue-at-risk

Your own site · 80×15
<a href="https://agentmods.dev/skills/ozgurkarahan/salesforce-meta-tool-identity-propagation/revenue-at-risk"><img src="https://agentmods.dev/badge/skills/ozgurkarahan/salesforce-meta-tool-identity-propagation/revenue-at-risk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 437 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.00437
Opus 5.5 $0.00024 $0.00175
Sonnet 5.5 $0.00012 $0.00087
Haiku 4.5 $0.00006 $0.00044

Measured today against content hash 9ea6b883d0f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

revenue-at-risk scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/revenue-at-risk/SKILL.md · 36 lines

What it actually says

Revenue at risk

Uses the salesforce-crm, servicenow-itsm and customer360-correlation skills.

Steps

  1. Incidents — one ServiceNow query: query(table="incident", query="priority<=2^state<6^ORDERBYpriority", fields="number,short_description,priority,state,company,opened_at", limit=50). If an incident has no company, infer it from short_description/description only when the name is explicit, and say you inferred it.
  2. Affected companies — distinct company names from step 1.
  3. Pipeline — one SOQL query for all of them: SELECT Account.Name, Name, Amount, StageName, CloseDate FROM Opportunity WHERE IsClosed = false AND Account.Name IN ('A','B',...) ORDER BY Amount DESC LIMIT 100
  4. Compute per account: open pipeline total, number of P1 and P2 incidents, nearest close date.
  5. Rank accounts by risk: P1 before P2, then pipeline amount, then nearest close date.

Output

  • Start with the headline: total pipeline at risk and the number of accounts.
  • Table: Account · Pipeline at risk · P1 · P2 · Nearest close date · Key incident(s).
  • Then 2–3 recommended actions (e.g. escalate the incident tied to the largest deal closing soonest).
  • Format amounts as currency (e.g. $1.2M, $450K). Only show totals computed from records, never untraceable estimates.
  • If no high-priority incidents are open, say so and stop.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 36 lines · 59 tokens per session scan A 9ea6b883d0f2

Subscribe to this mod's changes

revenue-at-risk is a skill published in the GitHub repository ozgurkarahan/salesforce-meta-tool-identity-propagation (4 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 437 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-17.