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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@skillfulai/express-template

v1.0.1

Published

Express server template for Skillful AI agents

Readme

Skillful AI Express Server Template

A ready-to-use Express server template for Skillful AI agents with configurable rate limiting, logging, and endpoints for all core functionalities.

Quick Start

# Create your project
mkdir my-skillful-server
cd my-skillful-server
npm init -y

# Install the package
npm install @skillfulai/express-template

Create an index.js file:

const SkillfulServer = require('@skillfulai/express-template');

// Initialize with default options
const server = new SkillfulServer();
server.initialize();

Create a .env file:

SKILLFUL_API_KEY=your_skillful_api_key
AGENT_NAME=Wojak
PORT=3000

Configuration Options

const server = new SkillfulServer({
    // Enable/disable features
    enableRateLimiting: true,
    enableLogging: true,

    // Rate limiting configuration
    rateLimits: {
        global: {
            windowMs: 15 * 60 * 1000, // 15 minutes
            max: 100 // requests per window
        },
        chat: {
            windowMs: 60 * 1000, // 1 minute
            max: 10 // requests per minute
        }
    },

    // Logging options
    logger: {
        requests: true,
        responses: false,
        errors: true,
        format: 'short' // or 'detailed'
    },

    // Server configuration
    port: 3000
});

Available Endpoints

Agent Management

  • GET /health - Check server health
  • GET /agent/info - Get current agent information
  • GET /agent/skills - Get categorized list of agent skills
  • GET /agents - List all available agents
  • POST /agent/switch - Switch to a different agent

Chat

  • POST /chat - Send message to agent
  • GET /chat/history - Get conversation history
  • POST /chat/clear - Clear conversation history

Extending the Server

Create a custom server by extending the base class:

class CustomServer extends SkillfulServer {
    constructor(options) {
        super(options);
        // Add custom initialization
    }

    setupRoutes() {
        super.setupRoutes();
        // Add custom routes
        this.app.get('/custom', (req, res) => {
            res.json({ message: 'Custom endpoint' });
        });
    }
}

const server = new CustomServer({
    enableRateLimiting: true,
    enableLogging: true
});

Features

  • Express server with core Skillful AI integration
  • Configurable rate limiting
  • Customizable logging
  • Easy agent switching
  • Conversation management
  • Skills categorization
  • Built-in error handling
  • Extensible architecture

Requirements

  • Node.js 14 or higher
  • npm or yarn
  • Skillful AI API key
  • Environment variables configuration

Support

For support with Skillful AI: