Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Douyin

ASecurity

Provide authenticated cookies for Douyin (抖音/TikTok China) — two providers: douyin (www.douyin.com for scraping) and douyin-live (live.douyin.com for livestream). Use this skill whenever the user needs Douyin cookies for scraping tools like DouYin_Spider, or needs to authenticate with Douyin services. Trigger when the user mentions 抖音, Douyin, TikTok China, douyin cookies, or wants to use tools that require Douyin login cookies.

293 stars
0 votes
0 copies
0 views
Added 9/20/2026
devopspythonbashgitapi

Works with

cliapi

Security Analysis

A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
mediumInstalls packages at runtime which could introduce malicious dependencies

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add sigcli/sigcli --skill douyin --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Douyin?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Douyin
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sigcli-douyin/badge)](https://www.skillsdirectory.com/skills/sigcli-douyin)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: douyin
description: 'Provide authenticated cookies for Douyin (抖音/TikTok China) — two providers: douyin (www.douyin.com for scraping) and douyin-live (live.douyin.com for livestream). Use this skill whenever the user needs Douyin cookies for scraping tools like DouYin_Spider, or needs to authenticate with Douyin services. Trigger when the user mentions 抖音, Douyin, TikTok China, douyin cookies, or wants to use tools that require Douyin login cookies.'
---

# Douyin Skill (Cookie Provider)

This skill provides authenticated cookies for Douyin (抖音) via sigcli. It produces two sets of cookies for different domains:

| Provider      | Domain          | Use case                                        |
| ------------- | --------------- | ----------------------------------------------- |
| `douyin`      | www.douyin.com  | Data scraping (videos, users, search, comments) |
| `douyin-live` | live.douyin.com | Livestream monitoring (弹幕, gifts, WebSocket)  |

## Setup

### 1. Configure providers

Add the config from `references/provider-config.yaml` to `~/.sig/config.yaml` under `providers:`.

### 2. Login

```bash
sig login douyin        # Opens browser, scan QR code with Douyin app
sig login douyin-live   # Same — captures live.douyin.com cookies
```

### 3. Verify

```bash
sig status douyin
sig status douyin-live
# Both should show: valid: true
```

## Usage with DouYin_Spider

Once cookies are obtained, use [DouYin_Spider](https://github.com/cv-cat/DouYin_Spider) for data scraping and livestream monitoring:

```bash
# Install DouYin_Spider
git clone https://github.com/cv-cat/DouYin_Spider.git
cd DouYin_Spider
pip install -r requirements.txt && npm install

# Write cookies to .env
echo "DY_COOKIES='$(sig get douyin --no-redaction --format value)'" > .env
echo "DY_LIVE_COOKIES='$(sig get douyin-live --no-redaction --format value)'" >> .env

# Run
python main.py              # Data scraping
python dy_live/server.py    # Livestream monitoring
python dy_apis/douyin_recv_msg.py  # Private message receiving
```

## Get cookies

```bash
# www.douyin.com cookie (for scraping)
sig get douyin --no-redaction --format value

# live.douyin.com cookie (for livestream)
sig get douyin-live --no-redaction --format value
```

## Validation

The `validateRule` uses Douyin's notification count API:

- Endpoint: `https://www.douyin.com/aweme/v1/web/notice/count/`
- Logged in: `{"status_code": 0, "notice_count": [...]}`
- Not logged in: `{"status_code": 8, "status_msg": "用户未登录"}`
- Rule: `res.body.status_code === 0`

## Notes

- Douyin requires visible browser login (QR code scan) — `loginMode: visible`
- Cookies from `.douyin.com` parent domain are shared between www and live subdomains
- TTL is set to 2h; use `sig watch add douyin` for auto-refresh

Attribution

sigclisigcli
View sourceMore from sigcli →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Terraform Module Library

Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

397921 votes

sematext-otel

Wire a service's OpenTelemetry output to Sematext Cloud. Walks through region, App-type, instrumentation flow (managed OTLP endpoint vs Sematext Agent), and signal selection (traces/metrics/logs), then produces the exact env-var block and points at a runnable reference example in this repo. Invoke when instrumenting a new app for Sematext.

01 votes

Deployment Patterns

Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications. Use when setting up deployment infrastructure or planning releases.

2459130 votes

Babysit

Watch a pull request or review cycle until it is ready to merge. Use when asked to babysit, monitor, or keep checking PR comments, reviews, and CI until all actionable issues are resolved.

942310 votes

V7 Roster

Interact with the Paperclip control plane API for task coordination and governance. Use when checking assignments, updating issue status, posting comments, delegating work, managing routines, or calling Paperclip API endpoints.

805540 votes
View all in devops →