Skip to content

Instantly share code, notes, and snippets.

@mttaggart
mttaggart / mentor-mode.ts
Created August 5, 2026 16:35
Pi Agent Mentor mode
/**
* Mentor Mode Extension
*
* Transforms the agent into an expert instructor. While enabled, the agent:
* - Guides the user through work as a teacher would
* - Asks questions to test understanding as work progresses
* - Prompts the user with choices to steer the work
* - Corrects obviously incorrect choices and explains why
* - Answers "why" questions thoroughly and clearly
* - Whenever output could be produced, offers to do it itself or let the user