Algo Social Virality

Model viral spread dynamics using SIR/SIS/SEIR compartmental models. Use this skill when the user needs to predict content spread patterns, estimate viral thresholds, or model information cascades in social networks — even if they say 'will this go viral', 'epidemic model for content', or 'spread prediction'.

248 stars 30 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add asgard-ai-platform/skills --skill algo-social-virality
Manual install
git clone --depth 1 https://github.com/asgard-ai-platform/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/algo-social-virality ~/.claude/skills/algo-social-virality

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Viral Spread Models

## Overview

Compartmental models (SIR, SIS, SEIR) model how content/information spreads through populations. Susceptible → Infected → Recovered mirrors unaware → sharing → stopped sharing. Key metric: R0 (basic reproduction number). Solves as ODEs in O(T × N) for T timesteps, N compartments.

## When to Use

**Trigger conditions:**
- Modeling how content spreads through a social network
- Estimating whether a campaign will achieve viral threshold
- Analyzing post-hoc spread dynamics of viral events

**When NOT to use:**
- When predicting individual user behavior (use influence scoring)
- When measuring engagement metrics (use engagement rate calculator)

## Algorithm

```
IRON LAW: Viral Spread Occurs ONLY When R0 > 1
R0 = transmission rate (β) / recovery rate (γ).
Below R0 = 1, content dies out regardless of initial seed size.
Above R0 = 1, exponential growth phase begins before saturation.
Design interventions (seeding, incentives) to push R0 above threshold.
```

### Phase 1: Input Validation
Define: population size (N), initial seed size (I₀), transmission rate (β — probability of sharing upon exposure), recovery rate (γ — rate of losing interest).
**Gate:** Parameters non-negative, β and γ estimated from historical data or assumed.

### Phase 2: Core Algorithm
**SIR Model:** dS/dt = -βSI/N, dI/dt = βSI/N - γI, dR/dt = γI
1. Initialize: S=N-I₀, I=I₀, R=0
2. Iterate using Euler method or RK4 at discrete timesteps
Read the full skill on GitHub

Details

Skill name
algo-social-virality
Path
algo-social-virality/SKILL.md
License
MIT
Repo updated
6 June 2026

FAQ

What does the Algo Social Virality skill do?

Model viral spread dynamics using SIR/SIS/SEIR compartmental models. Use this skill when the user needs to predict content spread patterns, estimate viral thresholds, or model information cascades in social networks — even if they say 'will this go viral', 'epidemic model for content', or 'spread prediction'.

How do I install the Algo Social Virality skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add asgard-ai-platform/skills --skill algo-social-virality. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Algo Social Virality popular?

It lives in asgard-ai-platform/skills, which has 248 GitHub stars and 30 forks.

Related skills

Algo Ad Bidding

248

asgard-ai-platform/skills

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'.

Marketing, Sales & Business30

Algo Ad Budget

248

asgard-ai-platform/skills

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'.

Marketing, Sales & Business30

Algo Ad Ctr

248

asgard-ai-platform/skills

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'.

Marketing, Sales & Business30

Cs Chatbot Design

248

asgard-ai-platform/skills

Design conversational AI chatbots including intent recognition, slot filling, dialogue flow, and response generation. Use this skill when the user needs to build a chatbot, design conversation flows, implement intent classification, or improve chatbot accuracy — even if they say 'build a chatbot', 'our bot doesn't understand users', 'design a FAQ bot', or 'improve our chatbot's responses'.

AI, LLMs & Agents30

Algo Risk Credit

248

asgard-ai-platform/skills

Build credit scoring models to predict default probability from borrower characteristics. Use this skill when the user needs to assess creditworthiness, build a credit scorecard, or evaluate lending risk — even if they say 'predict default risk', 'credit scoring', or 'loan approval model'.

AI, LLMs & Agents30

Fin Modeling

248

asgard-ai-platform/skills

Build three-statement financial models (Income Statement, Balance Sheet, Cash Flow) with revenue forecasting, assumption management, and scenario analysis. Use this skill when the user needs to project financials, build a fundraising model, create financial projections for a business plan, or evaluate M&A targets — even if they say 'build a financial model', 'project our revenue', 'how much money will we make next year', or 'model this acquisition'.

AI, LLMs & Agents30

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.