# Business Ads

> Manages X/Twitter business intelligence including brand monitoring, audience insights, competitor analysis, tweet A/B testing, auto-plug replies for promotion, and content performance optimization. Use when users want brand monitoring, audience analysis, competitor comparison, or promotion optimization on X.

- Skill: `nirholas/business-ads` (Agent Skill)
- Install (CLI): `npx skillmds@latest add nirholas/business-ads`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nirholas/business-ads/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: Apache-2.0
- Author: nirholas (https://skillmd.com/u/nirholas)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/nirholas/business-ads

---


# Business & Ads Tools

Browser console scripts and automation for X/Twitter business intelligence and promotion.

## Script Selection

| Goal | File | Navigate to |
|------|------|-------------|
| Brand monitoring & sentiment | `src/businessTools.js` | Search results page |
| Audience insights | `src/businessTools.js` | `x.com/USERNAME/followers` |
| Competitor comparison | `src/businessTools.js` | Any profile page |
| A/B test tweet performance | `src/tweetABTester.js` | `x.com/USERNAME` |
| Auto-plug viral tweets | `src/autoPlugReplies.js` | `x.com/USERNAME` |
| Audience demographics | `src/audienceDemographics.js` | `x.com/USERNAME/followers` |
| Content performance | `src/tweetPerformance.js` | `x.com/USERNAME` |

## Business Tools

**File:** `src/businessTools.js`

Puppeteer-based module for business intelligence.

### Functions

| Function | Purpose |
|----------|---------|
| `monitorBrandMentions(page, brand, {limit, since})` | Search mentions with sentiment |
| `getAudienceInsights(page, username, {sampleSize})` | Follower bio analysis |
| `analyzeCompetitors(page, ['user1', 'user2'])` | Side-by-side comparison |

## Tweet A/B Testing

**File:** `src/tweetABTester.js`

Test tweet variations with statistical comparison.

**Controls:** `XActions.createTest(name, textA, textB)`, `XActions.setUrl(name, variant, url)`, `XActions.measure(name)`, `XActions.results(name)`

## Auto-Plug Replies

**File:** `src/autoPlugReplies.js`

Automatically reply to your viral tweets with promotional content.

**Controls:** `XActions.setPlug(text)`, `XActions.setThreshold(n)`, `XActions.scan()`, `XActions.autoScan(ms)`

## Strategy Guide

### Low-budget promotion (no ads spend)
1. A/B test content styles with `src/tweetABTester.js`
2. Set up `src/autoPlugReplies.js` to promote on viral tweets
3. Find trends with `src/trendingTopicMonitor.js` for timely content
4. Analyze audience with `src/audienceDemographics.js` for targeting
5. Track results with `src/tweetPerformance.js`

### Brand monitoring
1. Use `src/businessTools.js` -> `monitorBrandMentions()` for sentiment
2. Set up `src/keywordMonitor.js` for real-time brand mention alerts
3. Export data for reporting

## Notes
- Sentiment analysis is keyword-based (not ML) -- quick polarity assessment
- A/B testing requires manually posting both tweet variants
- No X Ads API integration -- this is browser-side intelligence

