algo-social-influence
Measure social media influence using engagement-weighted metrics beyond follower count. Use this skill when the user needs to evaluate influencer effectiveness, compare influence across accounts, or build an influence scoring system — even if they say 'who is more influential', 'influencer ranking', or 'measure social impact'.
git clone --depth 1 https://github.com/asgard-ai-platform/skills /tmp/algo-social-influence && cp -r /tmp/algo-social-influence/algo-social-influence ~/.claude/skills/algo-social-influenceSKILL.md
# Social Influence Measurement
## Overview
Influence scoring evaluates an account's ability to drive actions (engagement, sharing, conversions) beyond mere reach. Combines reach, resonance (engagement depth), and relevance (topical authority). Computes as weighted composite score.
## When to Use
**Trigger conditions:**
- Evaluating and comparing influencers for marketing campaigns
- Building an influence scoring or ranking system
- Assessing brand ambassador effectiveness
**When NOT to use:**
- When measuring content virality dynamics (use viral spread models)
- When computing basic engagement rates (use engagement rate calculator)
## Algorithm
```
IRON LAW: Follower Count ≠ Influence
Influence requires ENGAGEMENT. An account with 1M followers and
0.01% engagement rate has less influence than one with 10K followers
and 5% engagement. Measure: reach × engagement rate × relevance.
```
### Phase 1: Input Validation
Collect per account: follower count, avg likes/comments/shares per post, posting frequency, audience demographics, topic categories.
**Gate:** Minimum 20 recent posts for stable metrics.
### Phase 2: Core Algorithm
1. **Reach score**: Normalize follower count to log scale (diminishing returns)
2. **Engagement score**: (avg engagements / followers) × 100, weighted by type (share > comment > like)
3. **Relevance score**: Topic overlap between influencer content and target campaign
4. **Composite**: Influence = w₁×Reach + w₂×Engagement + w₃×Relevance (weights tuned per campaign goal)
5. Adjust for: audience authenticity (bot follower %), post frequency consistency
### Phase 3: Verification
Spot-check: do high-scoring accounts actually drive actions? Cross-reference with historical campaign performance data if available.
**Gate:** Top-ranked accounts have demonstrable engagement history.
### Phase 4: Output
Return ranked influence scores with component breakdown.
## Output Format
```json
{
"rankings": [{"account": "@handle", "influence_score": 82, "reach": 75, "engagement": 90, "relevance": 85}],
"metadata": {"accounts_analyzed": 50, "weights": {"reach": 0.2, "engagement": 0.5, "relevance": 0.3}}
}
```
## Examples
### Sample I/O
**Input:** Account A: 500K followers, 0.5% engagement. Account B: 50K followers, 4.2% engagement. Same relevance.
**Expected:** B scores higher due to engagement dominance in weighting.
### Edge Cases
| Input | Expected | Why |
|-------|----------|-----|
| Viral one-hit account | High recent engagement, low stability | Need temporal consistency check |
| Celebrity with low engagement | High reach, low influence per dollar | Reach-only strategy, expensive |
| Micro-influencer niche | High relevance + engagement | Best ROI for targeted campaigns |
## Gotchas
- **Fake engagement**: Bot likes/comments inflate metrics. Use authenticity tools (HypeAuditor, etc.) to detect.
- **Platform differences**: 2% engagement on Instagram is average; 2% on Twitter/X is excellent. Normalize by platform benchmarks.
- **Engagement pods**: Groups of influencers artificially engaging with each other's content. Check if engagement comes from diverse sources.
- **Influence ≠ conversion**: High engagement doesn't guarantee purchase intent. Track downstream metrics (link clicks, promo code usage) for campaign ROI.
- **Temporal decay**: Influence changes. Quarterly reassessment is minimum; monthly is better for fast-moving categories.
## References
- For audience authenticity detection methods, see `references/authenticity-detection.md`
- For influencer ROI measurement framework, see `references/influencer-roi.md`Implement and select ad bidding strategies from manual CPC to automated target-CPA and target-ROAS. Use this skill when the user needs to choose a bidding strategy, set up automated bidding, or optimize bid parameters — even if they say 'what bidding strategy should I use', 'target CPA setup', or 'smart bidding configuration'.
Optimize advertising budget allocation across campaigns using marginal returns analysis. Use this skill when the user needs to distribute budget across multiple campaigns, optimize spend pacing, or maximize overall ROAS under budget constraints — even if they say 'how to split my ad budget', 'campaign budget optimization', or 'diminishing returns on ad spend'.
Build CTR prediction models for estimating ad click-through rates from features. Use this skill when the user needs to predict click probability, build an ad ranking model, or evaluate ad creative performance — even if they say 'predict click rate', 'ad relevance scoring', or 'which ad will get more clicks'.
Implement Generalized Second Price auction for ad slot allocation and pricing. Use this skill when the user needs to understand search ad auctions, compute ad positions and costs-per-click, or analyze bidding dynamics — even if they say 'how does Google Ads auction work', 'ad rank calculation', or 'second price auction for ads'.
Implement VCG mechanism for incentive-compatible ad slot allocation with truthful bidding. Use this skill when the user needs to design a truthful auction mechanism, compute externality-based payments, or understand why platforms may prefer GSP over VCG — even if they say 'truthful auction design', 'VCG payments', or 'incentive-compatible mechanism'.
Explain blockchain fundamentals including distributed ledger architecture, consensus mechanisms, and block structure. Use this skill when the user needs to understand blockchain concepts, evaluate whether blockchain fits a use case, or design a blockchain-based solution — even if they say 'how does blockchain work', 'do I need blockchain', or 'distributed ledger'.
Design and implement smart contracts as self-executing programmatic agreements on blockchain. Use this skill when the user needs to build automated on-chain logic, evaluate smart contract security, or design tokenized business rules — even if they say 'smart contract development', 'automated agreement', or 'on-chain logic'.
Implement BM25 ranking function for e-commerce product search relevance scoring. Use this skill when the user needs to build a text-based product search engine, improve search result relevance, or replace basic TF-IDF with a more robust ranking function — even if they say 'product search ranking', 'search relevance', or 'BM25 implementation'.