git404hub

what is pi-modes fr?

maximerivest/pi-modes — explained in plain English

Analysis updated 2026-05-18

25TypeScriptAudience · developerComplexity · 2/5LicenseSetup · easy

tl;dr

An extension for the pi AI assistant that lets you switch between different prompt personalities, like coding, planning, or explaining, using slash commands.

vibe map

mindmap
  root((pi-modes))
    What it does
      Switch AI prompt modes
      Create custom modes
      Bundled example modes
    Tech stack
      TypeScript
      pi CLI
      JSON config files
    Use cases
      Switch between coding and review styles
      Build a custom assistant persona
      Install curated example modes
    Audience
      Vibe coders
      Developers using pi

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Switch the pi assistant into a review mode before checking a pull request.

VIBE 2

Create a custom prompt mode tailored to a recurring task like writing documentation.

VIBE 3

Install the bundled example modes to get a simplify, explainer, or crash course persona instantly.

VIBE 4

Share a custom mode file with teammates so everyone gets the same assistant behavior.

what's the stack?

TypeScriptpi

how it stacks up fr

maximerivest/pi-modes8thpark/geodecodeweb-dev/spark-ui
Stars252525
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasymoderate
Complexity2/52/5
Audiencedevelopervibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

Requires the pi CLI tool already installed.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

in plain english

Pi-modes is an add-on for a tool called pi, which appears to be an AI coding assistant that runs commands in a terminal. This extension lets you switch between different prompt modes, meaning different personalities or instruction sets for the assistant, depending on what kind of task you are doing at the moment. Once installed, you get a set of slash commands inside pi. Typing a command like slash mode lets you pick from your available modes using a fuzzy search list, or you can jump straight to one by typing its short name. There are also commands to create a brand new custom mode from within the tool's interface, edit an existing one, or delete one you no longer want. Every custom mode you make gets saved as a plain JSON file in a folder under your home directory, so you can back them up or share them easily. The extension ships with four built in modes out of the box: one for general coding, one for planning work before writing code, one for reviewing existing code, and one for getting plain explanations. Beyond those, the repository bundles a larger set of ready made example modes covering things like generating boilerplate code, writing a quick crash course on a topic, simplifying complicated text, checking grammar, organizing project files, drafting technical documentation, and a few more specialized styles. These examples are not installed automatically. After you install the extension, you run a separate command to copy them into your personal mode folder, and there is an option to overwrite existing files if you already have modes with the same names. Installation itself is a single command using pi's own package installer, or you can try the extension once without permanently installing it using a preview flag. The project is released under the MIT license.

prompts (copy fr)

prompt 1
Help me install pi-modes and switch to the coding mode using slash commands.
prompt 2
Walk me through creating a custom mode for pi using the mode-new command.
prompt 3
Explain the difference between the plan, review, and explain built in modes in pi-modes.
prompt 4
Help me install the bundled example modes and pick one for simplifying text.

Frequently asked questions

what is pi-modes fr?

An extension for the pi AI assistant that lets you switch between different prompt personalities, like coding, planning, or explaining, using slash commands.

What language is pi-modes written in?

Mainly TypeScript. The stack also includes TypeScript, pi.

What license does pi-modes use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is pi-modes to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is pi-modes for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.