Skill registry
Business operationsPublic skills

Pricing Engine

Dynamic pricing for AI agents — CEL rule waterfalls, promotions (BOGO/volume/flash), customer segments, quotes, 170+ currency conversion, and 50+ country tax calculation.

What this skill teaches

A reusable playbook for a specific kind of work.

An MCP server tells an agent which actions are available. A skill adds the judgment around those actions: how to recognize the job, which sequence to follow, what to avoid, and how to decide that the result is complete.

Orchestrate pricing operations — calculate prices through waterfall rules, create/manage CEL-based pricing rules, run promotions (BOGO, volume tiers, flash sales), manage customer segments, generate quotes, convert currencies, and calculate taxes. Use when calculating prices, creating discount rules, running…

Architecture

How Pricing Engine guides an ADK-Rust agent.

The skill stays readable and portable because it contains instructions rather than service credentials or business data. ADK-Rust supplies it to the agent, the agent chooses from its reviewed tool boundary, and the connected MCP server performs the authenticated operation.

01

User request

The agent receives a goal expressed in ordinary language.

02

Pricing Engine skill

Matches intent, supplies the decision guide, and narrows the tool boundary.

03

ADK-Rust agent

Plans the workflow and streams each meaningful step through the runtime.

04

mcp-pricing

Executes authenticated operations against the system that owns the capability.

05

Verified result

The skill's completion rules shape the evidence returned to the user.

Portable instructions: SKILL.md · Capability boundary: mcp-pricing · Allowed tools: 26

Decision guide

How the agent turns a request into the right action.

These routes come directly from the skill instructions. They help the model recognize intent and select a focused tool or workflow instead of improvising across the entire capability surface.

01

"price", "how much", "calculate"?

price_calculate (explain=true)

02

"rule", "discount rule", "pricing logic"?

rules_create / rules_list

03

"activate", "turn on rule"?

rules_activate

04

"schedule", "start at midnight"?

rules_schedule

05

"promotion", "coupon", "BOGO", "flash sale"?

promotions_create / promotions_apply

06

"segment", "gold tier", "enterprise"?

segments_create / segments_list

07

"quote", "proposal", "lock price"?

quotes_create / quotes_approve

08

"convert", "USD to KES", "FX"?

market_fx_convert

Proven workflows

Repeatable sequences for useful outcomes.

A workflow joins several tool calls into a task the user actually recognizes. The skill explains the sequence and the intended result while ADK-Rust streams the agent's progress through the shared runtime.

011 calls

Calculate Price

Full waterfall with explanation

023 calls

Create & Activate Rule

Create → test → activate safely

032 calls

Run Promotion

BOGO, volume, flash, coupon

042 calls

Generate Quote

Lock prices for customer

052 calls

Multi-Currency

Price + FX conversion

06With calls

Without

With

Tool boundary

The skill may use 26 documented tools.

This allowlist is declared by the skill. It keeps the agent focused on the actions needed for this job while mcp-pricing retains responsibility for authentication, validation, and the connected system.

price_calculate
rules_create
rules_list
rules_activate
rules_deactivate
rules_update
rules_history
rules_schedule
rules_conflicts
rules_test
rules_validate
catalog_upsert
catalog_get
catalog_list
segments_create
segments_list
promotions_create
promotions_list
promotions_apply
quotes_create
quotes_get
quotes_approve
market_fx_convert
market_fx_rates
market_tax
audit_log

Working rules

What the agent should do.

  • Always rules_test before rules_activate (never go live untested)
  • Check rules_conflicts when creating rules at same priority
  • Use explain: true on price_calculate to show waterfall
  • Set floor prices to protect margins
  • Log all overrides via audit_log

Operating boundaries

What the agent should avoid.

  • Don't activate rules without testing first
  • Don't create rules without floor/ceiling guards
  • Don't approve quotes without checking margin
  • Don't ignore rule conflicts (same priority = unpredictable)

Install and connect

Add the skill beside the capability it expects.

Install the repository where your ADK-Rust skill loader can discover it, connect mcp-pricing, and confirm the declared tools are available before asking the agent to use the workflow.

Install the skill
git clone https://github.com/zavora-ai/skill-pricing-engine.git \
  ~/.skills/skills/pricing-engine
ADK-Rust loading shape
let skills = SkillLoader::from_dir("~/.skills/skills").await?;
let skill = skills.load("pricing-engine").await?;

let agent = LlmAgentBuilder::new("agent")
    .instruction(skill.instructions())
    .tools(skill.allowed_tools(toolset)?)
    .build()?;

The repository's compatibility statement: Requires mcp-pricing server connected. CEL expression engine, 170+ currencies, 50+ country tax rates.

Official documentation

Read the complete skill package.

The repository remains authoritative for its exact instructions, examples, helper scripts, assets, MCP requirements, license, and later updates.

Source record

Repository metadata for this skill entry.

View public repository ↗
License
Apache-2.0
Allowed tools
26
References
3
Revision
b67c8a73b352
Updated
May 31, 2026