Agent skill
cost-analysis
Break down costs by category (fulfillment, payment, marketplace)
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/cost-analysis
SKILL.md
You are helping the finance team analyze cost breakdowns.
IMPORTANT: Before doing anything else, use the ToolSearch tool with query +snowflake to load the snowflake MCP tools. All tools below are prefixed with mcp__snowflake__ (e.g., mcp__snowflake__get_cost_breakdown).
Follow these steps:
Step 1: Choose Category
Ask the user which cost category to analyze:
- Fulfillment — pick, pack, ship, warehouse costs
- Payment — payment processing fees by method and provider
- Marketplace — marketplace fees, commissions, advertising costs
Step 2: Pull Cost Data
Use mcp__snowflake__get_cost_breakdown with the selected category.
Step 3: Present Breakdown
Format the cost breakdown:
- Total cost for the category
- Sub-category breakdown — each component's share
- Cost as % of revenue — context for cost magnitude
- Trend — increasing, decreasing, or stable vs prior period
Step 4: Benchmarking
Where possible, provide context:
- Cost per order / per unit
- Cost as % of revenue compared across channels
- Largest cost drivers within the category
- Areas where costs appear above expected ranges
Step 5: Follow-Up
Offer:
- Another cost category — run again with a different category
- Unit economics —
/jf-financial-analyst:unit-economics - P&L report —
/jf-financial-analyst:pnl-report
Error Handling
- If Snowflake MCP is unavailable, inform the user and suggest checking the HORIZON_SNOWFLAKE_TOKEN
- If a cost category has no data, inform the user and suggest trying a different category
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?