npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@coco-share/coco-blue

v1.1.4

Published

Install Agent Skills from coco-green (coco-blue client).

Readme

同事费尽心机调教了个好skill? 不行,我得想办法弄到手里“把玩把玩“。

自己捯饬了个skill, 又不好意思传到公网?

公司内网skill hub 上传,又要扫描又要审核啥的,又这又那的,好不麻烦~

同事的好skill自己又添了两笔,想再回馈同事~

微信、IM传来传去,还传不到头绪~

想把自己的skill传到公网或内网,但是谨慎的性格决定先在周边同事之间验证下是否有价值~


coco-share logo

coco-share (可乐分着喝更爽-可乐分享)

这是什么?

一套让你把本地 Agent Skills 通过局域网分享给同事的命令行工具,不需要上传到任何公共平台,不需要 Git 仓库,不需要 U 盘,甚至不需要打开微信。

两个包,一绿一蓝,各司其职:

| 包 | 角色 | 一句话 | |---|---|---| | coco-green | 服务端 | 把你的 Skills 挂在局域网上 | | coco-blue | 客户端 | 从局域网上把 Skills 薅下来 |

支持的 Agent:CursorClaude CodeCodex


为什么要做这个?

场景还原:

同事:「我写了个超好用的 Skill,你要不要?」 你:「要啊,发我一下。」 同事:「……」(开始思考怎么发)

你可以把文件夹压缩发微信,但微信会把 .md 文件压成乱码。 你可以传到公司内网hub,但公司又要审核,又要扫描。 你可以推到 GitHub,但那个 Skill 里有三行公司内网地址。

coco-share 的答案是:别折腾了,直接在局域网传。


超快速开始

分享方(coco-green)

什么这参数那配置的,我管你这那的,我直接把下面的提示词改改发给我的大模型再说。

"使用 @coco-share/coco-green 把我的 skillxxx(此处替换成你的skill名称)分享出去。你直接在命令行执行, 执行完成后不要停止该服务,把分享命令展示出来,等待用户通知关闭服务时在关闭服务。不知道coco-green 如何使用可以使用coco-green -h查看帮助。"

大模型最后会输出一行命令,吧这个命令复制一下,发给接收方完事。

接受方(coco-blue)

命令行粘贴,完事!

快速开始

分享方(coco-green)

npx @coco-share/coco-green

启动后会直接输出接收端命令,比如:npx @coco-share/coco-blue --ip="192.168.xxx.xx:3001"

把这个地址告诉同事,完事。

主动模式:

npx @coco-share/coco-green --mode active

主动模式是由 分享方(coco-green) 来决定分享自己的哪些skill给别人。

主动模式会直接生成一条完整的 npx 命令,你只需要把那行命令复制给同事,同事粘贴执行,全程无需对话。适合那种「伸手党」的同事。

如果你已经知道要分享哪个 Skill,也可以直接指定,跳过主动模式下的选择:

npx @coco-share/coco-green --skill my-skill

coco-green 的设计思路是: 我要的参数我没有,我就询问用户。用户只要是给了我参数,我就什么都不问。主打的就是一个听命行事。 至于有哪些参数,请在命令行随时输入:

  npx @coco-share/coco-green -h

或点击 Cli 参数速查

另外,coco-blue: 俺也一样

接收方(coco-blue)

npx @coco-share/coco-blue

coco-green 会直接输出完整命令,执行该命令coco-blue会主动询问你,你只需要告诉coco-blue你要装在哪,给谁装就行。

如果你已经知道要装什么,可以全部用参数指定,跳过所有交互:

npx @coco-share/coco-blue --ip 192.168.1.5:3001 --skill my-skill --agent claude-code

功能细节

自动发现 Skills

coco-green 启动时会扫描你指定目录(默认当前目录)下所有包含 SKILL.md 的子文件夹,自动识别为可分享的 Skill。不需要配置文件,不需要注册,放进去就能用。

智能 IP 检测

coco-green 会自动检测你的局域网 IP,并过滤掉 Docker、VMware、VirtualBox、WSL 等虚拟网卡产生的假 IP。毕竟把 172.17.0.1 发给同事,同事会以为你在整他。

冲突处理

安装时如果目标路径已存在同名文件夹,coco-blue 会问你怎么处理:

  • 跳过 — 这个 Skill 我已经有了,不动它
  • 覆盖 — 删掉旧的,装新的
  • 改名 — 新旧并存,给新的起个名字
  • 中止 — 算了不装了

安装位置

  • 全局:装到各 Agent 的默认全局路径(~/.claude/skills~/.cursor/skills~/.codex/skills
  • 自定义根目录:装到你指定的目录下,子路径结构与全局一致

CLI 参数速查

coco-green

--port, -p     监听端口(默认 3001)
--path         Skills 根目录(默认当前目录)
--skill, -s    指定要分享的技能名(可多次使用;提供后默认按 active 模式分享)
--mode, -m     passive(默认)或 active
--help         帮助
--version      版本

coco-blue

--ip           coco-green 地址(如 192.168.1.5:3001)
--skill        指定技能名(可多次使用或逗号分隔)
--agent        指定 Agent(claude-code / cursor / codex,可多次使用)
--path         自定义安装根目录(指定后自动跳过安装位置选择)
--help         帮助
--version      版本

安装路径参考

| Agent | 全局路径 | |---|---| | Claude Code | ~/.claude/skills/<skill-name>/ | | Cursor | ~/.cursor/skills/<skill-name>/ | | Codex | ~/.codex/skills/<skill-name>/ |


项目结构

coco-share/
├── packages/
│   ├── coco-cli/     # 公共 CLI 解析工具(内部依赖)
│   ├── coco-green/   # 服务端
│   └── coco-blue/    # 客户端

License

MIT — 随便用,出了事别找我。

求个star

各位大佬,有用得上的给个star吧,球球了。

coco-share github

@coco-share/coco-green npm

@coco-share/coco-blue npm