Rivalwatch
Rivalwatch v2.0.0 is a utility toolkit for tracking, analyzing, and managing competitive intelligence data. It provides a thorough CLI with timestamped logging, multi-format data export, and full activity history tracking for competitor analysis workflows.
Commands
All commands accept optional <input> arguments. When called without arguments, they display the 20 most recent entries from their respective logs. When called with input, they record a new timestamped entry.
| Command |
Usage |
Description |
run |
rivalwatch run [input] |
Run a competitive analysis task and log the result |
check |
rivalwatch check [input] |
Check a competitor's status or validate data |
convert |
rivalwatch convert [input] |
Convert competitive data between formats |
analyze |
rivalwatch analyze [input] |
Analyze competitive positioning or market data |
generate |
rivalwatch generate [input] |
Generate competitive intelligence reports |
preview |
rivalwatch preview [input] |
Preview analysis output before finalizing |
batch |
rivalwatch batch [input] |
Process multiple competitors in batch mode |
compare |
rivalwatch compare [input] |
Compare two or more competitors side by side |
export |
rivalwatch export [input] |
Log an export operation |
config |
rivalwatch config [input] |
Manage analysis configuration settings |
status |
rivalwatch status [input] |
Log or view status entries |
report |
rivalwatch report [input] |
Generate or log competitive reports |
Utility Commands
| Command |
Usage |
Description |
stats |
rivalwatch stats |
Show summary statistics across all log files |
export <fmt> |
rivalwatch export json|csv|txt |
Export all data in JSON, CSV, or plain text format |
search <term> |
rivalwatch search <term> |
Search across all log entries (case-insensitive) |
recent |
rivalwatch recent |
Show the 20 most recent activity entries |
status |
rivalwatch status |
Health check — version, data dir, entry count, disk usage |
help |
rivalwatch help |
Show full command reference |
version |
rivalwatch version |
Print version string (rivalwatch v2.0.0) |
Data Storage
All data is stored locally in ~/.local/share/rivalwatch/:
history.log — Master activity log with timestamps for every operation
run.log, check.log, analyze.log, etc. — Per-command log files storing timestamp|input entries
export.json, export.csv, export.txt — Generated export files
Each entry is stored in pipe-delimited format: YYYY-MM-DD HH:MM|value. The data directory is created automatically on first use.
Requirements
- Bash 4.0+ (uses
set -euo pipefail, local variables)
- Standard Unix tools:
date, wc, du, tail, grep, sed, basename, cat
- No external dependencies, API keys, or network access required
- Works on Linux, macOS, and WSL
When to Use
- Tracking competitor product changes — Use
run and check to log competitor updates, feature launches, or pricing changes over time
- Comparing market positioning — Use
compare to track how two or more competitors position themselves on features, pricing, or messaging
- Generating SWOT-style analysis — Use
analyze followed by report to build structured competitive intelligence documents
- Batch monitoring multiple competitors — Use
batch to queue and process data on several competitors in a single pass
- Exporting competitive data for presentations — Use
export json or export csv to produce structured data for dashboards or stakeholder reports
Examples
# Log a competitor product update
rivalwatch run "Competitor X launched feature Y at $29/mo"
# Check competitor pricing
rivalwatch check "Competitor Z pricing page updated"
# Analyze market positioning
rivalwatch analyze "SaaS CRM market Q1 2025"
# Compare two competitors
rivalwatch compare "Slack vs Teams - enterprise features"
# Batch process multiple competitor entries
rivalwatch batch "CompA launch" "CompB pivot" "CompC funding"
# Export all competitive intel as JSON
rivalwatch export json
# Search for past entries mentioning a competitor
rivalwatch search "Competitor X"
# View summary statistics
rivalwatch stats
Output
All commands output structured text to stdout. Use standard shell redirection to capture output:
rivalwatch stats > summary.txt
rivalwatch export json # writes to ~/.local/share/rivalwatch/export.json
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
1---2name: competitor-analysis3description: Generate competitor analysis with SWOT and market positioning. Use when comparing features, checking market share, analyzing differentiation strategies.4---5
6# Rivalwatch
7
8Rivalwatch v2.0.0 is a utility toolkit for tracking, analyzing, and managing competitive intelligence data. It provides a thorough CLI with timestamped logging, multi-format data export, and full activity history tracking for competitor analysis workflows.
9
10## Commands
11
12All commands accept optional `<input>` arguments. When called without arguments, they display the 20 most recent entries from their respective logs. When called with input, they record a new timestamped entry.
13
14| Command | Usage | Description |
15|---------|-------|-------------|
16| `run` | `rivalwatch run [input]` | Run a competitive analysis task and log the result |
17| `check` | `rivalwatch check [input]` | Check a competitor's status or validate data |
18| `convert` | `rivalwatch convert [input]` | Convert competitive data between formats |
19| `analyze` | `rivalwatch analyze [input]` | Analyze competitive positioning or market data |
20| `generate` | `rivalwatch generate [input]` | Generate competitive intelligence reports |
21| `preview` | `rivalwatch preview [input]` | Preview analysis output before finalizing |
22| `batch` | `rivalwatch batch [input]` | Process multiple competitors in batch mode |
23| `compare` | `rivalwatch compare [input]` | Compare two or more competitors side by side |
24| `export` | `rivalwatch export [input]` | Log an export operation |
25| `config` | `rivalwatch config [input]` | Manage analysis configuration settings |
26| `status` | `rivalwatch status [input]` | Log or view status entries |
27| `report` | `rivalwatch report [input]` | Generate or log competitive reports |
28
29### Utility Commands
30
31| Command | Usage | Description |
32|---------|-------|-------------|
33| `stats` | `rivalwatch stats` | Show summary statistics across all log files |
34| `export <fmt>` | `rivalwatch export json\|csv\|txt` | Export all data in JSON, CSV, or plain text format |
35| `search <term>` | `rivalwatch search <term>` | Search across all log entries (case-insensitive) |
36| `recent` | `rivalwatch recent` | Show the 20 most recent activity entries |
37| `status` | `rivalwatch status` | Health check — version, data dir, entry count, disk usage |
38| `help` | `rivalwatch help` | Show full command reference |
39| `version` | `rivalwatch version` | Print version string (`rivalwatch v2.0.0`) |
40
41## Data Storage
42
43All data is stored locally in `~/.local/share/rivalwatch/`:
44
45- **`history.log`** — Master activity log with timestamps for every operation
46- **`run.log`**, **`check.log`**, **`analyze.log`**, etc. — Per-command log files storing `timestamp|input` entries
47- **`export.json`**, **`export.csv`**, **`export.txt`** — Generated export files
48
49Each entry is stored in pipe-delimited format: `YYYY-MM-DD HH:MM|value`. The data directory is created automatically on first use.
50
51## Requirements
52
53- **Bash** 4.0+ (uses `set -euo pipefail`, `local` variables)
54- **Standard Unix tools**: `date`, `wc`, `du`, `tail`, `grep`, `sed`, `basename`, `cat`
55- No external dependencies, API keys, or network access required
56- Works on Linux, macOS, and WSL
57
58## When to Use
59
601. **Tracking competitor product changes** — Use `run` and `check` to log competitor updates, feature launches, or pricing changes over time
612. **Comparing market positioning** — Use `compare` to track how two or more competitors position themselves on features, pricing, or messaging
623. **Generating SWOT-style analysis** — Use `analyze` followed by `report` to build structured competitive intelligence documents
634. **Batch monitoring multiple competitors** — Use `batch` to queue and process data on several competitors in a single pass
645. **Exporting competitive data for presentations** — Use `export json` or `export csv` to produce structured data for dashboards or stakeholder reports
65
66## Examples
67
68```bash
69# Log a competitor product update
70rivalwatch run "Competitor X launched feature Y at $29/mo"
71
72# Check competitor pricing
73rivalwatch check "Competitor Z pricing page updated"
74
75# Analyze market positioning
76rivalwatch analyze "SaaS CRM market Q1 2025"
77
78# Compare two competitors
79rivalwatch compare "Slack vs Teams - enterprise features"
80
81# Batch process multiple competitor entries
82rivalwatch batch "CompA launch" "CompB pivot" "CompC funding"
83
84# Export all competitive intel as JSON
85rivalwatch export json
86
87# Search for past entries mentioning a competitor
88rivalwatch search "Competitor X"
89
90# View summary statistics
91rivalwatch stats
92```
93
94## Output
95
96All commands output structured text to stdout. Use standard shell redirection to capture output:
97
98```bash
99rivalwatch stats > summary.txt
100rivalwatch export json # writes to ~/.local/share/rivalwatch/export.json
101```
102
103---
104
105Powered by BytesAgain | bytesagain.com | hello@bytesagain.com