Competitor analysis

From sickn33/agentic-awesome-skills · View interactive version

Competitor analysis is an AI agent skill from the GitHub repository sickn33/agentic-awesome-skills. Research competitors with Browserbase discovery, enrichment lanes, screenshots, matrices, and HTML reports.

How to use this skill

Skill file

Competitor Analysis

When to Use

Use for a cited comparison of a defined company and a user-approved competitor set, with per-company research, a feature/pricing matrix, screenshots when authorized, and a local HTML/CSV report.

_Source: browserbase/skills, MIT; see LICENSE.txt. Locally revised for scope, uncertainty and file safety._

Authority, privacy and setup

Workflow

  1. Establish company URL, precise category, seed competitors, target count and depth. Reuse a dated local profile only after checking freshness. Store profiles in the workspace, outside the installed skill tree.
  2. Research the user's own product to the same evidence standard as competitors. Extract category include/exclude phrases. Confirm material ambiguities once; do not repeatedly ask for already granted authority.
  3. Discover candidates using alternatives queries, category queries and comparison-title queries. Store each search response inside this run directory. Resolve brand names to first-party sites; a guessed domain or first search hit is not identity proof.
  4. Deduplicate public candidate URLs and optionally run the category gate. PASS means lexical match, REJECT means conflicting category evidence, UNKNOWN means missing or ambiguous signal. None proves commercial competitiveness. Review all unknowns and brand matches with the user or apply an explicitly authorized selection rule; silence is not approval.
  5. Enrich only the selected set. Quick mode collects marketing/pricing; deep mode adds discussion, social and news; deeper mode adds technical benchmarks and comparison synthesis. Lane fan-out is optional. Set an aggregate call/cost limit including self-research, discovery, gating, screenshots, fact-checking and retries; stop with documented gaps when reached.
  6. Write one flat frontmatter Markdown file per company. The bundled parser supports single-line string values, not general YAML: JSON-quote values containing quotes, colons or other syntax. Keep competitor_name and public website nonempty. Use references/example-research.md for section shape. Quoted heredocs prevent shell expansion; quote every destination path too.
  7. When using partial lanes, merge them, inspect missing lanes and identity conflicts, then synthesize matrix.json. Use booleans only for supported presence/absence, and null or omission for unknown cells. Not mentioned is unknown, never false. Attach sources, observation dates and scope to factual claims; negative claims need affirmative evidence, not an unsuccessful search.
  8. Fact-check all claims used in the summary, compliance/license/SLA statements and material prices. A spot-check is partial coverage, not a fully verified matrix. Do not assume common API/SDK features without evidence. Budget-exhausted cells remain unknown; never manufacture exclusivity or a moat.
  9. Optionally synthesize battle cards from the reviewed evidence, including fair competitor strengths and uncertainty. Omit unsupported quotas, objections and comparative claims. No outreach is authorized by this report.
  10. If screenshots are within the approved browser/provider scope, capture public homepages using a dedicated session. The script requires --allow-browser, rejects cross-host redirects and reports partial failure. Do not bypass bot challenges. A screenshot documents appearance at capture time, not product capability.
  11. Compile and inspect the local output. Separate marketing claims, snippets, independent findings, synthetic examples and measured benchmark results. Include coverage, missing evidence, observed dates and failures. Open or share only when requested; report generation does not authorize publication.

Local commands

Replace placeholders with quoted literal paths inside the private run directory. These helpers use Node built-ins and require no extra npm dependencies. Network helpers additionally need the separately approved browse executable.

node "{SKILL_DIR}/scripts/list_urls.mjs" "{RUN_DIR}" --prefix competitor
node "{SKILL_DIR}/scripts/extract_vs_names.mjs" "{RUN_DIR}" --prefix competitor
node "{SKILL_DIR}/scripts/gate_candidates.mjs" --input "{RUN_DIR}/candidates.txt" --include "category phrase" --exclude "other category" --concurrency 4
node "{SKILL_DIR}/scripts/merge_partials.mjs" "{RUN_DIR}"
node "{SKILL_DIR}/scripts/compile_report.mjs" "{RUN_DIR}" --user-company "Company"

The gate performs remote requests: run it only after the provider/target budget is authorized. Redirects are disabled in the gate; revalidate a changed destination explicitly. For authorized screenshots:

node "{SKILL_DIR}/scripts/capture_screenshots.mjs" "{RUN_DIR}" --mode remote --allow-browser

Compilation writes index.html, matrix.html, mentions.html, results.csv and competitors/*.html inside the selected directory. These are owned run artifacts and may be replaced on a rerun; preserve a previous result before using the same directory. Custom HTML templates are trusted executable presentation content: inspect them before opening output. Static font links can contact Google when reports are viewed; remove them for an offline/private deliverable.

Evidence and report checks

References

Limitations

The helpers use a deliberately limited Markdown/string parser, lexical URL screening and nontransactional local output writes. They do not provide a sandbox, DNS/redirect security, source verification or a guarantee of complete discovery. Partial research cannot establish absence, market-wide uniqueness, legal compliance or benchmark superiority. Browser screenshots and report visuals require inspection in the target environment; remote workflows and paid services are not exercised by static review.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.