/marmalade:ai-bot-trafficfrom marmalade
Analyzes server access logs to identify AI bot traffic (GPTBot, ClaudeBot, PerplexityBot, etc.) and visits from AI answer links. Uses Marmalade's free, local-only log reader.
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 traffic reads access logs on the user's machine and counts two things: requests from AI
bots and assistants, and visits from people who clicked a link in an AI answer. It is free, and
nothing leaves the machine.
It needs a Marmalade project folder to store the counts. Use the user's existing Marmalade project, or
make a new folder for it, never inside their website's own code: marmalade -C ~/ai-traffic init --no-agents
(free). Then pass every log file, rotated ones included, in one command:
marmalade -C ~/ai-traffic traffic ~/ai-logs/access.log*
marmalade -C ~/ai-traffic traffic --days 7 --json # what is stored, as data
Where the logs are:
| Site runs on | Logs |
|---|---|
| nginx | /var/log/nginx/access.log* |
| Apache | /var/log/apache2/access.log* or /var/log/httpd/access_log* |
| Caddy | its access log, as JSON lines |
| Vercel, Cloudflare, Netlify | a log drain or export as JSON lines |
| Anything else | CSV or JSON lines with a user agent, a path, a referrer, a status and a time |
Server logs are often readable only by root. Do not run sudo yourself. Ask the user to copy them
somewhere readable, then read the copies:
mkdir -p ~/ai-logs && sudo cp /var/log/nginx/access.log* ~/ai-logs/ && sudo chown "$USER" ~/ai-logs/*
Importing the same files again never counts anything twice.
If the logs are unreadable, or the result shows no AI visits, say so plainly and stop. Do not guess at numbers.
Limits to mention when they matter: a user agent can be faked, and a CDN that serves pages from its cache hides those requests from the server log. If AI crawlers are missing entirely, run the ai-crawler-check skill: robots.txt or a firewall may be turning them away.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-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)./ai-visibility-trackingWhen the user wants to know whether ChatGPT, Gemini, Perplexity, Google AI Mode, Google AI Overviews, Copilot or Claude name or recommend their brand, which competitors AI names instead, which pages AI cites, or wants to track AI search visibility (GEO, AEO, LLM SEO) over time. Uses Marmalade, an open source alternative to Profound, Peec AI and Jam that runs on the user's machine: sets up a project, prices a first scan, runs it only with the user's yes, and reads the report. Not for server logs (use ai-bot-traffic), crawler blocks (use ai-crawler-check) or writing a page (use ai-answer-to-page).Other plugins' skills for the same job