Skip to content

Instantly share code, notes, and snippets.

@HammerMei
HammerMei / gist:8ceef2740cf094188e1383fce014861a
Created May 17, 2026 20:30
Minimal claude -p alternative for CI/CD tasks — subscription billing, no daemon, no MCP
#!/usr/bin/env python3
"""
Minimal claude -p alternative for one-shot CI/CD tasks.
Uses interactive mode (subscription billing) instead of claude -p (API billing).
Usage:
python3 claude_task.py "review this diff and summarize changes"
Requires:
- Claude Code installed (https://docs.anthropic.com/en/docs/claude-code)