Agent skill

Swot Analysis

by borghei in borghei/Claude-Skills

SWOT analysis (Strengths, Weaknesses, Opportunities, Threats) for strategic positioning.

MITAuto-check passedBusiness, Finance & HR

Install Swot Analysis

skills CLI
$ npx skills add borghei/Claude-Skills --skill swot-analysis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install borghei/Claude-Skills swot-analysis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/borghei/Claude-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/project-management/strategy-frameworks/swot-analysis .claude/skills/swot-analysis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
swot-analysis
GitHub stars
881
Token cost
~1.8k tokens
SKILL.md length
846 words
Files
5 (incl. scripts, references, assets)
Skills in repo
349
Repo updated
First seen
Licence
MIT

At a glance

SWOT analysis (Strengths, Weaknesses, Opportunities, Threats) for strategic positioning.

  • Works in 7 steps: Define the scope → Strengths (with evidence) → Weaknesses (with honesty) → …
  • Assessing a new market entry
  • SKILL.md covers When to use this skill, The 2x2, Clarify First and Workflow, plus 5 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Swot Analysis is an agent skill from borghei/Claude-Skills. SWOT analysis (Strengths, Weaknesses, Opportunities, Threats) for strategic positioning. Use when assessing a new market entry, a strategic pivot, a competitive response, an org restructure, or as input to annual strategic planning.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts, reference files and assets (for example `assets/swot_template.md`, `references/swot-anti-patterns.md` and `references/swot-framework.md`).

It sits in Business, Finance & HR, covering Startup and business strategy. The repository describes itself as: 385 AI skills, 77 expert agents, and 900 stdlib Python tools for every team: engineering, PM, marketing, C-level, compliance, business ops, research, and a LinkedIn toolkit… The licence is MIT.

When your agent uses it

  • Assessing a new market entry
  • A strategic pivot
  • A competitive response
  • An org restructure

Example prompts

  • “/swot-analysis”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Define the scope
  2. Strengths (with evidence)
  3. Weaknesses (with honesty)
  4. Opportunities (with sizing)
  5. Threats (with severity)
  6. TOWS matrix (cross-cuts)
  7. Run swot_scorer.py

What it can do on your machine

Read from SKILL.md and the folder at commit 4a698e8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Swot Analysis loads about 1.8k tokens when it runs, and up to ~4.7k if it reads all its reference files. Until then it costs about 62 tokens; SKILL.md has 846 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~62
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from borghei/Claude-Skills at commit 4a698e8, republished under its MIT licence (© borghei). 846 words, ~1,839 tokens.

Download SKILL.mdSave it as .claude/skills/swot-analysis/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
swot-analysis
description
SWOT analysis (Strengths, Weaknesses, Opportunities, Threats) for strategic positioning. Use when assessing a new market entry, a strategic pivot, a competitive response, an org restructure, or as input to annual strategic planning.
license
MIT + Commons Clause
metadata.version
1.0.0
metadata.author
borghei
metadata.category
project-management
metadata.domain
strategy-frameworks
metadata.updated
2026-05-27
metadata.python-tools
swot_scorer.py
metadata.tech-stack
swot-analysis, strategic-positioning, situation-analysis

SWOT Analysis

A grounded, evidence-backed SWOT — not the bullet-point ceremony most people perform at the start of a planning offsite.

When to use this skill

  • Annual strategic planning input
  • New market entry assessment
  • Pivot conversations
  • Competitive response decisions
  • Org restructure evaluation
  • Pre-board strategic review
  • Pre-fundraise investor narrative grounding

The 2x2

HelpfulHarmful
InternalStrengthsWeaknesses
ExternalOpportunitiesThreats

Internal = within our control (people, IP, ops, brand, capital). External = outside our control (market, competition, regulation, tech shifts).

The single most-common SWOT failure: confusing internal with external.

Clarify First

