Copy of the legacy ~/.pi/agent/docs tree rebuilt as the command-center knowledge base: concept files promoted to path identity, index listings stripped of frontmatter, all wikilinks/relative links resolved, every checkable claim verified against the live fleet (Dankserver = Ryzen 7 7700X + RTX 3090; Strix Halo is Dankclaw), unverifiable claims tagged. kb-lint exits 0.
44 lines
1.2 KiB
Markdown
44 lines
1.2 KiB
Markdown
---
|
|
type: reference
|
|
title: Skills CLI Source Formats
|
|
description: All accepted source formats for skills add and use — GitHub shorthand, full URLs, GitLab, git URLs, local paths.
|
|
tags:
|
|
- unverified
|
|
- skills
|
|
- sources
|
|
- git
|
|
timestamp: 2026-07-18
|
|
verified: 2026-08-28
|
|
---
|
|
|
|
# Source Formats
|
|
|
|
The `skills` CLI accepts multiple source formats for the `add` and `use` commands:
|
|
|
|
```bash
|
|
# GitHub shorthand (owner/repo)
|
|
npx skills add vercel-labs/agent-skills
|
|
|
|
# Full GitHub URL
|
|
npx skills add https://github.com/vercel-labs/agent-skills
|
|
|
|
# Direct path to a skill in a repo
|
|
npx skills add https://github.com/vercel-labs/agent-skills/tree/main/skills/web-design-guidelines
|
|
|
|
# GitLab URL
|
|
npx skills add https://gitlab.com/org/repo
|
|
|
|
# Any git URL
|
|
npx skills add git@github.com:vercel-labs/agent-skills.git
|
|
|
|
# Local path
|
|
npx skills add ./my-local-skills
|
|
```
|
|
|
|
The source parser (`src/source-parser.ts`) handles all these formats, cloning repos as needed and resolving skill directories.
|
|
|
|
## Related
|
|
|
|
* [Commands](/tools/vercel-labs-skills/commands.md) — add and use commands
|
|
* [Skill Discovery](/tools/vercel-labs-skills/skill-discovery.md) — How skills are found within repos
|