Viraloop 标志

Viraloop

组织
Upload-Post
viraloop

OpenClaw AI agent skill for automated TikTok and Instagram carousel growth. Analyzes any website URL to extract brand, competitors, value proposition, then generates viral slides with auto-publishing and trending music via upload-post API. Built-in analytics feedback loop.

概览

发布者Upload-Post
代码仓库viraloop
技能名称viraloop
星标数
83
复刻数
14
附带文件
12
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 12 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Upload-Post 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Viraloop AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Upload-Post/viraloop/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Upload-Post/viraloop.git \
  .claude/skills/viraloop
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Viraloop,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Viraloop。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Viraloop 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Viraloop

Analyze any website and generate a 6-slide carousel for TikTok/Instagram with visual coherence. Posts directly to your feed (no drafts) with auto trending music. Both APIs (Gemini + upload-post.com) have free plans — no credit card needed to start.

Philosophy: Daily Iteration Loop

The key to growth is consistency + learning:

  1. Post 1 carousel per day - Consistency beats virality
  2. Track everything - Every post generates data
  3. Learn from data - What hooks work? What times? What visuals?
  4. Iterate and improve - Each carousel is better than the last
Day 1: Post → Analyze → Learn
Day 2: Post (improved) → Analyze → Learn  
Day 3: Post (better) → Analyze → Learn
...
Day 30: You have 30 data points and a refined strategy

The skill maintains a learnings.json that accumulates insights across all posts:

  • Best performing hooks
  • Optimal posting times
  • Visual styles that work
  • CTAs that convert

This is not a one-shot tool. It's a growth engine.

Quick Start

bash
# 1. Full business research
node {baseDir}/scripts/analyze-web.js https://your-website.com

# 2. Generate 3 hook variants (SHOCK, CURIOSITY, CONTRADICTION)
GEMINI_API_KEY="your-key" bash {baseDir}/scripts/generate-hooks.sh

# 3. Review hooks with vision, pick the best one

# 4. Generate slides using selected hook type
GEMINI_API_KEY="your-key" bash {baseDir}/scripts/generate-slides.sh [shock|curiosity|contradiction]

# 5. Review slides (agent verifies text and quality)
# Agent uses vision to check each slide

# 6. Publish to TikTok + Instagram
UPLOADPOST_TOKEN="your-token" bash {baseDir}/scripts/publish-carousel.sh

# 7. Check analytics (after 24-48h)
UPLOADPOST_TOKEN="your-token" bash {baseDir}/scripts/check-analytics.sh 7

# 8. Learn from data for next carousels
node {baseDir}/scripts/learn-from-analytics.js

Hook Categories (Visual Novelty System)

The key to breaking the 1000 views ceiling is visual novelty in the first slide. We generate 3 hook types:

TypeGoalVisual Style
SHOCKStop the scroll with impossible/absurdSurreal, chaotic, "wait what?"
CURIOSITYCreate information gapMysterious, secrets being revealed
CONTRADICTIONShow impossible combinationRelaxed + intense, "how is that possible?"

Anti-Stock Filter

All hooks include anti-stock prompting to avoid:

  • Generic stock photo aesthetics
  • Shocked pretty girl trope
  • Typical influencer poses
  • Overused laptop-coffee setups
  • Corporate handshake scenes

Hook Testing Workflow

  1. Generate 3 variants with generate-hooks.sh
  2. Review with vision, score each 1-5 on novelty
  3. Kill anything that looks familiar
  4. Use best hook for carousel
  5. Track which hook TYPE performs best over time

Image Model

Uses gemini-3.1-flash-image-preview to generate slides.

  • Local script: {baseDir}/scripts/generate_image.py
  • Supports image-to-image for visual coherence between slides

Step 1: Full Research (analyze-web.js)

Performs COMPLETE business investigation:

1. Brand Analysis

  • Brand name (from domain or title)
  • Logo (URL or SVG)
  • CSS colors (background, primary, links, headings)
  • Typography (body font, heading font)
  • Favicon

