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

@mixiazhiyang/xhs-find-dazi

v1.0.5

Published

Claude Code skill for finding activity partners on Xiaohongshu (小红书找搭子)

Readme

小红书智能找搭子 Skill

Claude Code skill,用于在小红书自动搜索、筛选、评论和监控回复,帮助你高效找到合适的搭子。

功能特性

  • 🔍 智能搜索:支持关键词搜索和地理位置筛选
  • 🎯 质量筛选:自动过滤营销帖,分析作者活跃度
  • 💬 智能评论:Agent 结合你的 profile 和帖子内容自然生成评论
  • 📊 回复监控:定期检查评论回复,及时通知
  • 🚫 黑名单过滤:支持自定义关键词黑名单
  • 📝 历史记录:CSV 格式保存所有互动记录

安装

1. 安装前置依赖

需要先安装 xiaohongshu-cli

pip install xiaohongshu-cli
xhs login --qrcode

2. 添加 Skill 到 Claude Code

将本仓库的 SKILL.md 文件添加到你的 Claude Code skills 目录:

# 克隆仓库
git clone https://github.com/mixiazhiyang/zhaodazi.git

# 复制 skill 文件到 Claude Code skills 目录
# macOS/Linux:
cp zhaodazi/SKILL.md ~/.claude/skills/xhs-find-dazi.md

# Windows:
copy zhaodazi\SKILL.md %USERPROFILE%\.claude\skills\xhs-find-dazi.md

或者直接从 GitHub 下载 SKILL.md 文件放到 skills 目录。

使用方法

在 Claude Code 中运行:

/xhs-find 搭子关键词

首次使用

首次运行会引导你配置个人信息:

你好!我是 [姓名/昵称]
我在 [城市]
我的兴趣是 [兴趣爱好]
我想找 [找搭子的目的]

配置会保存到 ./dazi/config.json(相对于当前工作目录),后续可以修改。

回复监控

定期检查评论回复:

/xhs-check-replies

建议每天运行 1-2 次,或设置定时任务。

配置文件

所有数据保存在 ./dazi/ 目录(相对于执行命令的目录):

  • config.json - 用户配置(profile、黑名单、偏好)
  • interactions.csv - 互动历史记录
  • replied_comments.txt - 已回复的评论 ID

配置示例

{
  "user_profile": {
    "name": "小明",
    "city": "北京",
    "interests": "摄影、徒步、咖啡",
    "purpose": "周末一起拍照、爬山"
  },
  "preferences": {
    "min_likes": 5,
    "min_comments": 2,
    "author_recent_days": 30,
    "prefer_same_city": true
  },
  "blacklist": {
    "keywords": ["广告", "代购", "微商"]
  }
}

微信/飞书集成

支持通过微信 Bot 或飞书 Bot 使用,详见 WECHAT-ADAPTER.md

工作流程

  1. 搜索:根据关键词搜索小红书帖子
  2. 筛选
    • 过滤黑名单关键词
    • 检查帖子质量(点赞数、评论数)
    • 分析作者活跃度
    • 优先同城帖子
  3. 评论:Agent 生成自然评论并发布
  4. 记录:保存互动信息到 CSV
  5. 监控:定期检查评论回复

注意事项

  • 评论频率建议控制在每天 10-20 条,避免被限流
  • 首次使用前务必配置个人 profile,让评论更自然
  • 定期检查回复,及时响应感兴趣的搭子
  • 黑名单关键词可根据实际情况调整
  • 确保 xiaohongshu-cli 已登录(xhs login --qrcode

许可证

MIT

致谢

本项目基于 xiaohongshu-cli 构建,感谢 @jackwener 提供的强大底层工具。

相关链接