Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
jaganpro avatar

Sf Flex Estimator

  • 783 installs
  • 423 repo stars
  • Updated April 27, 2026
  • jaganpro/sf-skills

sf-flex-estimator is a Claude skill wrapping a Python Flex Credit calculator that forecasts monthly Salesforce Agentforce and Data Cloud consumption costs for developers and architects planning AI agent budgets.

About

sf-flex-estimator is a Claude skill backed by a Python 3 Flex Credit calculator script for Salesforce Agentforce and Data Cloud cost forecasting. It models Flex Credits at $0.004 each with a 0.20 Private Connect multiplier and tiered consumption rates across four Agentforce prompt tiers (starter through advanced at 2–16 credits), four action types (standard, custom, voice, sandbox at 16–30 credits), and Data Cloud operations such as data_360_prep at 40 credits and data_360_unification at 75,000 credits. Developers reach for sf-flex-estimator when estimating monthly Agentforce or Data Cloud spend, comparing prompt and action tiers, or validating budget before enabling Salesforce AI features in production orgs.

  • Calculates Flex Credits for Agentforce prompts, actions, and Data Cloud 360 workloads
  • Supports 4 Agentforce prompt tiers and 4 action types with precise multipliers
  • Includes 11 distinct Data Cloud 360 rate categories with real-world aliases
  • Outputs JSON or human-readable cost breakdowns for budgeting
  • Private Connect cost multiplier automatically applied

Sf Flex Estimator by the numbers

  • 783 all-time installs (skills.sh)
  • +4 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #331 of 1,039 Cloud & Infrastructure skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/jaganpro/sf-skills --skill sf-flex-estimator

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs783
repo stars423
Security audit3 / 3 scanners passed
Last updatedApril 27, 2026
Repositoryjaganpro/sf-skills

How do you estimate Salesforce Agentforce monthly costs?

Accurately forecast monthly Agentforce and Data Cloud consumption costs before committing budget.

Who is it for?

Salesforce developers and architects forecasting Agentforce or Data Cloud Flex Credit spend before production rollout or contract negotiation.

Skip if: Teams outside Salesforce ecosystems or developers who only need Apex debugging without consumption pricing analysis.

When should I use this skill?

The developer asks to estimate Agentforce, Data Cloud, or Flex Credit monthly costs for Salesforce AI workloads.

What you get

JSON or CLI cost breakdowns with Flex Credit totals, tiered prompt and action charges, and Data Cloud operation estimates at documented per-credit rates.

  • Monthly Flex Credit cost forecast
  • Tiered prompt and action charge breakdown

By the numbers

  • Flex Credit unit cost set to $0.004 with 0.20 Private Connect multiplier
  • 4 Agentforce prompt tiers and 4 action rate categories in PROMPT_RATES and ACTION_RATES
  • Data Cloud data_360_unification priced at 75,000 credits per operation

Files

SKILL.mdMarkdownGitHub ↗

sf-flex-estimator: Agentforce & Data Cloud Flex Credit Estimation

Use this skill when the user needs a public-price estimate for:

  • Agentforce prompt + action consumption
  • Data Cloud monthly usage meters
  • Flex Credit scenario planning
  • cost optimization recommendations before build or rollout

This skill is for planning and estimation, not implementation.

---

When This Skill Owns the Task

Use sf-flex-estimator when the user is asking questions like:

  • "What will this Agentforce agent cost per month?"
  • "Estimate Flex Credits for 5 prompts, 8 actions, and Data Cloud grounding"
  • "Compare low / medium / high usage scenarios"
  • "How much does Private Connect add?"
  • "What Flex Credit savings do we get if we reduce streaming or action count?"

Delegate elsewhere when the user is:

  • building Builder metadata, Prompt Builder templates, or action wiring → sf-ai-agentforce
  • authoring or fixing .agent files → sf-ai-agentscript
  • implementing Data Cloud connections, streams, DMOs, segments, or activations → sf-datacloud and the phase-specific sf-datacloud-* skills
  • creating test data or operational data imports → sf-data
  • deploying metadata or runtime assets → sf-deploy

---

Required Context to Gather First

Ask for or infer:

  • agent prompt count by tier: starter, basic, standard, advanced
  • action count by type: standard, custom, voice, sandbox
  • whether token overages are expected for prompts or actions
  • monthly Data Cloud meter volumes, if Data Cloud is in scope
  • whether Private Connect is required
  • whether the estimate should model a pilot, small production, enterprise, or multiple scenarios
  • whether the user wants public list-price guidance or is trying to reconcile contract-specific commercial numbers

If the user does not know exact monthly volumes, start with a baseline template and generate multiple scenarios.

---

Core Pricing Model

Agentforce

Agentforce billing is linear — no volume tiers.

ComponentFC per invocation
Starter prompt2
Basic prompt2
Standard prompt4
Advanced prompt16
Standard / custom action20
Voice action30
Sandbox action16

Data Cloud

Data Cloud uses monthly cumulative tiering.

TierMonthly FC rangeMultiplier
Tier 10 - 300K1.0x
Tier 2300K - 1.5M0.8x
Tier 31.5M - 12.5M0.4x
Tier 412.5M+0.2x

