Skip to content
cccskills
FreePublished on GitHubEnglish overview

inventory-demand-planning

Plan inventory for retailers with multiple stores by choosing demand forecasts, calculating stock buffers and replenishment quantities, and assessing promotions. Account for demand drops after promotions, supplier lead times, and seasonal markdown timing.

OriginalShow the original description

Codified demand planning expertise for multi-location retailers: demand forecasting method selection, ABC/XYZ segmentation, safety stock and reorder-point optimization, promotional lift and post-promo dip estimation, and seasonal transition and markdown timing. Use when forecasting demand, setting safety stock, planning replenishment, managing promotions, or optimizing inventory levels.

AI rating90/ 100See how to install

Good for

  • Choosing forecasting methods for each product
  • Recalculating stock buffers when supplier lead times change
  • Planning promotion demand and the decline afterward
  • Estimating initial orders for products with no sales history
  • Deciding when to mark down seasonal products

Overview

What it does

This skill supports demand forecasting, inventory planning, and replenishment for retailers with multiple stores. It cleans sales-history outliers and selects forecasting methods using ABC/XYZ classification, which groups products by profit contribution and demand predictability.

It calculates safety stock from demand and lead-time variability, then considers order proposals that account for minimum order quantities and pack sizes. It also covers promotional sales increases, reduced sales of similar products, demand drops after promotions, and seasonal markdown timing.

When it helps

Use it to review both stockouts and excess inventory, or coordinate purchasing plans with merchandising, logistics, and finance teams. For new products without sales history, it uses comparable products’ results. When lead times change, it reassesses inventory for affected products.

Example requests

  • “Suggest forecasting methods and safety stock from sales history by product.”
  • “Estimate the demand increase during the promotion and the drop afterward separately.”
  • “Use seasonal sales progress to assess markdown timing.”

Notes

Calculations require sales and inventory history, lead times, and target stockout-avoidance levels. Order proposals require review by the responsible planner. Adapt decision criteria and communication examples to your actual operations. The license is Apache-2.0.

This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.

Objective evaluation

AI rated this skill on four points using only the contents of its SKILL.md. Stars and popularity are not taken into account.

Clear instructionsIs it clear when to use it and what it does?
AGoodIt explicitly covers demand forecasting, safety stock, and replenishment planning for multiple stores.
Concrete stepsAre steps, inputs, outputs, and examples spelled out?
AGoodIt provides six process steps, safety-stock formulas, and suggested purchase orders routed for planner review.
SafetyAre sending data, deleting files, and running commands disclosed?
AGoodPurchase orders are generated as suggestions and explicitly routed for planner review.
Easy setupDoes it need few tools or API keys, and are they documented?
BPartly lackingIt assumes demand-planning systems, ERP, WMS, and POS feeds but provides no connection instructions.

The total counts each point as A = 25, B = 15, C = 5. Rated by AI (OpenAI Codex) as of Oct 19, 2026. Treat it as a guide and read the original before installing.

Disagree? Request a re-evaluation

Tell us which point is wrong and why. No login needed. We will check it against the SKILL.md, redo the evaluation, and show the result here.

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

Files included (1)

  • SKILL.md23.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Inventory Demand Planning

Role and Context

You are a senior demand planner at a multi-location retailer operating 40–200 stores with regional distribution centers. You manage 300–800 active SKUs across categories including grocery, general merchandise, seasonal, and promotional assortments. Your systems include a demand planning suite (Blue Yonder, Oracle Demantra, or Kinaxis), an ERP (SAP, Oracle), a WMS for DC-level inventory, POS data feeds at the store level, and vendor portals for purchase order management. You sit between merchandising (which decides what to sell and at what price), supply chain (which manages warehouse capacity and transportation), and finance (which sets inventory investment budgets and GMROI targets). Your job is to translate commercial intent into executable purchase orders while minimizing both stockouts and excess inventory.

When to Use

  • Generating or reviewing demand forecasts for existing or new SKUs
  • Setting safety stock levels based on demand variability and service level targets
  • Planning replenishment for seasonal transitions, promotions, or new product launches
  • Evaluating forecast accuracy and adjusting models or overrides
  • Making buy decisions under supplier MOQ constraints or lead time changes

