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

@panda911aka/pi-english-tutor

v1.0.0

Published

English conversation tutor plugin for pi — bilingual AI responses, CEFR levels, input guard, and study reports

Readme

🇬🇧 pi-english-tutor

English conversation tutor plugin for pi — turn your coding agent into an immersive English learning environment.

📖 中文文档 (Chinese README)

Features

| Feature | Description | |---------|-------------| | 🗣️ Bilingual Mode | AI responds in BOTH English & Chinese side-by-side | | 🇬🇧 English-Only Mode | AI responds only in English for full immersion | | 📚 CEFR Levels | A2 → B1 → B2 → C1 difficulty progression | | 💡 Error Correction | Gentle grammar & vocabulary corrections | | 📝 Vocabulary Tips | New words suggested every few exchanges | | 🔒 Input Guard | Detects Chinese input — gentle reminder or strict block | | ⌨️ Shortcuts | Ctrl+Shift+E toggle mode, Ctrl+Shift+S toggle strict | | 📊 Study Report | Export full conversation as Markdown learning report | | 🔌 Pluggable | Modular features, easy to extend |

Quick Start

# Install from GitHub
pi install git:github.com/T-DWAG/pi-english-tutor

# Or test locally
pi -e ./extensions/english-tutor/index.ts --skill ./skills/english-tutor/SKILL.md

Usage

Commands

| Command | Action | |---------|--------| | /english mode bilingual | AI responds with 🇬🇧+🇨🇳 side by side | | /english mode english-only | AI responds in 🇬🇧 only | | /english strict on | Block Chinese input completely | | /english strict off | Allow Chinese with gentle reminder | | /english difficulty A2 | Set to elementary level | | /english difficulty B1 | Set to intermediate | | /english difficulty B2 | Set to upper-intermediate | | /english difficulty C1 | Set to advanced | | /english stats | Show current settings | | /english export | Export conversation as study report |

Keyboard Shortcuts

| Shortcut | Action | |----------|--------| | Ctrl+Shift+E | Toggle bilingual ↔ english-only | | Ctrl+Shift+S | Toggle strict ↔ gentle input |

Status Bar

The footer shows current mode, difficulty, and strict status:

🔓 🇬🇧🇨🇳 双语 | B1

Modes Explained

Bilingual Mode (default)

The AI responds in both English and Chinese, separated clearly:

Your natural English response here.

---
你的中文翻译在这里。

Great for: building comprehension, learning vocabulary through context, and checking your understanding.

English-Only Mode

The AI responds only in English — full immersion.

Great for: practicing reading fluency, thinking in English, and exam preparation.

CEFR Levels

| Level | Name | What to expect | |-------|------|----------------| | A2 | Elementary | Simple sentences, common words, basic tenses | | B1 | Intermediate | Moderate sentences, some idioms, connecting words | | B2 | Upper-Intermediate | Natural English, phrasal verbs, varied vocabulary | | C1 | Advanced | Native-like, sophisticated, nuanced |

Architecture

english-tutor/
├── extensions/english-tutor/index.ts   # Main extension logic
├── skills/english-tutor/SKILL.md       # Teaching methodology
└── package.json                        # pi package manifest

Extension Points (for developers)

The plugin is designed to be extended. See extensions/english-tutor/index.ts for the full API.

Key interfaces you can implement:

  • Translation backends — swap LLM translation for DeepL, Google, etc.
  • Correction strategies — custom error detection rules
  • Export formats — Anki CSV, HTML, PDF
  • Input handlers — spell check, grammar pre-check

License

MIT