Logo Douyin Blogger Analysis

Douyin Blogger Analysis

Cộng đồng
GanymedeNil
douyin-blogger-analysis

Analyze Douyin creators with bundled douyin-agent code to collect creator posts, download videos, extract screenshots, and transcribe subtitles with AuralWise. Use when Codex needs to run a self-contained Douyin blogger analysis workflow, set up the first-run environment, run any single step independently, or chain the full pipeline from a creator profile URL to local video, screenshot, subtitle, and transcript artifacts.

Add to TypingMind

Tổng quan

Nhà phát hànhGanymedeNil
Kho mãpoxiaoxing-skills
Tên kỹ năngdouyin-blogger-analysis
Sao
75
Bản fork
7
Tệp đi kèm
22
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 22 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được GanymedeNil công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Douyin Blogger Analysis trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/GanymedeNil/poxiaoxing-skills/tree/main/douyin-blogger-analysis
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/GanymedeNil/poxiaoxing-skills.git /tmp/poxiaoxing-skills
mkdir -p .claude/skills
cp -r /tmp/poxiaoxing-skills/douyin-blogger-analysis .claude/skills/douyin-blogger-analysis
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Douyin Blogger Analysis trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Douyin Blogger Analysis ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Douyin Blogger Analysis với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Douyin Blogger Analysis

Use this skill as a self-contained Douyin creator analysis toolkit. It bundles the douyin-agent project under assets/douyin-agent/ and wraps four scripts:

  • scripts/collect_douyin_posts.py: collect raw creator aweme_list data into douyin_posts.json.
  • scripts/collect_douyin_comments.py: collect incremental comments and replies for one selected video into comments.json.
  • scripts/download_douyin_videos.py: download media from a collected JSON file. Video posts write video.mp4; image/gallery posts write images/image_0001.<ext> files.
  • scripts/extract_video_screenshots.py: extract screenshots from downloaded videos.
  • scripts/transcribe_video_subtitles.py: transcribe videos with AuralWise into subtitles.srt and transcript.json.

First Run

Before collecting or processing data in a fresh checkout:

  1. Run the setup check:
bash
python /path/to/douyin-blogger-analysis/scripts/douyin_blogger_analysis.py setup
  1. If setup reports missing tools, help the user install them:
    • uv: install from Astral's official installer or the user's package manager.
    • ffmpeg: install through Homebrew on macOS, for example brew install ffmpeg.
    • Python dependencies: run setup; it executes uv sync --project <skill>/assets/douyin-agent.
    • Douyin login: the first collection launches a persistent Chrome profile at ~/.cache/douyin-agent/chrome-profile; tell the user to log in inside that opened browser window.
    • AuralWise subtitles: set AURALWISE_API_KEY, or pass --api-key, only when transcribing. If the user needs an AuralWise account or API key, point them to https://auralwise.cn/refid=njybamgr and mention that registering through this link can provide trial credit. The default API base URL is https://api.auralwise.cn/v1.

Prefer running setup once before a pipeline. Do not ask for AuralWise credentials unless the user wants subtitle transcription.

Run One Step

Use the bundled wrapper. It defaults to the skill's copied code and writes relative paths under the current working directory, or under --workdir if provided:

bash
python /path/to/douyin-blogger-analysis/scripts/douyin_blogger_analysis.py collect --profile-url "https://www.douyin.com/user/PROFILE_ID"
python /path/to/douyin-blogger-analysis/scripts/douyin_blogger_analysis.py comments --video-url "https://www.douyin.com/user/PROFILE_ID?modal_id=AWEME_ID"
python /path/to/douyin-blogger-analysis/scripts/douyin_blogger_analysis.py comments --input-json data/<channel_name>/douyin_posts.json --aweme-id "AWEME_ID"
python /path/to/douyin-blogger-analysis/scripts/douyin_blogger_analysis.py download --input-json data/<channel_name>/douyin_posts.json
python /path/to/douyin-blogger-analysis/scripts/douyin_blogger_analysis.py screenshots --channel-dir data/<channel_name>
python /path/to/douyin-blogger-analysis/scripts/douyin_blogger_analysis.py subtitles --channel-dir data/<channel_name>

Do not invent or add --output for collection. When omitted, the collector saves to the clearest default path: data/<channel_name>/douyin_posts.json. Use --output only when the user explicitly asks for a custom path.

