All case studies

AI product engineering · 2026

Systematizing sales work for AI agents: skills, formats and rules in one kit

Four skills, one document generator and one brand file that make Codex, Claude and ChatGPT produce a firm's quotes, proposals, decks and email drafts the same way every time, with the price left to a person.

Systematizing sales work for AI agents: skills, formats and rules in one kit

An AI agent can write a quote. The hard part is getting it to write the same quote twice: the same layout, the same arithmetic, and no price that nobody approved.

I built Cotizera in 2024, a mobile quoting and deal-tracking platform for small businesses in Latin America, so I know where sales work leaks: details asked for twice, documents rebuilt by hand, follow-ups that never go out. In November 2026 I took that experience somewhere a platform could not go. I wrote a kit that installs in the agents a firm already uses: four skills, one document generator and one brand file. The first firm to run it is a consultancy in Monterrey. The method does not depend on it.

Three ways to put agents to work in sales

I have built this three times, and each time the agent lived somewhere else.

Where the agent works Who it serves What it needs
Cotizera Inside a quoting product Many small businesses A platform they adopt
APC Next to the team's CRM, through an MCP server One sales team A server and the team's records
This kit In the agents the firm already uses One firm and its director No server and no new application

The kit is the lightest of the three. Nothing new runs on a server. What changes is what the agent knows how to do, and what it refuses to do.

What gets systematized

A firm that sells with documents already has a way of working. It lives in old files, in the director's habits and in rules nobody wrote down. Systematizing means writing each part where an agent can follow it.

The procedure becomes a skill: what to ask, what to write, in what order, and what never to do.

The format becomes code. One generator draws the Word, PowerPoint and PDF files from the same layout.

The brand becomes one file of colors, type and measures. The identity becomes another, with the legal name and the tax details.

The knowledge becomes documents with a source for each section, and a list of the figures an agent may cite.

The rules stay with the owner. The person sets the price, and a document without one is a draft.

The skill is the recipe. The generator is a kitchen that will not plate a dish with a missing ingredient.

The agent writes, the code decides

This split is the core of the method. The agent writes the content of a quote, a proposal or a deck as a structured file. A Python generator, bundled inside each skill, does everything else.

The path of a request through the kit: a person asks an agent, the skill tells the agent what to write, the agent writes a structured file, the generator checks it and draws Word, PowerPoint and PDF from one layout, and the person sets the price and sends. The agent never decides the format or the price; each has its own owner.

The generator checks the data first. An error stops it, and a warning is reported. Then it builds one layout and draws every format from it, so the Word file and the PDF never disagree. The code computes the subtotal, the tax and the total, and the payment percentages have to add up to one hundred. A new version never overwrites the last one: it is saved as a second version, then a third.

When the price is missing, the document comes out as a draft. The skill tells the agent never to invent a price, and the generator accepts only a number, an amount or an empty field where a price goes. An empty price means a draft, with no totals.

A quote generated without prices: every line reads «Por definir», the document is marked as a draft and there are no totals. The rule is visible on the page: the agent prepares the document, and the price waits for a person. Labels in the figure are in Spanish.

The generator refusing a quote whose price was written as text. Nothing is written to disk. The check lives in code, so it holds whichever agent wrote the data. Labels in the figure are in Spanish.

One kit, four agents

The director of the firm works with Codex, Claude Code, the Claude app and ChatGPT. The kit had to behave the same way in all four.

A build script copies the brand, the knowledge and the generator into every skill, because the Claude app uploads skills one at a time and each one has to stand alone. It checks each skill against the format that Codex and Claude share, fails if any placeholder is left, rebuilds the examples with the packaged skills and writes a manifest with a hash for every file.

The differences between agents are small and written down. Codex and Claude Code read one shared rules file. The Claude app takes four uploaded skill packages. ChatGPT has no skills, so it gets a project with instructions, the knowledge files and the generator as a zip it unpacks and runs. An installer of five steps sets up the rest without an administrator password and backs up anything it replaces.

