Agent skill

Douyin

by sigcli in sigcli/sigcli

Provide authenticated cookies for Douyin (抖音/TikTok China) — two providers: douyin (www.douyin.com for scraping) and douyin-live (live.douyin.com for livestream).

MITAuto-check: notesData & Analytics

Install Douyin

skills CLI
$ npx skills add sigcli/sigcli --skill douyin -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sigcli/sigcli douyin --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sigcli/sigcli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/douyin .claude/skills/douyin && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
douyin
GitHub stars
293
Used in
1 other repo
Token cost
~696 tokens
SKILL.md length
136 words
Files
2 (incl. references)
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

Provide authenticated cookies for Douyin (抖音/TikTok China) — two providers: douyin (www.douyin.com for scraping) and douyin-live (live.douyin.com for livestream).

  • Works in 3 steps: Configure providers → Login → Verify
  • The user needs Douyin cookies for scraping tools like DouYinSpider
  • SKILL.md covers Setup, Usage with DouYin_Spider, Get cookies and Validation, plus 1 more section
  • Calls python, git and pip; reaches github.com and douyin.com

What it does

Douyin is an agent skill from sigcli/sigcli. 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 DouYinSpider, 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.

Its SKILL.md is about 700 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/provider-config.yaml`).

It sits in Data & Analytics, covering Web scraping. It works with Douyin and TikTok. The repository describes itself as: The authentication CLI & Proxy for AI agents. Give agents access, not your credentials. The licence is MIT.

When your agent uses it

  • The user needs Douyin cookies for scraping tools like DouYinSpider
  • Needs to authenticate with Douyin services
  • The user mentions 抖音
  • Wants to use tools that require Douyin login cookies

Example prompts

  • “/douyin”

Requirements

  • Python 3
  • Node.js

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Configure providers
  2. Login
  3. Verify

What it can do on your machine

Read from SKILL.md and the folder at commit 9ba8b35. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python
    • git
    • pip
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com
    • douyin.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Douyin loads about 696 tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 110 tokens; SKILL.md has 136 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~110
When it runs · the whole SKILL.md, loaded when a task matches
~696
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:46
    # Write cookies to .env
  • NoteMentions a .env fileSKILL.md:47
    ouyin --no-redaction --format value)'" > .env
  • NoteMentions a .env fileSKILL.md:48
    live --no-redaction --format value)'" >> .env

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sigcli/sigcli at commit 9ba8b35, republished under its MIT licence (© sigcli). 136 words, ~696 tokens.

Download SKILL.mdSave it as .claude/skills/douyin/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
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.

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

ProviderDomainUse case
douyinwww.douyin.comData scraping (videos, users, search, comments)
douyin-livelive.douyin.comLivestream 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 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

© sigcli, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/douyin of sigcli/sigcli.

  • SKILL.md
  • references/provider-config.yaml

Open the folder on GitHubat commit 9ba8b35

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in sigcli/sigcli, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Douyin next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Douyin compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Douyin this skillsigcli/sigcli2931 repos~696Automated safety check: NotesMIT
Douyin Video Searchbrowser-act/skills6.1k—~1.8kAutomated safety check: PassMIT
Google Maps ScraperMahanaicoach/google-maps-scraper-kit1.3k—~2.8kAutomated safety check: PassMIT
Douyin Creator ScrapingTradingAi666/TzFilm-Douyin-Tool405—~7.2kAutomated safety check: PassMIT
Media Crawlertsingyuai/growth-lab2k—~731Automated safety check: PassApache-2.0
Content Ideasbradautomates/content-ideas130—~5.4kAutomated safety check: NotesMIT

Similar skills

  • Douyin Video Search

    browser-act/skills

    Searches Douyin (douyin.com) for videos by keyword and returns structured video data including author info, stats, cover, description, hashtags, and download URL.

    6.1k GitHub stars~1.8k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Google Maps Scraper

    Mahanaicoach/google-maps-scraper-kit

    Scrape Google Maps business listings (name, address, phone, website, rating, reviews, lat/lng, hours, emails) via the local gosom google-maps-scraper REST API.

    1.3k GitHub stars~2.8k tokensUpdated 2 days ago
    Data & AnalyticsAuto-check passed
  • Douyin Creator Scraping

    TradingAi666/TzFilm-Douyin-Tool

    Scrape video stats from the Douyin creator center (creator.douyin.com) using AppleScript to automate the user's logged-in Chrome.

    405 GitHub stars~7.2k tokensUpdated 4 mo ago
    Data & AnalyticsAuto-check passed
  • Media Crawler

    tsingyuai/growth-lab

    Install, authenticate, configure, operate, and troubleshoot the external MediaCrawler client shared by Douyin, Kuaishou, Bilibili, Weibo, Tieba, and Zhihu collectors.

    2k GitHub stars~731 tokensUpdated 9 days ago
    Data & AnalyticsAuto-check passed
  • Content Ideas

    bradautomates/content-ideas

    Your For You page for content creators. An agent skill from bradautomates/content-ideas.

    130 GitHub stars~5.4k tokensUpdated 4 mo ago
    Data & AnalyticsAuto-check: notes
  • Douyin Chrome Browser Manifest

    dragon-hh/ai-boshu-crawler

    Use this in the AI blogger crawler project when Douyin daily creator updates should use the Codex Chrome plugin instead of the local web-access CDP proxy to collect creator-page cards, selected…

    106 GitHub stars~765 tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed

More from sigcli/sigcli

All 15 skills in this repo
  • Bilibili

    sigcli/sigcli

    Interact with Bilibili (B站) — browse trending videos, view video details, read comments, search videos and users, view user profiles, like, coin, and favorite videos.

    293 GitHub stars~2.8k tokensUpdated 9 days ago
    Auto-check passed
  • Hackernews

    sigcli/sigcli

    Interact with Hacker News (news.ycombinator.com) — browse top, new, and best stories, read item details and comment threads, look up user profiles, and search posts via Algolia.

    293 GitHub stars~2k tokensUpdated 9 days ago
    Auto-check passed
  • Linkedin

    sigcli/sigcli

    Interact with LinkedIn — view your profile, browse other profiles, read the feed, search jobs/posts/people, get job details, create posts, like/unlike posts, comment, send connection requests, and…

    293 GitHub stars~3.1k tokensUpdated 9 days ago
    Auto-check passed
  • Msteams

    sigcli/sigcli

    Interact with Microsoft Teams — send and read messages, search conversations, look up people, check calendar, get meeting transcripts, and manage chats.

    293 GitHub stars~2.7k tokensUpdated 9 days ago
    Auto-check passed
  • Outlook

    sigcli/sigcli

    Interact with Outlook email — read inbox, send emails, search messages, reply/forward, manage folders, download attachments.

    293 GitHub stars~2.6k tokensUpdated 9 days ago
    Auto-check passed
  • Reddit

    sigcli/sigcli

    Interact with Reddit — browse subreddits, read posts and comments, search content, view user profiles, post comments, vote, save posts, subscribe to subreddits.

    293 GitHub stars~3.1k tokensUpdated 9 days ago
    Auto-check passed

Works with

Questions about Douyin

What does Douyin do?

Provide authenticated cookies for Douyin (抖音/TikTok China) — two providers: douyin (www.douyin.com for scraping) and douyin-live (live.douyin.com for livestream). Douyin is an agent skill from sigcli/sigcli.com for livestream).

When should I use Douyin?

Douyin fits situations like: the user needs Douyin cookies for scraping tools like DouYinSpider; needs to authenticate with Douyin services; the user mentions 抖音; wants to use tools that require Douyin login cookies.

How do I install Douyin in Claude Code?

Run `npx skills add sigcli/sigcli --skill douyin -a claude-code`. Or copy the skill folder (skills/douyin in sigcli/sigcli) into .claude/skills/douyin in your project. Claude Code loads it when a task matches its description.

How do I install Douyin in Codex?

Run `npx skills add sigcli/sigcli --skill douyin -a codex`. Or copy the skill folder (skills/douyin in sigcli/sigcli) into .agents/skills/douyin in your project. Codex loads it when a task matches its description.

Can I use Douyin in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sigcli/sigcli --skill douyin -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/douyin, .gemini/skills/douyin, .github/skills/douyin and .opencode/skills/douyin in your project.

What does Douyin need to run?

Going by SKILL.md and its folder, Douyin needs the command-line tools its instructions call (python, git, pip and npm). Our summary lists: Python 3; Node.js.

Does Douyin access the network?

SKILL.md names 2 domains. In commands or code: github.com and douyin.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Douyin safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Douyin use?

Douyin is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Douyin use?

About 696 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 358 tokens, read only when the agent opens those files.

What are the alternatives to Douyin?

Skills that share tags, products or a category with Douyin: Douyin Video Search (browser-act/skills, 6.1k stars), Google Maps Scraper (Mahanaicoach/google-maps-scraper-kit, 1.3k stars), Douyin Creator Scraping (TradingAi666/TzFilm-Douyin-Tool, 405 stars) and Media Crawler (tsingyuai/growth-lab, 2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Douyin?

sigcli (a GitHub organization) maintains it in sigcli/sigcli, which has 293 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on September 28, 2026.

Source: sigcli/sigcli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.