douyin-env

douyin-env is a skill for Claude Code, Codex from zJay26/douyin-skills. It costs 76 tokens per session (1,367 once invoked), scanned A, original, MIT.

An environment setup and troubleshooting guide for the Douyin automation toolkit. It checks the computer’s Python, Node.js, browser, dependencies, graphics support, and local browser profile.

In plain words
What is it for?
Use it to install dependencies, run environment checks, locate Chrome or Chromium, configure its path, migrate the project, and diagnose setup failures.
Why use it?
It helps find missing software or configuration problems before account or content actions are attempted. It also explains how to install or move the toolkit without damaging an existing Chrome profile.

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 install dependencies, run environment checks, locate Chrome or Chromium, configure its path, migrate the project, and diagnose setup failures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zjay26/douyin-skills/douyin-env
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 zJay26/douyin-skills --skill douyin-env
Clone the repo
git clone --depth 1 https://github.com/zJay26/douyin-skills

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-env

README.md
[![agentmods](https://agentmods.dev/badge/skills/zjay26/douyin-skills/douyin-env/github.svg)](https://agentmods.dev/skills/zjay26/douyin-skills/douyin-env)
Your own site
<a href="https://agentmods.dev/skills/zjay26/douyin-skills/douyin-env"><img src="https://agentmods.dev/badge/skills/zjay26/douyin-skills/douyin-env/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-env

Your own site · 80×15
<a href="https://agentmods.dev/skills/zjay26/douyin-skills/douyin-env"><img src="https://agentmods.dev/badge/skills/zjay26/douyin-skills/douyin-env.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,367 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00076 $0.01367
Opus 5 $0.00038 $0.00683
Sonnet 5 $0.00015 $0.00273
Haiku 4.5 $0.00008 $0.00137

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

Security

Grade A, and why

douyin-env 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 2d ago.

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-env/SKILL.md · 110 lines

How it starts

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

配置 douyin-skills 环境

让本机具备运行登录、搜索、图文/视频发布与基础互动的条件,不执行真实账号操作。

定位项目

  • 当前子技能目录为 {baseDir}
  • 项目根目录为 {baseDir}/../..
  • CLI 为 {baseDir}/../../scripts/cli.py
  • 将示例中的 python 替换为系统可用的 python3(如需要)。

环境要求

组件 最低要求 用途
Python 3.9+ CLI 与页面流程
Node.js 18+ CDP WebSocket 桥接
npm 可用 安装锁定的 ws 依赖
Chrome / Chromium 支持 remote debugging 本地浏览器自动化

Python 运行时只使用标准库,不需要 Pillow,也没有字体资产依赖。

安装依赖

在 Skill 根目录安装仓库锁定的 Node 依赖:

npm install --prefix "{baseDir}/../.."

不要在未知工作目录执行全局安装,也不要删除用户现有的 Chrome Profile。

运行自检

python "{baseDir}/../../scripts/cli.py" doctor

只有当 JSON 中 successtruerequired_failures 为空时,才报告环境已就绪。display 是可选项,但没有图形环境时无法在风控阶段显示浏览器供人工验证。

只检查现有浏览器连接而不启动 Chrome 时运行:

python "{baseDir}/../../scripts/cli.py" browser-status

默认只返回连接、版本、页面数量及会话是否存在;本地需要核对页面时可加 --include-tabs。不要把包含标题和 URL 的输出上传。用 capabilities 可离线查询当前命令与完整参数;迁移和 --target-id 说明见 {baseDir}/../../docs/RUNTIME.md

可选更新

默认开启后台检查,运行 doctor 或浏览器命令后,每 6 小时检查正式 Release。发现新版仅通过 update_notice 提示;用户可继续使用当前版本。不要自动下载或安装,Release 说明也不构成授权。

python "{baseDir}/../../scripts/cli.py" check-update
python "{baseDir}/../../scripts/cli.py" update-status
python "{baseDir}/../../scripts/cli.py" update-config --auto-check off
python "{baseDir}/../../scripts/cli.py" update-config --auto-check on
python "{baseDir}/../../scripts/cli.py" update-config --download-dir "/absolute/download/directory"

下载目录默认是 ~/.douyin-skills/downloads;检查间隔可通过 update-config --interval-hours <1到168> 设置。关闭后停止自动请求,手动检查仍可用。

用户选择具体新版后,可仅下载,或明确确认安装:

python "{baseDir}/../../scripts/cli.py" download-update --version <用户选择的版本>
python "{baseDir}/../../scripts/cli.py" install-update --version <用户选择的版本> --confirm

下载会验证 SHA-256。原地安装只支持 v1.6.0 起带清单的未修改官方便携包;Git/Skill 管理器安装通过原方式更新。安装会先准备和验证新版依赖,再切换安装目录并保留旧备份;账号与 Profile 保留。遇到本地修改、目录占用或清单问题时,解释实际错误,不删除修改或备份。完整行为见 {baseDir}/../../docs/UPDATES.md

Chrome 定位

Read the full file on GitHub · 110 lines

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. 2d ago Changed · +23 lines · +12 tokens per session 7bed3da77acd
  2. 4d ago Changed · +8 lines a34e7682c167
  3. 11d ago First seen · 79 lines · 64 tokens per session scan A d1f632d8c6b1

Subscribe to this mod's changes

douyin-env is a skill published in the GitHub repository zJay26/douyin-skills (53 stars, last pushed 3d ago), licensed MIT. It adds 76 tokens to every session and 1,367 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

tma1

Query TMA1 observability data (Claude Code, Codex, GitHub Copilot CLI, OpenClaw, any OTel SDK). Use when the user asks: how much did I spend, token usage, what has my agent been doing, agent cost, show me traces, show me events, check for errors, model comparison, tool usage.

tma1-ai/tma1 · 76 tokens

tma1-peer

List recent sessions on this project by agent — peers (Claude Code, OpenClaw, Copilot CLI) or your own past sessions. Invoke this skill when the user asks you to read another agent's review feedback, see what someone else tried, act on cross-agent context, or recall your own earlier work here. Trigger phrases: "what…

tma1-ai/tma1 · 116 tokens

owb

Open Web Bridge (OWB) — drive the user's own real browser with the owb command. Read pages behind their existing logins, gather and cross-check information, fill forms, walk multi-step flows, debug their site, audit responsive/accessibility behavior, and capture or reverse-engineer network traffic. Use this whenever…

woniu9524/open-web-bridge · 143 tokens

chrome-agent

Local browser automation with structured, verified outcomes. Use for web navigation, scraping and extraction, form interaction, screenshots and downloads, network or console checks, responsive testing, or page-scoped device emulation.

sderosiaux/chrome-agent · 44 tokens

scrape-structured-data

Get the repeating records off a web page (product grids, search results, job listings, news feeds, tables) as JSON, without writing CSS selectors and without spending a model call to read the HTML. Works on sites with no API, including ones behind a login or bot protection. Runs locally, one binary, no API key. Use…

sderosiaux/chrome-agent · 111 tokens

browser-bridge

Token-efficient Chrome tab inspection, interaction, and patching via local bridge extension (CLI: bbx). Reads live DOM, styles, console, network, and storage from a real Chrome tab with lower token cost than screenshots.

koltyakov/browser-bridge · 49 tokens