This shell script searches for files (artifacts) within the Antigravity CLI brain directory (${HOME}/.gemini/antigravity-cli/brain).
agyfind [PATTERN]-
No arguments (
agyfind):- Searches for all Markdown files (
*.md) in the target directory. - Outputs their absolute paths sorted by modification time in descending order (newest first).
- Searches for all Markdown files (
-
One argument (
agyfind PATTERN):- Searches for files matching the specified
PATTERN(e.g.,*.jsonorspecific_file.md) and outputs their paths (unsorted).
- Searches for files matching the specified
-
Invalid arguments (More than one argument):
- Prints usage information to standard error (
usage: agyfind [PATTERN]) and exits with status1.
- Prints usage information to standard error (