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

@ngocbaongo/ai-agent-init

v1.3.0

Published

Bootstrap any project with AI-agent-ready documentation and conventions. Run once, let the AI do the rest.

Readme

🤖 ai-agent-init

Bootstrap any project with AI-agent-ready documentation in seconds.

Stop wasting time explaining your project structure to every new AI Agent. Run one command, point your agent to one file, and get a fully documented, standardized project.

The Problem

Every time you start a new AI coding session, you waste tokens and time re-explaining:

  • What tech stack you're using
  • What architecture patterns to follow
  • What naming conventions to use
  • Where files should go

The Solution

ai-agent-init drops a smart bootstrap file into your project. You point your AI Agent to it, and the agent does the rest — generating tailored documentation for your specific codebase, then cleaning up after itself.

Usage

# 1. cd into any project (new or existing)
cd my-project

# 2. Run the initializer
npx ai-agent-init init

# 3. Tell your AI Agent (Cursor, Copilot, Cline, Gemini, etc.):
# "Read docs/ai/ai_bootstrap.md and set up this project."

That's it. The agent will:

  • 🔍 Analyze your codebase and detect the tech stack
  • 📝 Generate docs/ai/rules.md — conventions tailored to your project
  • 🗺️ Generate docs/ai/project_map.md — a map of your folder structure
  • 🗑️ Generate docs/ai/uninstall.md — guide to remove the project and free up system resources
  • 📄 Create or update README.md with real project info
  • ⚙️ Create .cursorrules and .clinerules at the root
  • 🧹 Delete all template files automatically

Supported Tech Stacks

The bootstrap templates cover conventions for:

| Stack | Detected By | |---|---| | Flutter / Dart | pubspec.yaml | | Python | requirements.txt, pyproject.toml | | Node.js / TypeScript | package.json | | Go | go.mod | | Generic | Fallback for any other project |

What Gets Generated

your-project/
├── docs/
│   └── ai/
│       ├── rules.md          ← Code conventions & architecture for this project
│       ├── project_map.md    ← Folder structure map with descriptions
│       └── uninstall.md      ← Guide to remove project and free resources
├── README.md                 ← Updated with real project info
├── .cursorrules              ← For Cursor IDE
└── .clinerules               ← For Cline / Roo-Code

Why This Works

The key insight is: AI Agents are great at reading context and adapting. Instead of writing complex detection logic in the CLI, we give the agent a clear instruction file (ai_bootstrap.md) and let it figure out the specifics. This makes the tool:

  • Adaptive — works with any language or framework
  • Accurate — agent reads actual code, not just file names
  • Lightweight — CLI has zero dependencies
  • Self-cleaning — no template clutter after setup

Contributing

Contributions welcome! To add a new tech stack template:

  1. Add a templates/rules_<tech>.md file
  2. Reference it in templates/ai_bootstrap.md's detection table

License

MIT © ngocbaomobile