Xpersona
T

TikTok Streak Bot

CLAWHUB · Unverified

Browser-automated TikTok streak messaging skill using Playwright. Sends daily messages to configured usernames with state tracking, retry control, and option... Skill: TikTok Streak Bot Owner: mrblackeg Summary: Browser-automated TikTok streak messaging skill using Playwright. Sends daily messages to configured usernames with state tracking, retry control, and option... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-04-11T14:51:41.901Z | user - implement streak automation logic and initialize data configuration files. - Version number updated from 1.0.0 to 1.0.1. v1.0.0 |

62
Rank
84
Safety
1.8k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.8K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1759sngdfztr0e32kzqdwz28d84m5cv:tiktok-streak-bot
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-mrblackeg-tiktok-streak-bot/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

14,200 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

skill.md

---
name: tiktok-streak
version: 1.0.0
description: Browser-automated TikTok streak messaging skill using Playwright. Sends daily messages to configured usernames with state tracking, retry control, and optional content discovery via hashtags or keywords.
---

# TikTok Streak Skill

## Purpose

Send daily streak messages to a list of TikTok usernames using browser automation.

## Execution Flow

1. Load config and state
2. Initialize browser session using stored cookies
3. Validate session (TikTok homepage load)
4. Load usernames list
5. Filter users already processed today
6. For each remaining user:
   - Generate message (text or discovered content)
   - Send message via TikTok inbox
   - Update state
7. Persist updated cookies and state
8. Exit

## Features

### 1. Daily Streak Messaging

- Sends one message per user per day
- Default message: random short text

### 2. Content Discovery (Optional)

- If enabled in config:
  - Fetch random TikTok video using keyword/hashtag
  - Send link instead of text

### 3. State Tracking

- Prevent duplicate sends within same day
- Store last sent timestamp per username

### 4. Failure Handling

- Retry up to N times per user
- Skip on repeated failure

## Constraints

- Max users per run configurable
- Random delays between actions
- Session must be valid (cookies)

## Outputs

- Logs per execution
- Updated state.json
- Updated cookies.json

## Setup & Usage Instructions

### 1. Identify Target Users
Provide the profile usernames you would like to keep a streak with by creating a list in `data/usernames.json` (e.g. `["friend1", "friend2"]`).

### 2. Provide Authenticated Cookies
Export your TikTok authenticated browser cookies utilizing a standard browser extension (like "EditThisCookie") and save the JSON array securely within `data/cookies.json`.

### 3. Configure Execution
Optionally edit `data/config.json` to change default bot behaviors:
- Set `"enable_discovery": true` to pull and send trending videos utilizing your `"keywords"` list instead of plain generic text strings.
- Keep `"headless": true` to silently run in the background without UI interruption, or set to `false` to view the graphical browser UI during processing.

### 4. Run the Bot
Ensure all requirements are installed:
```bash
pip install -r scripts/requirements.txt
playwright install chromium
```

Launch the skill via:
```bash
python scripts/main.py
```

_meta.json

{
  "ownerId": "kn75zx3ps4nv5gf97wtdg4jjpn84m0n1",
  "slug": "tiktok-streak-bot",
  "version": "1.0.1",
  "publishedAt": 1775919101901
}

references/architecture.md

# Architecture

## Layers

### 1. Core
- Scheduler
- Config loader
- State manager

### 2. Browser Layer
- Playwright wrapper
- Session restoration
- Cookie injection

### 3. Feature Layer
- Streak sender
- Content discovery

### 4. Data Layer
- JSON-based storage

## Flow

main.py
 → load config
 → init session
 → run streak sender
 → persist state

references/overview.md

# Overview

This skill uses Playwright to automate TikTok messaging.

No official API is used. All interactions occur through browser simulation.

Core components:
- Session management via cookies
- Messaging engine
- Optional content discovery
- State persistence

Execution is scheduled daily at midnight.

references/selectors.md

# TikTok Selectors (subject to change)

## Inbox
https://www.tiktok.com/messages

## Elements

Search input:
input[placeholder="Search"]

Chat item:
div[data-e2e="chat-item"]

Message box:
div[contenteditable="true"]

Send trigger:
Keyboard Enter

## Notes
- Prefer data-e2e attributes
- Avoid brittle XPath
- Always use wait_for_selector

Sponsored

Ads related to TikTok Streak Bot and adjacent AI workflows.