If you already plan campaigns in Claude, you can run hook tests from the same conversation. Mantinea publishes a Claude skills plugin with a /hook-test skill that drives its hosted MCP server: it writes hook options, prices them, renders the new openings on an existing ad and hands you variants to launch. This guide covers setup, a typical session and the guardrails that keep an agent from spending more than you meant.
What you need
- A Mantinea account. The trial is 14 days and 1,000 credits with no card (signup required).
- Claude with MCP support. The hosted MCP server is at
https://app.mantinea.com/mcpand works with Claude, Claude Code, ChatGPT, Cursor and VS Code. It authenticates with OAuth 2.1 or an API key. - The skills plugin. Mantinea's plugin bundles playbooks such as
/ugc-ad,/clone-competitor-hook,/product-demo,/translate-pack,/hook-test,/static-adand/media-router. It is available as ZIPs for Claude and for ChatGPT or Codex. - A parent ad in your Mantinea library: a video that already works and whose body you want to keep.
One naming note: some developer surfaces still use the older "Autonomous" name (for example the MCP server name), so you may see that in Claude's tool list.
Step 1: connect the MCP server
Add the MCP server in Claude's connector settings using the URL above, and sign in with OAuth. If you would rather start with zero risk, connect with the estimate-only mode (?mode=estimate on the URL). In that mode, the agent can plan and price but not run paid jobs. It is a good way to check the skill's behaviour before giving it permission to spend.
Step 2: install the skill plugin
Install the Claude plugin ZIP so the /hook-test skill appears in your slash commands. Once installed, typing /hook-test starts the playbook.
Step 3: run a session
A typical session looks like this:
You: /hook-test on my "crisp lunch" ad. Five hooks, standard quality. Test different hook types: problem call-out, product reveal, objection first, and two wildcards.
The skill then, roughly:
- Finds the parent ad in your library and reads its script.
- Writes five hook options that lead into the existing body.
- Prices the run before starting. Hook rendering is 12 credits per second of new hook (HD 19 credits per second of hook), minimum 2 seconds; planning hooks costs 2 credits. Five 3-second hooks come to 180 credits plus planning, about $1.82.
- Waits for your go-ahead, then renders only the new openings. The body of the ad is never re-rendered or billed.
- Returns the variants for review.
You can edit hooks in the conversation before approving ("Make H3 shorter", "Swap H5 for a question"). Review the hook lines as carefully as you would any ad copy. An agent can write a hook that promises something the body does not deliver.
Step 4: guardrails on spend
An agent that can spend money needs limits. Set them in Mantinea, not just in the conversation:
- Agent spend rule: "Ask first", "Ask over N" credits, or "Don't ask". For hook tests, "Ask over N" with N around the size of one batch is a good default.
- Spending caps: daily, weekly and monthly.
- Estimates everywhere: every paid API call accepts
estimate_only, and a started job reserves its quote, so you never pay more than what was quoted. Failed or canceled jobs are refunded automatically. - A review step, if you want one: Ad Review, an AI review of an ad's hook, pacing and claims, can run as a priced step in chat or a workflow before anything goes to your ads account.
- Rate limits on the API key protect you from runaway loops: 600 requests or 60 paid starts per minute per key.
Use a key with the narrowest scope that works. Keys can be read-only, generate, or admin.
Step 5: launch and log
The skill hands you variants. Launching and reading them is still your job:
- Launch all hooks plus the original as control in the same structure, same budget, same start time.
- Decide your reading point and win rule before launch.
- After the read, log hook rate, CTR, CPA and ROAS against each variant in Hook lab and export the CSV.
The logging guide has a template, and the batch size guide helps you choose between 3, 5 and 10 hooks.
Getting more from the agent
Some useful prompts once the basics work:
- "Look at my last three hook tests' CSVs and tell me which hook types won. Write the next batch with two of those types and three new ones." (Paste or attach the CSVs.)
- "Estimate a 10-hook screen on each of my top three ads. Don't run anything yet."
- "Write five hooks in Spanish for the Spanish dub of this ad." (Dubs are 90 credits per minute per language for audio-only.)
Keep the agent on planning and production. Judgment calls about what counts as a winner should follow rules you wrote before the test, not the agent's enthusiasm after it.
Free option for ideas only
If you only want hook ideas without connecting anything, Mantinea's free ad hook generator needs no signup. Describe your product in 10 to 600 characters, pick TikTok, Reels, Shorts or Meta ads, and it returns three hooks with the spoken line, on-screen text and why each might work.
Other agent options
Other tools have agent routes too: Higgsfield's MCP has a Hook Multiplier preset, and HeyGen offers API, CLI, MCP and agent skills for avatar video. For testers, Mantinea's route is the stronger one: an estimate-only mode, hook-only billing on new openings, the results log next to the variants, and the API and MCP server included on every plan from $29 rather than sold separately. Its in-app agent chat is not billed per message either; you pay for the generations it runs.
Summary
Connect the MCP server (start in estimate-only mode), install the plugin, run /hook-test on an ad that already works, approve the price, and launch the variants with a control. Set spend rules in the workspace so the agent cannot surprise you, and log the results so the next batch is smarter than the last. For the manual version of the same workflow, see the Hook lab tutorial.