swotpal-swot-analysis
SKILL.md
SWOTPal SWOT Analysis Skill
Generate professional SWOT analyses and competitive comparisons for any company, product, or strategic topic. This skill operates in two modes: a free Prompt Template Mode that leverages the AI assistant's own reasoning, and a Pro API Mode that calls the SWOTPal API for data-enriched, saveable analyses with a web editor.
Mode Detection
Before processing the user's request, determine the operating mode:
if [ -n "$SWOTPAL_API_KEY" ]; then
echo "API_MODE"
else
echo "PROMPT_MODE"
fi
SWOTPAL_API_KEYis set — Use API Mode. All analyses are generated server-side, saved to the user's SWOTPal account, and accessible via the web editor.