modules/home/programs/cli-agents/shared/skills/pi-agent/SKILL.md
Spawn the pi coding agent with a specific model/provider. Use when asked to run pi with a particular model, switch pi's model, use DeepSeek V4 Flash/Pro in pi, or look up pi's --model/--provider/--models CLI flags and thinking-level shorthand.
npx skillsauth add not-matthias/dotfiles-nix pi-agentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
pi (the pi-mono coding agent) selects its model from CLI flags. Args without a
flag are treated as the initial prompt, so the model must be passed explicitly.
| Flag | Purpose |
|------|---------|
| --provider <name> | Provider id (default: google) |
| --model <pattern> | Model id/pattern. Supports provider/id and :<thinking> suffix |
| --models <patterns> | Comma-separated patterns for Ctrl+P in-session cycling (globs + fuzzy: anthropic/*, *sonnet*) |
| --thinking <level> | off, minimal, low, medium, high, xhigh |
| --list-models [search] | List available models (fuzzy filter optional) |
Each value flag needs an argument — pi --model alone errors as "Unknown option".
pi --provider openai --model gpt-4o-mini "refactor this" # provider + bare id
pi --model openai/gpt-4o "refactor this" # provider/id prefix
pi --model sonnet:high "solve this" # model + thinking shorthand
Two routes. Pick based on which API key is in pi's env file
(secrets/pi-mono-env.age → ~/.pi):
OPENROUTER_API_KEY)pi --provider openrouter --model deepseek/deepseek-v4-flash "your prompt"
pi --provider openrouter --model deepseek/deepseek-v4-pro "your prompt"
# Free Flash tier:
pi --provider openrouter --model "deepseek/deepseek-v4-flash:free" "your prompt"
Use
--provider openrouterexplicitly.--model deepseek/deepseek-v4-flashalone parsesdeepseek/as the native deepseek provider, not OpenRouter.
DEEPSEEK_API_KEY, api.deepseek.com)pi --provider deepseek --model deepseek-v4-flash "your prompt"
pi --provider deepseek --model deepseek-v4-pro "your prompt"
pi --provider openrouter --models deepseek/deepseek-v4-flash,deepseek/deepseek-v4-pro
pi --list-models deepseek (needs the
relevant API key in the environment).-p/--print for non-interactive runs, e.g.
pi --provider openrouter --model deepseek/deepseek-v4-pro -p "summarize README".development
Navigate to directories using zoxide (frecency-based directory jumper). Use when the user says "go to", "navigate to", "cd to", "jump to" a project or directory by nickname/partial name (e.g. "go to my dotfiles", "jump to dot").
tools
Use when manipulating Zellij sessions, creating tabs or panes, sending commands to panes, capturing output, or looking up Zellij CLI commands for terminal multiplexer operations
development
Emulates not-matthias's technical blog writing style. Use when writing blog posts, technical articles, README content, or any long-form technical prose. Produces investigation-driven, first-person narratives with dry humor, practical code examples, and concrete takeaways.
development
Create and manage Git worktrees for parallel feature development. Use when user wants to work on multiple features simultaneously or needs isolated development environments.