The math layer for marketing agents
Most marketing skills are writing instructions. They help an agent draft a page, an email or a plan, so keep them. These add the arithmetic underneath. The agent that drafts your pricing page can check whether the price still covers inference cost. The agent that writes the board update can compute the forecast instead of estimating it. Same input, same output, and code you can read.
Works with Claude Code, OpenAI Codex, Cursor, Windsurf, Cline and any agent that supports the Agent Skills spec. Free, MIT, no API key, and the engines make no network calls.
Built by Saroj Jha / AAJ. Browsable library at skills.aajconsult.com.
If an engine saves you a spreadsheet, star the repo. Stars are how other founders, and the directories agents search, find it. Questions and engine requests go in Discussions.
Renamed on Oct 11, 2026. copywriting, marketing-psychology, programmatic-seo, marketing-loops and sales-enablement are now aaj-copywriting, aaj-marketing-psychology, aaj-programmatic-seo, aaj-marketing-loops and aaj-sales-enablement. Another popular library publishes skills under the same five names, so with the prefix both install side by side. The hosted MCP server still answers to the old names.
Contents
- Quick start
- Install as a Claude Code or Codex plugin
- Use it from an MCP client
- Recipes: vendor data in, a verdict out
- What a runnable engine means
- The catalog
- Strategy & Positioning — 15 skills, 10 engines
- Research & Personas — 4 skills, 3 engines
- SEO, GEO & AEO — 10 skills, 9 engines
- Content & Copy — 11 skills, 10 engines
- Conversion & Web — 6 skills, 4 engines
- Paid Media & Budgeting — 5 skills, 5 engines
- Analytics & Experimentation — 6 skills, 6 engines
- Sales & Pipeline — 13 skills, 10 engines
- Retention & Lifecycle — 4 skills, 3 engines
- Growth, Retention & RevOps — 10 skills, 9 engines
- Engines at a glance
- Methodology
- Authoring & contributing
- Credits & license
Quick start
# everything
npx skills add sarojkjha/aaj-marketing-skills
# one skill
npx skills add sarojkjha/aaj-marketing-skills --skill unit-economics
# see what's available
npx skills add sarojkjha/aaj-marketing-skills --list
Installs to .agents/skills/, and symlinks into .claude/skills/ for Claude Code.
Step-by-step instructions for every agent, Windows, Mac and Linux, and the hosted server: docs/install.md.
Then run any engine with no configuration at all:
node .agents/skills/unit-economics/resources/unit-economics.js --demo
AAJ Unit Economics -- subscription
------------------------------------------------------
Gross-margin LTV $13,333 (3.0% monthly churn (~33.3 mo lifetime))
CAC $3,000
LTV : CAC 4.4:1
CAC payback 7.5 mo
[OK] LTV:CAC 4.4:1 is at or above the 3:1 floor.
[OK] CAC payback 7.5 mo is within the ~12-month guideline for subscription.
Swap the demo values for your own and it works the same way.
From a clone of this repo, paths are skills/<slug>/resources/… instead of .agents/skills/<slug>/resources/….
Install as a Claude Code or Codex plugin
Claude Code. In Claude Code 2.1.275 or later, one line adds the marketplace and opens the plugin:
/plugin install aaj-marketing-skills --marketplace sarojkjha/aaj-marketing-skills
On earlier versions, run two commands:
/plugin marketplace add sarojkjha/aaj-marketing-skills
/plugin install aaj-marketing-skills@aaj
The skills then appear as /aaj-marketing-skills:<skill>. The plugin also starts the local AAJ engines MCP server (platform/mcp/server.mjs, Node 18+), so Claude can call run_engine directly. It runs on your machine and AAJ receives nothing. Updates arrive when you run /plugin marketplace update aaj.
OpenAI Codex. Add the marketplace, then install the plugin (or browse it with /plugins inside Codex):
codex plugin marketplace add sarojkjha/aaj-marketing-skills
codex plugin add aaj-marketing-skills@aaj
codex plugin marketplace upgrade aaj picks up new skills. Codex reads .agents/plugins/marketplace.json, and both clients load every skill in skills/.
Use it from an MCP client
Instead of installing the skills into a project, you can expose all 84 skills and
all 69 engines to any MCP client — Claude Desktop, Claude Code, Cursor, Windsurf —
as five tools:
| Tool |
What it does |
list_engines |
Every runnable engine, grouped by category |
describe_engine |
One engine's input schema, units and worked example |
run_engine |
Runs it on your numbers, or the demo if you pass none |
search_skills |
Finds a skill by the problem, not the name |
get_skill |
The full method for one skill |
Hosted, no install. Add this URL as a custom connector (a remote MCP server) in Claude, ChatGPT or any MCP client:
https://mcp.aajconsult.com/mcp
No sign-in. The server runs the engines in memory and keeps no copy of what you send (what happens to your data). In Claude: Settings → Connectors → Add custom connector. Then ask, for example, "Use the AAJ engines to check my unit economics: CAC $1,200, ARPA $300 a month, 80% gross margin, 3% monthly churn."
Local. Clone the repo and point your client at one file. Node 18+, no dependencies,
no build step:
{
"mcpServers": {
"aaj-engines": {
"command": "node",
"args": ["/absolute/path/to/aaj-marketing-skills/platform/mcp/server.mjs"]
}
}
}
Your agent can then find the right method for a problem and run the math on your
numbers, rather than estimating. Run locally, AAJ receives nothing; your agent's
model provider still sees what you give the agent.
What happens to your data
The engines are deterministic scripts. They make no network calls, write no files and take no actions in your tools; they compute and return text and JSON. Where your numbers travel depends on how you run them:
| How you run it |
Where your inputs go |
| Skill installed in your agent, or the local MCP server |
The engine runs on your machine and AAJ receives nothing. Your AI agent still sends what you give it to its model provider (Anthropic, OpenAI and so on), under your own account's terms. |
| Hosted MCP server |
Your agent's model provider, as above, plus AAJ's server on Cloudflare, which receives the engine inputs over HTTPS, runs them in memory and keeps no copy. Cloudflare keeps error logs (no inputs) for up to 7 days. |
Don't pass customer names, emails or other personal data to an engine; none of them needs it.
Setup for each client, troubleshooting, and the smoke test:
platform/mcp/README.md.
Recipes: vendor data in, a verdict out
Vendor MCP servers bring the data; the engines turn it into a verdict. Each recipe is a prompt to paste, a field-by-field mapping and the checks to make before you trust the result:
- HubSpot deals into
pipeline-and-forecast: weighted forecast, coverage against your win rate, and the lever to pull.
- HubSpot contacts into
funnel-leak-finder: the stage that cost the most wins against last period.
- GA4 results into
ab-test-significance: sample size before the test, a verdict after it.
- GA4 traffic sources into
ai-referral-share: how much traffic AI assistants send, and whether it converts differently.
- Ahrefs or Semrush keyword data into
aaj-programmatic-seo: whether a template-page build pays back.
- Stripe data into
unit-economics: gross-margin LTV, CAC payback, and whether your economics support growth.
- Search Console data into
content-decay: which pages are decaying, and refresh priorities ranked by clicks lost.
- Search Console queries into
search-demand-reader: where the demand is, by intent and topic, and the gaps you already appear for.
- Google Ads data into
paid-search-account-audit: the spend that produced nothing, starved winners, and one fix list ranked blocking-first.
- Google Ads test results into
ad-creative-testing: whether a creative really won, or delivery was too uneven to say.
What a runnable engine means
Most agent skills are instructions. These are too — but 69 of them also ship a dependency-free Node script that does the arithmetic and returns a judgement.
|
Instruction-only skill |
Skill with an engine |
| Output |
Guidance the agent paraphrases |
Deterministic numbers |
| Reproducible |
No |
Yes — same input, same output |
| Verifiable |
You trust the model |
You read the code |
| Runs without an agent |
No |
Yes, node … |
Every engine accepts --demo (a worked example, no config), --help (the input schema), and a JSON payload for your own numbers. Engines validate input and fail loudly rather than returning a confident wrong answer.
The catalog
E marks a skill with a runnable engine. Phase refers to AAJ's Diagnose → Design → Execute method.
Strategy & Positioning
|
Skill |
What it does |
Phase |
| E |
aaj-marketing-psychology |
Diagnoses which decision friction blocks the buyer, with a line between persuasion and manipulation. |
Design |
| E |
ai-inference-pricing |
Checks that an AI plan's price still covers inference when usage spikes. |
Design |
| E |
beachhead-segment-selection |
Picks the segment to win first from evidence, and says when the pick is still a guess. |
Design |
|
brand-product-context |
Builds the shared brand brief every other skill reads first. |
Diagnose |
| E |
campaign-orchestrator |
Diagnoses which play applies, then sequences the other skills in order. |
Diagnose |
| E |
competitor-messaging-matrix |
Reads rival homepages side by side and says which claims are crowded, which are open, and whether your headline blends in. |
Diagnose |
|
gtm-plan-for-investors |
Builds the GTM story an investor can check, from engine-run numbers. |
Design |
| E |
market-sizing |
Sizes TAM, SAM and SOM bottom-up, with SOM set by capacity rather than a share of the market. |
Diagnose |
| E |
marketing-maturity-assessment |
Scores marketing as a system across six dimensions, and names the weak links to fix first for your stage. |
Diagnose |
|
messaging-framework |
Structures the message hierarchy beneath the positioning. |
Design |
| E |
positioning-statement |
Produces a positioning statement pressure-tested against the competitive alternative. |
Design |
| E |
pricing-and-packaging |
Designs tiers with an anchor check and a willingness-to-pay read. |
Design |
| E |
pricing-page-teardown |
Scores a pricing page on 21 buyer checks, and says whether a price test can answer the question at your traffic. |
Diagnose |
|
sales-led-vs-self-serve |
Chooses self-serve, sales-led or a mix from the buyer and the unit economics, not from fashion. |
Design |
|
value-proposition |
Sharpens the value proposition into something defensible. |
Design |
Research & Personas
|
Skill |
What it does |
Phase |
| E |
customer-interview-synthesis |
Turns coded interview notes into ranked patterns and anecdotes, and says whether you can stop interviewing. |
Diagnose |
| E |
customer-survey-design |
Designs surveys that produce usable answers, with sample sizing and segments. |
Diagnose |
|
persona-builder |
Builds personas from evidence rather than imagination. |
Design |
| E |
review-mining |
Codes pasted reviews of you and your rivals into themes, switching reasons, feature asks and buyer language. |
Diagnose |
SEO, GEO & AEO