How-To Guides#
Task-oriented recipes for common workflows with gptme. Each guide gives you a copy-pasteable pattern you can adapt immediately.
Minimal Context#
Run gptme with minimal context — measure and trim prompt sections for cheaper, tighter specialized runs.
File Editing#
Edit files surgically — patch, save, and inspect without rewriting whole files.
Code Review#
Review code changes — review a diff, a PR, or a single file with context.
Debug Python#
Debug failing tests — reproduce, trace, and fix Python errors step by step.
Automate Tasks#
Automate shell workflows — turn a repeated shell or git procedure into a script.
Refactor Code#
Refactor across files — rename, extract, and reshape code across a codebase.
Automate GUIs (Computer Use)#
Control desktop apps and automate web UIs — screenshots, mouse/keyboard, and structured browser interaction.
For shorter examples and one-liners, see Examples.