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.
npx skills add zJay26/douyin-skills --skill douyin-envgit clone --depth 1 https://github.com/zJay26/douyin-skillsWrote 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.
[](https://agentmods.dev/skills/zjay26/douyin-skills/douyin-env)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00076 | $0.01367 |
| Opus 5.5 | $0.00030 | $0.00547 |
| Sonnet 5.5 | $0.00015 | $0.00273 |
| Haiku 4.5 | $0.00008 | $0.00137 |
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 2mo 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.
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 中 success 为 true 且 required_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 定位
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.
- 2mo ago Changed · +23 lines · +12 tokens per session 7bed3da77acd
- 2mo ago Changed · +8 lines a34e7682c167
- 3mo ago First seen · 79 lines · 64 tokens per session scan A d1f632d8c6b1
douyin-env is a skill published in the GitHub repository zJay26/douyin-skills (61 stars, last pushed 25d ago), licensed MIT. It adds 76 tokens to every session and 1,367 once invoked, about $0.0003 per session on Opus 5.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.
douyin-env compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| douyin-envzJay26/douyin-skills | Skill | 61 | 25d ago | MIT | A | 76 | Claude Code, Codex |
| context-recoverySakuraByteCore/codexmate | Skill | 357 | 2d ago | Apache-2.0 | A | 72 | Claude Code, Codex |
| tma1tma1-ai/tma1 | Skill | 125 | 4d ago | Apache-2.0 | A | 72 | Claude Code |
| tma1-peertma1-ai/tma1 | Skill | 125 | 4d ago | Apache-2.0 | A | 104 | Claude Code |
| skillredf0x1/camofox-mcp | Skill | 129 | 24d ago | MIT | A | 38 | Claude Code, Codex |
| revergreekr4/rever-browser | Skill | 63 | 3d ago | MIT | A | 82 | Claude Code, Codex |
| browser-bridge-troubleshootingkoltyakov/browser-bridge | Skill | 32 | yesterday | MIT | A | 72 | Claude Code, Codex |