Before building the SWOT, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • Explicit scope/subject — e.g. "entering market X" or "our position vs Competitor X" (a SWOT for "the company" produces four lists pointing in four directions)
  • Evidence per item — the data/quote/benchmark behind each entry (strengths must be facts, not aspirations; a SWOT with no real weaknesses signals bias)
  • Competitor/market reference frame — what you're comparing against (strengths and threats are relative, not absolute)
  • TOWS actions wanted — whether to cross-cut into SO/ST/WO/WT moves (converts the static SWOT into strategy rather than a wall of bullets)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Workflow

Step 1 — Define the scope

A SWOT must have an explicit subject:

  • "Acme entering the European market"
  • "Our enterprise sales motion vs SMB"
  • "Our position vs Competitor X in vertical Y"

A SWOT without scope produces 4 lists of bullets that point in 4 directions.

Step 2 — Strengths (with evidence)

For each strength:

  • What is it specifically?
  • What's the evidence (data, customer quote, benchmark)?
  • How does it compare to competitors?
  • Does the market actually care?

A strength no customer cares about isn't a strength.

Step 3 — Weaknesses (with honesty)

For each weakness:

  • What is it specifically?
  • What's the evidence?
  • Are we fixing it? Why or why not?
  • What's the cost of leaving it?

A SWOT with no real weaknesses signals bias or low candor.

Step 4 — Opportunities (with sizing)

For each opportunity:

  • What's the trigger / shift creating this opportunity?
  • What's the size (TAM/SAM/SOM if quantifiable)?
  • What's the time window?
  • What's our right to win?

"AI is hot" is not an opportunity. "Regulated industries replacing manual GDPR processes — $8B SAM, 36-month window" is.

Step 5 — Threats (with severity)

For each threat:

  • What is it specifically?
  • How likely (1-5)?
  • How severe if realized (1-5)?
  • What can we do to mitigate?
Step 6 — TOWS matrix (cross-cuts)

The most-valuable post-SWOT step:

OpportunitiesThreats
StrengthsSO: leverage strength to capture opportunityST: leverage strength to defend against threat
WeaknessesWO: address weakness to capture opportunityWT: minimize weakness to avoid threat

This converts a static SWOT into strategic actions.

Step 7 — Run swot_scorer.py

Audit for: generic items, missing evidence, internal/external misclassification, no quantification, no TOWS actions, one-sided SWOT.

bash
python3 project-management/strategy-frameworks/swot-analysis/scripts/swot_scorer.py \
  --input swot.json --format markdown

Decision frameworks

Show full SKILL.md (366 more words)Show less
Internal vs external — the test

If the item depends on something we own (people, money, tech, brand, process, IP) → internal.

If the item depends on something we don't own (market, customers, competitors, regulators, technology trends) → external.

Common miscategorizations:

  • "Strong brand recognition in segment X" — internal (we own it)
  • "Customers love our brand" — external (customer behavior)
  • "Strong eng team" — internal
  • "Hard to recruit eng talent" — external
  • "Our cloud bill is high" — internal
  • "Cloud prices rising" — external
When to do a SWOT vs other frameworks
Use SWOTUse other
Broad strategic positioningIndustry analysis → Porter's Five Forces
Multi-stakeholder alignmentMacro environment → PESTLE
Annual planning inputGrowth options → Ansoff Matrix
New market entry overviewBusiness model design → BMC / Lean Canvas

SWOT is breadth. Other frameworks add depth on specific dimensions.

From SWOT to strategy

A SWOT alone isn't a strategy. It's input. Strategy comes from:

  1. SWOT → identifies positioning realities
  2. TOWS → identifies strategic options
  3. Prioritization → which 2-3 options to pursue
  4. Resourcing → what we'll fund + give up
  5. KPIs → how we'll know it worked

Skipping any step produces a wall of analysis without action.

Common engagements