2. Content Analysis

  • Headline and tagline
  • All headings (page structure)
  • Features/benefits (title + description)
  • Pricing/plans
  • Testimonials
  • Stats/metrics
  • CTAs
  • Meta tags (title, description, og:image)

3. Internal Pages

  • Navigates pricing, features, about, testimonials
  • Extracts additional content from each page

4. Competitor Detection

  • Searches for known competitor mentions in content
  • List of 20+ known SaaS competitors (Buffer, Hootsuite, Later, etc.)
  • Detects "vs", "alternative", "compare" sections
  • No external searches required - all from the website itself

5. Storytelling

  • Detects business type (SaaS, ecommerce, app)
  • Detects niche (social-media-tools, developer-tools, etc.)
  • Generates hooks based on customer pain points
  • Defines pain points from features
  • Creates transformation narrative (before → after)

6. Visual Context

  • Brand colors in CSS format
  • Color description for prompts
  • Typography for slides
  • Image themes based on niche
  • Style guide for coherence

Output: /tmp/carousel/analysis.json

Step 2: Generate Slides (generate-slides.sh)

Generates 6 slides with visual coherence using image-to-image:

SlideTypeContent
1HOOKQuestion/problem that hooks. Establishes ALL visual style.
2ProblemAgitate the pain. "You upload to TikTok... then Instagram..."
3AgitationCompetition advancing. Urgency.
4SolutionPresent the product with its value proposition.
5FeatureMain benefit.
6CTA"Link in bio 👆" + call to action.

Visual Coherence

  • Slide 1 generates the base style (colors, typography, mood)
  • Slides 2-6 use image-to-image with slide 1 as reference
  • Maintains same color palette, fonts, and aesthetic

Prompts per Slide

Each slide has:

  • Text: The main message
  • Scene: Detailed visual description for background
  • Style: Based on brand analysis

Output:

  • /tmp/carousel/slide-{1-6}.jpg
  • /tmp/carousel/caption.txt

Step 3: Review with Vision

After generating, the agent MUST review each slide:

  • ✓ Text is legible and correct
  • ✓ Words are not cut off
  • ✓ Correct spelling
  • ✓ Visual coherence between slides
  • ✓ Acceptable image quality

If there are errors, regenerate the specific slide.

Image Format

  • Resolution: 768x1376 (9:16 vertical ratio)
  • Format: JPG (TikTok does NOT accept PNG)
  • Text: Large, bold, with shadow for readability
  • Background: Scene relevant to the business, not just solid colors

Step 4: Publish to TikTok + Instagram (publish-carousel.sh)

Publishes the carousel to TikTok and Instagram using Upload-Post API.

bash
UPLOADPOST_TOKEN="your-token" bash {baseDir}/scripts/publish-carousel.sh

Endpoint: POST /api/upload_photos

Parameters sent:

  • platform[]=tiktok + platform[]=instagram
  • auto_add_music=true - Adds music on TikTok automatically
  • tiktok_title - Short title (max 90 chars) + hashtags
  • title - Full caption for Instagram
  • privacy_level=PUBLIC_TO_EVERYONE
  • media_type=IMAGE - Photo carousel on Instagram
  • async_upload=true - Process in background
  • photos[] - The 6 slides JPG

⚠️ IMPORTANT Instagram: After publishing, user must go to Instagram and add viral music manually:

  1. Open Instagram → Profile → The post
  2. Edit → Add music
  3. Search for trending/viral song

Output: Saves request_id in post-info.json for tracking.

Step 5: Analyze Performance (check-analytics.sh)

Gets TikTok and Instagram analytics to see what works.

bash
UPLOADPOST_TOKEN="your-token" bash {baseDir}/scripts/check-analytics.sh 7

Endpoints used:

  1. Profile analytics:

    GET /api/analytics/{user}?platforms=tiktok

    → Followers, likes, comments, shares, impressions

  2. Total impressions:

    GET /api/uploadposts/total-impressions/{user}?platform=tiktok&breakdown=true

    → Total views per day

  3. Per-post analytics:

    GET /api/uploadposts/post-analytics/{request_id}

    → Views, likes, comments for the specific carousel (TikTok + Instagram)

