douyin-search

douyin-search is a skill for Claude Code, Codex from redfox-data/redfox-community-dsh. It costs 102 tokens per session (2,057 once invoked), scanned A, original, MIT.

A search tool for finding popular Douyin videos by keyword and date range. Douyin is a Chinese short-video platform.

In plain words
What is it for?
Use it to find trending videos, inspect likes, comments, shares, saves, and publish times, and receive daily keyword updates.
Why use it?
It avoids manually browsing large numbers of videos to find popular content and compare engagement.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to find trending videos, inspect likes, comments, shares, saves, and publish times, and receive daily keyword updates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redfox-data/redfox-community-dsh/douyin-search
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add redfox-data/redfox-community-dsh --skill douyin-search
Clone the repo
git clone --depth 1 https://github.com/redfox-data/redfox-community-dsh

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for douyin-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/douyin-search/github.svg)](https://agentmods.dev/skills/redfox-data/redfox-community-dsh/douyin-search)
Your own site
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/douyin-search"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/douyin-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for douyin-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/douyin-search"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/douyin-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,057 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00102 $0.02057
Opus 5 $0.00051 $0.01028
Sonnet 5 $0.00020 $0.00411
Haiku 4.5 $0.00010 $0.00206

Measured 11d ago against content hash 7e78ab0605f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

douyin-search scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/search_douyin.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/douyin-search/SKILL.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.

抖音作品查询

📝 简介

根据关键词搜索抖音热门爆款作品,支持按日期范围筛选,返回点赞、评论、分享、收藏、发布时间等互动数据,结果以结构化表格展示。

✨ 功能特性

功能模块 能力描述 核心价值
爆款搜索 关键词搜索抖音爆款作品 精准发现高热度内容
日期筛选 支持按日期范围筛选 定位特定时间段的热门内容
智能拓展 泛化词自动拓展为 10 个细分词 避免泛化词搜索结果偏差
可点击链接 作品标题以超链接格式输出 一键跳转查看原作品
订阅推送 支持关键词每日推送 定时获取最新爆款动态

🔑 鉴权

  • 获取 API Key:前往 红狐hub
  • 配置方式1:写入 ~/.openclaw/openclaw.json{ "env": { "REDFOX_API_KEY": "ak_xxxx..." } }
  • 配置方式2:终端执行 export REDFOX_API_KEY="ak_xxxx..."

⚙️ 工作流程

Step 1: 🔍 用户意图理解

⚠️ 核心规则:优先提取细分方向词,而非泛化的大类词

用户输入 处理方式
无赛道关键词("最近热门作品") 关键词传空字符串 "",查询全站热门
有细分词("职场穿搭"、"减脂餐") 直接搜索,无需拓展
有泛化词("穿搭"、"美食") 执行拓展策略(Step 2)

细分词判断原则:有场景/人群/风格/意图修饰 → 细分词;纯大类无修饰 → 泛化词。

提取精确关键词:从用户描述中提取细分领域词,而非泛化词。例:用户说“帮我找电影领域热门话题”且自称“小众电影、港台文化” → 搜索“小众电影、港台电影、电影乐评”,❌ 而非只搜“电影”。

过滤触发钩子词:用户输入中的「热门文章」「热门作品」「爆款」「热门内容」「查询」「搜索」等词是调用 Skill 的触发钩子,不属于搜索关键词,必须剥离。例:用户说“查询AI热门文章” → 关键词为「AI」,❌ 而非「AI热门文章」。

Step 2: 🔄 泛化词拓展策略

⚠️ 必须等待用户明确回复后再调用脚本!

步骤 操作
1. 生成细分词 生成10个适中大小的细分词(趋势词、人群词、场景词、意图词各2-3个),禁止调用脚本
2. 等待用户回复 用户未回复时禁止调用脚本
3. 执行 回复「拓展」→ 10词以英文逗号连接,仅调用一次脚本;回复「不拓展」→ 搜索原关键词

输出示例:

我识别到「中产」是较大的分类,推荐以下细分方向:
老钱,轻奢,品质生活,松弛感,高级感穿搭,体面,法式穿搭,律师,医生,品质家居
回复「拓展」将同时搜索这10个词,回复「不拓展」将继续搜索「中产」

Step 3: 📡 调用 API 接口

3.1 时间解析规则

用户输入 解析方式 示例
绝对日期 解析为 YYYY-MM-DD 6月1号2026-06-01
相对日期 基于当前日期计算 最近7天 → start=7天前, end=今天
日期范围 分别解析为 startDate/endDate 5月30日到6月2日
模糊时间 不解析,保持默认空字符串 最近的最新的
  • startDate/endDate 默认空字符串,表示不限定时间
  • 单日期 → startDate = endDate;年份省略取当前年份

3.2 执行脚本

# 无时间参数
python3 ~/.qoderwork/skills/douyin-search/scripts/search_douyin.py "<关键词>"

# 有时间参数
python3 ~/.qoderwork/skills/douyin-search/scripts/search_douyin.py "<关键词>" --start-date <startDate> --end-date <endDate>

仅传入非空的时间参数。脚本返回 JSON:

Read the full file on GitHub · 153 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 153 lines · 102 tokens per session scan A 7e78ab0605f2

Subscribe to this mod's changes

douyin-search is a skill published in the GitHub repository redfox-data/redfox-community-dsh (5 stars, last pushed today), licensed MIT. It adds 102 tokens to every session and 2,057 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

dsh-hooks-authoring

Instructions for writing and debugging dsh-hooks-plugin scripts, which run during tool or session events such as before a tool call or after it finishes. These scripts return JSON decisions such as allowing, asking about, or denying an action.

KYinCode/dsh-hooks-plugin · 112 tokens

web-artifact-designer

A design workflow for producing self-contained HTML or SVG files that open directly in a browser. It covers visual work such as posters, infographics, landing pages, charts, banners, cards, and interface mockups.

xulelenlp/dsh-web-artifact-designer · 115 tokens

dsh-web-pet-developer

Create a pet for the dsh-pet plugin and integrate it into the dsh web GUI — author a v2 pet.json manifest plus an 8-column x 9-row atlas per the Codex/hatch-pet contract (live2d pets, voice packs and status decorations included), drop it into the pet-center user directory or contribute it as a built-in asset under…

zhu1090093659/dsh-web · 162 tokens

company-research-method

A documented process for researching a company using supplied files and selected public sources. It produces a company overview with business details, sourced financial figures, and stated risks.

PerryLink/dsh-industry-research · 83 tokens

dsh-plugin-guide

Use when developing, reviewing, packaging, debugging, or answering questions about DeepSeek Harness (DSH) plugins — the plugin-based agent harness on vendored Cordis. Applies the official plugin-development constraints (plugin contract, cordis.yml layers, services/events/effects, tool DSL, bundles/profiles) backed by…

PerryLink/dsh-plugin-guide · 76 tokens

delivery-proof

Delivery proof and the doublecheck report. Use when the work is done and the delivery must be proven — consolidate the spec, test timeline, review verdicts, and verification checks into a doublecheckreport, and only then claim completion.

PerryLink/dsh-doublecheck · 50 tokens