Wrapper over gstack /research + /crawl + agent-browser. Adds ham-autocode data persistence layer (competitor.ts) for structured storage. Use when: "research competitors", "competitive analysis", "market landscape", "who are our competitors", or during Phase 1 strategic planning.
CLI alias used below:
ham-cli=HAM_PROJECT_DIR="$PWD" node "${CLAUDE_PLUGIN_ROOT:-$PWD}/dist/index.js"
Research the competitive landscape for the current project.
Ask the user or infer from project docs:
# Initialize competitive analysis
ham-cli research init "<project-name>" "<domain>"
For each competitor, use available tools:
/research <competitor-name> features pricing tech stack
/crawl <competitor-url>
Use agent-browser to navigate competitor sites, take screenshots,
analyze UI/UX, check pricing pages.
# Add each competitor (the skill fills in the details from research)
ham-cli research add "<competitor-name>"
ham-cli research report
The analysis is saved to .ham-autocode/research/competitive-analysis.json and
can be referenced by /ham-autocode:auto during Phase 1 planning.