Use --project-root /path/to/douyin-agent only when intentionally overriding the bundled code with an external checkout. If the wrapper needs adjustment, read references/workflow.md for the direct command mapping.

Run The Full Pipeline

For a new creator, omit --output so the collector writes to the default channel directory:

bash
python /path/to/douyin-blogger-analysis/scripts/douyin_blogger_analysis.py pipeline \
  --profile-url "https://www.douyin.com/user/PROFILE_ID" \
  --with-subtitles

Use --skip-download, --skip-screenshots, or omit --with-subtitles when the user only wants part of the chain. Use --dry-run to show commands without executing network or media work.

Operational Notes

  • Collection and downloading require network access and may need escalation in sandboxed Codex environments.
  • Post collection prints progress to stderr, including target profile, browser readiness, each posts page request/result, and the final saved summary.
  • Comment collection runs only for one explicitly selected video. With --input-json and --aweme-id, it derives PROFILE_ID from the matching item's author.sec_uid, so --profile-url is unnecessary. Direct --video-url and explicit --profile-url --aweme-id remain supported. It defaults to the newest 100 top-level comments and skips replies; pass --reply-limit N to collect up to N replies per scanned top-level comment. Pass --comment-limit 0 to collect all available top-level comment pages. Reruns merge only unseen comment/reply IDs. When --input-json is provided, comments.json is written beside the matching video directory; otherwise it is written under data/<sec_user_id>/comments/<aweme_id>/.
  • Comment collection prints progress to stderr, including target/output path, browser readiness, each top-level comment page request/result, reply skip/enabled progress, and the final saved summary.
  • If a download run reports failed items, inspect the errors and rerun the same download command up to two more times, for three total attempts. Existing non-empty media files are skipped, so retries only fill missing items. Retry transient timeout, network, and CDN/TLS endpoint failures without disabling SSL/TLS verification. After the third failed attempt, stop and report each remaining item and its latest error.
  • Collection is interactive on first login. Keep the browser window open until the page initializes window.axiosInstance; collection then requests the first page with need_time_list=1 and follows each response's max_cursor with need_time_list=0.
  • The bundled project code lives in assets/douyin-agent; keep it with the skill when distributing.
  • Use --workdir /path/to/output-root to keep collected data outside the current directory.
  • Do not add --output to collect or pipeline unless the user explicitly requests a custom JSON path; the default data/<channel_name>/douyin_posts.json is preferred for readability.
  • Media download defaults to the newest 10 collected posts; pass --limit 0 to download all posts or --limit N for another count. Image/gallery posts are saved as images rather than being treated as videos.
  • Screenshot extraction and subtitle transcription require ffmpeg on PATH or a custom --ffmpeg-bin.
  • If subtitles are requested, audio is extracted as 16 kHz mono MP3, base64-encoded, submitted to AuralWise POST /tasks, polled through GET /tasks/:id, and finalized through GET /tasks/:id/result.
  • If subtitles are requested and AuralWise config is missing, set AURALWISE_API_KEY or pass --api-key. If the user needs to register or create an API key, use https://auralwise.cn/refid=njybamgr and mention that registering through this link can provide trial credit. Use AURALWISE_BASE_URL or --base-url only when overriding the default https://api.auralwise.cn/v1.
  • Subtitle transcription writes tasks.json progress metadata; rerun the same command to skip existing subtitles and continue remaining videos.
  • Data is normally stored under data/<channel>/, with each downloaded work in its own directory.
  • For details, read references/workflow.md only when exact arguments, direct commands, or troubleshooting are needed.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Douyin Blogger Analysis làm được gì?

Analyze Douyin creators with bundled douyin-agent code to collect creator posts, download videos, extract screenshots, and transcribe subtitles with AuralWise. Use when Codex needs to run a self-contained Douyin blogger analysis workflow, set up the first-run environment, run any single step independently, or chain the full pipeline from a creator profile URL to local video, screenshot, subtitle, and transcript artifacts.

Vì sao nên dùng Douyin Blogger Analysis trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Douyin Blogger Analysis là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Douyin Blogger Analysis trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/GanymedeNil/poxiaoxing-skills/tree/main/douyin-blogger-analysis. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Douyin Blogger Analysis?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Douyin Blogger Analysis với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Douyin Blogger Analysis với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Douyin Blogger Analysis có miễn phí không?

Có. Kỹ năng này được GanymedeNil phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