Docs: https://docs.upload-post.com/api/get-analytics

Step 6: Learn and Improve (learn-from-analytics.js)

Analyzes data and saves learnings for future carousels.

bash
node {baseDir}/scripts/learn-from-analytics.js

Generates:

  • learnings.json - Accumulated knowledge base
  • Best hooks (those generating most views)
  • Optimal posting times
  • Recommendations for next carousel

Full Flow

bash
# 1. Research business
node {baseDir}/scripts/analyze-web.js https://my-product.com

# 2. Generate slides
GEMINI_API_KEY="..." bash {baseDir}/scripts/generate-slides.sh

# 3. Review with vision (agent verifies text)
# Agent checks each slide image

# 4. Publish
UPLOADPOST_TOKEN="..." UPLOADPOST_USER="myuser" bash {baseDir}/scripts/publish-carousel.sh

# 5. (After a few hours/days) Analyze
UPLOADPOST_TOKEN="..." UPLOADPOST_USER="myuser" bash {baseDir}/scripts/check-analytics.sh 7

# 6. Learn for next carousels
node {baseDir}/scripts/learn-from-analytics.js

Files

{baseDir}/
├── SKILL.md                      # This documentation
└── scripts/
    ├── analyze-web.js            # Full business research
    ├── generate-slides.sh        # Generate 6 slides with coherence
    ├── generate_image.py         # Gemini 3.1 flash image
    ├── review-slides.js          # Prepare slides for review
    ├── publish-carousel.sh       # Publish via Upload-Post API
    ├── check-analytics.sh        # Get analytics (TikTok + Instagram)
    ├── learn-from-analytics.js   # Learn from data
    └── search-competitors.js     # Optional external search

Environment Variables

VariableDescription
GEMINI_API_KEYGoogle API key for image generation
UPLOADPOST_TOKENUpload-Post token for publishing and analytics
UPLOADPOST_USERUpload-Post username (required)

Hook Examples by Niche

NicheHook Example
Social Media Tools"Still posting to social media ONE BY ONE? 😩"
SaaS General"Still doing this MANUALLY?"
Ecommerce"The product TikTok won't stop recommending"
App"The app I wish I'd discovered sooner"
Developer Tools"The API that's going to change your code"

Why Viraloop?

ViraloopOther skills
PublishingDirect to feedDrafts only
MusicAuto trending musicManual
PlatformsTikTok + InstagramSingle platform
ResearchAuto URL analysisManual description
Image coherenceImage-to-image referenceIndependent slides
Image genGemini (free tier)Paid providers
Postingupload-post.com (free, no CC)Paid or self-hosted
Text overlayAI-native (Gemini renders)External scripts
PromptsStructured templatesFree-form
Setup3 env varsComplex multi-tool setup

Notes

  • Analysis extracts competitors from the website content itself (20+ known SaaS)
  • Image-to-image maintains coherence but takes ~20s per slide
  • Generated caption includes niche-relevant hashtags
  • Always review slide text - sometimes it gets cut off
  • auto_add_music on TikTok improves engagement
  • Check analytics after 24-48h for meaningful data
  • Learnings accumulate and improve with each published carousel
  • TikTok title max 90 characters (auto-truncated with hashtags)

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Viraloop AI 技能有什么作用?

OpenClaw AI agent skill for automated TikTok and Instagram carousel growth. Analyzes any website URL to extract brand, competitors, value proposition, then generates viral slides with auto-publishing and trending music via upload-post API. Built-in analytics feedback loop.

为什么在 TypingMind 中使用 Viraloop?

因为您只需安装一次,就能搭配任何模型使用。Viraloop 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Viraloop?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Upload-Post/viraloop/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Viraloop?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Viraloop 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Viraloop 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Viraloop AI 技能免费吗?

Upload-Post 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