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

agent-sdk-cli-template

v1.0.0

Published

Brand your Agent SDK. The white-label CLI template for Claude Agent SDK.

Readme

agent-sdk-cli-template

Brand your Agent SDK.

The white-label CLI template for Claude Agent SDK.

npm version License: MIT


What is this?

You know Claude Code? The AI coding assistant everyone loves?

What if you could put YOUR brand on Claude's power?

agent-sdk-cli-template gives you a production-ready CLI template built on the Claude Agent SDK. Full terminal UI, session management, slash commands—all customizable.

Fork it. Brand it. Ship it.


Quick Start

npx agent-sdk-cli-template my-bot
cd my-bot
npm install

# Customize your branding
# Edit src/branding.ts

npm run build
npm link
my-bot --help  # 🚀 Your CLI is live!

What You Get

| Feature | Description | |---------|-------------| | Full Terminal UI | Beautiful Ink/React-based interface | | Session Persistence | SQLite-backed conversation history | | Slash Commands | 27+ built-in commands with autocomplete | | MCP Integration | Connect external tools and services | | Permission Prompts | User-controlled tool access | | Your Branding | One file to customize everything |


The FBS Methodology

Fork

npx agent-sdk-cli-template my-product

Brand

Edit src/branding.ts:

export const BRANDING: BrandingConfig = {
  productName: 'SupportBot',
  tagline: 'AI-Powered Customer Support',
  cliCommand: 'supportbot',
  logo: `YOUR ASCII ART`,
  systemPrompt: `You are a helpful support agent...`,
};

Ship

npm run build
npm link          # Local testing
npm publish       # Ship to the world

Project Structure

my-bot/
├── src/
│   ├── branding.ts      # ← YOUR BRANDING HERE
│   ├── cli.ts           # CLI entry point
│   ├── conversation/    # Agent wrapper
│   ├── ui/              # Terminal components
│   └── features/        # Commands, MCP, plugins
├── .claude/
│   └── commands/        # Slash commands
├── bin/
│   └── cli.js           # Launcher
└── package.json

Customization

Branding (Required)

The only file you NEED to edit is src/branding.ts:

export const BRANDING: BrandingConfig = {
  productName: 'My CLI',        // Display name
  tagline: 'My tagline',        // Shown in header
  cliCommand: 'mycli',          // Global command name
  logo: `ASCII ART`,            // Your logo
  logoColor: 'cyan',            // Logo color
  systemPrompt: `...`,          // Claude's personality
  defaultMcpServers: {},        // MCP servers to include
};

Package.json (Required)

Update the bin entry to match your cliCommand:

{
  "bin": {
    "mycli": "./bin/cli.js"
  }
}

Slash Commands (Optional)

Add custom commands in .claude/commands/:

---
name: mycommand
description: What this does
---

Your prompt template here.

$ARGUMENTS

Built-in Commands

Core

/clear /commit /compact /config /context /cost /export /help /mcp /memory /model /resume /status /think /todos

Power Tools

/prime /plan /execute /validate /review /create-prd


Requirements

  • Node.js 18+
  • Anthropic API Key (ANTHROPIC_API_KEY)

Using as a Library

You can also use this template as a dependency:

npm install agent-sdk-cli-template
import { App, BRANDING, ConversationalAgent } from 'agent-sdk-cli-template';

// Use components with your own branding

License

MIT


Built on the Claude Agent SDK

Brand your Agent SDK today.