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

@huypl53/agent-tutor

v0.2.2

Published

Programming tutor plugin for coding agents (Claude Code, Codex CLI)

Readme

Agent Tutor

A programming tutor plugin for coding agents (Claude Code, Codex CLI). Observes your work via file changes and git activity, then coaches you through MCP tools and slash commands.

Installation

Via Claude Code Marketplace (recommended)

claude plugin marketplace add github:huypl53/agent-tutor
claude plugin install agent-tutor

The plugin auto-starts the MCP server, loads skills, and registers hooks.

Via npm

npm install -g @huypl53/agent-tutor

Then use as a Claude Code plugin:

claude --plugin-dir $(agent-tutor plugin-dir)

Or inject tutor instructions into your project:

agent-tutor install

Codex CLI

npx @huypl53/agent-tutor install --agent codex
codex mcp add agent-tutor -- node $(npx @huypl53/agent-tutor plugin-dir)/servers/tutoring-mcp.js

Requires Node.js 18+ and git on your PATH.

Commands

| Command | Description | |---------|-------------| | agent-tutor install [--scope] [--agent] | Install tutor instructions and show plugin setup | | agent-tutor uninstall [--scope] [--agent] | Remove tutor instructions | | agent-tutor plugin-dir | Print the plugin directory path (for --plugin-dir) |

Options:

  • --scope local|global — local (default) writes to .claude/CLAUDE.md, global writes to ~/.claude/CLAUDE.md
  • --agent claude|codex — target agent (default: claude)

Slash Commands

| Command | Description | |---------|-------------| | /atu:check | Comprehensive review of recent coding activity | | /atu:hint | Quick nudge — one teaching point | | /atu:explain | Explain the most recent error or output | | /atu:save | Save a lesson to ./lessons/ for later review | | /atu:debug | Guided debugging session (4-phase methodology) | | /atu:review | Self-review coaching with graduated checklist | | /atu:decompose | Problem decomposition coaching | | /atu:workflow | Development workflow habit coaching | | /atu:plan | Create a learning plan or show progress | | /atu:onboard | Analyze the project — detect stack, architecture, patterns | | /atu:deep-dive | Deep-dive into a specific module or feature |

Lesson Export

Agent Tutor saves structured lesson files to ./lessons/ in your project directory.

On-demand: Type /atu:save goroutines to explicitly save a lesson about a topic.

Automatic: Lessons are saved after /atu:check feedback and git commit coaching nudges.

Each lesson follows this structure:

# Topic Title

**Date:** 2026-03-24
**Topic:** category
**Trigger:** manual|check|commit|nudge

## What I Learned
## Code Example
## Key Takeaway
## Common Mistakes

Add lessons/ to .gitignore to keep them local, or commit them to share.

Learning State Management

All learning state is stored in .agent-tutor/state.json and managed via MCP tools:

  • Topic tracking — Create and track learning topics with status progression (introduced → practicing → struggling → breakthrough → mastered). Each topic records moments (struggles, hints, breakthroughs) and links to saved lessons.
  • Topic dependency graph — Topics can declare dependencies, forming a graph the tutor uses to suggest learning order and connect concepts.
  • Learning plans — Structured multi-step plans with progress tracking. Steps reference topics and are marked as mastered/skipped as the student progresses.
  • Session recovery — After /clear or /compact, the tutor calls restore_session to recover the active topic and context without asking the student to re-explain.
  • Auto-migration — Existing current-topic.md and learning-plan.md files are automatically migrated to JSON on first load.

Create a structured learning path with /atu:plan:

/atu:plan Build a REST API           # creates a 4-8 step plan
/atu:plan                            # shows current progress
/atu:plan next                       # marks current step done, advances

Project Analysis

Agent Tutor can analyze the student's project to provide context-aware coaching:

/atu:onboard                    # full project analysis (type, stack, architecture)
/atu:deep-dive src/auth         # focused analysis of a specific module

/atu:onboard runs a fast scan (type detection, manifest parsing, structure mapping) then spawns parallel sub-agents to analyze each domain (architecture, API, data, testing, etc.). Results are saved to .agent-tutor/docs/ and used for context-aware coaching.

/atu:deep-dive does an exhaustive analysis of a specific directory — reading every file, mapping dependencies, and explaining patterns pedagogically.

Supports 14 project types: web apps, backend APIs, CLI tools, libraries, mobile/desktop apps, games, data pipelines, extensions, infrastructure, embedded systems, AI/LLM apps, and DevOps platforms.

Configuration

Config is stored in .agent-tutor/config.json:

{
  "intensity": "on-demand",
  "level": "auto"
}

Coaching intensity levels

  • silent — Never coaches unless you explicitly ask.
  • on-demand — Only coaches when you ask or use /atu:check.
  • proactive — Checks your context and offers coaching when it spots teachable moments.

Change intensity via MCP tool: the agent can call set_coaching_intensity with proactive, on-demand, or silent.

How It Works

Agent Tutor is a Claude Code plugin with three components:

  1. MCP Server (plugin/servers/tutoring-mcp.js) — Node.js server providing 21 tools over stdio: 5 observation tools, 13 learning state tools, and 3 project analysis tools. Uses chokidar for file watching, a StateManager layer for atomic JSON state operations, and a ProjectScanner for project type detection and manifest parsing.

  2. Skills (plugin/skills/) — 11 slash command skills (including /atu:onboard and /atu:deep-dive for project analysis) and 4 teaching methodology skills with reference material.

  3. Hooks (plugin/hooks/hooks.json) — PostToolUse advisory hooks that detect large files and error patterns, suggesting relevant coaching commands.

The CLI (bin/cli.js) handles install/uninstall of tutor instructions (from plugin/templates/tutor-instructions.md) into the student project's CLAUDE.md or AGENTS.md.