Douyin Blogger Analysisのロゴ

Douyin Blogger Analysis

コミュニティ
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.

概要

公開者GanymedeNil
リポジトリpoxiaoxing-skills
スキル名douyin-blogger-analysis
スター
75
フォーク
7
同梱ファイル
22
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 22個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    GanymedeNilがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Douyin Blogger Analysis」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/GanymedeNil/poxiaoxing-skills/tree/main/douyin-blogger-analysis
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでDouyin Blogger Analysisを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にDouyin Blogger Analysisを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Douyin Blogger Analysisは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでDouyin Blogger Analysisを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Douyin Blogger Analysisはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにDouyin Blogger Analysisをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/GanymedeNil/poxiaoxing-skills/tree/main/douyin-blogger-analysisを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Douyin Blogger Analysisを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Douyin Blogger Analysisで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDouyin Blogger Analysisを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Douyin Blogger Analysis」は無料ですか?

はい。GanymedeNilがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