Skip to content

Instantly share code, notes, and snippets.

View 4rmx's full-sized avatar

4rmx 4rmx

View GitHub Profile

Antigravity CLI Custom Status Line (with Vim mode & Quota Bars)

This is a custom Python script that generates a rich status line for the Google Antigravity CLI (agy). It natively supports extracting your current Vim mode (-- NORMAL --, -- INSERT --) and rendering it dynamically on its own line, along with your active model, effort level, token usage, and session/weekly quota progress bars!

How to setup

  1. Create the Python script: Save the following code to ~/.gemini/antigravity-cli/statusline.py and make sure it is executable (chmod +x ~/.gemini/antigravity-cli/statusline.py).

Claude Code Status Line

A sh script for Claude Code's statusLine hook that shows, in order:

██░░░░░░░░  22% session limit  |  ████░░░░░░  42% weekly limit  |  Opus 5 (High)  |  94.2k tokens
  • Session limit — 5-hour rolling usage bar (rate_limits.five_hour.used_percentage)
  • Weekly limit — 7-day rolling usage bar (rate_limits.seven_day.used_percentage)
@4rmx
4rmx / captureOptimize.sh
Created July 22, 2026 13:15
Screenshot with reduce quality script for mac
#!/bin/bash
# ==============================================================================
# Script Name: captureOptimize.sh
# Description: Automated macOS Screen Capture & Image Processing Utility
#
# Functionality:
# 1. Captures a specific region of the screen based on standard input arguments
# (X, Y, Width, Height) via native macOS `screencapture`.
# 2. Automatically falls back to an interactive selection mode (-i) if no
@4rmx
4rmx / logFileHighlighter.settings.json
Created August 6, 2025 13:05
starCharge log file highlighter
{
// Gun.\sStart\.\.\.
// GUN1.*?Stop
"[log]": {
"editor.largeFileOptimizations": false,
},
"logFileHighlighter.progressIndicatorUnderlineColor": "#ffee00",
"logFileHighlighter.customPatterns": [
{
"pattern": "pwrReq",
{
"LoRA_type": "Flux1",
"LyCORIS_preset": "full",
"adaptive_noise_scale": 0,
"additional_parameters": "",
"ae": "/workspace/models/vae/ae.safetensors",
"apply_t5_attn_mask": false,
"async_upload": false,
"block_alphas": "",
"block_dims": "",
@4rmx
4rmx / workflow_animatediff_refine.json
Created January 19, 2024 10:14
simple animatediff workflow
{
"last_node_id": 83,
"last_link_id": 165,
"nodes": [
{
"id": 22,
"type": "Reroute",
"pos": [
500,
70
@4rmx
4rmx / morelight
Created December 11, 2023 03:35
ComfyUI morelight color palette
{
"id": "morelight",
"name": "moreLight",
"colors": {
"node_slot": {
"*": "",
"BASIC_PIPE": "",
"BBOX_DETECTOR": "",
"BLIP_MODEL": "",
"BOOLEAN": "",
@4rmx
4rmx / workflow_ssd1b.json
Created November 7, 2023 10:14
ComfyUI Workflow for test SSD-1B model
{
"last_node_id": 152,
"last_link_id": 387,
"nodes": [
{
"id": 11,
"type": "VAEDecode",
"pos": [
4250,
-150
@4rmx
4rmx / workflow_imageComposite_wLora.json
Created October 17, 2023 18:33
ComfyUI Latent Composition with Lora Node added
{
"last_node_id": 1736,
"last_link_id": 2944,
"nodes": [
{
"id": 1415,
"type": "Text Multiline",
"pos": [
0,
560
@4rmx
4rmx / latent_compose.json
Last active October 17, 2023 18:30
Comfyui Latent Composition
{
"last_node_id": 1736,
"last_link_id": 2949,
"nodes": [
{
"id": 1415,
"type": "Text Multiline",
"pos": [
0,
560