"Run a SWOT for entering market X"
  1. Scope: explicitly "entering market X."
  2. List internal capabilities relevant to that market (Strengths, Weaknesses).
  3. List external factors specific to market X (Opportunities, Threats).
  4. Score evidence + materiality per item.
  5. Run TOWS.
  6. Recommend 2-3 strategic moves.
"Audit our existing SWOT"
  1. Pull current SWOT.
  2. Run swot_scorer.py for generic/ungrounded/miscategorized items.
  3. Surface bias: too many strengths, no real weaknesses, vague opportunities.
  4. Add TOWS if missing.

Anti-patterns to avoid

  • No explicit scope. SWOT for "the company" = SWOT for nothing.
  • Generic items. "Great team, great product, growing market, competitors."
  • Strengths = aspirations. What you wish were true, not what is.
  • No weaknesses. Either bias or low candor.
  • Opportunities = topics, not options. "AI" isn't an opportunity.
  • Threats = abstract anxieties. Quantify likelihood + severity.
  • No TOWS. SWOT without TOWS is just a wall.
  • Internal/external confusion. Common; check every item.
  • SWOT replaces strategy. SWOT is input, not output.

References

  • references/swot-framework.md — categorization, evidence standards, TOWS
  • references/swot-anti-patterns.md — common failures + worked fixes
  • project-management/strategy-frameworks/porters-five-forces — competitive dynamics
  • project-management/strategy-frameworks/ansoff-matrix — growth options
  • project-management/strategy-frameworks/business-model-canvas — operational view
  • project-management/strategy-frameworks/lean-canvas — startup view
  • c-level-advisor/ceo-advisor — strategic context

© borghei, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references, assets) in project-management/strategy-frameworks/swot-analysis of borghei/Claude-Skills.

  • SKILL.md
  • assets/swot_template.md
  • references/swot-anti-patterns.md
  • references/swot-framework.md
  • scripts/swot_scorer.py

Open the folder on GitHubat commit 4a698e8

Compare with similar skills

Swot Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Swot Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Swot Analysis this skillborghei/Claude-Skills881—~1.8kAutomated safety check: PassMIT
Startup Pressure TestKappaemme-git/codex-startup-pressure-test-skill991—~1.2kAutomated safety check: PassMIT
Zhang Yiming Perspectivealchaincyf/zhang-yiming-skill1732 repos~3.2kAutomated safety check: PassMIT
PESTEL Macro Analysisdeanpeters/Product-Manager-Skills7.2k2 repos~3.6kAutomated safety check: PassCustom licence
Korean Government Grant Searchdjfksjd/ir-search392—~3.5kAutomated safety check: NotesMIT
Mao Zedong Thinking Partnerzhangtianruiwork-droid/Maoxuan-Changzheng437—~2.9kAutomated safety check: PassNone

Similar skills

  • Startup Pressure Test

    Kappaemme-git/codex-startup-pressure-test-skill

    Pressure-tests a startup idea with blunt, compact analysis of problem reality, competition, first customers and MVP, ending in a strong, weak or pivot verdict.

    991 GitHub stars~1.2k tokensUpdated 5 mo ago
    Business, Finance & HRAuto-check passed
  • Zhang Yiming Perspective

    alchaincyf/zhang-yiming-skill

    Answers product, organization, globalization, talent and growth questions in the voice of ByteDance founder Zhang Yiming, using a framework built from public material.

    173 GitHub starsUsed in 2 repos~3.2k tokens
    Business, Finance & HRAuto-check passed
  • PESTEL Macro Analysis

    deanpeters/Product-Manager-Skills

    Scans political, economic, social, technological, environmental, and legal forces that could threaten or favor a product strategy.

    7.2k GitHub starsUsed in 2 repos~3.6k tokens
    Business, Finance & HRAuto-check passed
  • Surveys open Korean government startup and R&D support programs and sorts them by fit with your project, checking eligibility against the original notices.

    392 GitHub stars~3.5k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check: notes
  • Mao Zedong Thinking Partner

    zhangtianruiwork-droid/Maoxuan-Changzheng

    Chinese-language persona skill that analyzes your problem with a Mao Zedong-style method: investigate first, locate the main contradiction, then probe with questions.

    437 GitHub stars~2.9k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed
  • Constraint Engine

    lijigang/ljg-skills

    Finds the handful of constraints that truly define a domain, role, product or debate, grades each by hardness, and explains the behavior those constraints produce.

    7.5k GitHub stars~2.1k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed

More from borghei/Claude-Skills

All 349 skills in this repo
  • Agents In The Team

    borghei/Claude-Skills

    Run delivery when AI coding and ops agents take tickets. An agent skill from borghei/Claude-Skills.

    881 GitHub stars~4.2k tokensUpdated today
    Auto-check passed
  • AI Content Disclosure

    borghei/Claude-Skills

    Check AI-generated marketing content and reviews for required disclosures under the EU AI Act, FTC rules and platform AI-label policies.

    881 GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • AI Prototyping

    borghei/Claude-Skills

    Idea to AI-generated prototype to customer validation to engineering handoff.

    881 GitHub stars~3.6k tokensUpdated today
    Auto-check passed
  • Analytics Engineer

    borghei/Claude-Skills

    Analytics engineering across data modeling, dbt, transformation, and semantic layers.

    881 GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • Ansoff Matrix

    borghei/Claude-Skills

    Ansoff Matrix — 4-quadrant framework for growth options: market penetration, market/product development, and diversification.

    881 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Brainstorm Okrs

    borghei/Claude-Skills

    OKR brainstorming and validation using the Radical Focus framework — outcome objectives, measurable key results, counter-metrics.

    881 GitHub stars~1.4k tokensUpdated today
    Auto-check passed

Questions about Swot Analysis

What does Swot Analysis do?

SWOT analysis (Strengths, Weaknesses, Opportunities, Threats) for strategic positioning. Swot Analysis is an agent skill from borghei/Claude-Skills. SWOT analysis (Strengths, Weaknesses, Opportunities, Threats) for strategic positioning.

When should I use Swot Analysis?

Swot Analysis fits situations like: assessing a new market entry; A strategic pivot; A competitive response; an org restructure.

How do I install Swot Analysis in Claude Code?

Run `npx skills add borghei/Claude-Skills --skill swot-analysis -a claude-code`. Or copy the skill folder (project-management/strategy-frameworks/swot-analysis in borghei/Claude-Skills) into .claude/skills/swot-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Swot Analysis in Codex?

Run `npx skills add borghei/Claude-Skills --skill swot-analysis -a codex`. Or copy the skill folder (project-management/strategy-frameworks/swot-analysis in borghei/Claude-Skills) into .agents/skills/swot-analysis in your project. Codex loads it when a task matches its description.

Can I use Swot Analysis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add borghei/Claude-Skills --skill swot-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/swot-analysis, .gemini/skills/swot-analysis, .github/skills/swot-analysis and .opencode/skills/swot-analysis in your project.

What does Swot Analysis need to run?

Going by SKILL.md and its folder, Swot Analysis needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Swot Analysis access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Swot Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Swot Analysis use?

Swot Analysis is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Swot Analysis use?

About 1.8k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.8k tokens, read only when the agent opens those files.

What are the alternatives to Swot Analysis?

Skills that share tags, products or a category with Swot Analysis: Startup Pressure Test (Kappaemme-git/codex-startup-pressure-test-skill, 991 stars), Zhang Yiming Perspective (alchaincyf/zhang-yiming-skill, 173 stars), PESTEL Macro Analysis (deanpeters/Product-Manager-Skills, 7.2k stars) and Korean Government Grant Search (djfksjd/ir-search, 392 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Swot Analysis?

borghei (a GitHub user) maintains it in borghei/Claude-Skills, which has 881 GitHub stars. The repository holds 349 skills in this directory. The repository was last updated on October 7, 2026.

Source: borghei/Claude-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.