The same request in Claude Code and in Codex, each with the quote skill of the kit in a test folder. They wrote different titles and details, and both ended in a draft with every price left as «Por definir»: the words belong to the agent, the format and the price rule to the code. Labels in the figure are in Spanish.

Email: drafts, never sends

The fourth skill works in Gmail. It summarizes the inbox and drafts replies. It never sends, deletes or archives.

The content of an email is treated as information, never as instructions. A message that asks the agent to do something is a message to read, not an order to follow.

Every draft carries a blind copy to a follow-up account, so the director can see what went out and when. Gmail filters cannot copy outgoing mail, so the copy is written into the draft itself. I considered a tracking pixel and left it out.

When the director needs something changed in the kit, a tagged subject line sends the request to me, and a filter keeps those threads together.

The first firm

LeanManufacturing is a lean manufacturing consultancy in Monterrey, directed by Dr. Mohammad Azarang. It teaches plants to standardize their work. Its own sales work got the same treatment: one way to quote, one way to propose, one way to present.

A slide from the capabilities deck that the kit generates, with the director's photograph and credentials, used with his permission. The deck follows the same brand file as the quote, so a firm's documents look like one firm. Labels in the figure are in Spanish.

The firm shows in the data, not in the code. Of the generator's 3,907 lines, nine name the firm or its director. The rest reads the firm from the brand and identity files, so another firm needs new files, not a new generator.

Tested like software

Seventy tests cover the money arithmetic, the data checks, versioning, the Word and PDF output and the slides, on two versions of Python. The four skills pass the validators that Anthropic and Codex publish, and the Word files pass the schema validation of Office files.

The test that taught me the most used two agents with no context at all, only the skill installed. One was asked for a quote without a price. It did not invent one: it delivered a draft and asked. The other built a nine-slide deck with no rejections from the generator. What they found was fixed before delivery, including three rules the generator was not enforcing.

The numbers in one place

Measure Value
Skills 4: quote, proposal, deck and email
Agents it was built for 4: Codex, Claude Code, the Claude app and ChatGPT
Formats Word, PowerPoint and PDF
Languages Spanish and English
Tests 70, on two versions of Python
Tests with agents that had never seen it 2
Generator 3,907 lines of Python, 9 of them name the firm or its director
Files in the manifest 233, each with a hash
Built and verified 28 and 29 November 2026

What is not proven yet

The kit was delivered on 28 November 2026. There is no usage record yet: no count of documents sent, no time saved, no reply rate. When they exist, I will add them here with their dates.

Seven things could not be checked from the computer where I built it: how the Word and PowerPoint files look in Microsoft Office, which that computer does not have; the export to PDF from Word and PowerPoint; which libraries the Claude app and ChatGPT provide; whether ChatGPT hands the project files to its code environment; what each agent's Gmail connector can do; whether the filters and the sending address are set up in the director's Gmail; and what is installed on the director's computer.

The email rules are written instructions, not code. Nothing in the generator stops an agent from breaking them. The document rules are enforced. The email rules are trusted.

What it adds up to

An agent can write a document. A kit decides how the document comes out.

The procedure lives in a skill. The format lives in code. The price stays with a person.

A firm that sells with documents can hand its way of working to every agent it uses, and get the same quote twice.

The services behind this work are AI sales development and email automation with AI. I live and work in Monterrey. What companies in the city tend to need from an AI engineer, and how to start, is on the page for Monterrey (en español). This case study is also available in Spanish.

Rashid Azarang, a close portrait in a dark T-shirt, with white wireless earbuds

Written by

Senior AI Engineer · Monterrey, Mexico

AI assistedWith the help of AI for research, drafting, and editing.

Further reading

Go deeper.

Papers, essays, case studies, and more from the site.

Research

Every paper, pre-registration and dataset, with what it takes to run them again.

View all