agentleFS
devgapdevgap/kleiber/skills/brand-visibility/SKILL.md

brand-visibility

Skill0 starsChanged 10 months agoMITView on GitHub

AI brand visibility auditing — how to probe AI models, score responses, detect gaps, and produce optimization blueprints. Used by the brand-analyst agent and the /kleiber-brand command.

  • Reads credentials

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. surendranb/google-search-console-mcp★ 46same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use these curl patterns for each model.

    line 50
  2. Distinctive:

    ChatGPT and Gemini: don't return structured citations, but often mention domains or URLs in their response text.

    line 120
  3. Very specific:

    Every audit appends a timestamped snapshot to docs/brand-visibility-history.json.

    line 141
  4. Distinctive:

    When previous audit data exists, the report should include a Score Trend section comparing:

    line 164
  5. Distinctive:

    After applying optimization patches (measure impact)

    line 174
  6. Distinctive:

    After every major release (new features may change AI perception)

    line 175
  7. Distinctive:

    After competitor launches (check for displacement)

    line 177
  8. Very specific:

    After initial fixes are applied, re-run /kleiber-brand every time:

    line 181
  9. Distinctive:

    No CRITICAL or HIGH priority gaps remain open

    line 194

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Kleiber Brand Visibility Skill

This skill defines the protocol for auditing and improving how AI models perceive and recommend this product.

Why This Matters

AI models are now the first point of discovery for developers evaluating tools. If ChatGPT, Gemini, or Perplexity describe your product inaccurately, don't mention it, or recommend a competitor instead — you lose users before they ever visit your site. This skill closes that gap from inside the codebase.

The Audit Cycle

Build ground truth     → Read README.md + CLAUDE.md Brand Identity block
Probe AI models        → Send 5 structured prompts per model via API
Score responses        → Apply 4-dimension rubric (Mention/Accuracy/Rank/Sentiment)
Detect gaps            → Compare AI responses to ground truth
Map competitors        → Note which competitors appear and how
Track sources          → Extract citation domains from AI responses
Produce report         → Write docs/brand-visibility-report.md
Record history         → Append scores to docs/brand-visibility-history.json
Generate blueprint     → Architect turns gaps into specific doc changes
Apply fixes            → Scribe updates README.md / CLAUDE.md / docs/
Re-audit               → Run again to confirm score improvement

Ground Truth Profile

The brand profile is the source of truth the Brand Analyst compares AI responses against. It lives in CLAUDE.md under a ## Brand Identity section. Required fields:

## Brand Identity (AI Visibility Context)

- **Product name**: [exact name as it should appear in AI answers]
- **Category**: [the tool category — e.g. "Claude Code plugin", "agent orchestration"]
- **One-line description**: [the exact sentence AI should use to describe this product]
- **Core differentiators**: [comma-separated list of features that make it unique]
- **Primary use case**: [the main job-to-be-done in one sentence]
- **Target audience**: [who uses this and why]
- **Competitors**: [comma-separated list of direct competitors]
- **Common misconceptions**: [things AI models get wrong — to watch for in probes]
- **Keywords AI should associate**: [terms, integrations, commands the product is known for]

API Call Patterns

Use these curl patterns for each model. All keys come from environment variables.

OpenAI (ChatGPT):

curl -s https://api.openai.com/v1/chat/completions \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"model\":\"gpt-4o\",\"messages\":[{\"role\":\"user\",\"content\":\"$PROBE\"}]}" \
  | jq -r '.choices[0].message.content'

Google (Gemini):

curl -s "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent?key=$GEMINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"contents\":[{\"parts\":[{\"text\":\"$PROBE\"}]}]}" \
  | jq -r '.candidates[0].content.parts[0].text'

Perplexity:

curl -s https://api.perplexity.ai/chat/completions \
  -H "Authorization: Bearer $PERPLEXITY_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"model\":\"llama-3.1-sonar-large-128k-online\",\"messages\":[{\"role\":\"user\",\"content\":\"$PROBE\"}]}" \
  | jq -r '.choices[0].message.content'

Gap Priority Levels

PriorityWhen to Use
CRITICALProduct not mentioned at all, or actively described as inferior
HIGHCompetitor recommended instead of this product
MEDIUMMissing key differentiators or inaccurate feature descriptions
LOWNeutral tone, minor inaccuracies, or missing secondary keywords

