Skip to main content
command CX Codex

swot — Claude Code command: SWOT analysis and setup

The swot command maps strengths, weaknesses, opportunities, and threats for a project, decision, or position, then turns the findings into strategy.

MIT ★ 1,988 updated 2026-04-01

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add glittercowboy/taches-cc-resources
/plugin install taches-cc-resources@taches-cc-resources
Open on GitHub

What swot does

swot applies a SWOT review to the subject in the prompt or to the active discussion when no subject is supplied. It sorts internal factors into strengths and weaknesses, while external conditions become opportunities and threats.

The command then connects the four sections to practical moves: use an advantage to pursue an opportunity, fix a weakness, answer a threat, or reduce exposure where both risks meet. Its output names the subject, lists each factor with a response, and adds SO, WO, ST, and WT strategies. A blank invocation uses the current discussion, so that discussion needs to contain the material you want assessed.

What it helps with

  • assess a project before choosing a strategy
  • separate controllable advantages from outside conditions
  • surface threats around a decision or position
  • turn weaknesses into mitigation steps
  • connect SWOT factors to SO, WO, ST, and WT moves

Example prompts for the agent

  • Run /swot on the current discussion and identify its main risks.
  • Use /swot for a database migration project.
  • Apply /swot to a choice between two architectures.

How to install swot

1Plugin marketplace

/plugin marketplace add glittercowboy/taches-cc-resources
/plugin install taches-cc-resources@taches-cc-resources

2Manually: put the files in place

.claude/commands/swot.md

Call it with /swot. For all projects use ~/.claude/commands/

Questions about swot

How do I install swot in Claude Code?

In Claude Code, run /plugin marketplace add glittercowboy/taches-cc-resources, then /plugin install taches-cc-resources@taches-cc-resources. The command file is .claude/commands/swot.md.

What does swot do?

It reviews a project, decision, or position through internal strengths and weaknesses plus external opportunities and threats. It then proposes strategy moves that connect those findings.

What happens when I run swot with no argument?

The command analyzes the current discussion. Pass a subject after the command when you want to review a specific project, decision, or position.

Source text

swot.md · MIT
---
description: Map strengths, weaknesses, opportunities, and threats
argument-hint: [subject or leave blank for current context]
---

<objective>
Apply SWOT analysis to $ARGUMENTS (or the current discussion if no arguments provided).

Map internal factors (strengths/weaknesses) and external factors (opportunities/threats) to inform strategy.
</objective>

<process>
1. Define the subject being analyzed (project, decision, position)
2. Identify internal strengths (advantages you control)
3. Identify internal weaknesses (disadvantages you control)
4. Identify external opportunities (favorable conditions you don't control)
5. Identify external threats (unfavorable conditions you don't control)
6. Develop strategies that leverage strengths toward opportunities while mitigating weaknesses and threats
</process>

<output_format>
**Subject:** [what's being analyzed]

**Strengths (Internal +)**
- [Strength]: How to leverage...

**Weaknesses (Internal -)**
- [Weakness]: How to mitigate...

**Opportunities (External +)**
- [Opportunity]: How to capture...

**Threats (External -)**
- [Threat]: How to defend...

**Strategic Moves:**
- **SO Strategy:** Use [strength] to capture [opportunity]
- **WO Strategy:** Address [weakness] to enable [opportunity]
- **ST Strategy:** Use [strength] to counter [threat]
- **WT Strategy:** Minimize [weakness] to avoid [threat]
</output_format>

<success_criteria>
- Correctly categorizes internal vs. external factors
- Factors are specific and actionable, not generic
- Strategies connect multiple quadrants
- Provides clear direction for action
- Balances optimism with risk awareness
</success_criteria>

© Lex Christopherson · MIT · glittercowboy/taches-cc-resources

Similar slash commands

All slash commands for Agent setup: memory, context, orchestration →

From the same set48

The whole set →
10-10-10 10-10-10 evaluates choices across three distinct horizons: 10 minutes, 10 months, and 10 years. Spot tensions between immediate friction and lasting outcomes. CX Codex +1 ★ 1,988repo stars opportunity-cost The opportunity-cost command weighs a choice against the best alternative use of the same resources. Use it when you want to see what a decision costs in time, money, energy, or attention. CX Codex +1 ★ 1,988repo stars eisenhower-matrix This command applies the Eisenhower matrix to your tasks or current discussion, sorting them into four quadrants: urgent-important, important-not-urgent, urgent-not-important, and neither. CX Codex +1 ★ 1,988repo stars second-order Runs second-order thinking on an action or the current conversation to trace downstream consequences before you commit to changes. CX Codex +1 ★ 1,988repo stars check-todos check-todos — a command to view outstanding tasks from TO-DOS.md and pick one to work on. Streamlines task selection by matching work to project workflows and inviting the right skill if available. CX Codex +1 ★ 1,988repo stars add-to-todos add-to-todos appends tasks to TO-DOS.md with conversation context, file references, and line numbers without derailing ongoing work. CX Codex +1 ★ 1,988repo stars ask-me-questions ask-me-questions is a Claude Code command that gathers requirements before a task begins. It asks about missing details and waits for the user to approve execution. CX Codex +1 ★ 1,988repo stars heal-skill heal-skill — a command to update skill documentation based on errors discovered during execution. Shows proposed changes, waits for approval, then applies edits with optional commit. CX Codex +1 ★ 1,988repo stars

Project sponsors

Companies that keep this analytics open