AGENT SKILL

add-competitor

Add a new competitor to the AI Visibility Tool Directory — researches the tool, generates data, takes a screenshot, and inserts into the codebase

License 许可
MIT
所属仓库
EthanYoQ/Skill-hub
最近更新
2026-11-07
Stars
★ 11
Forks
5

01 前言 Front Matter

name
add-competitor
description
Add a new competitor to the AI Visibility Tool Directory — researches the tool, generates data, takes a screenshot, and inserts into the codebase
argument-hint
<url>

03 SKILL.md 正文

Add a new competitor to the AI visibility tool directory at apps/www/src/lib/competitors/data.ts.

The user will provide a URL. Follow these steps:

Important: Write objective, factual descriptions. Do not use marketing language, exaggerations, or the competitor's own promotional claims at face value. Describe what the tool does and how it works in neutral terms. Avoid superlatives like "industry-leading", "best-in-class", "revolutionary", etc. Stick to verifiable facts — features offered, platforms tracked, pricing tiers. Highlights should be factual differentiators, not praise.

1. Research the competitor

Use WebFetch to read the competitor's website at $ARGUMENTS. Gather:

  • Product name
  • Domain
  • What the tool does (tagline + longer description)
  • Which category it fits: tracking, content, api-developer, ecommerce, seo-traditional, open-source, or other
  • Pricing info (free tier? starting price? enterprise?)
  • Status: active, shutting-down, acquired, or beta
  • 3 highlights (short bullet points about what makes it notable)

2. Determine feature flags

Read the feature definitions in apps/www/src/lib/competitors/types.ts (the FEATURE_CATEGORIES constant). Based on your research, determine which features the competitor supports. Set each to true or omit it (defaults to false). The features are:

  • multiLlmTracking — tracks across multiple AI platforms (ChatGPT, Claude, Gemini, etc.)
  • visibilityScore — provides an aggregate AI visibility score
  • citationAnalytics — tracks citation sources in AI responses
  • competitorBenchmarking — compare visibility against competitors
  • brandMentionTracking — monitor brand mentions in AI responses
  • promptVolumeEstimates — estimated search/prompt volumes
  • sentimentAnalysis — brand sentiment in AI responses
  • crawlerAnalytics — track AI bot visits to your site
  • geographicTracking — visibility by region/country
  • socialMediaTracking — Reddit and social platform monitoring
  • shoppingTracking — product visibility in AI shopping
  • multiLanguage — multi-language support
  • actionRecommendations — prioritized action items
  • contentGapAnalysis — detect content gaps vs competitors
  • siteAudits — AI site readiness audits
  • keywordResearch — AI keyword/prompt discovery
  • emailAlerts — automated alerts
  • dataExportApi — CSV export or API access
  • biConnectors — Looker Studio, NinjaCat, etc.
  • whiteLabelAgency — white-label or agency features
  • openSource — source code available
  • contentGeneration — AI content creation

Be conservative — only mark features as true if you can confirm them from the website.

3. Fetch the domain rating

