๐Ÿช

AGY Research Lab

Breadbox VPS // Google Antigravity & Gemini Exploration Hub

Connecting...
๐ŸŽฏ Planning & Deep Thought ๐Ÿค– Automation & Multi-Agent ๐Ÿง  Memory & Requirements ๐Ÿ› ๏ธ CLI & Session Utilities ๐Ÿงฉ Custom Skills & Workflows ๐Ÿ“Š Comparative Cheatsheet
TRACK B // WORKFLOW ENGINE

Antigravity Slash Commands & Automation Workflows

A comprehensive operational guide and tested reference for all Antigravity built-in slash actions, cognitive mode transitions, background daemons, multi-agent swarms, and context reclamation commands.

9
Core Built-in Slash Workflows
2 Types
System Native vs Skill-Mounted
Autonomous
Non-Blocking Task Lifecycles
Mobile-First
Responsive UI & Jump Menus

๐ŸŽฏ Planning & Deep Cognitive Reasoning

These commands alter the agent's fundamental decision-making loop, shifting from immediate reactive code editing to deliberate architectural roadmapping, counterfactual auditing, or persistent multi-turn goal completion.

๐Ÿ“‹
/plan
Interactive Planning Mode

Engages formal planning mode. Instead of immediately modifying code or running potentially destructive terminal commands, the agent performs read-only exploration of the codebase, identifies all touchpoints, outlines architectural options, assesses operational risk, and produces a structured plan for operator review before execution.

Primary Archetype
Architectural Blueprint & Risk Audit
Execution State
mode: plan (Read-only tools active)
Best Used For
Migrations, schema changes, multi-file refactors
Real-World User Invocation Prompt Example
/plan Migrate the HTTP server in server.js from static file routing to an Express-compatible middleware pipeline with rate-limiting.
Observed Agent Trajectory Behavior
1. Agent scans server.js, package.json, and public/ assets using read-file and codebase-search.
2. Formulates an execution artifact detailing:
   - Target architecture & middleware order (logger -> security headers -> rate-limiter -> static).
   - Compatibility impact on reverse-proxy (Nginx port 3302).
   - Step-by-step phased rollout with rollback plan.
3. Pauses and requests operator sign-off before making edits.
๐Ÿš€
/goal
Autonomous Loop Mode

Activates long-running, self-healing execution mode. The agent assumes ownership of an end-to-end objective (e.g., overnight test generation, bulk refactoring, flaky test remediation), persistently executing, verifying, and self-correcting until the objective is fully satisfied or blocked by external limits.

Primary Archetype
Unattended / Overnight Autonomous Batch
Execution State
mode: auto with persistent retry loops
Best Used For
Full test suite coverage, linting fixes, migrations
Real-World User Invocation Prompt Example
/goal Refactor all CSS in public/style.css into modular responsive components, verify all 3 dashboard pages on mobile viewport, and do not stop until 100% of links return HTTP 200.
Observed Agent Trajectory Behavior
1. Agent outlines the full checklist of tasks.
2. Iterates continuously through file edits, testing after each stage with curl and python tests.
3. If an assertion fails, the agent investigates the error log and fixes the code without asking trivial confirmation.
4. Stops only when every acceptance criteria item is verifiably validated.
โšก
/boost
High Cognitive Effort

Engages maximum reasoning effort and multi-perspective verification. The agent expands its internal chain-of-thought, explores counter-arguments, audits potential race conditions or edge cases, and applies rigorous scrutiny before finalizing solutions.

Primary Archetype
Deep Thinking & Rigorous Verification
Execution State
effort: max (Extended Chain-of-Thought)
Best Used For
Cryptographic logic, race conditions, memory leaks, security audits
Real-World User Invocation Prompt Example
/boost Audit our rules token budget calculation in Go/Node to ensure multibyte UTF-8 characters cannot cause an out-of-bounds slice panic at the 24,000-byte boundary.

๐Ÿค– Autonomous Automation & Multi-Agent Swarms

Workflows that delegate responsibilities to external subagents, schedule background timers on VPS hosts, or interact directly with live web browsers.

โฐ
/schedule
Background Timer & Cron

Schedules delayed one-shot timers or recurring cron triggers directly in the Antigravity background task engine. The task runs asynchronously without blocking the user, waking up the agent with a high-priority prompt when the timer elapses.

Invocation Syntax
DurationSeconds or CronExpression
Lifecycle Tool
schedule(...) / manage_task
Best Used For
Health checks, log aggregation, periodic polling, delayed reminders
Real-World User Invocations Prompt Examples
/schedule Check systemd agy service memory and log status in 10 minutes.
/schedule Run a health check against https://agy.85-239-240-162.sslip.io every 30 minutes: "*/30 * * * *"
๐ŸŒ
/browser
Web Automation Agent

Spawns a specialized Browser subagent equipped with headless browser automation tools (DevTools / CDP). Enables the agent to navigate live URLs, click elements, fill input fields, capture screenshots, and inspect live DOM trees.

Subagent Type
BrowserAgent / BrowserWebviewAgent
Capabilities
Click, navigate, screenshot, DOM snapshot, console log audit
Best Used For
End-to-end UI testing, verifying styling, automated form interactions
Real-World User Invocation Prompt Example
/browser Open http://127.0.0.1:3302/rules.html, verify that the mobile hamburger button toggles the navigation links menu, and take a screenshot.
๐Ÿ‘ฅ
/teamwork
Multi-Agent Swarm

