Every enterprise carries hidden costs that grow silently — legacy code that resists change, returned goods that erode margins. AI is now precise enough to measure both and practical enough to act on them.
Here is a pattern we keep seeing across industries, and it is worth naming.
A financial services CTO knows the core system is brittle. The team patches it, works around it, delivers regulatory changes three weeks late. But there is no number on the problem. Nobody has quantified what that brittleness costs — in delayed releases, in production incidents, in the senior engineers who spend 60% of their time on maintenance instead of building.
A retail VP of Operations knows returns are eating the margin. The warehouse team processes them. Finance writes down the unsellable stock. But the total cost — shipping both ways, inspection, restocking, the demand signal that got distorted because returns muddied the forecast — that number never lands in one place.
Two problems with the same shape
Both of these are real, expensive, and growing. They compound quietly because nobody has a clean measurement. And in both cases, the traditional response is the same: throw experienced people at it and hope tribal knowledge holds.
That worked when systems were smaller and return volumes were manageable. It stops working when you have fifteen million lines of code spread across three decades of development, or when your return rate crosses 30% and every percentage point represents serious money.
What has actually changed
The shift is not that AI exists — it is that AI has become precise enough to measure these problems at the granularity where decisions become possible.
For technical debt, AI code analysis can now parse millions of lines, score every module for fragility, map dependencies that no single engineer holds in their head, and produce a risk-ranked modernisation backlog in weeks. Not a rough estimate. A scored, business-aligned inventory that tells you which 30% of your codebase carries 80% of your operational risk.
For e-commerce returns, models trained on browsing behaviour, sizing patterns, and basket composition can now predict which orders are likely to come back — before they ship. That prediction opens up a different set of decisions: better product information at checkout, proactive outreach after purchase, smarter fulfilment routing for high-return-probability orders. Not returns prevention through friction, but returns reduction through better experience.
Both capabilities were theoretically possible two years ago. What changed is the accuracy crossed the threshold where the output is trustworthy enough to act on in production — not just interesting in a dashboard.
The pattern that works
The organisations getting real value from these approaches share a few habits:
- They start with one bounded problem, not a platform initiative. One critical business service for technical debt. One product category for returns. Prove value, then expand.
- They combine AI output with human judgement. The model scores and ranks. The experienced engineer or merchandiser validates and adds context. Neither alone produces reliable action.
- They measure outcomes that matter to the business — time to deliver a regulatory change, return-adjusted margin per order — not vanity metrics like models deployed or lines of code scanned.
- They embed the capability in their operating rhythm. A one-off assessment decays. A debt score that updates with every commit, a returns prediction that runs at every checkout — those compound in the right direction.
What we are building
At Skillikz, our product engineering and data & AI teams are building exactly these systems. Technical debt analysis for firms operating under regulatory pressure. Returns prediction for retailers watching their margins compress.
Both involve the same core disciplines: data pipeline engineering, model development, and the integration work that connects a prediction to an operational decision. The hard part is never the model. It is making the output land in the right system, at the right moment, in a form that someone can act on without switching tools.
We have written in more detail about each approach — the engineering patterns, the illustrative outcomes, the pitfalls to avoid.
If your board tracks revenue and headcount but not the silent costs underneath, that is the gap worth closing first. Not with a strategy deck. With a model that produces a number, and a system that acts on it.