cpq-rest-api

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

Reference guidance for using Oracle CPQ REST APIs to filter, sort, paginate, and expand collection results. A REST API is a web interface that applications use to request and update data.

In plain words
What is it for?
It is for building requests with filters, ordering, page limits and offsets, total counts, and hierarchical expansions.
Why use it?
It provides the expected query formats and HTTP status-code conventions, reducing errors when working with Oracle CPQ services.

Skill for Claude CodeCodex

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

Good fit It is for building requests with filters, ordering, page limits and offsets, total counts, and hierarchical expansions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vikram-vn/cpq-bml/cpq-rest-api
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-rest-api
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-rest-api

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/vikram-vn/cpq-bml/cpq-rest-api"><img src="https://agentmods.dev/badge/skills/vikram-vn/cpq-bml/cpq-rest-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 771 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.00040 $0.00771
Opus 5 $0.00020 $0.00385
Sonnet 5 $0.00008 $0.00154
Haiku 4.5 $0.00004 $0.00077

Measured 5d ago against content hash 913ef83a0802, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-13, from the pricing page.

Security

Grade A, and why

cpq-rest-api 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 5d 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-rest-api/SKILL.md · 78 lines

How it starts

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

Oracle CPQ REST API Standards & Collection Operations

Query Filtering with q Parameter

Oracle CPQ REST collections use MongoDB-style JSON syntax for filtering:

GET /rest/v19/commerceDocumentsOraclecpqoTransaction?q={"status_t":{"$eq":"CREATED"}}
Comparison Operators:
  • $eq / $ne: Equality / inequality ({"status_t":{"$eq":"CREATED"}})
  • $gt / $gte: Greater than / greater than or equal ({"totalAmount_t":{"$gte":1000}})
  • $lt / $lte: Less than / less than or equal ({"quantity":{"$lt":50}})
  • $exists: Field existence check ({"createdBy":{"$exists":true}})
Logical Operators:
  • $and: Conjunction of conditions ?q={"$and":[{"status_t":{"$eq":"PENDING"}},{"totalAmount_t":{"$gt":500}}]}
  • $or: Disjunction of conditions ?q={"$or":[{"status_t":{"$eq":"CREATED"}},{"status_t":{"$eq":"DRAFT"}}]}

Sorting with orderBy

Order results using orderBy=attributeName:[asc|desc]. Comma-separated for multiple fields:

GET /rest/v19/commerceDocumentsOraclecpqoTransaction?orderBy=dateModified_t:desc,transactionID_t:asc

Pagination

Control page windows using limit, offset, and request total counts:

  • limit: Maximum records per response (1 to 1000, default 25).
  • offset: Starting record index (0-based).
  • totalResults: Set ?totalResults=true to include the total record count.

Response metadata structure:

{
  "items": [...],
  "hasMore": true,
  "limit": 25,
  "offset": 0,
  "count": 25,
  "totalResults": 142,
  "links": [{"rel": "next", "href": "..."}]
}

Hierarchical Expansion with expand

Retrieve child objects/subdocuments inline in a single request:

GET /rest/v19/commerceDocumentsOraclecpqoTransaction/{id}?expand=items,lineItems

Standard HTTP Status Codes & Error Handling

  • 200 OK: Request succeeded.
  • 201 Created: Resource created successfully.
  • 204 No Content: Successful execution with empty body (DELETE / Actions).
  • 400 Bad Request: Validation error or malformed query q syntax.
  • 401 Unauthorized / 403 Forbidden: Authentication / Permission failure.
  • 404 Not Found: Resource or URI does not exist.
  • 409 Conflict: Optimistic locking or concurrent modification conflict.
  • 500 Internal Server Error: Unhandled CPQ server or BML exception.

Read the full file on GitHub · 78 lines

Files

What ships with it

8 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. 5d ago First seen · 78 lines · 40 tokens per session scan A 913ef83a0802

Subscribe to this mod's changes

cpq-rest-api is a skill published in the GitHub repository vikram-vn/cpq-bml (0 stars, last pushed 2d ago), licensed MIT. It adds 40 tokens to every session and 771 once invoked, about $0.0002 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-08.

Related

Other skills, from other repositories

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens

convex-explain-app

Explain an existing Convex app — data model + relationships, public vs internal functions, auth/ownership model, components, a request→data flow — read from the schema and function surface. Read-only.

openclaw/clawhub · 47 tokens

platform-custom-field-generate

Use this skill when users need to create, generate, or validate Salesforce Custom Field metadata. Trigger when users mention custom fields, field types, Roll-up Summary fields, Master-Detail relationships, Lookup relationships, formula fields, picklists, dependent (controlling) picklists, referencing a value set from…

forcedotcom/sf-skills · 194 tokens

durable-objects

Build, debug, or review Cloudflare Durable Objects code for persistent state and coordination.

fcakyon/claude-codex-settings · 22 tokens

field-service-sobject-create-configure

Headless 360 REST API deployment step for creating sObject records. Handles describe-based field discovery, required-field derivation, entity-relationship ordering, and composite graph transactions. Use this skill when a designer skill (or a user directly) needs to create sObject records after design confirmation…

forcedotcom/sf-skills · 74 tokens

nornicdb-grpc

Drive NornicDB over gRPC — the Qdrant-compatible surface (Collections, Points, Snapshots) plus the additive NornicSearch service. Use when ingesting via Qdrant SDKs, migrating from Qdrant, or running hybrid text+vector search from a non-Bolt client. Covers connection, RPC catalog, collection→database mapping…

orneryd/NornicDB · 98 tokens