MR.B2BEAST
Subscribe

Open source · v0.1.1 · MIT

Get your brand into AI answers.

ai-visibility is a free Claude Code plugin. It checks whether ChatGPT, Perplexity, Gemini and Claude name your brand, finds out why not, and drafts the next steps. Plain Python, your own API keys, a hard cost cap.

01Why

96 answers, 0 mentions

On 2026-11-27 I asked 4 LLMs 24 questions that my own articles answer. In 96 answers my brand came up 0 times and the site was cited 1 time. The run cost 1.05 USD. This is the tool I wrote to find out why and to measure again a month later, cleaned up so it works on any site.

Inspiration

Articulate, Align and Activate come from the AI Visibility Framework by Flow Agency. Their fourth stage, Author, is research and talks, which no tool does for you. Tracking is in their appendix and a command here. The checks, scripts and wording are my own.

02Install

One command

In a terminal

claude plugin marketplace add mrb2beast/ai-visibility && claude plugin install ai-visibility@ai-visibility

Or inside Claude Code

/plugin marketplace add mrb2beast/ai-visibility /plugin install ai-visibility@ai-visibility

Then open your site's repository in Claude Code and run /ai-visibility:audit.

03Guide

Five commands

Articulate

/ai-visibility:articulate

Reads your project and writes your positioning in 7 fields, a boilerplate in 25, 50 and 100 words, and a topic map. Missing proof stays a TODO, nothing is made up.

Align

/ai-visibility:align

Checks robots.txt for 15 AI crawlers, llms.txt, Organization or Person schema, sameAs, the About page, noindex and whether your firewall blocks AI crawlers. Drafts the fixes and only edits your site after you pick them.

Activate

/ai-visibility:activate

Clusters the domains the LLMs cite, ranks them, and writes outreach drafts. Never sends anything.

Track

/ai-visibility:track

Asks several LLMs your prompts with web search on, counts mentions, positions and cited sources, per LLM. Shows the cost first and asks.

All four

/ai-visibility:audit

All of the above once, as a Markdown and HTML report with a traffic light per check.

04What it adds

Four things the framework leaves open

  1. 01

    Fake AI crawler detection

    Anyone can call themselves GPTBot. The log check compares every request with the official IP lists of OpenAI, Anthropic, Perplexity, Google, Microsoft and Apple, with reverse DNS as a fallback, and counts the fakes. Logs with anonymised IPs are reported as unverifiable instead of guessed.

  2. 02

    A prompt set built for you

    It reads your sitemap and an optional Search Console export and writes short search-style prompts and long chat questions, tracked apart, each mapped to the page that should be cited. New prompts are appended, old ids never change.

  3. 03

    From citation gap to outreach draft

    For every page an LLM cites while you are missing, it picks your best matching page and drafts a short note to that page's author. Drafts are files. The tool has no way to send.

  4. 04

    Monthly comparison

    Mentions won and lost per LLM since the last run, as a table and as an image you can share.

05Cost

Two ways to pay, one cap

WayKeysRough cost
Your own API keys (default)OPENAI_API_KEY, PERPLEXITY_API_KEY, GEMINI_API_KEY, optional ANTHROPIC_API_KEY0.01 to 0.04 USD per question and LLM
DataForSEO (optional)DATAFORSEO_LOGIN, DATAFORSEO_PASSWORD0.004 to 0.027 USD, reaches the ChatGPT and Gemini web apps

24 prompts on three LLMs with your own keys come to roughly 1 to 1.50 USD per month. Set budget.max_usd_per_run and budget.max_usd_per_month in .ai-visibility/config.json (defaults 2 and 5 USD). The tool estimates before the first request, refuses to start if the estimate crosses a cap, and checks again before every request.

06Safety

What it never does

  • ·Everything it writes goes into .ai-visibility/ in your project.
  • ·It reads your public site and does not change it. Each fix is shown as a diff and applied only after you pick it.
  • ·It sends no email, DMs, forms or comments.
  • ·Keys stay in environment variables or .ai-visibility/.env, which it keeps out of git. Keys are never printed.
  • ·It adds no hidden links. The report ends with one visible credit line, which you can turn off.
07Example

An example report

Made-up brand (Brambleworth), made-up answers. The full report, outreach drafts and crawler check are in the repo.

12 green, 6 yellow, 1 red, 0 not checked.

LightCheckResult
GREENAI search crawlers can read the siteAll 9 search and user-fetch crawlers are allowed.
YELLOWTraining crawlers have an explicit ruleNo own rule for ClaudeBot, Google-Extended, Applebot-Extended, CCBot, meta-externalagent.
REDAbout page existsAbout page answered HTTP 404.
YELLOWShare of fake AI crawlers1 of 5 requests (20 %) fail the IP check.
GREENTrend since 2026-10-048 mentions won, 2 lost.

Optional badge (off with "badge_snippet": false)

<a href="https://mrb2beast.com/tools/ai-visibility" rel="nofollow"><img src="https://img.shields.io/badge/AI%20visibility-checked-7A45F0" alt="AI visibility checked"></a>
08Changelog

Changelog

0.1.1 (2026-11-27)

  • ·Crawler check uses Anthropic's official IP list for ClaudeBot, Claude-SearchBot and Claude-User.
  • ·The relation to the Flow Agency framework is stated exactly: their fourth stage is Author, tracking is in their appendix.
  • ·Stable brand order in reports.

0.1.0 (2026-11-27)

  • ·First release with five commands: articulate, align, track, activate, audit.
  • ·Engines over your own keys (OpenAI, Perplexity, Gemini, Anthropic) or DataForSEO, mixable per engine.
  • ·Cost cap per run and per month, checked before every request, ledger in costs.jsonl.
  • ·Fake AI crawler detection with official IP lists and reverse DNS.
  • ·Prompt set from sitemap and Search Console export, short and long prompts tracked apart.
  • ·Outreach drafts from citation gaps, matched to your own pages. Never sent.
  • ·Month-over-month comparison as table and SVG, audit report in Markdown and HTML.
09Tool

What I make the videos with

The voices and images in my videos come from Higgsfield, the AI studio I make every video with. Try Higgsfield.

Affiliate link: if you buy through it, I may earn a commission at no extra cost to you.

10Newsletter

One new Claude Code tool every month

Two emails a week: AI news on Wednesday, the lesson of the week on Sunday. New tools land there first.

Two emails a week, Wednesday and Sunday. Unsubscribe anytime.