BuildAtScale Claude Code Plugins - Windows Fork ๐ช
Windows-compatible fork of buildatscale-tv/claude-code-plugins
๐จ Includes Nano Banana Pro - AI Image Generation
Generate images directly in Claude Code using Google Gemini models:
- Flash model - Fast generation (1024px)
- Pro model - Professional quality (up to 4K)
# Example: Generate a hero image
uv run "${SKILL_DIR}/scripts/image.py" --prompt "Modern tech landing page hero" --output "./hero.png"
๐ Windows Fix
This fork resolves the Windows compatibility issue where bash hooks fail with:
Error: Could not fork child process: There are no available terminals (-1).
What's Different?
| Feature | Original | This Fork |
|---|
| Hooks | Bash scripts with python3/jq | Node.js scripts (cross-platform) |
| Dependencies | python3, jq, sed | Only Node.js (already required by Claude Code) |
| Windows Support | โ Broken | โ
Works |
| macOS/Linux | โ
Works | โ
Works |
Quick Start
Add the Marketplace
/plugin marketplace add https://github.com/r1di/claude-code-plugins-windows
Install Plugins
Core features (slash commands and hooks):
/plugin install buildatscale@buildatscale-claude-code-windows
Image generation skill:
/plugin install nano-banana-pro@buildatscale-claude-code-windows
Prerequisites
For Hooks (buildatscale plugin)
- Node.js - Already installed if you're using Claude Code โ
For Image Generation (nano-banana-pro plugin)
-
Install uv - Python package manager:
PowerShell (as Administrator):
irm https://astral.sh/uv/install.ps1 | iex
Or with pip:
pip install uv
-
Set GEMINI_API_KEY environment variable:
PowerShell (temporary - current session only):
$env:GEMINI_API_KEY = "your-api-key-here"
PowerShell (permanent - persists after restart):
[Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "your-api-key-here", "User")
Or via Windows GUI:
- Press
Win + S, search "Environment Variables"
- Click "Edit environment variables for your account"
- Click "New" under User variables
- Variable name:
GEMINI_API_KEY
- Variable value: Your Google AI API key
- Click OK and restart Claude Code
Get your API key: Google AI Studio
Available Plugins
buildatscale (Core Tools)
Slash Commands:
/buildatscale:commit - Create commit message(s) for staged/unstaged changes
/buildatscale:pr - Create pull request with GitHub CLI
/buildatscale:ceo - Create executive summary of recent work
Hooks (Windows-compatible):
block-force-git - Prevents dangerous git force operations
file-write-cleanup - Cleans up trailing whitespace after file edits
nano-banana-pro (Skill)
Generate images using Google's Gemini models.
Available Models:
| Model | Best For | Max Resolution |
|---|
| Flash (default) | Speed, high-volume | 1024px |
| Pro | Professional quality | Up to 4K |
Usage:
uv run "${SKILL_DIR}/scripts/image.py" \
--prompt "Your image description" \
--output "C:\path\to\output.png"
Troubleshooting
Hooks still showing terminal errors?
If you previously installed the original buildatscale plugin:
- Close Claude Code completely
- Delete the plugin cache:
Remove-Item -Recurse -Force "$env:USERPROFILE\.claude\plugins\cache\buildatscale-claude-code"
- Restart Claude Code
- Install this Windows fork instead
GEMINI_API_KEY not found?
Make sure you:
- Set the environment variable with the permanent method (not temporary)
- Restarted Claude Code after setting the variable
- The key has no extra spaces or quotes
uv command not found?
Restart your terminal/PowerShell after installing uv, or add it to PATH manually:
$env:PATH += ";$env:USERPROFILE\.local\bin"
Repository Structure
.
โโโ .claude-plugin/
โ โโโ marketplace.json # Plugin registry (Windows fork metadata)
โโโ plugins/
โ โโโ buildatscale/
โ โ โโโ commands/
โ โ โ โโโ ceo.md
โ โ โ โโโ commit.md
โ โ โ โโโ pr.md
โ โ โโโ hooks/
โ โ โโโ block-force-git.sh # Bash wrapper
โ โ โโโ block-force-git.js # Node.js implementation
โ โ โโโ block-force-git.ps1 # PowerShell alternative
โ โ โโโ file-write-cleanup.sh
โ โ โโโ file-write-cleanup.js
โ โ โโโ file-write-cleanup.ps1
โ โโโ nano-banana-pro/
โ โโโ skills/
โ โโโ generate/
โ โโโ SKILL.md
โ โโโ scripts/
โ โโโ image.py
โโโ README.md
Credits