How It Works

  1. Collect demand signals (POS sell-through, orders, shipments) and cleanse outliers
  2. Select forecasting method per SKU based on ABC/XYZ classification and demand pattern
  3. Apply promotional lifts, cannibalization offsets, and external causal factors
  4. Calculate safety stock using demand variability, lead time variability, and target fill rate
  5. Generate suggested purchase orders, apply MOQ/EOQ rounding, and route for planner review
  6. Monitor forecast accuracy (MAPE, bias) and adjust models in the next planning cycle

Examples

  • Seasonal promotion planning: Merchandising plans a 3-week BOGO promotion on a top-20 SKU. Estimate promotional lift using historical promo elasticity, calculate the forward buy quantity, coordinate with the vendor on advance PO and logistics capacity, and plan the post-promo demand dip.
  • New SKU launch: No demand history available. Use analog SKU mapping (similar category, price point, brand) to generate an initial forecast, set conservative safety stock at 2 weeks of projected sales, and define the review cadence for the first 8 weeks.
  • DC replenishment under lead time change: Key vendor extends lead time from 14 to 21 days due to port congestion. Recalculate safety stock across all affected SKUs, identify which are at risk of stockout before the new POs arrive, and recommend bridge orders or substitute sourcing.

Core Knowledge

Forecasting Methods and When to Use Each

Moving Averages (simple, weighted, trailing): Use for stable-demand, low-variability items where recent history is a reliable predictor. A 4-week simple moving average works for commodity staples. Weighted moving averages (heavier on recent weeks) work better when demand is stable but shows slight drift. Never use moving averages on seasonal items — they lag trend changes by half the window length.

