Claude Skill

antfu/skills-npm

一个TypeScript工具,简化从npm包安装Claude Skill的过程。通过直接的包管理,轻松为项目添加智能体能力。

概览

Stars481
Forks17
语言TypeScript
最后更新2026-06-17
最近同步2026-07-04
前往 GitHub

仓库信息

拥有者antfu
仓库skills-npm
完整名称antfu/skills-npm
Repo ID1,146,342,470

安装这个 Skill

git clone https://github.com/antfu/skills-npm.git

Registry 信息

类型cursor_rule
质量分80/100
验证状态readme_parsed
最近验证2026-06-11
平台
Cursor
能力
searchterminal
识别文件
README.mdpackage.jsontest
配置键
PACKAGE_JSON

项目简介

一个TypeScript工具,用于直接从npm包安装Claude Skill,便于集成智能体能力。

英文描述

Install agent skills from npm

要点

  • 从npm安装Claude Skill
  • TypeScript实现
  • 简单的集成流程
  • 直接的包管理

使用场景

  • 为项目添加智能体能力
  • 管理Claude Skill依赖
  • 简化AI工具集成
  • 共享可复用的AI技能

README 摘要

# skills-npm [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![bundle][bundle-src]][bundle-href] [![JSDocs][jsdocs-src]][jsdocs-href] [![License][license-src]][license-href] A CLI that discovers [agent skills](https://agentskills.io) shipped inside npm packages and creates symlinks for coding agents to consume. ## Why? Current skill distribution approaches (e.g. [`@vercel-labs/skills`](https://github.com/vercel-labs/skills)) have friction: - **Git-only source** - Only supports git repos as skills source - **Version mismatch** - Skills and tools update separately, causing compatibility issues - **Manual management** - Cloning skills from git repos requires extra steps per project - **Sharing overhead** - Teams must commit cloned files or repeat setup on each machine This project proposes a convention: **ship skills inside npm packages**. When you `npm install` a tool, its skills come bundled. Run `skills-npm` to symlink them for your agent. **Read the full proposal: [PROPOSAL.md](./PROPOSAL.md)** ## Usage ```bash npm i -D skills-npm ``` Add a `prepare` script to your `package.json` so the skills are symlinked automatically for your agent whenever you install dependencies: ```json { "private": true, "scripts": { "prepare": "skills-npm" } } ``` `skills-npm` will symbol links the skills from `node_modules` to `skills/npm-<package-name>-<skill-name>` for your agent. It's recommend to add the following to your `.gitignore`: ``` skills/npm-* ``` ## Configuration You can create a `skills-npm.config.ts` file in your project root to configure the behavior: ```ts // skills-npm.config.ts import { defineConfig } from 'skills-npm' export default defineConfig({ // Source to discover skills from

话题

暂无话题

探索更多

数据来自 GitHub,同步时间:2026-07-04