AI Analyst Agent

Role Associate Product Manager, Sales Experience and AI · Freedom Forever Stack Anthropic Claude · MCP · Claude skills · Claude plugin · Claude Cowork · Slack · Redshift · MySQL Scope Company-wide · Hundreds of users, from engineers and analysts to managers and the C-suite

Problem

Data questions came from every corner of the company: revenue, payroll, pipeline forecasts, install capacity, the state of the Realization Rate model. Every one of them routed through a small analytics bench, so answers waited in line. We had the data warehouse (Redshift), the operational store (MySQL), and the analytical depth; what we didn't have was a way for people who don't write SQL to ask the data a question directly and trust the answer.

Approach

The analyst was packaged as an MCP and a set of skills, shipped as a Claude plugin, and available to anyone in the company through Slack and Claude Cowork. It translated plain-language questions into SQL against Redshift and MySQL, ran the queries, and returned an answer with cited sources and the company's own metric definitions. The design centered on a few things:

  • A skill architecture: narrow, well-named skills for each kind of question (revenue lookups, payroll, pipeline forecasting, prediction-model state) rather than one giant prompt trying to do everything
  • Tight schema context: the agent only saw the tables relevant to the question class it was answering, scoped by skill
  • Our definitions, cited: answers used the company's own metric definitions and cited their sources, so people could check the work instead of taking it on faith
  • Conservative defaults: when the model wasn't sure, it surfaced the SQL it was about to run and asked for confirmation before executing

What I owned

I designed the agent's prompt and skill architecture: which questions each skill answered, what schema context it received, how it formulated SQL, and how it presented and cited results. An engineering partner built the Slack integration. The value of the project lived in the prompt and skill design, which is the work I owned.

Outcomes

Hundreds of employees trusted it and used it, from engineers and analysts to managers and the C-suite. It was used so often that counting stopped being useful; the number that mattered was how many people relied on it. It also changed how questions reached the analytics team: fewer one-off lookups, more "this answer looks off, can someone validate it," which is exactly the right reallocation.

What I learned

Agent design for analytics is not "make Claude write SQL." It's "constrain the question space so the SQL Claude writes is correct." The hardest engineering decision is what schema and prior context to put in front of the model. Get that right and the SQL is fine; get it wrong and no amount of prompt cleverness rescues you. And trust is the real adoption metric: citing sources and using the company's own definitions is what turned a clever tool into something hundreds of people relied on.