Agent skill
commerce-analytics
Run commerce analytics, metrics, and forecasts. Use when running `stateset-analytics` or requesting sales, customer, inventory, or demand insights.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/commerce-analytics
SKILL.md
Commerce Analytics
Generate revenue, customer, and inventory insights.
How It Works
- Select a time period or segment.
- Fetch summary metrics and top entities.
- Generate forecasts or breakdowns.
- Report key trends and anomalies.
Usage
- CLI:
stateset-analytics ...orstateset "show sales last 30 days" - MCP tools:
get_sales_summary,get_top_products,get_customer_metrics,get_inventory_health,get_demand_forecast,get_revenue_forecast.
Output
{"revenue":45230,"orders":156,"aov":290}
Present Results to User
- Metrics requested and time range.
- Notable trends or outliers.
- Follow-up actions (reorder, promo, retention).
Troubleshooting
- Empty data: confirm date range or seed data.
- Forecast errors: verify historical data volume.
References
- references/analytics-queries.md
- /home/dom/stateset-icommerce/cli/.claude/skills/commerce-analytics/SKILL.md
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?