How grsrse/wikipedia-market-insights works
This is a CLI-driven Wikipedia market-intelligence skill: a researcher or agent requests analysis, comparison, clustering, or benchmarking; the CLI resolves topics and retrieves pageviews, the statistical engine evaluates demand, and chart/PDF generators produce decision artifacts. A separate ambient radar scans watchlists, applies a restraint threshold, emits verified alerts, and records fatigue/alert state. Edges reflect the CLI and radar references in the sampled source index and excerpts; unsampled implementation details are not inferred.
Main entry points: ambient_radar.py Ambient radar · run.py Command dispatcher · client.py API client and cache · analyzer.py Time-series analysis
Components 11
Entry and orchestration
- Command dispatcher
scripts/run.py
Data acquisition
- API client and cache
scripts/client.py
Market analysis
- Time-series analysis
scripts/analyzer.py
Decision artifacts
- Market charts
scripts/visualizer.py - Executive PDF reports
scripts/report_pdf.py - Artifact quality gate
scripts/verify_memo.py
Ambient monitoring
- Ambient radar
scripts/ambient_radar.py - Restraint and fatigue state
scripts/ambient_radar.py - Alert records
scripts/ambient_radar.py
Other components
- Researcher or agent
- Wikimedia APIs
Connections 15
- Researcher or agent → Command dispatcher: invokes commands
README.md - Command dispatcher → API client and cache: resolves and fetches
scripts/run.py - API client and cache → Wikimedia APIs: queries APIs
scripts/client.py - Command dispatcher → Time-series analysis: analyzes pageviews
scripts/run.py - Command dispatcher → Market charts: generates charts
scripts/run.py - Command dispatcher → Executive PDF reports: generates reports
scripts/run.py - Command dispatcher → Artifact quality gate: optionally verifies
scripts/run.py - Researcher or agent → Ambient radar: starts scans
README.md - Ambient radar → API client and cache: resolves and fetches
scripts/ambient_radar.py - Ambient radar → Time-series analysis: scores demand
scripts/ambient_radar.py - Ambient radar → Restraint and fatigue state: reads and updates
scripts/ambient_radar.py - Ambient radar → Market charts: generates alert charts
scripts/ambient_radar.py - Ambient radar → Executive PDF reports: generates alert memos
scripts/ambient_radar.py - Ambient radar → Artifact quality gate: verifies artifacts
scripts/ambient_radar.py - Ambient radar → Alert records: writes alert records
scripts/ambient_radar.py