sudden-drop-investigation

Diagnoses single-store sales drops by validating anomalies against counterfactual expected ranges before root-cause analysis.

Updated Jul 4, 2026
One-click install
npx skills add https://github.com/Techno-Rocky/rocky-regi-plugins --skill sudden-drop-investigation-techno-rocky
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sudden-drop-investigation
Source: https://github.com/Techno-Rocky/rocky-regi-plugins/tree/main/plugins/rocky-store-manager/skills/sudden-drop-investigation
Command: npx skills add https://github.com/Techno-Rocky/rocky-regi-plugins --skill sudden-drop-investigation-techno-rocky

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When a store manager asks "why did sales drop yesterday?", the risk is jumping straight to a fabricated explanation or chasing a false alarm caused by normal weather or weekday variance. This Skill first verifies whether the drop is statistically abnormal using similar business days, suppresses false alarms, and only then drills down to a single root cause with one concrete countermeasure. ## Core Features & Use Cases - Counterfactual Anomaly Gate: Compares actual sales against an expected range (mean ± std) built from similar business days matched on weekday, weather, season, and holidays, with confidence levels based on sample size. - Ordered Root-Cause Drill-Down: When a drop is significant, it investigates in a fixed sequence—cancelled/lost items, hourly heatmap, menu engineering quadrants, and organic CSAT/NPS—then attributes one primary cause using time-order, magnitude, and confidence rules. - Fixed Output Templates: Returns one of three fixed formats (not anomalous, indeterminate due to low confidence, or significant drop with cause and next action), keeping responses consistent and preventing emotional overstatement. - Use Case: A manager asks "why was last Tuesday so bad?" The Skill finds the drop is within the expected range for rainy Tuesdays and replies with evidence that no anomaly occurred—closing the conversation without triggering downstream winback campaigns. ## Quick Start Ask why sales dropped yesterday at your store and let the Skill verify against similar business days whether it was actually abnormal before investigating the cause.

Frequently Asked Questions about sudden-drop-investigation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find out why restaurant sales dropped on a specific day?▼

Ask about the specific date and store, and the Skill first compares actual sales against an expected range from similar business days matched on weekday, weather, season, and holidays. Only if the drop is statistically significant does it drill into cancellations, hourly patterns, menu performance, and customer satisfaction.

How does the skill avoid false alarms when investigating sales drops?▼

It always calls get_similar_business_days before any deep dive, building a mean ± 1σ expected range from comparable days. If actual sales fall within that range, it declares the day normal with evidence and stops, without opening widgets or triggering downstream skills.

What happens when there are not enough similar business days to compare?▼

When fewer than four similar days exist, confidence is rated low and the Skill honestly reports that it cannot determine whether an anomaly occurred. It does not proceed with deep investigation or treat the expected range as reliable.

Can this skill execute fixes like inventory updates or customer notices?▼

No, it is read-only. It proposes exactly one countermeasure tied to the identified root cause, but execution actions such as update_inventory, create_notice, or reorder_menu_items are delegated to separate skills requiring owner confirmation and human approval.

How does it choose a root cause when multiple signals fire at once?▼

It attributes one primary cause using priority rules: earlier events in the time sequence win, larger explanatory power over the revenue shortfall wins, and high-confidence evidence wins. Other signals are listed as concurrent, and if attribution is impossible it honestly reports the cause as undetermined.