cpq-pricing-rules

cpq-pricing-rules is a skill for Claude Code, Codex from BanibrataChatterjee/AwesomeSalesforceSkills. It costs 125 tokens per session (4,168 once invoked), scanned A, original, Apache-2.0.

A guide to Salesforce CPQ pricing configuration. CPQ, or configure-price-quote, calculates quote prices using rules, volume discounts, fixed quantity bands, account-specific prices, and percentage-based products.

In plain words
What is it for?
Use it to configure price rules, discount schedules, block pricing, percent-of-total products, lookup queries, and contracted prices.
Why use it?
It helps teams keep complex quote calculations consistent and avoid pricing layers overriding one another unexpectedly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to configure price rules, discount schedules, block pricing, percent-of-total products, lookup queries, and contracted prices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/banibratachatterjee/awesomesalesforceskills/cpq-pricing-rules
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 BanibrataChatterjee/AwesomeSalesforceSkills --skill cpq-pricing-rules
Clone the repo
git clone --depth 1 https://github.com/BanibrataChatterjee/AwesomeSalesforceSkills

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 cpq-pricing-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/banibratachatterjee/awesomesalesforceskills/cpq-pricing-rules/github.svg)](https://agentmods.dev/skills/banibratachatterjee/awesomesalesforceskills/cpq-pricing-rules)
Your own site
<a href="https://agentmods.dev/skills/banibratachatterjee/awesomesalesforceskills/cpq-pricing-rules"><img src="https://agentmods.dev/badge/skills/banibratachatterjee/awesomesalesforceskills/cpq-pricing-rules/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 cpq-pricing-rules

Your own site · 80×15
<a href="https://agentmods.dev/skills/banibratachatterjee/awesomesalesforceskills/cpq-pricing-rules"><img src="https://agentmods.dev/badge/skills/banibratachatterjee/awesomesalesforceskills/cpq-pricing-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,168 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.00125 $0.04168
Opus 5 $0.00063 $0.02084
Sonnet 5 $0.00025 $0.00834
Haiku 4.5 $0.00013 $0.00417

Measured 8d ago against content hash d11283d76f6d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

cpq-pricing-rules 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check_cpq_pricing_rules.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/admin/cpq-pricing-rules/SKILL.md · 236 lines

How it starts

The opening of the file, as written. The whole thing — 236 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CPQ Pricing Rules

Use this skill when configuring the Salesforce CPQ pricing engine: creating Price Rules that fire during quote calculation, building Discount Schedules for volume-based pricing, setting up Block Pricing for fixed-price quantity ranges, configuring Percent of Total products, and establishing Contracted Prices for account-specific rate overrides. This skill does not cover standard Salesforce Pricebook pricing or CPQ product catalog configuration.


Before Starting

Gather this context before working on anything in this domain:

  • Confirm the Salesforce CPQ managed package (SBQQ__) is installed. All CPQ pricing objects (SBQQ__PriceRule__c, SBQQ__DiscountSchedule__c, SBQQ__ContractedPrice__c, SBQQ__BlockPrice__c) require it.
  • Understand the full pricing waterfall the business requires. CPQ applies pricing in this order: list price → contracted price → block pricing → discount schedules → price rules. Changes to any layer can be overwritten by a later layer if rules are not ordered correctly.
  • Identify whether discounts are per-line, volume-based across the order, or account-specific contracted rates. Each requires a different CPQ mechanism.
  • Determine the required execution order of price rules early. Two rules with the same Evaluation Order fire in undefined sequence — this is the most common source of inconsistent pricing bugs.
  • Verify whether CPQ's debug logging is available in the org. The CPQ Calculator debug mode logs each pricing step to the browser console, which is essential for diagnosing waterfall issues.

Core Concepts

CPQ Quote Calculation Engine and the Price Waterfall

When a CPQ quote is saved or manually recalculated, the CPQ calculation engine runs synchronously and applies pricing in a defined sequence known as the price waterfall:

  1. List Price — The PricebookEntry.UnitPrice for the product/pricebook combination.
  2. Contracted Price — If an active SBQQ__ContractedPrice__c record exists for the Account + Product combination, it overrides the list price.
  3. Block Pricing — If the product has SBQQ__BlockPrice__c records, per-unit pricing is replaced with the fixed price for the matching quantity range.
  4. Discount SchedulesSBQQ__DiscountSchedule__c volume or term tiers apply an additional percentage discount.
  5. Price RulesSBQQ__PriceRule__c records fire in ascending Evaluation Order and can overwrite any field on the quote or quote line, including the net price.

Read the full file on GitHub · 236 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 236 lines · 125 tokens per session scan A d11283d76f6d

Subscribe to this mod's changes

cpq-pricing-rules is a skill published in the GitHub repository BanibrataChatterjee/AwesomeSalesforceSkills (3 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 125 tokens to every session and 4,168 once invoked, about $0.0006 per session on Opus 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-09-03.

Related

Other skills, from other repositories

cpq-pricing-rules

Use when configuring or troubleshooting Salesforce CPQ pricing: Price Rules, Price Conditions, Price Actions, Lookup Queries, Discount Schedules, Block Pricing, Percent of Total, and Contracted Prices. Trigger keywords: CPQ price rule, price action, discount schedule, block pricing, percent of total, contracted price…

PranavNagrecha/AwesomeSalesforceSkills · 116 tokens

cpq-approval-workflows

Configuring or troubleshooting Salesforce CPQ Advanced Approvals: SBAAApprovalRulec, SBAAApprovalVariablec for cross-line aggregation, SBAAApprovalChainc for ordered approver sequences, escalation timeouts, Smart Approvals for re-quote skip logic, and the managed package's permission sets. Trigger keywords: CPQ…

PranavNagrecha/AwesomeSalesforceSkills · 145 tokens

cpq-guided-selling

Use this skill when configuring or troubleshooting the Salesforce CPQ Guided Selling wizard: Quote Process records, ProcessInput questions that filter products by field value, mapping answers to Product2 classification fields, and search type choice (Standard, Enhanced, Custom). Trigger keywords: CPQ guided selling…

PranavNagrecha/AwesomeSalesforceSkills · 139 tokens

commerce-pricing-and-promotions

Configure pricebooks, tiered pricing, promotions, coupon codes, and cart discounts for B2B or D2C Commerce stores. Trigger keywords: WebStorePricebook, BuyerGroupPricebook, PriceAdjustmentSchedule, PromotionsCartCalculator, commerce coupon, cart-level discount, tiered price, Commerce promotion. NOT for Sales Cloud…

PranavNagrecha/AwesomeSalesforceSkills · 106 tokens

contract-and-renewal-management

Use when configuring or troubleshooting Salesforce CPQ contract creation, subscription management, amendment quotes, or renewal quotes. Trigger keywords: contract, amendment, renewal, subscription, co-termination, SBQQSubscriptionc. NOT for designing the amendment/renewal architecture or swap pattern — use…

PranavNagrecha/AwesomeSalesforceSkills · 90 tokens

monetization

Estrategia e implementacao de monetizacao para produtos digitais - Stripe, subscriptions, pricing experiments, freemium, upgrade flows, churn prevention, revenue optimization e modelos de negocio SaaS.

LiHongwei-cn/lihongwei-cn · 43 tokens