douyin-favorites-to-knowledge

douyin-favorites-to-knowledge is a skill for Claude Code, Codex from tars1230/douyin-favorites-to-knowledge. It costs 92 tokens per session (2,468 once invoked), scanned A, a copy of douyin-favorites-to-knowledge, MIT.

A workflow for syncing videos saved or liked by an authorised Douyin account into local Markdown files or an Obsidian knowledge base, a folder of linked research notes.

In plain words
What is it for?
Use it to sync favourites or explicitly liked videos, optionally transcribe them with SiliconFlow or local Whisper, create daily indexes and templates, and optionally configure Feishu notifications or tables.
Why use it?
It turns a personal video collection into searchable notes while keeping account access, transcription choices, and private credentials under the user's control.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to sync favourites or explicitly liked videos, optionally transcribe them with SiliconFlow or local Whisper, create daily indexes and templates, and optionally configure Feishu notifications or tables.

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

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-favorites-to-knowledge

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tars1230/douyin-favorites-to-knowledge/skill"><img src="https://agentmods.dev/badge/skills/tars1230/douyin-favorites-to-knowledge/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,468 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.
Origin 100% copy Near-identical to another mod 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.00092 $0.02468
Opus 5 $0.00046 $0.01234
Sonnet 5 $0.00018 $0.00494
Haiku 4.5 $0.00009 $0.00247

Measured 12d ago against content hash 15ddf1d64c7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

douyin-favorites-to-knowledge 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 12d 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.

Origin

This is a copy

100% identical to douyin-favorites-to-knowledge — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skill/SKILL.md · 162 lines

How it starts

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

抖音视频收藏转本地知识库

优先使用单入口流程。不要先向用户解释 schema、模式、provider 或 adapter。

首次使用

先检查命令是否存在:

douyin-favorites-knowledge --help

如果命令不存在,优先从国内镜像安装完整程序。选择用户确认的项目目录,不要替用户猜测长期存放位置:

git clone https://gitee.com/tars123/douyin-favorites-to-knowledge.git
cd douyin-favorites-to-knowledge
python3 -m venv .venv
. .venv/bin/activate
python -m pip install .

Gitee 不可用时再使用源码仓库 https://github.com/tars1230/douyin-favorites-to-knowledge。不要使用不明 GitHub 加速站。

安装完成后运行:

douyin-favorites-knowledge setup

让用户选择 Markdown 或 Obsidian 知识库目录,再让用户选择转录方案。推荐 SiliconFlow云端;本地 Whisper 只有用户愿意下载模型、承担本机资源时才选;none 只保存描述与链接。不要要求用户复制 Cookie。默认来源是收藏;仅当用户明确说“喜欢”或“点赞”时,向 login/sync--source like

用户明确选择 Obsidian 时,在已有 setup 后执行:

douyin-favorites-knowledge configure-obsidian --vault "用户选择的 Vault" --subdir "抖音知识库"

它会切换知识库目录并创建默认模板、日报索引和写入检查。不要猜测 Vault 位置。

飞书默认关闭且不影响本地同步。用户主动选择 webhook 通知时,让其自行把 webhook 放入安全环境变量 FEISHU_WEBHOOK_URL,随后运行 configure-feishu --mode webhook;不要把 URL 写入配置。用户选择已有或新建多维表时运行对应的 configure-feishu --mode bitable-existing|bitable-new 生成字段模板和授权提示。用户必须自行完成飞书登录、应用授权、建表或选表和共享权限;无授权时返回提示,不得假装多维表已经写入。

如果 Agent 在非交互环境执行,明确指定目录:

douyin-favorites-knowledge setup --knowledge-dir "用户确认的目录" --transcription siliconflow --skip-login

随后让用户在自己的终端运行 douyin-favorites-knowledge login 完成网页登录。不要替用户猜测知识库目录。

日常同步

douyin-favorites-knowledge sync

sync 将新增收藏静默写入知识库。首次配置完成后,日常同步不得要求用户逐条或逐次确认;终端只返回汇总结果。SQLite 防重账本、原子文件替换和内容冲突 fail-closed 仍必须保留。

登录失效时不打开登录页、直接失败时使用:

douyin-favorites-knowledge sync --no-login-prompt

--yes 只为旧脚本兼容保留,不再是同步前提。

每晚日报

首次 setuplogin 成功后,若当前 Agent 支持定时任务,必须在用户本机创建并验证每天 23:00 的任务,执行:

douyin-favorites-knowledge daily --source collection --no-login-prompt

使用当前环境可用的任务调度器;创建后必须读取任务状态或执行一次 dry-run 验证,并向用户返回任务标识与用户时区。任务只运行已安装的命令,不传凭据,不弹出登录页。云端转录时,只有调度环境能从用户已有的 Secret Manager 或安全环境变量读取 SILICONFLOW_API_KEY(或可选 DASHSCOPE_API_KEY)才能创建任务;不能持久化读取或当前 Agent 没有 scheduler 能力时,必须明确报告“自动日报未启用”,不能制造必然失败的计划任务或暗示已启用。daily 静默同步并在知识库 日报/ 写入当天 Markdown 日报,零新增也写日报。登录失效时任务失败,由用户下次运行 login 恢复。

Read the full file on GitHub · 162 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. 12d ago First seen · 162 lines · 92 tokens per session scan A 15ddf1d64c7a

Subscribe to this mod's changes

douyin-favorites-to-knowledge is a skill published in the GitHub repository tars1230/douyin-favorites-to-knowledge (56 stars, last pushed 1mo ago), licensed MIT. It adds 92 tokens to every session and 2,468 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to douyin-favorites-to-knowledge, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

llm-wiki

The foundational knowledge distillation pattern for building and maintaining an AI-powered Obsidian wiki. Based on Andrej Karpathy's LLM Wiki architecture. Use this skill whenever the user wants to understand the wiki pattern, set up a new knowledge base, or needs guidance on the three-layer architecture (raw sources…

Ar9av/obsidian-wiki · 113 tokens

wiki-export

Export the Obsidian wiki's knowledge graph to structured formats for use in external tools. Use this skill when the user says "export wiki", "export graph", "export to JSON", "export to Gephi", "export to Neo4j", "export to Postgres", "export to SQL", "graphml", "visualize wiki", "knowledge graph export", "export to…

Ar9av/obsidian-wiki · 172 tokens

wiki-query

Answer questions by searching the compiled Obsidian wiki. Use this skill when the user asks a question about their knowledge base, wants to find information across their wiki, asks "what do I know about X", "find everything related to Y", or wants synthesized answers with citations from their wiki pages. Also use when…

Ar9av/obsidian-wiki · 200 tokens

wiki-status

Show the current state of the wiki — what's been ingested, what's pending, and the delta between sources and wiki content. Use this skill when the user asks "what's the status", "how much is ingested", "what's left to process", "show me the delta", "what changed since last ingest", "wiki dashboard", or wants an…

Ar9av/obsidian-wiki · 210 tokens

cross-linker

Scan the Obsidian wiki and automatically discover missing cross-references between pages. Use this skill when the user says "link my pages", "find missing links", "cross-reference", "connect my wiki", "add wikilinks", "what pages should be linked", or after any large ingestion to ensure new pages are woven into the…

Ar9av/obsidian-wiki · 137 tokens

pi-history-ingest

Ingest Pi coding agent session history into the Obsidian wiki. Use this skill when the user wants to mine their past Pi sessions for knowledge, import their /.pi/agent/sessions folder, extract insights from previous coding sessions, or says things like "process my Pi history", "add my Pi sessions to the wiki", "ingest…

Ar9av/obsidian-wiki · 112 tokens