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
/plugin marketplace add glittercowboy/taches-cc-resources
/plugin install taches-cc-resources@taches-cc-resourcesWhat 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
/swoton the current discussion and identify its main risks. - Use
/swotfor a database migration project. - Apply
/swotto 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-resources2Manually: put the files in place
.claude/commands/swot.mdCall it with /swot. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/swot.mdCall it with /prompts:swot. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/swot.prompt.mdManually: put the files in place
.gemini/commands/swot.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
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