Anysite audience analysis

From anysiteio/agent-skills · View interactive version

Anysite audience analysis is an AI agent skill from the GitHub repository anysiteio/agent-skills. Analyze audience demographics, engagement patterns, and follower behavior across Instagram, YouTube, and LinkedIn using anysite MCP server. Understand who engages with content, track audience growth, analyze follower quality, identify engagement patterns, and profile audience characteristics. Suppor

How to use this skill

Skill file

anysite Audience Analysis

Understand your audience through demographic analysis, engagement patterns, and follower behavior across Instagram, YouTube, and LinkedIn.

Overview

Coverage: 60% - Focused on Instagram, YouTube, LinkedIn

Supported Platforms

Quick Start

Step 1: Identify Audience Source

Choose platform:

Step 2: Collect Audience Data

Gather:

Step 3: Analyze Patterns

Look for:

Use query_cache() to filter and aggregate cached data without re-fetching.

Step 4: Generate Insights

Deliver:

Use export_data() to provide downloadable CSV/JSON files.

Common Workflows

Workflow 1: Instagram Audience Analysis

Steps:

  1. Get Profile Overview
execute("instagram", "user", "user", {"user": "username"})
→ Follower count (follower_count), post count (media_count), bio (description)
→ Fields: id, alias, name, url, image, follower_count, following_count, description, media_count, is_private, is_verified, is_business, category, external_url, email, location
  1. Analyze Followers (sample)
execute("instagram", "user", "user_friendships", {
  "user": "username",
  "count": 100,
  "type": "followers"
})
→ Fields: id, name, alias, url, image, is_verified, is_private

For each follower (sample):
- Profile type (personal, business, creator)
- Bio indicators (interests, location)
- Follower count (influence level)

Use get_page(cache_key, offset=10, limit=10) to load more followers.
  1. Engagement Pattern Analysis
execute("instagram", "user", "user_posts", {"user": "username", "count": 50})
→ Fields: id, code, url, image, text, created_at, like_count, comment_count, reshare_count, view_count, type, is_paid_partnership

For each post:
  execute("instagram", "post", "post_likes", {"post": "{id}", "count": 100})
  → Fields: id, name, alias, url, image, is_verified, is_private

  execute("instagram", "post", "post_comments", {"post": "{id}", "count": 50})
  → Fields: id, comment_index, created_at, text, like_count, reply_count, parent_id, user

Analyze:
- Who engages most (power users)
- When engagement happens (timing via created_at)
- What content drives engagement
- Comment quality and topics

Use query_cache(cache_key, sort_by={"field": "like_count", "order": "desc"})
to find top-performing posts without re-fetching.
  1. Audience Segmentation
Group followers by:
- Engagement level (active, passive, ghost)
- Interests (from bios)
- Location (from profiles)
- Influence (follower counts)

Use query_cache(cache_key, conditions=[{"field": "is_verified", "op": "eq", "value": true}])
to filter verified followers.

Expected Output:

Use export_data(cache_key, "csv") to provide a downloadable follower/engagement report.

Workflow 2: YouTube Audience Insights

Steps:

  1. Channel Overview
execute("youtube", "channel", "channel_videos", {"channel": "@channel_alias", "count": 50})
→ Fields: id, title, url, author, duration_seconds, view_count, published_at, image

Aggregate:
- Total views (sum view_count)
- Content mix (by duration, topic)
- Publishing frequency (by published_at)

Use query_cache(cache_key, aggregate={"field": "view_count", "op": "sum"})
to get total views.
  1. Viewer Engagement Analysis
For recent videos:
  execute("youtube", "video", "video", {"video": "{video_id}"})
  → Fields: id, url, title, description, author, duration_seconds, view_count, subtitles

  execute("youtube", "video", "video_comments", {"video": "{video_id}", "count": 200})
  → Fields: id, text, author, published_at, like_count, reply_count, reply_level
  → Analyze commenter patterns

Use get_page(cache_key, offset=10, limit=10) to load more comments.
  1. Audience Demographics from Comments
From comments analyze:
- Questions asked (knowledge level)
- Topics discussed (interests)
- Language and tone
- Technical depth

Use query_cache(cache_key, conditions=[{"field": "text", "op": "contains", "value": "?"}])
to filter questions from comments.

