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

@lousy-agents/cli

v2.2.0

Published

CLI scaffolding tool that sets up projects with structure, instructions, and feedback loops for AI coding assistants

Downloads

987

Readme

Lousy Agents

Turn "lousy" AI outputs into production-grade code.

Demo

TL;DR

A CLI tool that scaffolds projects with the structure AI coding assistants need to be effective. Run npx @lousy-agents/cli init to create a new project with testing, linting, and GitHub Copilot configuration. Run npx @lousy-agents/cli copilot-setup in existing projects to generate a workflow that gives Copilot your environment context.


Lousy Agents is a CLI scaffolding tool that sets up your projects with the structure, instructions, and feedback loops that AI coding assistants need to be effective. One command gives you a production-ready development environment with testing, linting, and AI assistant configuration.

Quick Start

# Scaffold a new webapp project (no install required)
npx @lousy-agents/cli init --kind webapp

# Or use interactive mode to choose your project type
npx @lousy-agents/cli init

# Generate GitHub Copilot setup workflow from your project configuration
npx @lousy-agents/cli copilot-setup

Table of Contents

Who This Is For

  • Software Engineers: Frustrated by inconsistent AI output and looking for proven patterns to improve results.
  • Curious Beginners: Interested in AI-assisted coding but unsure how to set things up for success.
  • Team Leads: Exploring how to standardize AI tooling across a team or project.
  • Platform Engineers: Need to automate project scaffolding in scripts or CI/CD pipelines.

No prior experience with coding agents is required—just curiosity and a willingness to experiment.

Why This Exists

AI coding assistants work best when given clear constraints. Without structure, they guess—and often guess wrong. Lousy Agents provides the scaffolding they need to succeed:

  • Instructions & Specs: Templates that clearly communicate your intent, so agents produce code that matches your vision.
  • Feedback Loops: Pre-configured testing (Vitest) and linting (Biome) that let agents catch and fix their own mistakes immediately.
  • Copilot Configuration: Settings and workflows that ground AI assistants in your specific engineering standards.

Features

CLI Commands

  • init - Scaffold new projects with testing, linting, and Copilot configuration
  • new - Create new resources like custom GitHub Copilot agents
  • copilot-setup - Generate GitHub Actions workflows for Copilot environment setup

MCP Server

  • MCP Server - Model Context Protocol server for AI assistant integration

Spec-Driven Development

A methodology where you write clear specifications first, giving agents precise requirements to implement—rather than vague prompts. Each scaffolded project includes instruction files for writing specs and tests.

Non-Interactive Mode

Use the --kind flag to skip prompts and integrate into scripts or automation:

npx @lousy-agents/cli init --kind webapp  # No prompts, perfect for CI/CD

Installation

No installation required! Use npx to run directly:

npx @lousy-agents/cli init

For frequent use, install globally:

npm install -g @lousy-agents/cli

Usage

For detailed documentation on each command, see:

Quick Examples

Create a new webapp:

npx @lousy-agents/cli init --kind webapp

Create a custom Copilot agent:

npx @lousy-agents/cli new --copilot-agent security

Generate Copilot setup workflow:

npx @lousy-agents/cli copilot-setup

Roadmap

| Feature | Status | |---------|--------| | Scaffolding for webapps | ✅ Complete | | Scaffolding for REST APIs | ✅ Complete | | Scaffolding for CLI | Not Started | | Scaffolding for GraphQL APIs | Not Started | | MCP server package | ✅ Complete |

Documentation

Reference Examples

The repository includes fully working reference implementations demonstrating these patterns in action:

  • ui/copilot-with-react - Next.js + TypeScript webapp with pre-configured testing (Vitest), linting (Biome), GitHub Copilot instructions, and Dev Container configuration.
  • api/copilot-with-fastify - Fastify + TypeScript REST API with Kysely, PostgreSQL, Testcontainers integration testing, and Dev Container configuration.

Launch a GitHub Codespace to instantly spin up either environment and experiment with spec-driven development.