SEO

CONTENT ANALYSIS

Find brand mentions and analyse sentiment across the web

A Claude skill that searches for brand mentions across the web and analyses sentiment using the DataForSEO Content Analysis API.

From dataforseo · by nikhilbhansali
Requires Claude Code, Codex, or similar. Requires Python code execution and DataForSEO API

When does this skill activate?

Claude will use this skill when you mention phrases like:

/content-analysis "find brand mentions" "sentiment analysis" "content analysis" "monitor brand reputation" "online mentions"

How it works

1

Enter a keyword or brand

Provide a brand name, product name, or keyword to search for across the web.

2

Claude searches and analyses

The skill calls the DataForSEO Content Analysis API to find mentions and break down sentiment into positive, negative, and neutral categories.

3

Review your results

Receive CSV exports with mention URLs, titles, snippets, metadata, and a sentiment breakdown you can act on.

Requirements

DataForSEO API credentials (login and password)
Python code execution environment (Claude Code or Claude Desktop with code tool)
DataForSEO plugin installed with the setup-dataforseo skill

Add This Skill

Copy each field into Claude's skill editor to add this skill, or add the plugin marketplace to get all skills at once.

Requires Claude Code, Codex, or similar

Requires Python code execution and DataForSEO API This skill won't work in Claude.ai or ChatGPT chat interfaces.

content-analysis
DataForSEO content analysis: brand mentions, sentiment analysis, content monitoring
SKILL.md
---
name: content-analysis
description: "DataForSEO content analysis: brand mentions, sentiment analysis, content monitoring"
---

Use this skill when the user wants to:
- Find brand mentions across the web
- Analyze sentiment for a keyword or brand
- Monitor content and online mentions
- Track brand reputation
- Search for online mentions of a company, product, or topic

## Functions

### `content_search()`
Search for content mentions of a keyword or brand across the web.

**Parameters:**
- `keyword` (str, required): The keyword or brand name to search for
- `location_name` (str, optional): Target location. Default: "United States"
- `language_name` (str, optional): Target language. Default: "English"
- `limit` (int, optional): Maximum number of results to return. Default: 100

**Returns:** Dictionary containing content mentions with URLs, titles, snippets, and metadata.

### `content_sentiment()`
Get sentiment analysis for mentions of a keyword or brand.

**Parameters:**
- `keyword` (str, required): The keyword or brand name to analyze
- `location_name` (str, optional): Target location. Default: "United States"
- `language_name` (str, optional): Target language. Default: "English"

**Returns:** Dictionary containing sentiment breakdown (positive, negative, neutral) and related metrics.

## Output

Results are exported as CSV files to `~/dataforseo_outputs/`

## Example Usage

```python
import sys
sys.path.insert(0, '../../scripts')
from dataforseo_client import content_search, content_sentiment, extract_results, to_csv

# Search for brand mentions
keyword = "Tesla"
location = "United States"
language = "English"

# Get content mentions
response = content_search(
    keyword=keyword,
    location_name=location,
    language_name=language,
    limit=50
)
results = extract_results(response)
csv_path = to_csv(results, f"content_mentions_{keyword}")
print(f"Content mentions saved to: {csv_path}")

# Get sentiment analysis
sentiment_response = content_sentiment(
    keyword=keyword,
    location_name=location,
    language_name=language
)
sentiment_results = extract_results(sentiment_response)
sentiment_csv = to_csv(sentiment_results, f"sentiment_{keyword}")
print(f"Sentiment analysis saved to: {sentiment_csv}")
```

## Example: Monitor Multiple Brands

```python
import sys
sys.path.insert(0, '../../scripts')
from dataforseo_client import content_search, content_sentiment, extract_results, to_csv

brands = ["Apple", "Microsoft", "Google"]
location = "United States"
language = "English"

for brand in brands:
    # Get mentions
    mentions = content_search(
        keyword=brand,
        location_name=location,
        language_name=language,
        limit=100
    )
    mentions_data = extract_results(mentions)
    to_csv(mentions_data, f"mentions_{brand}")

    # Get sentiment
    sentiment = content_sentiment(
        keyword=brand,
        location_name=location,
        language_name=language
    )
    sentiment_data = extract_results(sentiment)
    to_csv(sentiment_data, f"sentiment_{brand}")

    print(f"Completed analysis for: {brand}")
```

How to use this skill

Claude Installing this skill · Claude Cowork
Claude Skill in action · Claude Cowork
Claude Use /slash-commands or just ask · Claude Cowork

Frequently Asked Questions

What can the content analysis skill find?

The skill has two main functions. Content search finds mentions of your keyword or brand across the web, returning URLs, page titles, snippets, and metadata. Content sentiment analyses those mentions and breaks them down into positive, negative, and neutral sentiment categories, giving you a clear picture of how your brand is perceived online.

Can I monitor multiple brands at once?

Yes. The skill supports analysing multiple brands in a single session. You can loop through a list of brand names to get mentions and sentiment for each one, making it useful for competitive monitoring or tracking a portfolio of products.

Can I filter by location or language?

Yes. Both functions accept location and language parameters, defaulting to United States and English. You can specify different countries or languages to get region-specific mention data and sentiment analysis.

Does it work in Claude.ai chat?

No, this skill requires Python code execution to call the DataForSEO API and process the results. It works in Claude Code or Claude Desktop with code execution capabilities, but not in the Claude.ai web chat interface.

Monitor Your Brand Online

Add this skill to Claude and track brand mentions and sentiment across the web.

View on GitHub

Browse all skills