Use query_cache(cache_key, sort_by={"field": "like_count", "order": "desc"})
to find most popular comments.
  1. Content Performance by Audience
Correlate:
- High-view videos → audience interests
- High-comment videos → engagement topics

Use query_cache(cache_key, sort_by={"field": "view_count", "order": "desc"})
to rank videos by performance metrics.

Expected Output:

Workflow 3: LinkedIn Audience Profiling

Steps:

  1. Get Post History
execute("linkedin", "post", "get_user_posts", {"user": "{alias}", "count": 50})
  1. Analyze Engagement
For each post:
- Reaction count and types
- Comment depth
- Share count
- Post reach indicators

Use query_cache(cache_key, sort_by={"field": "reactions", "order": "desc"})
to find most engaging posts.
  1. Profile Engagers (if accessible)
From reactions/comments:
- Job titles
- Industries
- Companies
- Seniority levels

Use execute("linkedin", "user", "get", {"user": "{engager_alias}"})
to get full profiles of top engagers.
  1. Content-Audience Mapping
Correlate:
- Which topics get most engagement
- Which formats perform best
- Which audiences engage with what
- When different audiences are active

Use query_cache(cache_key, aggregate={"field": "reactions", "op": "avg"}, group_by="post_type")
to analyze performance by content type.

Expected Output:

MCP Tools Reference

v2 Meta-Tools

| Tool | Purpose |

|------|---------|

| discover(source, category) | Learn available endpoints and params before execute |

| execute(source, category, endpoint, params) | Fetch data — replaces all v1 tools |

| get_page(cache_key, offset, limit) | Load more items from previous execute |

| query_cache(cache_key, conditions, sort_by, aggregate, group_by) | Filter/sort/aggregate cached data |

| export_data(cache_key, format) | Export dataset as CSV/JSON/JSONL |

Instagram Endpoints

| Endpoint | Call | Key Params |

|----------|------|------------|

| Profile | execute("instagram", "user", "user", {"user": "..."}) | user (alias/ID/URL) |

| Followers/Following | execute("instagram", "user", "user_friendships", {"user": "...", "count": N, "type": "followers"}) | user, count, type (followers\|following) |

| User Posts | execute("instagram", "user", "user_posts", {"user": "...", "count": N}) | user, count |

| User Reels | execute("instagram", "user", "user_reels", {"user": "...", "count": N}) | user, count |

| Post Details | execute("instagram", "post", "post", {"post": "{id}"}) | post (numeric post ID) |

| Post Likes | execute("instagram", "post", "post_likes", {"post": "{id}", "count": N}) | post, count |

| Post Comments | execute("instagram", "post", "post_comments", {"post": "{id}", "count": N}) | post, count |

YouTube Endpoints

| Endpoint | Call | Key Params |

|----------|------|------------|

| Channel Videos | execute("youtube", "channel", "channel_videos", {"channel": "...", "count": N}) | channel (URL/@alias/ID), count (max 1000) |

| Video Details | execute("youtube", "video", "video", {"video": "..."}) | video (ID or URL) |

| Video Comments | execute("youtube", "video", "video_comments", {"video": "...", "count": N}) | video, count (max 2000) |

| Video Subtitles | execute("youtube", "video", "video_subtitles", {"video": "...", "lang": "en"}) | video, lang |

LinkedIn Endpoints

| Endpoint | Call | Key Params |

|----------|------|------------|

| User Posts | execute("linkedin", "post", "get_user_posts", {"user": "..."}) | user (alias) |

| User Profile | execute("linkedin", "user", "get", {"user": "..."}) | user (alias) |

Error Handling

Audience Analysis Framework

Demographic Analysis:

- Age range (inferred from profiles)
- Location (from bio/profiles)
- Interests (from bio keywords)
- Professional level (LinkedIn titles)

Behavioral Analysis:

- Engagement frequency
- Content preferences
- Peak activity times
- Interaction patterns

Quality Metrics:

- Real vs. fake followers
- Engagement authenticity
- Audience overlap
- Influence distribution

Output Formats

Chat Summary:

CSV Export via export_data(cache_key, "csv"):

JSON Export via export_data(cache_key, "json"):

Reference Documentation


Ready to understand your audience? Ask Claude to help you analyze followers, track engagement patterns, or profile audience characteristics!

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.