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

@aitutor/cli

v0.1.7

Published

Interactive terminal-based tutorial for AI coding concepts — like vimtutor, but for AI-assisted development

Readme

AITutor

Interactive terminal-based tutorial for AI coding concepts. Learn context windows, MCP, tools, subagents, and more through hands-on lessons with visualizations and quizzes — like vimtutor, but for AI-assisted development.

Go

AITutor Demo

Install

No setup needed — just run:

npx @aitutor/cli@latest

Or install globally:

npm install -g aitutor
aitutor

Homebrew

brew tap naorpeled/tap
brew install aitutor
aitutor

Go

go install github.com/naorpeled/aitutor@latest
aitutor

Build from source

git clone https://github.com/naorpeled/aitutor.git
cd aitutor
make build
./aitutor

Curriculum

Beginner

| # | Lesson | What You'll Learn | |---|--------|-------------------| | 1 | What is an AI Coding Assistant? | The observe-think-act agent loop | | 2 | Context Window | How token budgets work, MCP tool costs, compression | | 3 | Tools | Glob, Read, Edit, Bash — the core tool chain | | 4 | Prompt Engineering | Writing effective prompts for AI assistants |

Intermediate

| # | Lesson | What You'll Learn | |---|--------|-------------------| | 5 | AGENTS.md / CLAUDE.md | Project-specific AI instructions and scoping | | 6 | Execution Modes | Plan mode vs execution mode decision-making | | 7 | Hooks | Lifecycle hooks and automation triggers | | 8 | Memory & Persistence | Session memory, persistent storage, CLAUDE.md | | 9 | The Agentic Loop | Read → Think → Act → Observe iteration cycle | | 10 | Prompting Techniques | Seven techniques for better AI-generated code | | 11 | AI Code Review | Bug spotting, verification strategies, common AI mistakes |

Advanced

| # | Lesson | What You'll Learn | |---|--------|-------------------| | 12 | MCP (Model Context Protocol) | Client-server architecture, browsing and calling tools | | 13 | Skills | Lazy-loaded skill system and slash commands | | 14 | Subagents | Parallel agent fan-out for complex tasks | | 15 | Git Worktrees | Isolated workspaces for parallel development | | 16 | Tool Search & Deferred Tools | On-demand tool loading to save context | | 17 | Batch Tool Calls | Per-tool execution policies and parallel batching |

How It Works

Each lesson has three phases:

  1. Theory — Scrollable content explaining the concept
  2. Visualization — Interactive ASCII visualization you can manipulate
  3. Quiz — Multiple choice, fill-in-the-blank, or ordering questions

Progress saves automatically to ~/.aitutor/progress.json and resumes across sessions.

Keys

| Key | Action | |-----|--------| | q / Ctrl+C | Quit | | Tab | Toggle sidebar | | n / p | Next / previous lesson | | / Enter | Advance to next phase | | / Backspace | Go back a phase | | ↑/↓ or j/k | Scroll / navigate | | Enter / Space | Interact with visualizations | | ? | Help overlay |

Project Structure

aitutor/
├── main.go                          # Entry point
├── internal/
│   ├── app/                         # Root TUI model, keys, messages
│   ├── ui/                          # Header, footer, sidebar, styles, layout
│   ├── lesson/                      # Lesson state machine, registry, renderer
│   ├── content/
│   │   ├── beginner/                # Lessons 1-4
│   │   ├── intermediate/            # Lessons 5-11
│   │   └── advanced/                # Lessons 12-17
│   ├── viz/                         # Interactive visualizations
│   ├── quiz/                        # Quiz system (MC, fill-blank, ordering)
│   └── progress/                    # JSON persistence, progress bar
└── pkg/types/                       # Shared types (Tier, LessonDef, etc.)

Dependencies

No other external dependencies.

Contributing

Something missing? Something wrong? Feel free to open an issue or submit a PR at github.com/naorpeled/aitutor.

Disclaimer

Content is community-contributed and may be AI-assisted. While we strive for accuracy, it may contain errors. This is not a substitute for professional training. Contributions and corrections are welcome.

License

MIT