# Soia pkm clip x

> Soia pkm clip x is an open-source agent skill for knowledge and memory. Archives single X posts, threads or Articles into an Obsidian vault as notes. 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-x
- **Repository:** https://github.com/soia-team/soia-open-pkm-vault-skills
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** soia-pkm-clip-x
- **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 X (Twitter) post, a same-author thread, or an X Article into an Obsidian vault as a Markdown note. A Python script fetches the content through the FxTwitter API with syndication as a fallback, follows thread replies, expands shortened links, and pulls out article blocks and the lead image. Notes are deduplicated by their source URL, so re-clipping the same post skips it unless forced.

After archiving, the agent adds a one-sentence summary, a few topic and people links, and a Chinese translation section for non-Chinese posts. Filenames and frontmatter follow a dated pattern with author, handle, language, type and metrics fields. Linked papers and attachments are kept as canonical URLs, with downloads handled by a separate companion skill.

The skill expects Python 3 and an Obsidian vault path, given by flag, environment variable or a config file. Telegram bookmark import needs the telethon package only for the MTProto route; the single-post fetch uses the standard library.

## When your agent uses it

> 将单条 X/Twitter 推文、thread 或 Article 归档到 Obsidian vault。触发：「归档这条 X」「clip 这条推文」「整理这条 thread」

## 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-x)
- [Network calls found in its scripts](https://github.com/soia-team/soia-open-pkm-vault-skills/tree/HEAD/skills/soia-pkm-clip-x)
- [License: MIT](https://github.com/soia-team/soia-open-pkm-vault-skills/tree/HEAD/skills/soia-pkm-clip-x)

## Features

- **Single post capture:** Fetches one tweet, its same-author thread or an X Article and stores it as a note.
- **Deduplicated notes:** Checks the frontmatter URL so an already archived post is skipped unless forced.
- **Translation section:** Adds a full Chinese translation for non-Chinese content while keeping names and code in English.
- **Vault organization:** Places notes by year and month, adds summary, topic and people links, and updates index pages.
- **Telegram bookmark import:** Reads exported Telegram saved messages and archives the X links, with a dry-run preview first.
- **PDF export guidance:** Points to a reference for exporting archived notes to PDF through Obsidian.

## Good for

- Archive this X thread into my Obsidian vault
- Clip this tweet and summarize it in my notes
- Save an X Article with a Chinese translation
- Preview which X links in my Telegram export are new before archiving
- Export an archived X thread to PDF

## 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-x`:

```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-x &&
cp -R "$tmp/skills/soia-pkm-clip-x" ~/.claude/skills/soia-pkm-clip-x &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/soia-pkm-clip-x` 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-x &&
cp -R "$tmp/skills/soia-pkm-clip-x" ~/.agents/skills/soia-pkm-clip-x &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/soia-pkm-clip-x` 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-x &&
cp -R "$tmp/skills/soia-pkm-clip-x" ~/.cursor/skills/soia-pkm-clip-x &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/soia-pkm-clip-x` 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-x
```

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

### VS Code

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

```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-x &&
cp -R "$tmp/skills/soia-pkm-clip-x" ~/.copilot/skills/soia-pkm-clip-x &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/soia-pkm-clip-x` 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-x` into your agent's skills folder as `soia-pkm-clip-x`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

Python 3 for the single-post capture, which uses only the standard library. The telethon package is needed only for the optional Telegram MTProto sync.

### Does Soia pkm clip x need a login to X?

No, single-post capture works without logging in. Optional Telegram credentials are stored in a local config file outside the repository.

### How does Soia pkm clip x avoid duplicate notes?

It checks the url field in existing note frontmatter and skips posts already archived, unless the force flag is used.

### Where are the notes saved?

In the vault's year and month folders, named by date, author handle and the first 50 characters of the title. Articles fall back to an Articles folder with a warning if no directory is configured.

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

Copy the skill folder from GitHub to ~/.claude/skills/soia-pkm-clip-x to use it in all your projects, or to .claude/skills/soia-pkm-clip-x 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 x 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 x?

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 x?

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

## Where this comes from

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

## Alternatives

- [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 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 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 douyin](https://ai-powered.com/skills/soia-pkm-clip-douyin): Soia pkm clip douyin is an open-source agent skill for knowledge and memory.
- [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 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 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-x
