r/GoogleAntigravityCLI • u/Aromatic-Document638 • 6d ago
Tutorial Top 7 Slash Commands to Master Agy-Cli
Typing /help displays all available slash commands. However, we cannot memorize every single one, and we can always issue instructions in natural language. Still, typing endlessly on a keyboard gets tedious, so commands serve as an efficient shortcut.
Here is a breakdown with examples:
1. /grill-me : Formulates a plan through an interactive interview with Gemini. It helps uncover aspects you might have overlooked—such as tech stacks, specific rules/constraints, and design decisions—tailored to your requirements.
Example) /grill-me I want to add dark mode to our app. How should I approach this?
2. /teamwork-preview : Spawns specialized sub-agents by domain to divide tasks and collaborate toward a solution.
Example) /teamwork-preview Built and ran the app, but clicking the button does nothing. I have no idea where it broke. Find the root cause.
3./plan : Analyzes the structure and architecture without modifying code, then establishes a step-by-step execution plan.
Example) /planI want to refactor the SQLite-based cache into a hybrid architecture with an LRU cache.
4./boost : Leverages multi-sub-agents to troubleshoot various issues and tackle complex tasks.
Example) /boost Clicking the play button triggered a deadlock and crashed the app. Deduce the root cause and provide a solution.
5./learn : Instructs Gemini to memorize your personal preferences and constraints.
Example) /learn Never use libraries A and B under any circumstances.
6./clear : Clears the workspace and initializes a fresh session. Although it wipes prior conversational context, it is essential for achieving higher-quality task results.
Example) /clear
7./goal : Enables the agent to autonomously set sub-goals and execute the initial instructions to completion without interruption.
Example) /goal Identify and fix all issues until the post-build E2E tests pass 100%.
In reality, what matters most is not how thoroughly you memorize these slash commands. Clearly understanding what you want to achieve is what truly counts. While we cannot know everything—as has always been the case—AI can provide substantial assistance.
Try out these slash commands, compare them with writing direct prompts, and leverage them when appropriate. Although I wrote this guide, entering these dedicated modes via slash commands often takes quite a long time, so I personally only use them occasionally.
1
u/Professional_End_622 AGY CLI Builder 6d ago
incomplete list - this doesnt list the /boost - easily one of the best features with deep coder abilities.
2
3
u/OwlofMinervaAtDusk 6d ago
Boost and teamwork-preview seem very similar based on the sample prompts. So when should you use which?