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

leanchy

v0.1.6

Published

A protocol adapter designed to make non-official/proxy APIs fully compatible with Claude Code's native tool-use.

Readme

🚀 Claude Native Adapter: The Reliability Layer for Claude Code

Stop your Claude Code CLI from hanging. Forever. Precision-engineered for non-official APIs.

GitHub Stars License: MIT Claude Code Native Optimized for Proxies


⚡ The Problem: The "Hypersensitive" CLI

Are you using Claude Code with a third-party API proxy (OpenRouter, OneAPI, DeepSeek) and finding that it constantly freezes, deadlocks, or misparses during file edits?

The Root Cause: Claude Code's internal state machine is designed for perfect XML/JSON streams. Third-party proxies often inject "polite filler" (e.g., "Sure, let me help...") or mismatched Markdown fences that break the engine's rigorous parser.

🛠️ The Solution: Surgical Protocol Alignment

claude-native-adapter is a high-performance protocol layer (v2.0) that enforces 0-latency deterministic output. It strips away the noise and compels any LLM to behave exactly like Anthropic's native "Opus/Sonnet" models.


💎 Key Features: Why This Is a Must-Have

  • 🚫 Zero-Preamble Execution: Eradicates the conversational "filler" that causes 90% of CLI hangs.
  • 🧱 Atomic Tool-Code Logic: Forces native XML encapsulation for tool calls—eliminating broken Markdown fences or JSON errors.
  • 🛡️ Plan Mode Stabilization: Fixes the infinite loops and logic jumps when Claude enters complex planning phases.
  • 🔄 Task Lifecycle Sync: Mirroring the native TaskCreate -> Action -> TaskUpdate state machine for seamless UI progress.
  • 📉 Cognitive Efficiency: Reduces token consumption and latency by removing non-essential reasoning overhead.

📦 Instant Setup (30 Seconds)

1. Locate your Skills directory

  • Windows: %USERPROFILE%\.claude\skills\
  • macOS/Linux: ~/.claude/skills/

2. Install the Protocol

  1. Create a directory: claude-native-adapter
  2. Copy the skill.md from this repository into it.

3. Activate

Launch Claude Code and simply prompt:

/claude-native-adapter

Note: You can also add Follow instructions in ~/.claude/skills/claude-native-adapter/skill.md to your CLAUDE.md for permanent protection.


🧩 Supported Providers & Models

Battle-tested with models like DeepSeek-V3/R1, Qwen2.5, and Llama3 through:

  • OpenRouter
  • OneAPI / NewAPI
  • Direct API Proxies

🌟 Why Star This Project?

We are solving the most frustrating part of using Claude Code with custom setups. By starring, you:

  1. Increase Visibility: Help other developers escape the "frozen terminal" trap.
  2. Drive Development: Support the implementation of v3.0 logic and more compatibility patches.
  3. Show Support: It’s the highest compliment to the community-driven stability effort.

Join hundreds of developers making Claude Code universal. Hit that Star! 🌟


🇨🇳 中文指南 (Chinese QuickStart)

  • 痛点:非官方 API 环境下,Claude Code 经常在修改文件或 Plan 模式下进入“死循环”或卡死。
  • 方案:本项目是一个极简协议适配器,通过强制 LLM 输出“原生 XML 格式”并剔除废话,实现 100% 的工具调用成功率。
  • 求星如果您发现卡死问题解决了,请务必点击右上角 Star 🌟 支持,让更多人用上!

Disclaimer: This is a community-driven project and is not officially affiliated with Anthropic.

🤖 Generated with Claude Code