Agent skill

cost-to-serve-analyzer

Supply chain cost-to-serve analysis skill by customer, product, or channel

Stars 514
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/a5c-ai/babysitter/tree/main/library/specializations/domains/business/supply-chain/skills/cost-to-serve-analyzer

Metadata

Additional technical details for this skill

domain
business
category
analytics
priority
standard
specialization
supply-chain

SKILL.md

Cost-to-Serve Analyzer

Overview

The Cost-to-Serve Analyzer provides detailed supply chain cost analysis by customer, product, or channel. It applies activity-based costing principles to allocate supply chain costs accurately, enabling profitability analysis and cost optimization decisions.

Capabilities

  • Activity-Based Costing Allocation: Cost driver-based allocation
  • Procurement Cost Assignment: Purchase and sourcing cost allocation
  • Inventory Carrying Cost Calculation: Working capital cost attribution
  • Logistics and Transportation Costing: Freight and distribution costs
  • Service Cost Attribution: Customer service and support costs
  • Profitability Analysis by Segment: Customer/product/channel profitability
  • Cost Driver Identification: Key cost influencer analysis
  • Optimization Recommendations: Cost reduction opportunities

Input Schema

yaml
cost_to_serve_request:
  analysis_dimensions:
    by_customer: boolean
    by_product: boolean
    by_channel: boolean
  cost_data:
    procurement_costs: object
    manufacturing_costs: object
    logistics_costs: object
    inventory_costs: object
    service_costs: object
    overhead_costs: object
  activity_data:
    order_volumes: object
    shipment_data: object
    service_interactions: object
  revenue_data: object
  allocation_rules:
    cost_drivers: array
    allocation_bases: object
  analysis_period:
    start_date: date
    end_date: date

Output Schema

yaml
cost_to_serve_output:
  cost_allocation:
    by_customer: array
      - customer_id: string
        revenue: float
        costs:
          procurement: float
          inventory: float
          logistics: float
          service: float
          overhead: float
          total: float
        margin: float
        margin_percent: float
    by_product: array
    by_channel: array
  profitability_analysis:
    profitable_segments: array
    unprofitable_segments: array
    profitability_distribution: object
  cost_drivers:
    key_drivers: array
    driver_sensitivity: object
  optimization_opportunities:
    recommendations: array
      - opportunity: string
        segment: string
        current_cost: float
        target_cost: float
        savings_potential: float
    total_savings_potential: float
  visualizations: object

Usage

Customer Profitability Analysis

Input: Customer revenue, allocated costs
Process: Calculate cost-to-serve by customer
Output: Customer profitability ranking with drivers

Channel Cost Comparison

Input: Multi-channel cost and revenue data
Process: Allocate costs by channel activities
Output: Channel profitability comparison

Cost Driver Analysis

Input: Detailed activity and cost data
Process: Identify and quantify cost drivers
Output: Cost driver impact analysis

Integration Points

  • ERP Systems: Cost data, activity data
  • Financial Systems: Revenue, cost accounting
  • Logistics Systems: Freight, distribution costs
  • Tools/Libraries: ABC costing models, profitability analysis

Process Dependencies

  • Supply Chain Cost-to-Serve Analysis
  • Supply Chain KPI Dashboard Development
  • Supply Chain Network Design

Best Practices

  1. Establish clear cost allocation methodology
  2. Validate cost drivers with operational teams
  3. Use activity data for accurate allocation
  4. Compare results across time periods
  5. Engage sales and finance in interpretation
  6. Link findings to actionable improvement plans

Expand your agent's capabilities with these related and highly-rated skills.

a5c-ai/babysitter

gsd-tools

Central utility skill for GSD operations. Provides config parsing, slug generation, timestamps, path operations, and orchestrates calls to other specialized skills. Acts as the unified entry point that the original gsd-tools.cjs provided via its lib/ modules (commands, config, core, init).

514 31
Explore
a5c-ai/babysitter

model-profile-resolution

Resolve model profile (quality/balanced/budget) at orchestration start and map agents to specific models. Enables cost/quality tradeoffs by selecting appropriate AI models for each agent role.

514 31
Explore
a5c-ai/babysitter

verification-suite

Plan structure validation, phase completeness checks, reference integrity verification, and artifact existence confirmation. Provides the structured verification layer ensuring GSD artifacts are well-formed and complete.

514 31
Explore
a5c-ai/babysitter

state-management

STATE.md reading, writing, and field-level updates. Provides cross-session state persistence via .planning/STATE.md with structured fields for current task, completed phases, blockers, decisions, and quick tasks.

514 31
Explore
a5c-ai/babysitter

git-integration

Git commit patterns, formats, and conventions for GSD methodology. Provides atomic commits per task, structured commit messages, planning file commits, branch management, and milestone tag operations.

514 31
Explore
a5c-ai/babysitter

frontmatter-parsing

YAML frontmatter parsing and manipulation for .planning/ documents. Provides read, write, update, query, and validation operations on frontmatter blocks in GSD markdown artifacts.

514 31
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results