# Soia pkm clip GitHub repo

> Soia pkm clip GitHub repo is an open-source agent skill for knowledge and memory. Archives a GitHub repo into an Obsidian vault as a project card and research note. 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-github-repo
- **Repository:** https://github.com/soia-team/soia-open-pkm-vault-skills
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** soia-pkm-clip-github-repo
- **Collection:** https://github.com/soia-team/soia-open-pkm-vault-skills
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill clones a public GitHub repository into a local upstream directory so the source code stays out of the vault, then creates or refreshes a project card and a research note skeleton inside an Obsidian vault, with bidirectional links between them. It is built around a Python script that handles the --add flow for a single repository and a batch refresh that scans the upstream folder.

Re-running the workflow is designed to be safe. Automatic fields such as tags, category, language, local path, access link, latest commit and the short intro are refreshed, while manually written fields like purpose, status, star counts and the personal notes section are preserved. If a clone fails, the skill still writes a minimal card from the URL, and missing fields for non-git folders are marked as unverified for later manual completion.

It depends on Python 3 standard library and Git, and paths are resolved from command-line flags, environment variables or a local config file, failing with an error rather than guessing defaults. Note that the skill's own description is written in Chinese, and it expects a configured vault path and upstream directory.

## When your agent uses it

> 将 GitHub 开源仓库归档为 Obsidian vault 的项目卡和调研笔记。触发：「归档这个项目 URL」「clip 这个 repo」「刷新项目卡」

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

## Features

- **Repository cloning:** Clones or reuses a local copy of a public GitHub repository in a designated upstream folder.
- **Project card generation:** Creates or updates a Markdown project card with tags, category, language and latest commit.
- **Research note skeleton:** Creates a dated research note stub linked to the project card for later deep reading.
- **Idempotent refresh:** Re-runs update automatic fields while keeping manually written notes and fields intact.
- **Batch card refresh:** Scans an upstream directory and refreshes automatic fields across all cloned projects.
- **Path resolution safeguards:** Requires explicit vault and upstream paths via flags, environment variables or config and fails otherwise.

## Good for

- Archive a GitHub project URL into my Obsidian vault as a project card
- Refresh the automatic fields on all my saved open-source project cards
- Create a research note stub for a repository I want to study later
- Clip a repo into my knowledge base without copying its source code

## 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-github-repo`:

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

## FAQ

### What does the skill need to run?

It depends on Python 3 standard library and Git, plus a configured vault path and upstream directory provided by flags, environment variables or a config file.

### Does Soia pkm clip GitHub repo copy the repository source into the vault?

No. The repository is cloned to the upstream directory, and only the project card and research note are written into the vault.

### Will re-running Soia pkm clip GitHub repo overwrite my notes?

No. Purpose, status, star counts and the personal notes section are kept, while automatic fields are refreshed.

### What happens if cloning fails?

The skill skips code retrieval and creates a minimal card based on the URL alone.

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

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

Yes. It runs Python scripts. No network calls were found in its scripts. 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 GitHub repo?

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 GitHub repo?

The closest alternatives to Soia pkm clip GitHub repo are Soia pkm library book catalog, Soia pkm extract vault knowledge, Soia pkm clip web, Soia pkm clip wechat article and Soia pkm clip drive.

## Where this comes from

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

## Alternatives

- [Soia pkm library book catalog](https://ai-powered.com/skills/soia-pkm-library-book-catalog): Soia pkm library book catalog 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 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 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 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 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 bootstrap vault base](https://ai-powered.com/skills/soia-pkm-bootstrap-vault-base): Soia pkm bootstrap vault base is an open-source agent skill for knowledge and memory.

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