/marmalade:ai-visibility-trackingfrom marmalade
Tracks brand mentions and citations across AI assistants (ChatGPT, Gemini, Perplexity, Google AI Mode, Copilot, Claude) using Marmalade. Runs scans on the user's machine to measure GEO/AEO/LLM SEO visibility.
Ships in marmalade. 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.
None: SKILL.md is the whole skill.
Marmalade puts a buyer's questions to AI assistants, then records which brands each answer names, in what order, and which pages it cites. Everything is stored on the user's machine.
Treg (treg.to) is the service Marmalade uses to ask each AI engine. The user signs up and pays there, per answer, with one key. Most answers cost under a cent; Copilot is about 1.5 cents and Claude about 6.5. A first look is a small first scan: 10 questions on ChatGPT, Google AI Overviews and Perplexity, about 5 cents. A scan asks every question on every engine once. The plan is the work the answers point to, the most useful first. A brief is the outline and requirements for one page.
Only four commands cost money: marmalade scan, marmalade run, marmalade volume, and
marmalade init --site without --no-draft. Switching on marmalade schedule starts paid scans too.
Before any of them, tell the user the exact command and its
price, and wait for a yes. Get the price from that exact command with --dry-run (scan, volume) or from
marmalade doctor --json. marmalade start asks the user y/N in their terminal before each paid step.
When you run it, add --no-input: it then asks nothing, spends nothing, and prints the next command
and its price. Never answer its questions for the user. Every other command is free.
max_cost in marmalade.toml caps every scan.
Never ask the user to paste a key into the chat. The key goes in a .env file in the project folder, as
TREG_TOKEN=..., written by the user. Keys come from https://treg.to.
Check the install. Run marmalade --version. If it is missing, give the user the install line,
pipx install marmalade-ai (Python 3.12 or newer, nothing else), and
wait. To try it with nothing installed (needs uv): uvx --from marmalade-ai marmalade demo.
Step 1 of 3, free: check the site. marmalade audit THEIR-SITE shows whether AI crawlers can read
it (see the ai-crawler-check skill). For a look with no key, marmalade demo builds a made-up project
and its report.
Steps 2 and 3: set up tracking and take a first look. Pick one route.
start. This is the quickest. The user runs marmalade start THEIR-SITE in
their own terminal. It asks for the Treg key with the typing hidden and saves it in the project's
.env. After a yes it drafts competitors and about 25 questions (under a cent), then offers a first
look and opens the report. Run again, it picks up where it stopped. If you can open a terminal on
their machine, open one there with that command, in the project folder, so they type the key and
answer the y/N questions themselves. Do not hand the command back if you can open it for them. While
they get a key, change nothing in the folder.start --no-input. Run marmalade -C ~/marmalade-NAME start THEIR-SITE --no-input
yourself, in a folder outside their website's code, and tell the user that folder's full path: their
questions and answers live there. It makes no paid call. It does what is free and prints the next
command and its price. Show the user both, run that command only after a yes, then run the same
start again for the next step.On every route, show the user the drafted competitors and questions (marmalade.toml) and the exact
questions the scan asks (the start output and scan --dry-run list them) before the first look, and
let them change any. Do this even when they told you to go ahead. A first look with the wrong
competitors or questions costs the same and says less.
Set up by hand. In a new, empty folder: marmalade init --site THEIR-DOMAIN --no-draft. It reads the home
page, makes no paid call, and writes marmalade.toml, facts.md and the agent settings. With a key,
marmalade init --site THEIR-DOMAIN also drafts competitors and 25 questions for under a cent: ask first.
Run later in a project set up this way, the same command drafts only what is still missing (competitors
when there are none, questions in place of the placeholder) and changes nothing else. marmalade start
offers it too.
Agree the questions and competitors with the user. Propose five competitors and five topics, with
five wordings per topic in this order: names their niche (the platform, ecosystem, place or kind of customer
they serve) and asks which product to use; a specific case of the same need; a "best" or comparison
wording; a chat-style wording of 12 to 20 words; a how-to question with no product in mind. A first look
asks the first two wordings of each topic, so they come first. Most wordings name the niche, because a
bare category question is won by the biggest brands. Give each a topic and an intent: problem,
shortlist, choosing, versus or checking_you. No question may name their brand or a competitor.
Delete the placeholder question best tool for the job you do from marmalade.toml (its whole
[[prompt]] block). Each question is a [[prompt]] entry. Deleting that block by hand is fine, but
do not add questions with a script. Add what they approve:
marmalade add-competitor "NAME" --domain competitor.commarmalade add-prompt "QUESTION" --topic "TOPIC" --intent shortlistmarmalade add-prompt --from questions.csvmarmalade suggest --from notes.txt prints a brief for you to
pull the questions out. Show them the list, then add it with marmalade add-prompt --frommarmalade add-prompt --from FILE --topic "TOPIC". The commands check each question and keep the file
whole.
Then help them write three to five true facts in facts.md: what the product is, its plans and prices,
what it does not do.Price it. marmalade doctor --json prices a full scan and a first look, and lists anything
missing. Its first_look.command is marmalade scan --sample 10 --engines chatgpt,overview,perplexity.
Run the exact command you will propose with --dry-run and tell the user that price.
Scan, only with a yes. A first look: marmalade scan --sample 10 --engines chatgpt,overview,perplexity.
Everything: marmalade scan. Every scan grades its answers with Jev, a model made by TypeSafe and
reached through Treg, for about $0.0001 an answer. Jev decides which brand each answer really means,
how it describes each one, which one it recommends, and whether it gets the facts in facts.md right.
The --dry-run price includes it; --no-judge leaves it out. Every scan saves its answers in the project's marmalade.db, writes
the plan and marmalade-report.html, and prints the full paths: tell the user where they are.
Read the results. marmalade audit runs the free site check, and marmalade report --open rewrites
the report with it and opens it (marmalade start, run again after a scan, does both).
marmalade status --json and marmalade next --json give the numbers and the next step, and
marmalade discover lists brands the answers keep naming that are not tracked yet, with the command to
track each. While a scan runs, status --json says "partial": true: wait for it to end before you
quote a number.
Share and repeat. marmalade card draws a "who AI names" image to post. marmalade schedule
writes a daily or weekly run. Switching it on starts paid scans: tell the user the monthly price it
prints, and let them switch it on, or wait for their yes.
marmalade doctor names what is missing: the key, competitors, questions or facts. Every command takes
--help. A failed engine call is stored, and most cost nothing; running the scan again later today asks
only what failed.
Next steps after a scan: the ai-answer-to-page skill turns the results into pages to write.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ai-search-visibility, geo, aeo, llm-seo, brand-tracking, marmalade
npx claudepluginhub alexjcomeau/marmalade --plugin marmalade4 skills in this plugin
/ai-answer-to-pageWhen the user wants to act on AI visibility results: which page to write or fix so ChatGPT, Gemini, Perplexity and other assistants name their brand, why AI cites a competitor's page instead, a brief for a page that answers a question buyers ask AI, or a check of a draft against their facts before publishing. Uses the plan, briefs and draft checks in a Marmalade project. Free except the new scans that `verify` needs. Not for setting up tracking or running a first scan (use ai-visibility-tracking) or for crawler blocks (use ai-crawler-check)./ai-bot-trafficWhen the user wants to know which AI bots (GPTBot, ClaudeBot, PerplexityBot, OAI-SearchBot, ChatGPT-User and others) visit their site, which pages they read or fail on, or how many people arrive from ChatGPT, Perplexity, Gemini, Copilot or Claude answers, from their own server logs. Uses Marmalade's free log reader: it runs on the user's machine and sends nothing anywhere. Not for whether a site allows AI bots (use ai-crawler-check) or which brands AI names (use ai-visibility-tracking)./ai-crawler-checkWhen the user asks whether AI crawlers such as GPTBot, OAI-SearchBot, ClaudeBot or PerplexityBot can read their site, why ChatGPT or Perplexity never cite their pages, whether robots.txt, a CDN or a firewall blocks AI bots, or whether they need an llms.txt, a sitemap or structured data. Runs Marmalade's free site audit: no account, no key, no project. Not for reading server logs (use ai-bot-traffic) or for which brands AI names (use ai-visibility-tracking).Other plugins' skills for the same job