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

@diguike/claudedoctor

v0.2.3

Published

克劳德医生 · 给 Claude Code 做封禁风险体检的 CLI:检测 → 修复 → 复验。只算有因果的信号,每条带置信度与出处。

Readme

🩺 claudedoctor · 克劳德医生

给 Claude Code 做封禁风险体检的命令行工具:检测 → 修复 → 复验。 只碰有因果的信号,每条结论带置信度与出处,诊断都配可复检的修复。不是又一个吓唬人的分数。

npm downloads node GitHub

npm i -g @diguike/claudedoctor      # 命令:claudedoctor(短别名 cdoc)

用法

claudedoctor              # 体检本地 Claude Code(默认)
claudedoctor check --why  # 展开每条结论的出处与说明
claudedoctor check --net  # 联网体检出口 IP / 地区 / VPN / 代理 / 机房(免 key)
claudedoctor fix          # 开药:交互勾选并应用修复(--dry-run 只看 / --all 全应用 / --revert 撤销)
claudedoctor verify       # 复诊:字节级复检 + 复跑体检
claudedoctor env          # 打印脱敏环境快照

退出码:0 健康 · 1 需注意 · 2 有确认风险。加 --json 输出机器可读结果。

它检测什么

  • 凭证与中转 — 订阅 OAuth 凭证是否脱离官方客户端、经非官方中转使用(目前唯一被官方证实的封号因果)。
  • 客户端完整性 — 是否官方 Claude Code、有无伪造 header 冒充官方 harness。
  • 出口网络与 IP 画像 — 地区是否受支持、是否机房/代理/VPN/Tor、IP 纯净度;双栈环境会分别探测 IPv4 / IPv6,并按更差路径汇总(--net,用免 key 的 ipapi.is,可选 ipdata)。
  • 设备与遥测透明度、系统时区画像因子 — 如实区分本地 vs 出站,只做可安全获取的部分。

隐私

默认 100% 本地,不上传任何环境数据。凭证只做分类,原文永不外泄。出口 IP 体检需 --net 显式开启。

原则

证据优先、只碰有因果的信号、测对对象(CLI 测终端 / Web 测浏览器)、诊断必配可复检修复。只帮真实用户降低误伤,不做指纹伪造 / 号池规避等 sketchy 功能。

MIT © 递归客 · 源码与文档