Other rules

  • Flex Credits are priced at $0.004 per FC in this skill.
  • Private Connect adds 20% of Data Cloud spend after tiering.
  • Agentforce and Data Cloud are estimated separately, then combined.
  • Estimates in this skill use publicly documented list pricing only.

For the full meter table and examples, read:

  • references/agentforce-pricing.md
  • references/data-cloud-pricing.md

---

Recommended Workflow

1. Baseline the structure

Model the agent and Data Cloud footprint first.

Useful starting templates:

  • assets/templates/basic-agent-template.json
  • assets/templates/hybrid-agent-template.json
  • assets/templates/data-cloud-template.json

2. Calculate the per-invocation cost

For Agentforce, estimate:

per-invocation FC = prompt FC + action FC + token overage FC

3. Calculate Data Cloud base FC

Map each monthly meter volume to the current public rate card, then apply cumulative tiering.

4. Generate scenarios

Use the standard scenario set unless the user provides a better one:

  • Low: 1K invocations / month
  • Medium: 10K / month
  • High: 100K / month
  • Enterprise: 500K / month

5. Validate assumptions and recommend optimizations

Check for:

  • too many prompts or actions
  • unnecessary streaming usage
  • likely token overages
  • missing Private Connect handling
  • unrealistic volume assumptions

---

Scripts and Templates

Calculator

  • assets/calculators/flex_calculator.py
  • assets/calculators/tier_multiplier.py

Validation helper

  • hooks/scripts/validate_estimate.py
This validator is a manual helper. It is intentionally not wired into the shared auto-validation dispatcher because generic .json or .md file patterns would create too much noise.

Example commands

# Per-invocation estimate for a template
python3 assets/calculators/flex_calculator.py \
  --mode structure \
  --agent-def assets/templates/basic-agent-template.json

# Scenario estimate for an Agentforce + Data Cloud design
python3 assets/calculators/flex_calculator.py \
  --mode scenarios \
  --agent-def assets/templates/hybrid-agent-template.json

# Tiering only
python3 assets/calculators/tier_multiplier.py \
  --base-fc 5000000 \
  --pretty

# Validate an estimate input document
python3 hooks/scripts/validate_estimate.py \
  --input assets/templates/hybrid-agent-template.json \
  --verbose

---

High-Signal Estimation Rules

  • Prefer standard prompts for most production reasoning workloads.
  • Use basic prompts only for simple routing/classification.
  • Action count often dominates cost faster than prompt count.
  • Data Cloud streaming is materially more expensive than prep/query/segment meters.
  • Tiering matters only for Data Cloud, not Agentforce.
  • Private Connect applies only to Data Cloud spend in this model.
  • If the user has contract-specific pricing, treat this skill as a public baseline and note that commercial terms may differ.

---

Output Format

When the estimate is complete, present: 1. workload summary 2. per-invocation Agentforce cost 3. monthly scenario table 4. Data Cloud tiering impact 5. top optimization recommendations 6. confidence / validation notes

Suggested shape:

Flex Credit estimate: <name>
Agentforce per invocation: <fc> FC ($<cost>)
Data Cloud monthly base: <fc> FC
Scenarios: <low / medium / high / enterprise>
Optimization priorities: <1-3 bullets>
Confidence: <high / medium / low>

---

Cross-Skill Integration

NeedDelegate toWhy
build the actual agent metadatasf-ai-agentforceimplementation of Builder assets
build a deterministic .agent bundlesf-ai-agentscriptauthoring and validation of Agent Script
implement Data Cloud pipeline assetssf-datacloud and sf-datacloud-*live Data Cloud setup
package or deploy the solutionsf-deploydeployment workflow
generate supporting test or sample datasf-datadata preparation

A common chain is:

sf-ai-agentforce / sf-ai-agentscript / sf-datacloud-* → sf-flex-estimator → sf-deploy

---

Reference Map

Start here

  • README.md
  • references/calculation-methodology.md
  • references/common-use-cases.md
  • references/edge-cases.md

Pricing references

  • references/agentforce-pricing.md
  • references/data-cloud-pricing.md

Validation and scoring

  • references/scoring-rubric.md
  • hooks/scripts/validate_estimate.py

Related skills

How it compares

Pick sf-flex-estimator over generic cloud cost calculators when you need Salesforce-specific Agentforce and Data Cloud Flex Credit tier math.

FAQ

What does sf-flex-estimator calculate?

sf-flex-estimator runs a Python Flex Credit calculator for Salesforce Agentforce prompts, actions, and Data Cloud operations. It applies documented per-tier credit rates and a $0.004 per Flex Credit unit cost to forecast monthly consumption spend.

Which Agentforce tiers does sf-flex-estimator support?

sf-flex-estimator models four prompt tiers—starter, basic, standard, and advanced—at 2, 2, 4, and 16 credits respectively. It also rates standard, custom, voice, and sandbox actions at 16 to 30 credits each.

Is Sf Flex Estimator safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Cloud & Infrastructureagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.