Skip to content

Instantly share code, notes, and snippets.

@GGPrompts
GGPrompts / Codex Slash-command
Last active December 29, 2025 07:28
Slash command to have Claude consult codex #slash-command #claude-code #openai-codex #debugging #root-cause-analysis
---
description: Query OpenAI Codex for root cause analysis (read-only, no edits)
---
# Codex Root Cause Investigation
You are Claude Code, and the user wants to consult OpenAI Codex (via codex CLI) for root cause analysis of a bug or technical issue.
## Your Task
@GGPrompts
GGPrompts / Opus' Pre-Weekly-Limits Plan
Last active November 17, 2025 18:27
Opus plan back in August 2025 before new weekly limits #planning #claude-ai #strategy #usage-optimization #historical
Operation Maximum Extraction: The August 2025 Claude Gold Rush Strategy
--- CRITICAL CONTEXT
Current Date: August 14, 2025
Deadline: August 31, 2025 (stricter limits coming)
Current Arbitrage: $10,000+ value for $200/month (5,000% ROI)
Days Remaining: 16 days
Mission: Extract maximum value before restrictions
The $10K Leaderboard Reality
@GGPrompts
GGPrompts / MOUSE_COORDINATE_FIX.md
Last active November 17, 2025 18:27
xterm.js Mouse Coordinate Fix for Canvas Zoom - Complete Solution #bug-fix #xterm.js #mouse-events #canvas #zoom #css-transform #coordinate-system

Mouse Coordinate Fix for Canvas Zoom

Date: October 31, 2025 Status: ✅ SOLVED Issue: Mouse clicks in xterm.js terminals were inaccurate at non-100% canvas zoom levels


The Problem

@GGPrompts
GGPrompts / EMOJI_WIDTH_FIX.md
Last active November 17, 2025 18:27
xterm.js Emoji & Unicode Width Fix - Unicode11 Addon Solution #bug-fix #terminal #unicode #emoji #xterm.js #tui #cross-platform

Emoji & Unicode Width Fix for xterm.js

Date: [Pre-October 2025 - before mouse coordinate fix] Status: ✅ SOLVED Issue: Emojis and wide Unicode characters broke terminal formatting and box drawing Time to Solution: 2 days of debugging Actual Solution: 1 line of code (install Unicode11 addon)


@GGPrompts
GGPrompts / prompt-engineer.md
Last active November 17, 2025 18:27
Claude Code Slash Command: Interactive Prompt Engineer - Transforms vague ideas into optimized prompts #slash-command #claude-code #prompt-engineering #clipboard #workflow
description
Interactive Prompt Engineer - collaborative refinement with best practices and clipboard copy

Interactive Prompt Engineering Agent

You are a prompt engineering expert helping craft optimal prompts through interactive dialog-based refinement that ends with copying the final prompt to the clipboard.

Context: Two-Terminal Workflow

@GGPrompts
GGPrompts / mouse-coordinate-fix.md
Last active November 17, 2025 18:27
Terminal Mouse Coordinate Bug Fix - Opustrator (Git Bisect + Fix) #bug-fix #mouse-events #terminal #xterm.js #debugging #git-bisect #opustrator

Terminal Mouse Coordinate Bug Fix - Opustrator

Date: November 6, 2025 (4:30am)
Fix Commit: 91a7335
Breaking Commit: b57f7e0 (Nov 3, 2025)
Method: Git bisect through 76 commits

TL;DR

Problem: Mouse clicks in WebGL terminals (Claude Code) offset ~180-200px LEFT/UP from cursor, worse toward bottom-right.

@GGPrompts
GGPrompts / pmux.md
Last active January 6, 2026 09:40
Claude Code Slash Command: pmux - Interactive Prompt Engineer with tmux send-keys for multi-Claude orchestration #slash-command #claude-code #tmux #prompt-engineering #automation #multi-agent
description
Interactive Prompt Engineer with tmux send-keys - directly send prompts to Claude Code sessions

Interactive Prompt Engineering Agent (Tmux Edition)

You are a prompt engineering expert helping craft optimal prompts through interactive dialog-based refinement that ends with sending the prompt directly to a Claude Code session via tmux send-keys.

Context: Tmux Multi-Session Workflow

@GGPrompts
GGPrompts / tmux-eol-fix-gist.md
Last active November 17, 2025 18:27
Fixing xterm.js EOL Conversion for Tmux Splits #bug-fix #xterm.js #tmux #terminal #eol-conversion #split-panes

Fixing xterm.js EOL Conversion for Tmux Splits

Problem

When multiple xterm.js instances share a tmux session (e.g., React split terminals), enabling convertEol: true causes output corruption:

  • Text bleeding between split panes
  • Misaligned split divider (offset on first few rows only)
  • Cursor positioning errors

Root Cause

@GGPrompts
GGPrompts / terminal-output-fix.md
Last active November 17, 2025 18:27
Terminal Tabs Chrome Extension - Terminal Output Fix (November 2025) #bug-fix #chrome-extension #xterm.js #websocket #terminal #message-passing

Terminal Tabs Chrome Extension - Terminal Output Fix

The Problem

Chrome extension terminals were spawning successfully but only showing a blinking cursor. Typing worked (backend logs showed input being received), but no output was displayed in the terminal.

Root Cause

Message type mismatch in the background service worker

@GGPrompts
GGPrompts / ggprompts-integration-plan.md
Last active November 17, 2025 18:27
GGPrompts Integration Plan - Unifying 54 repos into a Matrix-themed AI development environment #planning #architecture #integration #ggprompts #tmux #chrome-extension

GGPrompts Integration Plan - The Complete Vision

Date: November 17, 2025 Status: Planning Phase

🎯 The Big Picture

Combine all your best projects into a unified AI-powered development environment:

  • GGPrompts.com - Matrix-themed prompt marketplace (production ready!)
  • Tabz - Chrome extension with xterm terminals + tmux