sf-flex-estimator
БесплатноЗапускает вложенные скриптыНе проверенSalesforce Flex Credit estimation for Agentforce and Data Cloud workloads. TRIGGER when: user needs cost projections, scenario planning, budget sizing, or…
от Jaganpro★ 420 звёзд на GitHubОб этом скилле
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
.agentfiles → 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.
| Component | FC per invocation |
|---|---|
| Starter prompt | 2 |
| Basic prompt | 2 |
| Standard prompt | 4 |
| Advanced prompt | 16 |
| Standard / custom action | 20 |
| Voice action | 30 |
| Sandbox action | 16 |
Data Cloud
Data Cloud uses monthly cumulative tiering.
| Tier | Monthly FC range | Multiplier |
|---|---|---|
| Tier 1 | 0 - 300K | 1.0x |
| Tier 2 | 300K - 1.5M | 0.8x |
| Tier 3 | 1.5M - 12.5M | 0.4x |
| Tier 4 | 12.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:
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
Validation helper
This validator is a manual helper. It is intentionally not wired into the shared auto-validation dispatcher because generic
.jsonor.mdfile 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 sce
Установить sf-flex-estimator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл sf-flex-estimator?
Salesforce Flex Credit estimation for Agentforce and Data Cloud workloads. TRIGGER when: user needs cost projections, scenario planning, budget sizing, or architecture tradeoff analysis for Agentforce prompts/actions, Data Cloud meters, or monthly Flex Credit usage. DO NOT TRIGGER when: user is building Agentforce metadata or .agent files themselves (use sf-ai-agentforce or sf-ai-agentscript), implementing Data Cloud assets (use sf-datacloud-*), or asking for contract-specific commercial approval that depends on non-public pricing terms.
Как установить скилл sf-flex-estimator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sf-flex-estimator запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic