I Built an AI Marketing Analyst. Then I Tested Whether It Actually Helped (Mostly, It Didn’t)
From the publisher’s feed, collected in the ZeroLabs newsroom.
The first benchmark showed almost no difference. The second showed where structured skills help AI agents, and where they still fail.In one of my test cases, September email revenue was up 11.2%. Every segment that existed in August was down by about a quarter. The entire increase came from a new VIP segment, and a dashboard showing only the total would have told exactly the wrong story.That gap is why I built Devil’s Analyst. Getting an AI model to produce an answer is easy. Getting it to challenge the assumptions behind that answer, separate evidence from explanation and recommend an action that holds up to scrutiny is much harder.Devil’s Analyst is an open-source collection of analytical skills for AI agents. It covers marketing metrics, attribution, experiments, research, pricing, channel performance, Power BI models and reporting.Once the skills, benchmark cases and graders were in place, I had one question: does giving an AI agent a structured body of analytical knowledge actually improve its work?I compared outputs with and without the relevant skills, using identical prompts and synthetic data. The results were mixed. One broad evaluation showed almost no difference. A smaller follow-up found better performance on some reporting and audit tasks, but also exposed failures that required changes to the skills.Neither result establishes a general performance improvement. But the experiment shows where the approach helped, where it didn’t, and what I still need to test. If you’re building skills, prompts or evaluations for AI agents, those details are the useful part.The problem: an answer is not an analysisConsider an ordinary marketing report. A dashboard shows that conversion rate has declined. Someone identifies a recent landing-page redesign as the likely explanation. A recommendation follows: revert the redesign.That chain hides three separate jobs: establish whether the decline is real, investigate what might explain it, and decide what action the evidence justifies.A correctly calculated metric does not establish its interpretation. A plausible explanation does not establish causality. An action based on an untested explanation remains untested.I wanted Devil’s Analyst to make the reasoning explicit: define the metric, validate the comparison, investigate competing explanations, examine the evidence and connect recommendations to something measurable.Figure 1. Analytical sequence from observation through validation, competing hypotheses, evidence and action. Invalid comparisons should return to data validation rather than proceed to diagnosis. Image by author.What I builtDevil’s Analyst is an open-source collection of 16 agent skills and a session hook. The project contains 229 numbered analytical checks, alongside formulas, diagnostic playbooks, adversarial questions and review procedures.Its workflows cover metric definitions, movement decomposition, experimental design, evidence checks, diagnosis, recommendations and review of existing reports. The review workflows also examine whether correct work should remain unchanged.The intention is to make analytical reasoning easier to inspect and challenge. The skills should not make an agent produce longer reports or more warnings by default.Repository: https://github.com/C-Kapsalis/devils-analystFigure 2. Devil’s Analyst architecture: session hook, routing skill, analytical skills, supporting knowledge and user-provided data. Image by author.Designing the comparisonI compared two conditions:A: Claude Haiku with the relevant Devil’s Analyst skillB: Claude Haiku without the skillBoth arms received the same task and identical input data for each case. I used synthetic marketing data because I needed to know what the correct answer should be. Each benchmark case contains deliberately constructed analytical problems, supporting exports and, where appropriate, decoys that should not be flagged.The repository contains 110 cases: 62 focused analytical traps, 36 draft reports with supporting exports, and 12 audits and reviews. Of these, 105 are generated by scripts that calculate expected answers; five early cases are hand-written.The first evaluation: breadthOn 17 October 2026, I ran all 36 draft-report cases. Each case received three runs per arm, producing 216 runs in total.The model was Claude Haiku 5.5 in Claude Code. The evaluation used the default Claude plugin-evaluation judge, with three votes per grader and majority agreement determining the result.Subtle problem recall — with Devil’s Analyst: 100%; without: 99%Correct decision — with Devil’s Analyst: 97%; without: 95%No false alarms — with Devil’s Analyst: 80%; without: 81%All graders passed — with Devil’s Analyst: 77%; without: 78%Mean score — with Devil’s Analyst: 0.94; without: 0.93The mean difference was 0.01. With three runs per case, that difference is too small to support a meaningful performance claim. The model without Devil’s Analyst already identified planted problems in 107 of 108 runs. These cases did not separate the two conditions very well on problem recall.Figure 3. Breadth evaluation (36 cases, three runs per case per arm): both configurations score almost identically, with a mean-score difference of 0.01. Image by author.The second evaluation: a closer inspectionOn 22 October 2026, I selected 17 cases: 13 focused analytical cases, two audit cases, one flawed report review and one clean report used as a control.Each arm received the same prompt and byte-identical fixture data. Arm A read the relevant skill and supporting references. Arm B received the same task without those materials.There was one run per arm per case. I graded the outputs myself against the predefined graders for each case.Graders passed — with Devil’s Analyst: 44/48; without: 35/48Cases with every grader passed — with Devil’s Analyst: 13/17; without: 10/17Focused analytical graders — with Devil’s Analyst: 34/36; without: 30/36Audit and review graders — with Devil’s Analyst: 10/12; without: 5/12This result is more encouraging, particularly for auditing and reviewing existing work. It is also a much smaller experiment. I wrote the skills, cases and graders, knew which arm I was evaluating, and ran each case only once. It is a promising observation, not proof of a general improvement.Figure 4. Grader pass rates in the 17-case evaluation, with raw counts. The largest gap is in audit and review graders (83.3% vs 41.7%), in a small, single-run evaluation. Image by author.Where the difference appearedCase 1: a marketing dashboard with a mix effectOne case asked both agents to build a self-contained HTML dashboard comparing email performance in August and September 2026. The input contained 20 rows of synthetic email-send data, with one row per campaign send and segment.A new VIP repeat-buyer segment appeared in September. Its attributed revenue made total September revenue look higher, even though the two existing segments had declined.Newsletter subscribers — August revenue: 18,240; September revenue: 13,280; change: −4,960Active customers — August revenue: 10,660; September revenue: 8,448; change: −2,212VIP repeat buyers — August revenue: none (new segment); September revenue: 10,400; change: +10,400Total — August revenue: 28,900; September revenue: 32,128; change: +3,228Total revenue increased by 11.2%. The two comparable segments declined by 24.8%.Arm A passed all five graders. It produced a revenue bridge, showed blended and like-for-like rates, separated hypotheses from findings, and attached verification steps to its recommendations.Arm B passed two of the five graders. Its dashboard included some correct figures, but it did not make the distinction between the blended result and comparable segments sufficiently explicit.Figure 5. August–September revenue bridge (synthetic data): the new VIP segment adds 10,400 and turns two declining segments into an 11.2% blended increase, while like-for-like revenue falls 24.8%. Image by author.The synthetic input also contained repeated weekly figures that required investigation. The stronger output identified the concern and recommended checking the underlying export before treating the totals as reliable.Case 2: knowing when not to recommend changesI included a clean-control case: an existing report without the planted problems the review skill was designed to identify.An analytical reviewer that always finds something wrong creates unnecessary work and can undermine confidence in correct work.Arm A concluded that the report was ready to send and passed all three graders. Arm B proposed three changes and passed one grader.Figure 6. Clean-control case: with the skill, Haiku recommended sending the report unchanged (3/3 graders passed); without it, Haiku proposed three changes (1/3 passed). Image by author.Case 3: a failure in SEO diagnosisBoth arms failed to distinguish declining market demand from a problem with the website’s SEO performance.The skill-assisted arm did not solve the case. I traced the failure to a missing diagnostic step. The instructions required the agent to rule out measurement problems before investigating behaviour, but did not explicitly ask whether the whole market had moved.I added a general rule: before diagnosing a decline as an organisation-specific problem, investigate whether the category or competitors experienced the same movement.The case was rerun with the revised skill, and the previously failing graders passed. This is useful engineering feedback, but not independent validation. I changed the instructions after seeing the failure, and the revised case was familiar to me.Figure 7. Revised SEO diagnostic flow, showing the market-level check added after the original failure. Image by author.What changed in the projectOpen rates were treated too confidently in an email decomposition: Added a rule to treat opens as a weak signal and never use them alone to verify an actionSEO diagnosis missed a category-wide decline: Added a market-versus-organisation diagnostic stepA review did not distinguish unresolved doubts from actual findings: Added a separate Not checked category for questions the available data cannot settleAudit priorities did not adequately account for upstream dependencies: Revised prioritisation to consider the order in which problems must be fixedI changed general rules rather than inserting case-specific answers. Otherwise, the benchmark would become a memorisation exercise.What the experiment does not proveThe data is synthetic. The planted problems make correct answers easier to establish, but real marketing data is messier and often contains questions that cannot be resolved from an export alone.The first evaluation did not demonstrate a meaningful overall improvement. The 0.94 versus 0.93 mean score difference is too small to support that conclusion.The second evaluation was small: 17 cases and one run per arm. A single changed result can materially affect the comparison.I was also the judge. I wrote the cases, skills and graders, and knew which arm produced each answer. Another reviewer could disagree with some assessments.The experiment did not test the complete plugin-routing mechanism. Skill-assisted agents were directed to read relevant files. This did not test whether the session hook and routing mechanism would reliably select the right skill in an ordinary user session.Neither arm could execute code in the second evaluation. The skills recommend using code for calculations where appropriate, so this experiment did not test that part of the intended workflow.Finally, the results are specific to Claude Haiku in Claude Code. They do not establish that the same results will occur with other models, agents or platforms.What I want to test nextThe next evaluation should use more repetitions per case and arm to distinguish consistent behaviour from variation between runs.I also want independent grading. Another reviewer should assess anonymised outputs without knowing which arm produced them.The evaluation should separate whether the agent identified the problem, calculated correctly, avoided false alarms, distinguished observations from hypotheses, recommended an evidence-supported action and explained how to evaluate it.I also want cases created by people other than me. Finally, I want to test the complete agent workflow, including routing, data access and code execution.Five lessons if you’re building AI agent skillsCheck whether the baseline already passes. In my breadth evaluation, the model without skills caught the planted problems in 107 of 108 runs. A benchmark that can’t separate the two conditions can’t tell you whether your skills help.Include clean controls. A reviewer that always finds something wrong looks thorough but creates work. A case with nothing wrong tests whether the agent knows when to stop.Fix the rule, not the case. When the SEO case failed, I added a general diagnostic step rather than the specific answer. Otherwise the benchmark becomes a memory test.Grade the parts separately. Spotting a problem, calculating correctly, avoiding false alarms and recommending a testable action are different abilities. One blended score hides which of them moved.Don’t be your own only judge. If you wrote the skills, the cases and the graders, you aren’t neutral. Neither was I.The work between an answer and a decisionWe are giving AI agents access to more data systems, reporting tools and analytical workflows. Access to data does not automatically produce sound analytical judgement.An answer can rely on an unstable metric definition, an unfair comparison or an explanation the evidence does not support. I built Devil’s Analyst to make those assumptions more visible and give an agent a structured way to challenge them.The broad benchmark showed almost no difference. The smaller follow-up was encouraging on review tasks and exposed failures I have since fixed.I would rather publish an inconclusive result and explain what I learned than turn a small difference into a performance claim. The next step is to make the evaluation more independent, reproducible and difficult for my own assumptions to influence.If you work with marketing data, I could use your help. I’m looking for benchmark cases written by someone other than me, and for reviewers willing to grade anonymised outputs. Open an issue on the repository or leave a response here.Reproducing the work- Project: https://github.com/C-Kapsalis/devils-analyst- Benchmark methodology: https://github.com/C-Kapsalis/devils-analyst/blob/main/benchmarks/METHOD.md- Breadth evaluation: https://github.com/C-Kapsalis/devils-analyst/blob/main/benchmarks/results/2026-10-17-breadth.md- 17-case spot check: https://github.com/C-Kapsalis/devils-analyst/blob/main/benchmarks/results/2026-10-22-spot-check/README.md- Dashboard case and outputs: https://github.com/C-Kapsalis/devils-analyst/blob/main/benchmarks/results/2026-10-22-spot-check/dashboard-email.md- Clean-control case: https://github.com/C-Kapsalis/devils-analyst/blob/main/benchmarks/results/2026-10-22-spot-check/review-clean-control.mdThe benchmark uses synthetic data, not customer datasets. Results describe the specific models, prompts, environments and evaluation procedures documented above.Disclosure: I am the author of Devil’s Analyst. It is an independent personal project and is not affiliated with or endorsed by my employer.Christoforos (Chris) Kapsalis is a technical author and marketer with a passion for building open-source tools that will hopefully help businesses in disadvantaged parts of the world or run by members of disadvantaged communities improve their workflows and maximize the value generated by their marketing efforts.I Built an AI Marketing Analyst. Then I Tested Whether It Actually Helped (Mostly, It Didn’t) was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.