Skip to content

Instantly share code, notes, and snippets.

View foklepoint's full-sized avatar

Saurabh S. foklepoint

  • San Francisco
View GitHub Profile
@foklepoint
foklepoint / agent_reflect.sh
Last active January 9, 2026 07:40
Codex AGENTS.md Self Reflection Improvement
#!/usr/bin/env bash
# agent_reflect.sh — minimal three-stage Codex reflection pipeline for any repo
# Uses `codex --dangerously-bypass-approvals-and-sandbox` for all Codex exec calls
# Usage: agent_reflect.sh <repo|path> [--auto]
usage() {
cat <<EOF
Usage: $(basename "$0") <repo|path> [--auto]
Positional: