CLI 자동화에서 기본 모델을 쓰다가 사용량 한도에 걸리면 다른 CLI로 자동 재실행하는 폴백을 구현한다.
npx skills add https://github.com/bam-bam-2/solo-skills --skill claude-codex-fallback
weekly limit, usage limit, hit your limit, limit ... resetsscripts/llm-with-fallback.sh — 실제로 매일 돌고 있는 실행기입니다.
echo "이번 주 지표 요약해줘" | ./scripts/llm-with-fallback.sh 80 opus
Claude를 먼저 쓰고, 사용량 한도 초과일 때만 같은 프롬프트를 Codex로 재실행합니다.
프롬프트는 임시파일에 chmod 600으로 두고 종료 시 지웁니다.
Take bam-bam-2/claude-codex-fallback from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.