Extract the domain from the URL (e.g. https://www.example.com/foo → example.com). Then run:

cd apps/www && node scripts/fetch-domain-rating.mjs "<domain>"

This returns JSON with ahrefsDR, from Ahrefs' free public API (no API key required). Use it for the competitor entry.

4. Generate the slug

Create a URL-friendly slug from the product name (lowercase, hyphens, no special chars). For example: "Otterly.ai" → "otterly", "SE Ranking" → "se-ranking".

5. Take the screenshot and upload

Run the screenshot script:

cd apps/www && node scripts/screenshot-competitor.mjs "<slug>" "<url>"

This requires SCREENSHOT_ONE_ACCESS_KEY and BLOB_READ_WRITE_TOKEN in apps/www/.env.

If the script fails, inform the user and continue with the data entry — the screenshot can be added later.

Verify the capture — don't trust it blindly. ScreenshotOne uploads whatever the site serves, and sites with bot protection (Cloudflare, etc.) frequently return a captcha or block page to the headless browser, which then gets stored as the "screenshot." After a successful upload, download the blob URL the script printed and actually view the image:

curl -s -o /tmp/<slug>.jpg "<blob URL printed by the script>"

Open /tmp/<slug>.jpg and confirm it's genuinely the competitor's homepage/product — not a bot challenge ("Checking your browser…", "Select all squares with…", "verify you are human"), an access-denied / 403 page, or a blank/error page. If it's a challenge or error page, do NOT keep it: tell the user automated capture was blocked and ask them to send a real screenshot to upload manually (the script sets allowOverwrite: true, so re-uploading replaces the bad image).

6. Insert into data.ts

Read apps/www/src/lib/competitors/data.ts and insert the new Competitor object into the competitors array (position in this array doesn't matter for display order).

Use the same code style as the existing entries. Example entry:

{
    slug: "example-tool",
    name: "Example Tool",
    domain: "example.com",
    url: "https://example.com",
    tagline: "Short one-line description of what they do",
    description:
        "Longer 2-3 sentence description of the tool, its approach, and what makes it notable.",
    category: "tracking",
    ahrefsDR: 55,
    status: "active",
    features: {
        multiLlmTracking: true,
        visibilityScore: true,
        citationAnalytics: true,
    },
    pricing: { hasFree: true, startingPrice: "$49/mo", hasEnterprise: false },
    highlights: [
        "First highlight",
        "Second highlight",
        "Third highlight",
    ],
},

7. Add to AEO popularity ranking

In the same file (data.ts), find the aeoPopularityRanking array. This is a hardcoded list of slugs ordered from most popular to least popular as an AEO tool specifically. It determines both the display order in the directory and the A–F popularity grade.

Insert the new tool's slug at the appropriate position based on these criteria (in priority order):

  1. Is AI visibility / AEO the tool's PRIMARY product? Pure AEO trackers rank above SEO suites or content platforms that bolted on AEO features.
  2. Market traction as an AEO tool — funding rounds, notable enterprise customers, press coverage (Fortune, WSJ, TechCrunch, etc.), user counts, industry recognition (G2, Gartner, etc.).
  3. Feature depth in core AEO capabilities — multi-LLM tracking, visibility scores, citation analytics, competitor benchmarking, brand mention tracking.
  4. General web authority (DR/traffic) is a minor tiebreaker only — a DR 90 SEO suite with a small AEO add-on should NOT outrank a DR 50 dedicated AEO tracker.

The tiers in the ranking are:

  • Tier A (top ~8%): Well-known, established AEO-focused tools with real traction
  • Tier B (next ~13%): Known/growing AEO tools
  • Tier C (next ~22%): Niche/emerging AEO tools with some traction
  • Tier D (next ~27%): Early/small AEO tools
  • Tier F (rest): Very new or minimal traction

If the tool is a large platform where AI visibility is NOT the primary product (e.g., a traditional SEO suite, analytics platform, or content tool that added AEO as a secondary feature), do NOT add it to aeoPopularityRanking. Instead, add its slug to the aeoNotApplicable set. These tools get an "N/A" grade and sort to the bottom of the directory.

Look at the tools already in each tier to calibrate where the new tool belongs. Insert the slug with a short comment explaining the placement.

8. Verify

Run TypeScript type checking to make sure the entry compiles:

pnpm exec tsc --noEmit

9. Summary

After completing all steps, tell the user:

  • The competitor name and slug
  • The category and ahrefsDR
  • Which features you marked as true
  • Whether the screenshot uploaded successfully
  • The URL where the comparison page will be: /ai-visibility-tools/elmo-vs-<slug>

04 同仓库更多 Skills

EthanYoQ
EthanYoQ/Skill-hub

xhs-pharma-social-listening

Run evidence-disciplined Xiaohongshu social listening for foreign pharma employee pain points. Use when the user asks to collect and analyze notes/comments about pharma companies, aliases, roles, compliance, medical affairs, or AI topics, then produce a cited and scored sampled-insight report. Includes independent-evidence counting, MediaCrawler batch collection, and CAPTCHA/461 fallback to Agent Reach/OpenCLI.

★ 11
EthanYoQ
EthanYoQ/Skill-hub

healthcare-phi-compliance

Protected Health Information (PHI) and Personally Identifiable Information (PII) compliance patterns for healthcare applications. Covers data classification, access control, audit trails, encryption, and common leak vectors. Use when code touches PHI or PII in a healthcare system, or when auditing access control, audit trails, or leak vectors.

★ 11
EthanYoQ
EthanYoQ/Skill-hub

healthcare-eval-harness

Patient safety evaluation harness for healthcare application deployments. Automated test suites for CDSS accuracy, PHI exposure, clinical workflow integrity, and integration compliance. Blocks deployments on safety failures. Use when a healthcare deployment must be gated on patient-safety tests for CDSS accuracy, PHI exposure, and workflow integrity.

★ 11
EthanYoQ
EthanYoQ/Skill-hub

healthcare-emr-patterns

EMR/EHR development patterns for healthcare applications. Clinical safety, encounter workflows, prescription generation, clinical decision support integration, and accessibility-first UI for medical data entry. Use when building EMR or EHR features such as encounter workflows, prescription generation, or clinical data entry UI.

★ 11
EthanYoQ
EthanYoQ/Skill-hub

healthcare-cdss-patterns

Clinical Decision Support System (CDSS) development patterns. Drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), alert severity classification, and integration into EMR workflows. Use when building clinical decision support — drug interaction checks, dose validation, clinical scoring, or alert severity.

★ 11
EthanYoQ
EthanYoQ/Skill-hub

dxy-task-clarify

用户的请求含糊、缺背景、缺资料说明、缺读者或用途时使用。先用少量带选项的追问把任务问清楚,写成任务卡,用户确认后再执行。尤其适用于医生、科研人员和药企各岗位的工作,例如「帮我分析一下这些数据」「帮我准备明天的拜访」「写个总结」「做个 PPT」「回一下这封邮件」「整理一下会议纪要」「整理一下这些文献」「帮我准备下周的讲课」「写个病例汇报」「帮我写个提示词」。用户说「先问我」「帮我理清需求」「我不知道怎么描述」「我不会问 AI」时也使用。用途、资料、读者都已说清的请求,纯翻译,以及写代码、改代码,不使用。

★ 11