skills README

README проекта с github.com/vercel-labs/skills. Одним файлом markdown: README.md.

skills

The CLI for the open agent skills ecosystem.

Agent skills are reusable instructions that teach coding agents how to perform tasks, from reviewing code to working with a library. Discover skills at skills.sh.

Supports OpenCode, Claude Code, Codex, Cursor, and 75 more.

Vercel Labs Product npm version: skills License: MIT npm downloads per month: skills skills.sh

Install a Skill

Requires Node.js 22.20 or later. Run this from your project:

npx skills add vercel-labs/agent-skills

Choose the skills and coding agents to install to. Skills are installed to the current project by default; add -g to make them available across projects.

# Choose one skill and agent
npx skills add vercel-labs/agent-skills --skill web-design-guidelines -a claude-code

# Browse available skills
npx skills find

See the installation reference for source formats, private repositories, and all options.

Other Commands

Command Description
npx skills find [query] Search for skills
npx skills list List installed skills
npx skills use <source>@<skill> Use one skill without installing
npx skills check Check for available updates
npx skills update [skills...] Update installed skills
npx skills remove [skills...] Remove installed skills
npx skills init [name] Create a skill template

Read the CLI reference or run npx skills --help for examples and options. Experimental commands are listed below.

Use a Skill Without Installing

Generate a prompt for a skill, or launch a supported coding agent with it:

npx skills use vercel-labs/agent-skills@web-design-guidelines --agent claude-code

Omit --agent to print the prompt instead. See skills use.

Experimental Features

Commands prefixed with experimental_ are previews. Their names, options, and behavior may change or be removed in any release without notice.
Command Description
npx skills experimental_sync Sync skills shipped by npm dependencies into your project
npx skills experimental_install Restore project skills recorded in skills-lock.json

Some npm packages bundle instructions for your agent alongside their code. Sync links them into your project so they update with the dependency, and also installs skill packs declared in package.json:

npm install -D skills agent-browser
npx skills experimental_sync -y

See the experimental commands reference for options, the skills field, and the RFC behind it.

Lock File Content Hash

skills-lock.json (version 2) records a computedHash for each project skill. The hash covers the files the CLI installs into .agents/skills/<name>, so list, check, and install --frozen-lockfile can compare it with what is on disk. Tools that check skills themselves can compute the same value:

  1. Collect every file in the skill folder. Leave out metadata.json files and the .git, __pycache__, and __pypackages__ folders, because the installer does not copy them. A symlink counts as the file or folder it points to. Leave out a symlink that is broken, loops, or points outside the skill folder.
  2. Give each file a path relative to the skill folder, with / as the separator.
  3. For a text file (a file that contains no NUL byte), replace each CRLF with LF. Do not change binary files.
  4. Sort the files by the UTF-8 bytes of their paths. Do not use a locale-aware sort.
  5. For each file in that order, feed path, a NUL byte, the content length in bytes as decimal ASCII, a NUL byte, and the content into one SHA-256. The content length is counted after step 3.
  6. The hash is the lowercase hex digest.

Test vectors:

Files computedHash
none e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
SKILL.md = # hi\n 93c36952d8843b33e68ae970ebabcc03e1687c9bb0dd1ecaf357060318952f55
SKILL.md = a\n, docs/b.md = b\n b22c4d22aa319d2924312fa18fcbfedc88fa89c74dbd8f298c683e1caf7b7f24

The last vector equals printf 'SKILL.md\0002\000a\ndocs/b.md\0002\000b\n' | sha256sum.

For a Git source, the entry also records the commit the skill came from. skills install (with or without --frozen-lockfile) and skills experimental_sync --frozen-lockfile fetch that commit, not the latest commit on ref, so a restore still matches computedHash after the source repository changes. skills update moves commit forward, and it adds a commit to an older entry that has none. The server must allow fetching a commit by its SHA. GitHub and GitLab allow this.

A skill installed with --rename is hashed as it is installed: its SKILL.md has the new name in the frontmatter, so the hash differs from the upstream folder's hash.

