cpq-domain

cpq-domain is a skill for Claude Code, Codex from vikram-vn/cpq-bml. It costs 20 tokens per session (369 once invoked), scanned A, original, MIT.

Reference guidance for Oracle CPQ, a system used to configure products, calculate prices, and manage related sales transactions. It covers Commerce, Configuration, bills of materials, shared values, and user sessions.

In plain words
What is it for?
Working with transactions, product configurations, bills of materials, shared cached values, user-session data, approval states, and security constants.
Why use it?
It gives an AI agent the domain context needed to work with CPQ objects and functions correctly instead of treating them like generic code.

Skill for Claude CodeCodex

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

Good fit Working with transactions, product configurations, bills of materials, shared cached values, user-session data, approval states, and security constants.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vikram-vn/cpq-bml/cpq-domain
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 vikram-vn/cpq-bml --skill cpq-domain
Clone the repo
git clone --depth 1 https://github.com/vikram-vn/cpq-bml

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-domain

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/vikram-vn/cpq-bml/cpq-domain"><img src="https://agentmods.dev/badge/skills/vikram-vn/cpq-bml/cpq-domain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 369 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.00020 $0.00369
Opus 5 $0.00010 $0.00185
Sonnet 5 $0.00004 $0.00074
Haiku 4.5 $0.00002 $0.00037

Measured 10d ago against content hash 53919980a5aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

cpq-domain 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 10d ago.

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.

app/ai/skills/cpq-domain/SKILL.md · 45 lines

What it actually says

CPQ Domain Knowledge

Commerce & Configuration Context

  • Commerce: Context variables, line item arrays, transaction attributes (_document_number, _price_total, _transaction_currency).
  • Configuration: Dynamic product sizing arrays, configuration BOM rules, and pricing recommendations.

BOM (Bill of Materials) Mapping APIs

// Retrieve, convert, and save BOM structures
bomJson = getbom(docNumber);
hierBom = convertbomtohier(flatBomJson);
flatBom = convertbomtohier(hierBomJson);
deltaBom = calculatedeltabom(priorBom, currentBom);
savedDocNum = savebom(docNumber, bomInstance);

Global Dictionary & User Sessions

// Cross-script caching via Global Dictionary
globaldictset("cacheKey", "cachedValue");
val = globaldictget("cacheKey");
globaldictremove("cacheKey");

// User Session Management
usersessionset("sessionKey", "sessionValue");
sessVal = usersessionget("sessionKey");
usersessionremove("sessionKey");

Key System Constants

  • Unchanged Values: BM_UNCHANGED_STR, BM_UNCHANGED_NUM, BM_UNCHANGED_DATE
  • Approvals: BM_REASON_STATUS_APPROVED, BM_REASON_STATUS_PENDING, BM_REASON_STATUS_REJECTED
  • Security: BM_PARTNER_SECURITY_TOKEN (SOAP WSSE token)

For detailed reference docs, refer to the references/ directory.

Files

What ships with it

7 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. 10d ago First seen · 45 lines · 20 tokens per session scan A 53919980a5aa

Subscribe to this mod's changes

cpq-domain is a skill published in the GitHub repository vikram-vn/cpq-bml (0 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 369 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

b2b-commerce

Enable wholesale and B2B sales with company accounts, custom catalogs, quote workflows, purchase orders, and net payment terms.

finsilabs/awesome-ecommerce-skills · 29 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

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

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

cpq-quote-templates

Use when designing or troubleshooting Salesforce CPQ (SBQQ) quote templates: building template sections, configuring line columns, conditionally showing sections, generating branded PDFs, or handling multi-language output. Triggers: 'CPQ quote template', 'SBQQ template', 'CPQ PDF', 'line columns', 'quote template…

BanibrataChatterjee/AwesomeSalesforceSkills · 110 tokens