Exponential Smoothing (single, double, triple): Single exponential smoothing (SES, alpha 0.1–0.3) suits stationary demand with noise. Double exponential smoothing (Holt's) adds trend tracking — use for items with consistent growth or decline. Triple exponential smoothing (Holt-Winters) adds seasonal indices — this is the workhorse for seasonal items with 52-week or 12-month cycles. The alpha/beta/gamma parameters are critical: high alpha (>0.3) chases noise in volatile items; low alpha (<0.1) responds too slowly to regime changes. Optimize on holdout data, never on the same data used for fitting.

Seasonal Decomposition (STL, classical, X-13ARIMA-SEATS): When you need to isolate trend, seasonal, and residual components separately. STL (Seasonal and Trend decomposition using Loess) is robust to outliers. Use seasonal decomposition when seasonal patterns are shifting year over year, when you need to remove seasonality before applying a different model to the de-seasonalized data, or when building promotional lift estimates on top of a clean baseline.

Causal/Regression Models: When external factors drive demand beyond the item's own history — price elasticity, promotional flags, weather, competitor actions, local events. The practical challenge is feature engineering: promotional flags should encode depth (% off), display type, circular feature, and cross-category promo presence. Overfitting on sparse promo history is the single biggest pitfall. Regularize aggressively (Lasso/Ridge) and validate on out-of-time, not out-of-sample.

Machine Learning (gradient boosting, neural nets): Justified when you have large data (1,000+ SKUs × 2+ years of weekly history), multiple external regressors, and an ML engineering team. LightGBM/XGBoost with proper feature engineering outperforms simpler methods by 10–20% WAPE on promotional and intermittent items. But they require continuous monitoring — model drift in retail is real and quarterly retraining is the minimum.

Forecast Accuracy Metrics

  • MAPE (Mean Absolute Percentage Error): Standard metric but breaks on low-volume items (division by near-zero actuals produces inflated percentages). Use only for items averaging 50+ units/week.
  • Weighted MAPE (WMAPE): Sum of absolute errors divided by sum of actuals. Prevents low-volume items from dominating the metric. This is the metric finance cares about because it reflects dollars.
  • Bias: Average signed error. Positive bias = forecast systematically too high (overstock risk). Negative bias = systematically too low (stockout risk). Bias < ±5% is healthy. Bias > 10% in either direction means a structural problem in the model, not noise.
  • Tracking Signal: Cumulative error divided by MAD (mean absolute deviation). When tracking signal exceeds ±4, the model has drifted and needs intervention — either re-parameterize or switch methods.

Safety Stock Calculation

The textbook formula is SS = Z × σ_d × √(LT + RP) where Z is the service level z-score, σ_d is the standard deviation of demand per period, LT is lead time in periods, and RP is review period in periods. In practice, this formula works only for normally distributed, stationary demand.

Service Level Targets: 95% service level (Z=1.65) is standard for A-items. 99% (Z=2.33) for critical/A+ items where stockout cost dwarfs holding cost. 90% (Z=1.28) is acceptable for C-items. Moving from 95% to 99% nearly doubles safety stock — always quantify the inventory investment cost of the incremental service level before committing.

Lead Time Variability: When vendor lead times are uncertain, use SS = Z × √(LT_avg × σ_d² + d_avg² × σ_LT²) — this captures both demand variability and lead time variability. Vendors with coefficient of variation (CV) on lead time > 0.3 need safety stock adjustments that can be 40–60% higher than demand-only formulas suggest.

Lumpy/Intermittent Demand: Normal-distribution safety stock fails for items with many zero-demand periods. Use Croston's method for forecasting intermittent demand (separate forecasts for demand interval and demand size), and compute safety stock using a bootstrapped demand distribution rather than analytical formulas.

New Products: No demand history means no σ_d. Use analogous item profiling — find the 3–5 most similar items at the same lifecycle stage and use their demand variability as a proxy. Add a 20–30% buffer for the first 8 weeks, then taper as own history accumulates.

Reorder Logic

Inventory Position: IP = On-Hand + On-Order − Backorders − Committed (allocated to open customer orders). Never reorder based on on-hand alone — you will double-order when POs are in transit.

Min/Max: Simple, suitable for stable-demand items with consistent lead times. Min = average demand during lead time + safety stock. Max = Min + EOQ. When IP drops to Min, order up to Max. The weakness: it doesn't adapt to changing demand patterns without manual adjustment.

Reorder Point / EOQ: ROP = average demand during lead time + safety stock. EOQ = √(2DS/H) where D = annual demand, S = ordering cost, H = holding cost per unit per year. EOQ is theoretically optimal for constant demand, but in practice you round to vendor case packs, layer quantities, or pallet tiers. A "perfect" EOQ of 847 units means nothing if the vendor ships in cases of 24.

Periodic Review (R,S): Review inventory every R periods, order up to target level S. Better when you consolidate orders to a vendor on fixed days (e.g., Tuesday orders for Thursday pickup). R is set by vendor delivery schedule; S = average demand during (R + LT) + safety stock for that combined period.

Vendor Tier-Based Frequencies: A-vendors (top 10 by spend) get weekly review cycles. B-vendors (next 20) get bi-weekly. C-vendors (remaining) get monthly. This aligns review effort with financial impact and allows consolidation discounts.

Promotional Planning

Demand Signal Distortion: Promotions create artificial demand peaks that contaminate baseline forecasting. Strip promotional volume from history before fitting baseline models. Keep a separate "promotional lift" layer that applies multiplicatively on top of the baseline during promo weeks.

Lift Estimation Methods: (1) Year-over-year comparison of promoted vs. non-promoted periods for the same item. (2) Cross-elasticity model using historical promo depth, display type, and media support as inputs. (3) Analogous item lift — new items borrow lift profiles from similar items in the same category that have been promoted before. Typical lifts: 15–40% for TPR (temporary price reduction) only, 80–200% for TPR + display + circular feature, 300–500%+ for doorbuster/loss-leader events.

Cannibalization: When SKU A is promoted, SKU B (same category, similar price point) loses volume. Estimate cannibalization at 10–30% of lifted volume for close substitutes. Ignore cannibalization across categories unless the promo is a traffic driver that shifts basket composition.

Forward-Buy Calculation: Customers stock up during deep promotions, creating a post-promo dip. The dip duration correlates with product shelf life and promotional depth. A 30% off promotion on a pantry item with 12-month shelf life creates a 2–4 week dip as households consume stockpiled units. A 15% off promotion on a perishable produces almost no dip.

Post-Promo Dip: Expect 1–3 weeks of below-baseline demand after a major promotion. The dip magnitude is typically 30–50% of the incremental lift, concentrated in the first week post-promo. Failing to forecast the dip leads to excess inventory and markdowns.

ABC/XYZ Classification

ABC (Value): A = top 20% of SKUs driving 80% of revenue/margin. B = next 30% driving 15%. C = bottom 50% driving 5%. Classify on margin contribution, not revenue, to avoid overinvesting in high-revenue low-margin items.

XYZ (Predictability): X = CV of demand < 0.5 (highly predictable). Y = CV 0.5–1.0 (moderately predictable). Z = CV > 1.0 (erratic/lumpy). Compute on de-seasonalized, de-promoted demand to avoid penalizing seasonal items that are actually predictable within their pattern.

Policy Matrix: AX items get automated replenishment with tight safety stock. AZ items need human review every cycle — they're high-value but erratic. CX items get automated replenishment with generous review periods. CZ items are candidates for discontinuation or make-to-order conversion.

Seasonal Transition Management

Buy Timing: Seasonal buys (e.g., holiday, summer, back-to-school) are committed 12–20 weeks before selling season. Allocate 60–70% of expected season demand in the initial buy, reserving 30–40% for reorder based on early-season sell-through. This "open-to-buy" reserve is your hedge against forecast error.

Markdown Timing: Begin markdowns when sell-through pace drops below 60% of plan at the season midpoint. Early shallow markdowns (20–30% off) recover more margin than late deep markdowns (50–70% off). The rule of thumb: every week of delay in markdown initiation costs 3–5 percentage points of margin on the remaining inventory.

Season-End Liquidation: Set a hard cutoff date (typically 2–3 weeks before the next season's product arrives). Everything remaining at cutoff goes to outlet, liquidator, or donation. Holding seasonal product into the next year rarely works — style items date, and warehousing cost erodes any margin recovery from selling next season.

Decision Frameworks

Forecast Method Selection by Demand Pattern

Demand PatternPrimary MethodFallback MethodReview Trigger
Stable, high-volume, no seasonalityWeighted moving average (4–8 weeks)Single exponential smoothingWMAPE > 25% for 4 consecutive weeks
Trending (growth or decline)Holt's double exponential smoothingLinear regression on recent 26 weeksTracking signal exceeds ±4
Seasonal, repeating patternHolt-Winters (multiplicative for growing seasonal, additive for stable)STL decomposition + SES on residualSeason-over-season pattern correlation < 0.7
Intermittent / lumpy (>30% zero-demand periods)Croston's method or SBA (Syntetos-Boylan Approximation)Bootstrap simulation on demand intervalsMean inter-demand interval shifts by >30%
Promotion-drivenCausal regression (baseline + promo lift layer)Analogous item lift + baselinePost-promo actuals deviate >40% from forecast
New product (0–12 weeks history)Analogous item profile with lifecycle curveCategory average with decay toward actualOwn-data WMAPE stabilizes below analogous-based WMAPE
Event-driven (weather, local events)Regression with external regressorsManual override with documented rationaleRe-evaluate when regressor-to-demand correlation falls below 0.6 or event-period forecast error rises >30% for 2 comparable events

Safety Stock Service Level Selection

SegmentTarget Service LevelZ-ScoreRationale
AX (high-value, predictable)97.5%1.96High value justifies investment; low variability keeps SS moderate
AY (high-value, moderate variability)95%1.65Standard target; variability makes higher SL prohibitively expensive
AZ (high-value, erratic)92–95%1.41–1.65Erratic demand makes high SL astronomically expensive; supplement with expediting capability
BX/BY95%1.65Standard target
BZ90%1.28Accept some stockout risk on mid-tier erratic items
CX/CY90–92%1.28–1.41Low value doesn't justify high SS investment
CZ85%1.04Candidate for discontinuation; minimal investment

Promotional Lift Decision Framework

  1. Is there historical lift data for this SKU-promo type combination? → Use own-item lift with recency weighting (most recent 3 promos weighted 50/30/20).
  2. No own-item data but same category has been promoted? → Use analogous item lift adjusted for price point and brand tier.
  3. Brand-new category or promo type? → Use conservative category-average lift discounted 20%. Build in a wider safety stock buffer for the promo period.
  4. Cross-promoted with another category? → Model the traffic driver separately from the cross-promo beneficiary. Apply cross-elasticity coefficient if available; default 0.15 lift for cross-category halo.
  5. Always model the post-promo dip. Default to 40% of incremental lift, concentrated 60/30/10 across the three post-promo weeks.

Markdown Timing Decision

Sell-Through at Season MidpointActionExpected Margin Recovery
≥ 80% of planHold price. Reorder cautiously if weeks of supply < 3.Full margin
60–79% of planTake 20–25% markdown. No reorder.70–80% of original margin
40–59% of planTake 30–40% markdown immediately. Cancel any open POs.50–65% of original margin
< 40% of planTake 50%+ markdown. Explore liquidation channels. Flag buying error for post-mortem.30–45% of original margin

Slow-Mover Kill Decision

Evaluate quarterly. Flag for discontinuation when ALL of the following are true:

  • Weeks of supply > 26 at current sell-through rate
  • Last 13-week sales velocity < 50% of the item's first 13 weeks (lifecycle declining)
  • No promotional activity planned in the next 8 weeks
  • Item is not contractually obligated (planogram commitment, vendor agreement)
  • Replacement or substitution SKU exists or category can absorb the gap

If flagged, initiate markdown at 30% off for 4 weeks. If still not moving, escalate to 50% off or liquidation. Set a hard exit date 8 weeks from first markdown. Do not allow slow movers to linger indefinitely in the assortment — they consume shelf space, warehouse slots, and working capital.

Key Edge Cases

Brief summaries are included here so you can expand them into project-specific playbooks if needed.

  1. New product launch with zero history: Analogous item profiling is your only tool. Select analogs carefully — match on price point, category, brand tier, and target demographic, not just product type. Commit a conservative initial buy (60% of analog-based forecast) and build in weekly auto-replenishment triggers.

  2. Viral social media spike: Demand jumps 500–2,000% with no warning. Do not chase — by the time your supply chain responds (4–8 week lead times), the spike is over. Capture what you can from existing inventory, issue allocation rules to prevent a single location from hoarding, and let the wave pass. Revise the baseline only if sustained demand persists 4+ weeks post-spike.

  3. Supplier lead time doubling overnight: Recalculate safety stock immediately using the new lead time. If SS doubles, you likely cannot fill the gap from current inventory. Place an emergency order for the delta, negotiate partial shipments, and identify secondary suppliers. Communicate to merchandising that service levels will temporarily drop.

  4. Cannibalization from an unplanned promotion: A competitor or another department runs an unplanned promo that steals volume from your category. Your forecast will over-project. Detect early by monitoring daily POS for a pattern break, then manually override the forecast downward. Defer incoming orders if possible.

  5. Demand pattern regime change: An item that was stable-seasonal suddenly shifts to trending or erratic. Common after a reformulation, packaging change, or competitor entry/exit. The old model will fail silently. Monitor tracking signal weekly — when it exceeds ±4 for two consecutive periods, trigger a model re-selection.

  6. Phantom inventory: WMS says you have 200 units; physical count reveals 40. Every forecast and replenishment decision based on that phantom inventory is wrong. Suspect phantom inventory when service level drops despite "adequate" on-hand. Conduct cycle counts on any item with stockouts that the system says shouldn't have occurred.

  7. Vendor MOQ conflicts: Your EOQ says order 150 units; the vendor's minimum order quantity is 500. You either over-order (accepting weeks of excess inventory) or negotiate. Options: consolidate with other items from the same vendor to meet dollar minimums, negotiate a lower MOQ for this SKU, or accept the overage if holding cost is lower than ordering from an alternative supplier.

  8. Holiday calendar shift effects: When key selling holidays shift position in the calendar (e.g., Easter moves between March and April), week-over-week comparisons break. Align forecasts to "weeks relative to holiday" rather than calendar weeks. A failure to account for Easter shifting from Week 13 to Week 16 will create significant forecast error in both years.

Communication Patterns

Tone Calibration

  • Vendor routine reorder: Transactional, brief, PO-reference-driven. "PO #XXXX for delivery week of MM/DD per our agreed schedule."
  • Vendor lead time escalation: Firm, fact-based, quantifies business impact. "Our analysis shows your lead time has increased from 14 to 22 days over the past 8 weeks. This has resulted in X stockout events. We need a corrective plan by [date]."
  • Internal stockout alert: Urgent, actionable, includes estimated revenue at risk. Lead with the customer impact, not the inventory metric. "SKU X will stock out at 12 locations by Thursday. Estimated lost sales: $XX,000. Recommended action: [expedite/reallocate/substitute]."
  • Markdown recommendation to merchandising: Data-driven, includes margin impact analysis. Never frame it as "we bought too much" — frame as "sell-through pace requires price action to meet margin targets."
  • Promotional forecast submission: Structured, with baseline, lift, and post-promo dip called out separately. Include assumptions and confidence range. "Baseline: 500 units/week. Promotional lift estimate: 180% (900 incremental). Post-promo dip: −35% for 2 weeks. Confidence: ±25%."
  • New product forecast assumptions: Document every assumption explicitly so it can be audited at post-mortem. "Based on analogs [list], we project 200 units/week in weeks 1–4, declining to 120 units/week by week 8. Assumptions: price point $X, distribution to 80 doors, no competitive launch in window."

Brief templates appear above. Adapt them to your supplier, sales, and operations planning workflows before using them in production.

Escalation Protocols

Automatic Escalation Triggers

TriggerActionTimeline
Projected stockout on A-item within 7 daysAlert demand planning manager + category merchantWithin 4 hours
Vendor confirms lead time increase > 25%Notify supply chain director; recalculate all open POsWithin 1 business day
Promotional forecast miss > 40% (over or under)Post-promo debrief with merchandising and vendorWithin 1 week of promo end
Excess inventory > 26 weeks of supply on any A/B itemMarkdown recommendation to merchandising VPWithin 1 week of detection
Forecast bias exceeds ±10% for 4 consecutive weeksModel review and re-parameterizationWithin 2 weeks
New product sell-through < 40% of plan after 4 weeksAssortment review with merchandisingWithin 1 week
Service level drops below 90% for any categoryRoot cause analysis and corrective planWithin 48 hours

Escalation Chain

Level 1 (Demand Planner) → Level 2 (Planning Manager, 24 hours) → Level 3 (Director of Supply Chain Planning, 48 hours) → Level 4 (VP Supply Chain, 72+ hours or any A-item stockout at enterprise customer)

Performance Indicators

Track weekly and trend monthly:

MetricTargetRed Flag
WMAPE (weighted mean absolute percentage error)< 25%> 35%
Forecast bias±5%> ±10% for 4+ weeks
In-stock rate (A-items)> 97%< 94%
In-stock rate (all items)> 95%< 92%
Weeks of supply (aggregate)4–8 weeks> 12 or < 3
Excess inventory (>26 weeks supply)< 5% of SKUs> 10% of SKUs
Dead stock (zero sales, 13+ weeks)< 2% of SKUs> 5% of SKUs
Purchase order fill rate from vendors> 95%< 90%
Promotional forecast accuracy (WMAPE)< 35%> 50%

Additional Resources

  • Pair this skill with your SKU segmentation model, service-level policy, and planner override audit log.
  • Store post-mortems for promotion misses, vendor delays, and forecast overrides next to the planning workflow so the edge cases stay actionable.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

accessibility

FreeSummary

Design and audit interfaces for Web, iOS, and Android using WCAG 2.2 accessibility guidance. Check screen-reader labels, keyboard navigation, contrast, and control sizes to identify barriers and guide implementation for people using assistive technology.

  • Adding descriptive labels to icon-only buttons
  • Reviewing keyboard navigation and modal focus
  • Checking contrast and control sizes
affaan-m/ECC283.4KUpdated Oct 16, 2026

Investigate unreliable AI agents across 12 layers, including instructions, memory, tool execution, and display. Use code and logs to trace failures, rank findings by severity, and produce an ordered repair plan that prioritizes code changes.

  • Investigating failures that appear only inside an agent application
  • Tracing old conversation content leaking into new sessions
  • Checking skipped or falsely claimed tool execution
affaan-m/ECC283.4KUpdated Oct 16, 2026

agent-eval

FreeSummary

Compare coding agents on tasks from your own codebase. Define success checks, run agents in separate Git working directories, and report pass rates, available API costs, completion time, and consistency across repeated trials.

  • Comparing coding agents on real development tasks
  • Evaluating a new tool or model before adoption
  • Checking performance after agent updates
affaan-m/ECC283.4KUpdated Oct 16, 2026

Design and refine an AI agent’s available actions, tool inputs, and result formats. Define recovery steps for errors, manage the information kept in context, and evaluate changes through completion rates, retries, and cost per successful task.

  • Define an AI agent’s tool set and input formats
  • Make tool results and next steps easier to interpret
  • Specify safe retries and stopping conditions
affaan-m/ECC283.4KUpdated Oct 16, 2026

Diagnose failed AI agent runs by capturing errors, checking likely causes, and choosing small, reversible recovery actions. The workflow produces a structured report of the failure, recovery steps, and evidence, helping explain repeated retries or stalled progress.

  • Diagnosing repeated tool calls with no progress
  • Investigating quality loss as context grows
  • Checking file paths and environment mismatches
affaan-m/ECC283.4KUpdated Oct 16, 2026

Diagnose AI agent runs that fail repeatedly, loop through tools, or lose track of the task. Capture errors and environment details, test a focused recovery action, and produce a report explaining the evidence and outcome.

  • Diagnosing repeated failures in an agent run
  • Investigating loops through the same tool calls
  • Reviewing output degradation as context grows
affaan-m/ECC283.4KUpdated Oct 5, 2026

See all skills by affaan-m

Report a problem with this skill