A version 1 lock is upgraded when it is read, without network access. An installed skill whose files still match its version 1 hash gets a new hash computed from those files. Any other entry gets an empty hash, because there is nothing trusted to check it against. skills install fetches those skills again and records new hashes, and --frozen-lockfile fails until that is done.

Supported Agents

The CLI detects installed agents and lets you choose where skills are installed. See all supported agents, installation paths, and compatibility.

Creating Skills

npx skills init my-skill

Edit the generated SKILL.md with instructions for your agent. See creating and sharing skills for the format and discovery rules.

Documentation

Telemetry

The CLI collects anonymous usage data. Set DISABLE_TELEMETRY=1 or DO_NOT_TRACK=1 to disable telemetry and security-audit requests. See what is collected.

License

This project is licensed under the MIT License.

skills (vercel-labs/skills)

Ищем в базе…

41.4K ·GitHub
Что это такое?skills — это CLI для открытой экосистемы агентских навыков: он устанавливает, управляет и запускает многоразовые «Agent Skills» (наборы инструкций в файлах SKILL.md) для десятков ИИ-агентов для программирования, таких как Claude Code, Codex и Cursor.
Это CLI-инструмент или библиотека?Это инструмент командной строки, который запускается через npx (npx skills ...). Импорт библиотеки или работа с API не нужны, есть только подкоманды add, use, list, find, update и remove.
Как установить навык?Укажите CLI источник (репозиторий GitHub, короткую запись или URL до SKILL.md или zip-архива), и он предложит выбрать, для каких найденных агентов установить навык: либо как символические ссылки на общую копию, либо как независимые копии файлов.
Нужен ли токен GitHub или что-то ещё для настройки?Для публичных репозиториев токен не нужен: CLI использует обычные учётные данные Git, авторизацию GitHub CLI или SSH. Переменная GITHUB_TOKEN/GH_TOKEN понадобится, только если ни один из этих способов не настроен, особенно для приватных репозиториев.
Есть ли ограничения на то, что можно установить из удалённого источника?По умолчанию загрузки ограничены 10 МиБ, распакованное содержимое — 25 МиБ, а архивы — 1000 файлами. Крупные наборы навыков могут потребовать изменения этих лимитов через переменные окружения, если вы доверяете источнику.
С какими агентами для программирования это работает?Из коробки поддерживается более 75 агентов, включая Claude Code, Codex, Cursor, OpenCode, Gemini CLI и Windsurf. У каждого есть свои задокументированные пути установки — в проекте и глобально.
Что такое навык (SKILL.md) на самом деле?Навык — это директория с файлом SKILL.md. В начале файла YAML-блок задаёт имя и описание, а дальше идут инструкции, которым следует агент для таких задач, как подготовка описаний релизов, создание PR по командным правилам или интеграция с такими сервисами, как Linear и Notion.
Можно ли попробовать навык, не устанавливая его насовсем?Да. Команда npx skills use получает источник, записывает файлы навыка во временную директорию и либо выводит сгенерированный промпт, либо запускает поддерживаемого агента в интерактивном режиме, если передан флаг --agent.
Как держать установленные навыки в актуальном состоянии?Запустите npx skills update, чтобы обновить все навыки или отдельные до последних версий. Флаги -g и -p ограничивают обновление глобальными установками или установками в проекте.
Как CLI находит навыки внутри репозитория?Он проверяет до трёх уровней вложенности в поисках SKILL.md в плоской или категоризированной структуре (например, skills/name/SKILL.md или skills/category/name/SKILL.md). SKILL.md, лежащий выше, перекрывает вложенные, а --full-depth расширяет поиск за пределы стандартных папок.
Какие есть похожие проекты?openskills, vicoa, Waza, golive-skill, pstack, open-pstack, marketingskills, agent-skills
Автор
vercel-labs
Размер
2.3 MB
Звёзды
41.4K
Возраст
10 мес
Коммиты · 90 дней