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

@austinchen705/chatbot-intg-skill

v1.0.2

Published

AI Chatbot integration skill for Claude Code / Codex / Gemini — guides vendors through complete API integration

Readme

@austinchen705/chatbot-intg-skill

An AI skill installer for Claude Code, Codex, and Gemini that guides vendors through complete AI Chatbot API integration — covering auth, chat lifecycle, escalation handling, error resilience, analysis, MCP Server development, and debugging.

Install

Run directly with npx (no install required):

npx @austinchen705/chatbot-intg-skill

Or install globally:

npm install -g @austinchen705/chatbot-intg-skill
chatbot-intg-skill

Usage

Interactive (default)

npx @austinchen705/chatbot-intg-skill

The installer will prompt you to select the target AI coding tool:

  AI Chatbot Integration Skill Installer
  =======================================

  Install for which tools? (comma-separated)
  1) claude  2) codex  3) gemini  4) all
  >

Non-interactive (CI / scripted)

Use the --tool flag to skip the prompt:

# Single tool
npx @austinchen705/chatbot-intg-skill --tool claude

# Multiple tools
npx @austinchen705/chatbot-intg-skill --tool claude,codex

# All tools
npx @austinchen705/chatbot-intg-skill --tool all

What Gets Installed

| Tool | Skill files | Command / Instruction file | |------|-------------|---------------------------| | Claude Code | .claude/skills/chatbot-intg/ | .claude/commands/chatbot-intg.md | | Codex | .codex/skills/chatbot-intg/ | .codex/AGENTS.md (manual step) | | Gemini | .gemini/skills/chatbot-intg/ | .gemini/GEMINI.md (manual step) |

Installed files

SKILL.md                          # Phased integration workflow
resources/
  chatbot_integration_spec.md    # API spec reference (v0.7)
  integration-playbook.md         # Language-specific code templates
  mcp-tool-spec.md                # MCP tool definition rules + multi-language skeletons

Invoking the Skill

Claude Code — the command is auto-detected after install:

/chatbot-intg

Codex — add the following line to .codex/AGENTS.md:

Read .codex/skills/chatbot-intg/SKILL.md for vendor integration workflow

Gemini — add the following line to .gemini/GEMINI.md:

Read .gemini/skills/chatbot-intg/SKILL.md for vendor integration workflow

Integration Workflow

The skill guides vendors through 6 gated phases, each requiring user confirmation before proceeding:

Phase 0: Infrastructure       Language + framework + logging setup
    ↓ (confirm)
Phase 1: Auth & Connectivity  JWT token lifecycle + auto-refresh
    ↓ (confirm)
Phase 2: Core Chat Flow       Session dispatch → send loop → kickout + escalation
    ↓ (confirm)
Phase 3: Error Handling       Unified error framework + retry + circuit breaker
    ↓ (confirm)
Phase 4: Advanced (optional)  Chat Analysis + MCP Server development
    ↓ (confirm)
Phase 5: Acceptance           Integration test checklist + debug handbook

Supported Languages

  • Python (FastAPI / Django · httpx / requests · tenacity)
  • Java (Spring Boot · OkHttp / RestTemplate · Resilience4j)
  • C# (ASP.NET Core · HttpClient · Polly)
  • Node.js (Express / NestJS · axios · cockatiel)

Covered APIs

| Method | Route | Description | |--------|-------|-------------| | POST | /api/v1/auth | Obtain JWT Token | | POST | /api/v1/chatbot/dispatch | Create chat session | | GET | /api/v1/chatbot/usage | Query quota | | POST | /api/v1/chatbot/kickout | Close a session | | POST | /api/v1/chatbot/killall | Close all sessions | | POST | /api/v1/chat/send | Send message + receive AI response | | GET | /api/v1/chat/history/{sessionId} | Retrieve chat history | | POST | /api/v1/analysis/create | Submit conversation for analysis | | GET | /api/v1/analysis/{sessionId} | Poll analysis result |

MCP Server Development

Phase 4 of the skill includes guided MCP Server development. The skill helps vendors build custom tools that the AI can call during conversations — based on their own business logic.

How it works

The skill follows a three-step process:

1. Discovery — identify business capabilities to expose as tools

Tool Inventory
──────────────────────────────────────────────────────────
get_order_status   | customer asks about order      | order_id
search_products    | customer looks for a product   | query, category
create_ticket      | customer wants to raise issue  | subject, description

2. Tool Design — apply spec rules before writing code

| Rule | Requirement | |------|-------------| | Naming | snake_case, verb-first (e.g. get_order_status) | | Description | 50–200 chars, includes "Use when..." | | Parameters | Each parameter must have a Description annotation | | Return value | Structured object: { success, data, error } — never plain string | | Stateless | No server-side session dependency per tool call |

3. Implementation — generate skeleton in the vendor's language

Supported languages and their MCP SDK:

| Language | SDK / Library | |----------|--------------| | Python | mcp (FastMCP) | | Java | Spring AI MCP | | C# | ModelContextProtocol.Server | | Node.js | @modelcontextprotocol/sdk |

Transport & Security

All MCP Servers use Streamable HTTP transport with JWT HS256 authentication. The Chatbot system signs and injects the token on every tool request — vendors only need to validate it.

POST /mcp
Authorization: Bearer <chatbot-signed-jwt>

JWT parameters (SecretKey, Issuer, Audience, ExpiryMinutes) are configured per tenant via the Admin API — not hardcoded in the MCP Server.

Example tool skeleton (C#)

[McpServerToolType]
public class OrderTools(IOrderRepository orderRepo)
{
    [McpServerTool(Name = "get_order_status")]
    [Description("Retrieves the current status of a customer order by order ID. "
               + "Use when the customer asks about their order progress or delivery.")]
    public async Task<ToolResult> GetOrderStatusAsync(
        [Description("The order ID provided by the customer (e.g. ORD-12345)")] string orderId)
    {
        var order = await orderRepo.FindByIdAsync(orderId);
        if (order is null)
            return ToolResult.Fail("ORDER_NOT_FOUND", $"Order {orderId} not found");
        return ToolResult.Ok(order);
    }
}

Full skeletons for Python, Java, C#, and Node.js are in resources/mcp-tool-spec.md after installation.


Requirements

  • Node.js >= 14
  • Run from the root of your project so skill files land in the right directories

License

MIT