Optimization Blueprint Patterns

The Architect uses gap findings to produce specific content fixes. Common patterns:

For Displacement gaps — Add explicit category ownership statements to README.md. Example: "Kleiber is the only Claude Code plugin that provides opinionated agent team orchestration with model routing and quality gates."

For Accuracy gaps — Add a structured FAQ or "How it works" section to README.md with the exact phrasing you want AI models to absorb and repeat.

For Coverage gaps — Add a feature comparison table to README.md listing differentiators vs. named competitors.

For Category gaps — Add schema markup or a <meta> description if there's a website. In README.md, state the category explicitly in the first sentence.

For Authority gaps — Add social proof: star counts, usage examples, and named users to README.md.

Source / Domain Tracking

AI models don't generate answers in a vacuum — they draw on training data from specific domains. Tracking which domains AI models cite when discussing your product reveals where your brand signal is strongest and where it's missing.

How to Extract Sources

Perplexity returns structured citations in its API response. Parse the citations array:

curl -s https://api.perplexity.ai/chat/completions \
  -H "Authorization: Bearer $PERPLEXITY_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"model\":\"llama-3.1-sonar-large-128k-online\",\"messages\":[{\"role\":\"user\",\"content\":\"$PROBE\"}]}" \
  | jq -r '.citations[]'

ChatGPT and Gemini don't return structured citations, but often mention domains or URLs in their response text. Parse these with regex or grep for common URL patterns.

Domain Categories

TypeExamplesSignificance
UGCreddit.com, stackoverflow.com, hackernewsCommunity signal — high influence on AI training
Editorialtechradar.com, wired.com, theverge.comAuthority signal — shapes AI framing
Corporatecompetitor websites, your own siteDirect brand signal
Referencewikipedia.org, docs.*, github.comFactual grounding
Otherblogs, forums, niche sitesLong-tail influence

What to Look For

  • Your domain missing = AI models aren't drawing from your content. Fix: improve SEO, publish more on high-signal platforms.
  • Competitor domains dominating = competitors have stronger content presence. Fix: publish authoritative content on the same platforms.
  • UGC-heavy citations = community perception drives AI answers. Fix: engage in community discussions, ensure accurate community content.
  • Editorial citations = media coverage shapes AI framing. Fix: pursue coverage that uses your preferred positioning.

Historical Trend Tracking

Every audit appends a timestamped snapshot to docs/brand-visibility-history.json. This creates a time series that shows whether optimization patches are working.

History File Format

[
  {
    "date": "2026-03-01T12:00:00Z",
    "overall_score": 45,
    "models": {
      "chatgpt": { "mention": 10, "accuracy": 15, "rank": 5, "sentiment": 15, "total": 45 },
      "gemini": { "status": "not_tested" },
      "perplexity": { "mention": 10, "accuracy": 10, "rank": 5, "sentiment": 15, "total": 40 }
    },
    "gaps": { "critical": 0, "high": 2, "medium": 3, "low": 1 },
    "top_sources": ["reddit.com", "github.com", "stackoverflow.com"],
    "competitor_mentions": ["Cursor", "Aider"]
  }
]

Trend Analysis

When previous audit data exists, the report should include a Score Trend section comparing:

  • Overall score delta (improving, declining, or flat)
  • Per-model score changes
  • Gap count changes (are gaps being closed?)
  • New competitor mentions (emerging threats)
  • Source domain shifts (which domains are gaining/losing influence)

When to Re-audit

  • After applying optimization patches (measure impact)
  • After every major release (new features may change AI perception)
  • Monthly at minimum (AI models update their training data)
  • After competitor launches (check for displacement)

Drift Prevention

After initial fixes are applied, re-run /kleiber-brand every time:

  • The README.md changes significantly
  • A new version is released with new features
  • A competitor releases something that might change AI model training data

The brand-drift-check hook catches real-time doc edits that contradict the established brand profile.

Success Criteria

A brand visibility audit is successful when:

  • Overall score >= 75/100 across all tested models
  • No CRITICAL or HIGH priority gaps remain open
  • Product appears in the top 3 of category recommendation lists in at least 2 of 3 models tested
  • docs/brand-visibility-report.md is committed and up to date

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.