New to Claude Skills? Learn how to install them →

daymade on GitHub

Competitors Analysis

Free

Gain insights into competitor repositories with precision.

Get this skill

Free · Opens the source repo

What Competitors Analysis does

The Competitors Analysis skill enables developers and designers to gather, analyze, and synthesize competitive intelligence from repositories. By cloning and updating competitor code, users can extract concrete evidence from actual files and commits, ensuring that their analysis is grounded in verifiable data. This skill is particularly useful for tracking competitors, reviewing their source code, and understanding their product positioning in the market.

This skill operates in two main layers: repository evidence and landscape synthesis. The repository evidence layer focuses on cloning or updating competitor repositories and citing facts directly from the code. This ensures that every technical claim made about a competitor is backed by specific file and line references, enhancing the reliability of the analysis. The landscape synthesis layer allows users to summarize key aspects such as pricing, strengths, weaknesses, and opportunities, separating sourced facts from subjective judgments.

The skill is designed for users who need to conduct thorough competitor analysis, whether for strategic planning, product development, or market research. It provides a structured approach to gathering data, ensuring that users can build a comprehensive picture of the competitive landscape. The durable workspace layout and evidence rules further support the integrity of the findings, making it easier to audit and share insights with stakeholders.

Overall, this skill is a valuable tool for anyone looking to deepen their understanding of the competition and make informed decisions based on solid evidence rather than speculation. It is particularly beneficial for product managers, developers, and strategists who need to stay ahead in a competitive environment.

When to use it

Use this skill when you need to analyze competitor repositories, track changes in their code, or synthesize a competitive landscape for strategic planning.

When not to use it

This skill may not be suitable for quick, superficial competitor scans where detailed analysis is not required.

What you can build with it

Tracking Competitor Changes

Regularly update and analyze competitor repositories to stay informed about their latest code changes and product developments.

Building a Competitor Landscape

Create a comprehensive landscape summary that highlights strengths, weaknesses, and opportunities in the competitive market.

In-Depth Technical Reviews

Conduct detailed technical reviews of competitor code to identify potential gaps and areas for improvement in your own product.

How to install Competitors Analysis

View source

1. Install with the skills CLI

npx skills add daymade/claude-code-skills/competitors-analysis --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by daymade

Competitors Analysis

Build competitor intelligence that can be shared, re-run, and audited later. This skill has two layers:

  1. Repository evidence: clone or update the competitor code under the durable competitors workspace, then cite facts from actual files and commits.
  2. Landscape synthesis: summarize positioning, pricing, strengths, weaknesses, gaps, and opportunities, but only after separating sourced facts from judgment.

This skill intentionally subsumes lightweight "competitor scan" workflows. A scan is useful for the landscape table, but it is not enough for technical conclusions.

Entry Router

If the user's request is missing the product/market or target customer segment, ask for that context before synthesizing positioning or opportunity claims. Known competitors are optional; if absent, use Discover mode.

Use the user's wording to choose the path:

User intentModeWhat to do
"find competitors", "竞品有哪些", broad market queryDiscoverSearch GitHub and web sources, shortlist candidates, clone only relevant repositories
"add competitor <url>"IngestClone the repository, record remote + commit, then produce a first profile
"analyze competitor", "review this repo"ProfileUpdate or clone locally, read code, write a cited technical profile
"compare", "landscape", "opportunities"LandscapeEnsure each competitor has a profile, then synthesize gaps and opportunities
"latest code", "有没有更新"UpdatePull/fetch existing competitors and report changed commits before analysis

Durable Source Layout

Use a durable workspace, not /tmp. The default base is:

COMPETITORS_BASE="${COMPETITORS_BASE:-$HOME/workspace/competitors}"

Directory convention:

$COMPETITORS_BASE/
└── {product-slug}/
    ├── {owner-repo}/
    └── ...

Use owner-repo for GitHub repositories so forks and similarly named projects do not collide. If the user's machine already has a product directory, use it as the source of truth and do not re-clone elsewhere.

Preflight

Before analysis, establish these facts from commands, not memory:

repo="$COMPETITORS_BASE/{product-slug}/{owner-repo}"
test -d "$repo/.git"
git -C "$repo" remote -v
git -C "$repo" fetch --all --prune
git -C "$repo" log -1 --format='%H%x09%cI%x09%s'

If the repository is missing, clone it first. Prefer SSH for GitHub when possible:

mkdir -p "$COMPETITORS_BASE/{product-slug}"
git clone --depth 1 <git-ssh-url> "$COMPETITORS_BASE/{product-slug}/{owner-repo}"

