Skip to content

Instantly share code, notes, and snippets.

View vitorcalvi's full-sized avatar
🎯
Focusing

Carlos Vitor Botti Calvi vitorcalvi

🎯
Focusing
View GitHub Profile
@vitorcalvi
vitorcalvi / max.md
Last active February 8, 2026 07:54
Maxout 1

================================================================================ OPENCODE MAX-OUT — Multi-agent, persistent-memory, shell-first builder

You are an AI assistant running inside OpenCode. Act as a coordinated engineering team: Planner + Implementer + Reviewer + Release Manager.

================================================================================ PRIME DIRECTIVE

@vitorcalvi
vitorcalvi / boliter_Blitz.md
Created January 18, 2026 12:42
@sisyphus ORCHESTRATOR-MODE — BOILERPLATE BLITZ (GATED + TIMED, MACBOOK BUILDER)

@Sisyphus ORCHESTRATOR-MODE — BOILERPLATE BLITZ (GATED + TIMED, MACBOOK BUILDER) Target coordinator: [email protected] (Alpine Linux). MacBook executes all build commands. Goal: Film app Phase 1 (Auth + Movies CRUD) using official CLIs on MacBook, log full dev cycle timings to Alpine Linux.

ORCHESTRATION RULES

  • You are the primary orchestrator; delegate implementation to subagents and integrate results.
  • All shell execution (create-next-app, npm install, etc.) happens ON THE MACBOOK.
  • Alpine Linux coordinates via tmux: manages gate files, logs timings, and monitors progress.
  • MacBook SSHs to Alpine to report completion (create gate files) and write log entries.
  • Use tmux windows on Alpine for monitoring each worker's progress in real time.
@vitorcalvi
vitorcalvi / README.md
Created January 15, 2026 15:09
Grok + Claude 4.5 Supervisor System - Dual-agent AI system with real-time bug detection and correction

Grok + Claude 4.5 Supervisor System

Overview

A dual-agent AI system where Grok writes code quickly while Claude 4.5 supervises, tests, and corrects bugs in real-time.

Architecture

┌─────────────────┐         ┌──────────────────┐
@vitorcalvi
vitorcalvi / acp-inter-agent-communication.md
Last active January 15, 2026 13:15
Complete guide for inter-agent communication between Charm Crush and OpenCode using the Agent Communication Protocol (ACP)

Full Inter-Agent Communication: Charm Crush ↔ OpenCode via ACP

There are two different ACP protocols - be careful not to confuse them:

Protocol Purpose Transport
OpenCode ACP (Agent Client Protocol) Editor-to-agent integration JSON-RPC via stdio
ACP (Agent Communication Protocol) Agent-to-agent interoperability REST/HTTP

For Charm Crush ↔ OpenCode communication, use the Agent Communication Protocol (ACP) developed by IBM/BeeAI under Linux Foundation.

@vitorcalvi
vitorcalvi / alpine-setup.sh
Last active December 30, 2025 15:19
Alpine Linux AMD GPU Workstation Setup Script
#!/bin/sh
# Alpine Linux System Setup Script - V2 (ROBUST FIX)
# Target: AMD Ryzen 7 H 255 (Zen 4) / Radeon 780M
# Alpine Linux v3.23+
set -e
echo "=== Alpine Linux System Setup ==="
echo "This script will install and configure packages for an AMD Ryzen APU workstation"
echo ""
@vitorcalvi
vitorcalvi / CyberDog1_Disassembly_Image_Prompts.md
Created December 20, 2025 08:26
Xiaomi CyberDog 1 Disassembly Prompts

REFINED LLM Prompts: Xiaomi CyberDog 1 Disassembly Manual

Optimized for Gemini Imagen 3 - Tested & Validated


Image 1: Exterior Overview - Port Locations ✅ TESTED

Prompt:

Technical diagram of Xiaomi CyberDog 1 quadruped robot, side perspective view, clean white background. The robot body is matte black with smooth surfaces and four legs. Red arrows with labels pointing to key locations: "Power Button" on top back panel, "Touch Sensor" on center back panel, "Download USB-C Port" on left side near front leg, "Charging Port" on right side near rear leg. Isometric 3D perspective view. Technical instruction manual style. High contrast red arrows against black robot body. Sans-serif typography for labels.
@vitorcalvi
vitorcalvi / Build Pay-to-Reveal SaaS.md
Created December 11, 2025 10:33
Build Pay-to-Reveal SaaS

PROMPT: Build Pay-to-Reveal SaaS MVP (Self-Hosted + AI Moderation)

0. Non-Negotiable Constraints (Read First)

You are building a real, production-ready MVP that I will host on my own server.

  • Hosting / runtime
    • Self-hosted on my Linux home server (Node.js).
    • Must run with:
  • npm install
@vitorcalvi
vitorcalvi / ComfyUImacInstall.sh
Last active December 12, 2025 09:59
ComfyUI Mac Silicon
#!/usr/bin/env bash
set -euo pipefail
# 1. Configuration
# FIXED: Changed back to $HOME/ComfyUI to match your running instance in the logs
COMFY_DIR="${COMFY_DIR:-$HOME/ComfyUI}"
pick_python () {
# A) User override
if [[ -n "${PYTHON_BIN:-}" ]] && command -v "$PYTHON_BIN" >/dev/null 2>&1; then
@vitorcalvi
vitorcalvi / macM1Install.bash
Last active January 21, 2026 15:36
Comprehensive Bash script to automate macOS developer setup: installs essential apps with Homebrew, sets up Zsh with Oh My Zsh and Powerlevel10k, downloads FlutterFlow, updates /etc/hosts, sets up a conda environment, and installs Anaconda.
#!/bin/bash
# macOS Developer Setup Script
# Updated: 2025-12-29
# Author: vitorcalvi
set -e
echo "=== macOS Developer Environment Setup ==="
# ============================================