jiji262
- Joined
- Dec 1, 2026
Comments
(Nov 30) What are you building this week?🤖
Working on douyin-dl, an open-source CLI plus agent skill that lets Claude Code or Codex work with Douyin (the Chinese TikTok): hot search board, keyword search, creator profiles, live recording and local Whisper transcription. Search and profiles need you to be signed in.
The part that mattered most for agents was making the output boring. In agent mode every command prints exactly one JSON line with a schema version and a fixed error code, so the agent branches on the code instead of guessing from a stack trace.
douyin-dl agent doctorprints the exact install command for anything missing (FFmpeg, Whisper), so the agent doesn't have to guess there either.Right now Douyin's risk control blocks downloading posts by link. That path returns a fixed ARGUS_GATED error instead of retrying, so the agent can stop and say why.