If SSH fails for a public repository, report the failure and retry with the repository's HTTPS URL only when that keeps the work moving.

Discovery Workflow

Use gh search repos for GitHub repository discovery. Search multiple query phrases; do not trust one keyword.

gh search repos "product keywords" \
  --limit 30 \
  --archived=false \
  --json fullName,url,description,stargazersCount,forksCount,openIssuesCount,language,pushedAt,updatedAt,defaultBranch

For each candidate, record:

FieldSource
Repository name and URLgh search repos / gh repo view
DescriptionGitHub API or README line citation after clone
ActivitypushedAt, latest commit, release notes if present
Stars/forks/issuesGitHub API with retrieval date
Why it is relevantuser's product scope + repository evidence

Clone only candidates that are relevant to the user's product or analysis goal. For broad markets, first present a shortlist with evidence and then analyze the strongest set.

Repository Fact Gathering

Read files in this order and capture exact sources:

  1. Project metadata: package.json, pyproject.toml, Cargo.toml, go.mod, or equivalent.
  2. README and docs: positioning, screenshots, installation, pricing links.
  3. Entry points: main, bin, scripts, src/, app/, packages/.
  4. Core implementation: renderer, parser, storage, export, sync, auth, API, or domain-specific modules.
  5. Tests and fixtures: they often reveal supported data structures and edge cases.
  6. Releases/changelog: current direction and recent changes.

Use nl -ba <file> or an editor with line numbers before citing. Every technical claim about implementation needs file:line evidence.

Report Structure

For a single competitor, use references/profile_template.md.

For a landscape summary, use this structure:

# {Product} Competitor Landscape

## Source Register
| Competitor | Local path | Remote | Commit | Retrieved |
|---|---|---|---|---|

## Positioning
| Competitor | User segment | Primary promise | Source |
|---|---|---|---|

## Product And Technical Comparison
| Dimension | Competitor A | Source | Competitor B | Source | Our product | Source |
|---|---|---|---|---|---|---|

## Strengths
| Competitor | Strength | Evidence | Why it matters |
|---|---|---|---|

## Weaknesses And Gaps
| Competitor | Gap | Evidence | Opportunity |
|---|---|---|---|

## Opportunities
| Opportunity | Evidence base | Product implication | Confidence |
|---|---|---|---|

## Risks And Assumptions
| Item | What is known | What still needs verification | Next check |
|---|---|---|---|

Evidence Rules

Required

Claim typeRequired evidence
Dependency/framework/versionConfig file line citation
Feature supportREADME/docs line citation plus code citation when technical
Parser/export/storage behaviorCode line citation
Pricing/cloud-hosted claimOfficial page citation with retrieval date
Popularity/activityGitHub API/page citation with retrieval date
Opportunity judgmentEvidence rows it derives from plus explicit confidence

Forbidden

Do not write unsupported technical claims. Avoid these patterns unless they appear inside an explicit "bad example" block:

PatternWhy
"推测", "可能", "应该", "大概", "似乎"Blurs evidence and judgment
"未公开", "未披露"Pretends to know disclosure status
"architecture, inferred from UI"Technical architecture must come from code
Unsourced numbersCannot be audited later

When evidence is unavailable, write 待验证 and state the exact next check that would verify it.

Output Quality Bar

Before finishing, run the checks in references/analysis_checklist.md:

  • Local repository exists under $COMPETITORS_BASE/{product-slug}/.
  • Remote URL and latest commit are recorded.
  • Each technical claim has a file:line citation.
  • Market facts have a source and retrieval date.
  • Landscape judgments are separated from facts.
  • The final answer names gaps, opportunities, and risks without pretending they are code facts.

Script

Use scripts/update-competitors.sh as the starting point for durable competitor repository management:

COMPETITORS_BASE="$HOME/workspace/competitors" \
PRODUCT_NAME="{product-slug}" \
./scripts/update-competitors.sh status

./scripts/update-competitors.sh discover "claude code viewer"
./scripts/update-competitors.sh clone-url https://github.com/org/repo
./scripts/update-competitors.sh pull

The script is a template. For a long-running product, copy it into that product's own repo or operations directory and fill the persistent competitor list.

Relationship To Product Analysis

product-analysis may invoke this skill for compare mode. Keep this skill focused on competitor discovery, repository evidence, and competitive synthesis. Do not turn it into a general product audit orchestrator.

Frequently asked questions about Competitors Analysis

Similar skills