Spawns a multi-agent supervisor/worker topology. The parent agent acts as coordinator, breaking a large initiative into independent streams and delegating them to worker agents (e.g. SweLight, DocumentReview, Colosseum) operating concurrently with isolated workspace branches or shared file access.

Topology
Supervisor Coordinator + Parallel Workers
Workspace Isolation
Workspace: branch (Git worktree) vs share
Best Used For
Parallel refactoring, concurrent test authoring, multi-repo audits
Real-World User Invocation Prompt Example
/teamwork Split Track C research into two workers: Worker 1 investigates progressive skill disclosure tokens; Worker 2 tests @-mention directory injection limits.

๐Ÿง  Context Management & Requirement Discovery

Workflows designed to align expectations before coding, reclaim bloated context windows, or persist knowledge across sessions.

๐ŸŽค
/grill-me
Interactive Discovery

Instructs the agent to conduct an interactive requirements discovery interview with the operator. The agent pauses assumption-making and fires structured, probing multiple-choice questions to resolve architectural ambiguity, edge cases, security posture, and UI preferences.

Primary Archetype
Probing Interviewer / Socratic Discovery
Tool Integration
Uses ask_question with structured choices
Best Used For
Ambiguous specs, design trade-offs, security policies
Real-World User Invocation Prompt Example
/grill-me I want to add role-based access control (RBAC) to our VPS dashboard. Grill me on user roles, token expiry, session stores, and API security.
๐Ÿ—œ๏ธ
/compact
Context Window Reclamation

Compacts the conversation history. When a conversation becomes lengthy and approaches model context window limits, /compact summarizes historical steps, prunes verbose tool outputs, and retains active task state and decisions, substantially reducing input token costs for subsequent turns.

Primary Archetype
Context Pruning & State Snapshotting
Target Files
Compacts transcript.jsonl, reclaims context budget
Best Used For
Long debug sessions, multi-day trajectories, token preservation
Real-World User Invocation Prompt Example
/compact We have finished testing Track A and Track B. Compact the conversation to preserve our key discoveries while clearing raw test logs.
๐ŸŽ“
/learn
Knowledge Persistence

Extracts lessons, operator preferences, and system quirks from the current conversation and writes them into permanent rule files in .agents/rules/ or skill templates in .agents/skills/. Future agent conversations will automatically discover and enforce these lessons.

Primary Archetype
Self-Improving Memory & Rule Synthesis
Target Destination
.agents/rules/ or GEMINI.md
Best Used For
After correcting agent mistakes, custom VPS setups, lint rules
Real-World User Invocation Prompt Example
/learn We use Ubuntu 24.04 with systemd unit agy.service on port 3302. Remember to always test web endpoints via curl before declaring web tasks complete.

๐Ÿ› ๏ธ CLI & Session Control Commands

Standard terminal control commands available inside the Antigravity TUI and CLI runtime:

Command Arguments / Syntax Action / Effect Scope
/help None Displays all recognized slash commands, active skills, and keybindings. Session
/model [model_name] Inspects or switches the active model (e.g. Gemini 3.8 Flash, Gemini 3.8 Pro). Session
/mode [accept-edits | auto | plan] Toggles tool approval mode between interactive planning and auto-apply. Project
/stats None Displays real-time session telemetry: input tokens, cache hit tokens, latency. Session
/clear None (alias /reset) Clears the conversation display buffer and restarts context cleanly. Session
/exit None (alias /quit, Ctrl+D) Gracefully terminates the CLI session and unmounts background daemons. Terminal

๐Ÿงฉ Custom Skills as Slash Commands

In Antigravity, every skill placed in .agents/skills/<name>/SKILL.md automatically becomes a callable slash command: /<name>!

1

Skill Declaration

Create .agents/skills/deploy-check/SKILL.md with YAML frontmatter name: deploy-check.

2

Automatic Registration

Antigravity mounts /deploy-check as a user-facing slash command with autocomplete in the chat UI.

3

Progressive Activation

Typing /deploy-check activates the skill, injecting its full instructions into the agent's turn.

Example Custom Skill Slash Invocation Chat Input
/agy-customizations How do workspace rules differ from global machine rules?

๐Ÿ“Š Comparative Command Matrix

Quick decision-making guide on when to trigger which command:

Command Primary Intent Token Overhead Human Interaction When to Choose
/plan Roadmapping & risk audit Low High (Requires approval) Before large or destructive code changes
/goal Autonomous batch execution Medium-High Low (Unattended) Overnight test builds, bulk refactoring
/boost Deep reasoning & verification High Medium Complex security audits, race conditions
/grill-me Requirements discovery interview Low High (Interactive Q&A) When feature requirements are ambiguous
/teamwork Multi-agent delegation High Low-Medium Parallel tasks spanning multiple directories
/schedule Background timer / cron Minimal Zero (Async trigger) Periodic health checks, delayed verification
/browser Web navigation & UI testing Medium Low DOM inspection, screenshot verification
/compact Token reclamation Reduces Tokens Zero When context reaches >50k tokens
/learn Memory persistence Low Zero After solving environment setup issues