# Soia pkm clip douyin

> Soia pkm clip douyin is an open-source agent skill for knowledge and memory. Archives a single Douyin video's text and metadata into an Obsidian vault. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/soia-team/soia-open-pkm-vault-skills/tree/main/skills/soia-pkm-clip-douyin
- **Repository:** https://github.com/soia-team/soia-open-pkm-vault-skills
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** soia-pkm-clip-douyin
- **Collection:** https://github.com/soia-team/soia-open-pkm-vault-skills
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-12-03

## About

This skill saves one Douyin (TikTok China) video into an Obsidian vault as a Markdown note with its author, publish time, engagement counts and the original caption. The video file itself is downloaded to a local folder and only its path is recorded in the note, so large binaries stay out of the vault and any git repository.

The agent runs a bundled Python script that opens the page in a headless Playwright browser, captures the video data the site returns, and checks the video ID against existing notes to avoid duplicates. Each download is verified by its MP4 header before the note is written. A metadata-only mode skips the video download. Existing notes are kept unless a forced refresh is requested, and manually added topics, people and summary sections are preserved on overwrite.

It needs Python 3, the Playwright package with Chromium installed, and an Obsidian vault or articles folder to write into. Vault locations can be set through command-line flags, environment variables or a config file.

## When your agent uses it

> 归档单条抖音视频到 Obsidian vault，并保留本地媒体索引。触发：「归档这条抖音」「clip 这个抖音视频」「只要抖音文案」

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/soia-team/soia-open-pkm-vault-skills/tree/HEAD/skills/soia-pkm-clip-douyin)
- [Network calls found in its scripts](https://github.com/soia-team/soia-open-pkm-vault-skills/tree/HEAD/skills/soia-pkm-clip-douyin)
- [License: MIT](https://github.com/soia-team/soia-open-pkm-vault-skills/tree/HEAD/skills/soia-pkm-clip-douyin)

## Features

- **Single video archiving:** Saves one Douyin video's caption, author and metrics as a Markdown note.
- **Local media indexing:** Downloads the MP4 to a local folder and records its path in the note.
- **Duplicate detection:** Skips videos whose ID already appears in an existing note.
- **Metadata-only mode:** Writes the note without downloading the video file.
- **Safe overwrite handling:** Forced refreshes keep manually written topics, people and summary sections.
- **Download verification:** Checks the downloaded MP4 header before reporting success.

## Good for

- Archive a Douyin video link into my Obsidian vault
- Save only the caption and stats of a Douyin video without the file
- Refresh a previously archived Douyin note with updated engagement numbers
- Keep a local copy of a Douyin clip and link it from my notes

## Install

### Claude Code

This skill ships in the `soia-pkm-vault` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add soia-team/soia-open-skills
/plugin install soia-pkm-vault@soia
```

Or copy only this skill to `~/.claude/skills/soia-pkm-clip-douyin`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/soia-team/soia-open-pkm-vault-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/soia-pkm-clip-douyin &&
cp -R "$tmp/skills/soia-pkm-clip-douyin" ~/.claude/skills/soia-pkm-clip-douyin &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/soia-pkm-clip-douyin` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/soia-pkm-clip-douyin` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/soia-team/soia-open-pkm-vault-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/soia-pkm-clip-douyin &&
cp -R "$tmp/skills/soia-pkm-clip-douyin" ~/.agents/skills/soia-pkm-clip-douyin &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/soia-pkm-clip-douyin` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/soia-pkm-clip-douyin` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/soia-team/soia-open-pkm-vault-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/soia-pkm-clip-douyin &&
cp -R "$tmp/skills/soia-pkm-clip-douyin" ~/.cursor/skills/soia-pkm-clip-douyin &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/soia-pkm-clip-douyin` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/soia-team/soia-open-pkm-vault-skills.git --path skills/soia-pkm-clip-douyin
```

Or copy the folder to `~/.gemini/skills/soia-pkm-clip-douyin` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/soia-pkm-clip-douyin`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/soia-team/soia-open-pkm-vault-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/soia-pkm-clip-douyin &&
cp -R "$tmp/skills/soia-pkm-clip-douyin" ~/.copilot/skills/soia-pkm-clip-douyin &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/soia-pkm-clip-douyin` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/soia-team/soia-open-pkm-vault-skills.git
```

Then copy `soia-open-pkm-vault-skills/skills/soia-pkm-clip-douyin` into your agent's skills folder as `soia-pkm-clip-douyin`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

Python 3, the Playwright package and Chromium installed through Playwright, plus a target Obsidian vault or articles folder. It reports an error with the install command if dependencies are missing.

### Does Soia pkm clip douyin log into Douyin?

No. It uses an anonymous, one-time headless browser context and does not log in or store cookies.

### Where is the downloaded video saved?

In a local folder under the user's Downloads directory, organized by video ID, and the path is written to the note's media_local_path field.

### Can I skip the video download?

Yes. The metadata-only option writes the note without the file, and the media path is left empty.

### How do I install Soia pkm clip douyin in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/soia-pkm-clip-douyin to use it in all your projects, or to .claude/skills/soia-pkm-clip-douyin in one project. Or install the soia-pkm-vault plugin, which includes it: /plugin marketplace add soia-team/soia-open-skills, then /plugin install soia-pkm-vault@soia.

### Does Soia pkm clip douyin run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Soia pkm clip douyin?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Soia pkm clip douyin?

The closest alternatives to Soia pkm clip douyin are Soia pkm clip rednote, Soia pkm clip wechat article, Soia pkm clip web, Soia pkm clip x and Soia pkm clip drive.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Soia pkm clip rednote](https://ai-powered.com/skills/soia-pkm-clip-rednote): Soia pkm clip rednote is an open-source agent skill for knowledge and memory.
- [Soia pkm clip wechat article](https://ai-powered.com/skills/soia-pkm-clip-wechat-article): Soia pkm clip wechat article is an open-source agent skill for knowledge and memory.
- [Soia pkm clip web](https://ai-powered.com/skills/soia-pkm-clip-web): Soia pkm clip web is an open-source agent skill for knowledge and memory.
- [Soia pkm clip x](https://ai-powered.com/skills/soia-pkm-clip-x): Soia pkm clip x is an open-source agent skill for knowledge and memory.
- [Soia pkm clip drive](https://ai-powered.com/skills/soia-pkm-clip-drive): Soia pkm clip drive is an open-source agent skill for files and documents.
- [Soia pkm clip wechat account](https://ai-powered.com/skills/soia-pkm-clip-wechat-account): Soia pkm clip wechat account is an open-source agent skill for knowledge and memory.
- [Soia pkm extract vault knowledge](https://ai-powered.com/skills/soia-pkm-extract-vault-knowledge): Soia pkm extract vault knowledge is an open-source agent skill for knowledge and memory.
- [Soia pkm clip GitHub repo](https://ai-powered.com/skills/soia-pkm-clip-github-repo): Soia pkm clip GitHub repo is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/soia-pkm-clip-douyin
