Skip to content

Instantly share code, notes, and snippets.

@WebLenn
Created January 12, 2026 06:08
Show Gist options
  • Select an option

  • Save WebLenn/4963c028dc18fb5631d4457e6a246915 to your computer and use it in GitHub Desktop.

Select an option

Save WebLenn/4963c028dc18fb5631d4457e6a246915 to your computer and use it in GitHub Desktop.
Antigravity AI Transcript Cleanup Guide

Antigravity AI Transcript Cleanup Guide

This guide contains the standard Regex patterns and steps to clean up transcripts generated by Antigravity AI for better readability.


1. Metadata Replacement

Use these patterns to remove internal file referencing and CCI markers.

  • Pattern: \(file:.*?\) \*
    Action: Replace with empty string.
  • Pattern: \(cci:.*?\)
    Action: Replace with empty string.

2. Remove System Info Lines

These lines are generated during the AI's processing phase and can be safely deleted.

  • *Edited relevant file*
  • *Checked command status*

3. Formatting & Whitespace

To remove excessive empty lines created after stripping the metadata:

  • Find (Regex): ^(\s*)\n
  • Action: Replace with empty string (or a single newline to maintain spacing).

Quick Reference Table (Regex)

Step Regex Pattern Purpose
Files \(file:.*?\) \* Removes file path markers
CCI \(cci:.*?\) Removes internal tags
Lines \*Edited relevant file\* Removes status updates
Lines \*Checked command status\* Removes status updates
Breaks ^(\s*)\n Collapses multi-line breaks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment