douyin
Skill293 starsChanged 7 months agoMITView on GitHub
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.
- Reads credentials
- Installs packages
3 other projects use a version of this.
Adopted by
Most recently taken up by
- Alex0721-web/claude-skillstheir own version, first seen Jun 25, 2026
- TikHub/tikhub-plugintheir own version, first seen Jun 15, 2026
- ballbasecn-star/claude-skill-douyintheir own version, first seen Apr 14, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- ballbasecn-star/claude-skill-douyin★ 45same name
- TikHub/tikhub-plugin★ 7same name
- Alex0721-web/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Add the config from references/provider-config.yaml to ~/.sig/config.yaml under providers:.
- Very specific: line 72
Not logged in: {"status_code": 8, "status_msg": "用户未登录"}
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
sig login douyin # Opens browser, scan QR code with Douyin app
sig login douyin-live # Same — captures live.douyin.com cookies3. Verify
sig status douyin
sig status douyin-live
# Both should show: valid: trueUsage with DouYin_Spider
Once cookies are obtained, use DouYin_Spider for data scraping and livestream monitoring:
# 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 receivingGet cookies
# 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 valueValidation
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.comparent domain are shared between www and live subdomains - TTL is set to 2h; use
sig watch add douyinfor auto-refresh
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

