/marketing-skills:ai-search [the brand's domain and competitors, e.g. "acme.com vs rival.com, other.com"]from marketing-skills
Deploys an AI search visibility app that runs buyer prompts across ChatGPT, Google AI Overviews, Gemini, Copilot, Perplexity, and Claude, then analyzes mentions, position, sentiment, citations, and wrong facts. Joins GA4 and Search Console data to produce a ranked action plan with drafted fixes and rechecks.
Ships in marketing-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The whole AI-search job in one app the agent deploys into the user's own Graphed project: research what buyers ask,
measure every engine, find what is wrong (content, off-site, technical, facts, developer docs), draft the fixes,
and recheck after they ship. One Node process serves the page,
the JSON API, an MCP server and the job worker. Postgres holds brands, prompts, every answer, cited sources,
jobs and the credit log. The app is private behind the Graphed gateway (Graphed login), except /mcp, which
refuses every request without a bearer token.
The deeper reference (engines, how an answer is read, metrics, schedules, MCP tools, CLI, limits) is
app/AGENTS.md.
<skill-dir>/scripts/deploy.sh --account <act_…> --timezone <IANA zone> # deploy or update (apps/ai-search in the cwd)
graphed exec --project ai-search --account <act_…> -- node cli.mjs brands
graphed exec --project ai-search --account <act_…> -- node smoke.mjs # cloud check, read-only, free
Find the account id with graphed --format json accounts list. deploy.sh copies <skill-dir>/app/ to
apps/<slug>/, builds the page, runs the offline tests, and deploys. Re-running it updates the same project; the
data stays. Flags: --slug, --name, --dir, --timezone (for the daily job; default America/New_York, kept on
later deploys), --secrets NAME,NAME (optional project secrets the app may use: GITHUB_TOKEN for GitHub
pull requests, INSTANTLY_API_KEY for sending outreach, CURSOR_API_KEY for Cursor agent tests, AIV_WEBHOOK_SECRET
for signed webhooks, and test API keys for agent tests; set each first with graphed secrets set NAME --project <slug> --account <act_…>, because a declared secret that is not set holds the deploy; kept on later deploys), --dry-run.
| Data | Source | Cost |
|---|---|---|
| ChatGPT, Google AI Overview, Google AI Mode, Gemini, Copilot answers | cloro through Graphed Tools (logged-out web answers) | 0.18–0.23 credits per answer |
| Perplexity, Claude answers | Graphed LLM proxy (OpenRouter) with web search; cloro has no Perplexity | ≈ 0.65 / ≈ 1.6 per answer |
| Reading each answer (sentiment, other brands, fact check) | Haiku through the Graphed LLM proxy | ≈ 0.3 per answer |
| "best X for Y" keyword prompts with volume | DataForSEO Labs through Graphed Tools | ≈ 25–30 per research |
| Homepage read for setup | Serper through Graphed Tools | ≈ 0.1 |
| OpenAI API, Gemini API answers (to compare with the apps) | Graphed LLM proxy with web search | ≈ 0.9 / ≈ 0.6 per answer |
| Coding-agent answers (developer prompts only) | Graphed LLM proxy: Claude Sonnet 5.5, GPT-5.1, Gemini 2.5 Pro, no web | ≈ 1.5–2.5 per answer |
| Buyer questions from calls / tickets / chats / reviews (pasted) or Reddit | Haiku; Reddit through ScrapeCreators (Graphed Tools) | ≈ 1–4 per batch |
| Prompt variants (wording, persona, budget, use case, question type, country) | Haiku | ≈ 0.3 per prompt |
| Site + crawler check, bot logs, npm / PyPI versions | the app's own fetches | free |
| Third-party profiles, description consistency | Serper search + scrape, Haiku | ≈ 3–6 per check |
| Why their page wins | own fetch + Serper scrape, DataForSEO backlinks, Sonnet | ≈ 4 per compare |
| Trace wrong claims to their source | Serper scrape + Haiku | ≈ 0.4 per page read |
| Outreach: author email + pitch | Apollo people match, Million Verifier, Haiku | ≈ 1–3 per target |
| Drafted fix for a task | Sonnet | ≈ 3–6 per draft |
| Coding-agent install test (Claude Code, Codex or Cursor) | Modal sandbox (Graphed Tools) + the model's calls | ≈ 20–80 per run |
| What needs JavaScript (site check) | Serper scrape of 6 key pages | ≈ 0.7 per check |
| Reddit / YouTube threads read | ScrapeCreators | ≈ 0.2–0.4 per thread |
| Docs audit for agents / research ideas | Sonnet | ≈ 3 / ≈ 4 |
| Pages with old code | Serper search | ≈ 0.1 per search |
| Pages rechecked after outreach | Serper scrape + Haiku | ≈ 0.4 per page |
| Watch, alerts, conversions, publish, Instantly sync | the app's own fetches | free |
| AI-assistant sessions, key events, revenue, landing pages | GA4 in the Graphed warehouse | free |
| Google clicks, impressions, question queries, clicks per page | Search Console in the Graphed warehouse | free |
GA4 and Search Console need the user's sources connected in Graphed and synced once. Without them every other page works and the AI traffic page says "not connected".
--timezone. Give the user the URL.node cli.mjs add <domain> "<Brand name>" --competitors "Rival, rival.com; Other, other.com" [--topics "a, b"].
It writes the about text and facts, picks topics, researches about 20 keyword prompts with Google volume,
writes about 10 conversational prompts, adds buyer-style Search Console questions, and finds the GA4 property
and Search Console site. Say what it found. Ask the user to check the facts (Settings), because the fact check
compares every answer against them.node cli.mjs estimate <brandId> (about 3.5 credits per prompt
on the default 6 engines; 30 prompts ≈ 105 credits). On a yes: node cli.mjs run <brandId>. A full run takes
from a few minutes to an hour; it keeps going in the cloud.node cli.mjs site <brandId>) and the action plan
(node cli.mjs plan <brandId>). Report the top 5 tasks.node cli.mjs schedule <brandId> rotate 100), with its cost a
day and a month; keyword research for more prompts; a content brief for a lost prompt; an MCP token so their
coding agent can read the results.claude mcp add line. Credits: spend by tool, day and brand.claude mcp add --transport http ai-search <app url>/mcp --header "Authorization: Bearer <aiv_…>"
Make the token on the Agent access page, or node cli.mjs token "<name>" (printed one time). 34 tools:
list_brands, create_brand, overview, prompts, answers, add_prompts, keyword_research, estimate_run, run_prompts,
citations, sentiment, opportunities, ai_traffic, action_plan, task, draft_fix, update_task, recheck_task,
start_job (site, profiles, trace, outreach_build, outreach, compare, mine, variants, dev_prompts, agent_test,
releases, reanalyze, plan, threads, outreach_check, code_sources, research_ideas, docs_audit, watch, sync_replies),
site_report, bot_logs, breakdown, open_questions, api_vs_app, changes, coding_agents, outreach_list, profiles,
send_outreach, publish_fix, conversions, alerts, get_job, credits. Reading is free. run_prompts stops at the
brand's daily credit limit. A long run returns a job_id; call get_job until it is done.
| Run | Credits (1 credit = 1¢) |
|---|---|
| New brand (with keyword research) | ≈ 30 |
| Keyword research | ≈ 25–30 |
| One prompt on the 6 default engines (+ Haiku reads) | ≈ 3.5 |
| One prompt on all 7 engines (Claude on) | ≈ 5.4 |
| ChatGPT query fan-out | +2 per ChatGPT answer |
| Content brief | ≈ 3 |
| Re-read saved answers | ≈ 0.3 per answer |
| Site + crawler check, action plan, bot logs, release watch | free |
| Profile check / page compare / drafted fix | ≈ 3–6 / ≈ 4 / ≈ 3–6 |
| Outreach target (author + email + pitch) | ≈ 1–3 |
| Coding-agent install test (one model) | ≈ 20–80 |
| GA4 + Search Console, every page and MCP read | free |
Schedules: daily = the full run every day; weekly and rotate = the full run once a week (rotate spreads it over 7 days). Example: 100 prompts on 6 engines ≈ 350 credits per full run: daily ≈ $104 a month, weekly or rotate ≈ $15.
send_outreach or publish_fix. Only
ok emails are sent. A GitHub fix is a pull request for review, never merged.CURSOR_API_KEY secret). Codex's model calls go straight to the proxy, so a Codex run's credits are not
split out per run.node cli.mjs reanalyze <brandId> 30, ≈ 0.3 per answer).graphed exec can drop the output of a short command: add
--out debug/x.txt to a CLI command and graphed storage download debug/x.txt . --project <slug>.app/server.mjs page, JSON API, /mcp, job worker
app/lib/engines.mjs cloro batches + sync retry, Perplexity / Claude, answer normalizing
app/lib/analyze.mjs brand matching, Haiku read (sentiment, other brands, fact check), site types
app/lib/metrics.mjs every dashboard number
app/lib/keywords.mjs "best X for Y" keyword research (DataForSEO)
app/lib/warehouse.mjs GA4 + Search Console from the warehouse, the page join
app/lib/budget.mjs cost estimate, daily credit limit, rotate slots
app/lib/jobs.mjs setup, run, keywords, prompts, brief, reanalyze, queue, schedules, every playbook job
app/lib/research.mjs buyer questions (calls, tickets, Reddit), variants, profiles, why-them compare, claim trace, outreach
app/lib/site.mjs robots.txt per bot, bot user agents (CDN blocks), no-JS text, llms.txt, pricing, sitemap, dead cited URLs
app/lib/logs.mjs server / CDN log parsing and the log drain
app/lib/plan.mjs action plan: tasks, impact, drafts, ship, recheck
app/lib/devtools.mjs code checks, npm / PyPI release watch, coding-agent tests
app/lib/sandbox.mjs Modal sandboxes through Graphed Tools
app/lib/fetch.mjs public-only fetcher (every redirect hop checked) + HTML reading
app/lib/publish.mjs Instantly send + reply sync, publish by webhook or GitHub PR, Slack / webhook alerts
app/lib/watch.mjs the daily watch: model changes, moves, new brands, competitor pages, reruns
app/lib/conversions.mjs signups / demos from AI: site snippet, ingest endpoint, report
app/agent/ runner.mjs (Claude Code, Codex or Cursor in the sandbox), events.mjs (reads Codex / Cursor JSON), shim.mjs (Anthropic → Graphed LLM proxy)
app/lib/mcp.mjs MCP server and tokens
app/lib/tools.mjs Graphed Tools (start once, wait), LLM proxy, warehouse, credit log
app/lib/db.mjs the app's database setup
app/ui/ page source (run node build-ui.mjs after a change)
app/cli.mjs terminal access
app/cron.mjs the daily job (queues scheduled runs for the worker)
app/test.mjs offline tests with fixtures (npm test)
app/smoke.mjs cloud check
app/AGENTS.md the full reference
Reply with the app URL, the brand id, the top 5 action-plan tasks, what setup found (competitors, topics, prompt count, GA4 property, Search Console site), visibility and share of voice per engine, the top 5 prompts competitors win with the sites those answers cite, the credits spent, and what you offered to set up next.
Graphed is a marketing cloud. It includes the infrastructure for an agent to do marketing: a data warehouse, data pipelines, a Postgres database, cron jobs, runtime servers, a tool catalog, custom domains, and internal app tooling.
app/AGENTS.md (opens in a new tab)app/Dockerfile (opens in a new tab)app/agent/events.mjs (opens in a new tab)app/agent/responses-shim.mjs (opens in a new tab)app/agent/runner.mjs (opens in a new tab)app/agent/shim.mjs (opens in a new tab)app/build-ui.mjs (opens in a new tab)app/cli.mjs (opens in a new tab)app/cron.mjs (opens in a new tab)app/env.example (opens in a new tab)app/fixtures/cloro-batch.json (opens in a new tab)app/fixtures/cloro-chatgpt.json (opens in a new tab)app/fixtures/keyword_overview.json (opens in a new tab)app/fixtures/keyword_suggestions.json (opens in a new tab)app/graphed.yaml (opens in a new tab)app/lib/analyze.mjs (opens in a new tab)app/lib/budget.mjs (opens in a new tab)app/lib/conversions.mjs (opens in a new tab)app/lib/db.mjs (opens in a new tab)app/lib/devtools.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ai-search, geo, aeo, ai-visibility, share-of-voice, ai-referral-traffic
npx claudepluginhub graphed-inc/marketing-skills --plugin marketing-skills20 skills in this plugin
/ad-spyWhen the user wants to track competitors' ads, or asks what ads a rival is running, which hooks and angles they test, or where their own messaging has gaps: a Foreplay-style ad spy, competitor ad research, an ad swipe file, positioning gaps. Deploys a hosted Ad Spy app on Graphed that pulls Meta, Google and LinkedIn ads every day, has Gemini watch, transcribe and tag each creative, and maps what buyers say on Reddit, YouTube, LinkedIn and review sites against what competitor ads say, with ad ideas for each open gap. By default ask for the user's website and 2-4 competitors and set both up from the terminal. To make the ads, see static-ads or ugc-studio. Also /graphed:ad-spy./ai-marketing-agentWhen the user wants an AI teammate in Slack, or asks for a Slack bot that pulls their numbers, does research and makes files with their Graphed data and tools: an AI employee, '@graphed in Slack', an AI marketing agent. Deploys a Slack app (handle @graphed) that runs Claude Code with the full graphed CLI in a private sandbox, shows each step in plain English while it works, answers in the thread with text, files, tables, charts and next-step buttons, keeps a shared company memory, shows the credits each request used, and refuses guests and other workspaces by default. Also /graphed:ai-marketing-agent./ai-seo-toolWhen the user wants keyword research, backlinks, rank tracking or an SEO audit, or asks what a competitor ranks for, which keywords or links they are missing, or why a page won't rank: an Ahrefs / Semrush alternative, keyword gap, link gap, local rank grid, an SEO MCP server for their agent. Deploys a hosted AI SEO Tool on Graphed with Site Explorer, Keywords Explorer, a SERP checker, backlinks, AI mentions, daily rank tracking, a weekly site audit with Lighthouse, and Search Console + GA4 from the warehouse. By default ask for the domain and 2-4 competitors, run a site overview and the keyword gap, and give the shortlist. Say the cost before any run over 10 credits. For AI answer tracking in depth, see ai-search. Also /graphed:ai-seo-tool./ai-story-shortsWhen the user wants a short animated story video, or asks to turn a true story, a legend or a 'crazy facts about…' topic into a 30–60 second vertical cartoon: faceless story shorts, animated history, this hand-inked cel style. Fact-checks the story, writes a fast narrated script, designs an original cast, makes one GPT Image 2.5 still per shot, animates each with Seedance 2.5, and edits it with a narrator voice, word-timed captions, whip transitions, music and a few sound effects. Every vendor call goes through Graphed Tools. For talking-head ads, see ugc-video. Also /graphed:ai-story-shorts./ai-video-editorWhen the user wants to edit a podcast or multi-camera video with an agent, or asks to cut a long recording down, apply review notes, or share a review link: a Frame.io / Descript alternative. Deploys a hosted AI Video Editor on Graphed: upload cameras, mics and screen recordings, every file is transcribed word by word, the agent writes the edit (which camera, which takes, what to cut) and the cloud renders it in minutes; reviewers comment on frames, draw on the picture and delete words to cut them, and @agent comments become tasks the agent works. By default ask what the video is for and where the files are. Never upload before the user approves the transcription cost. Also /graphed:ai-video-editor./analytics-dashboardWhen the user wants analytics, KPIs, charts or a dashboard from their own data, or asks to see their marketing numbers in one place: copy the chart templates, add a date range the user can change, and query the Graphed warehouse with @graphed-inc/sdk.Other plugins' skills for the same job