Make Code Claw (ultraworkers/claw-code) work reliably for daily coding:
- OpenRouter qwen3.6-plus as primary
- Kimi CLI as fallback
- Tmux launcher that stays open
- Zero manual iteration required
Goal
Make Code Claw (ultraworkers/claw-code) working reliably:
- OpenRouter qwen/qwen3.6-plus as primary coding model
- Kimi CLI fallback when OpenRouter unavailable
- Launcher that survives tmux (no silent exits)
- Keys loaded at runtime, never hardcoded
Current blockers
- Shell sanitization scrambles
$()in launcher scripts - Free model 429s from shared pool exhaustion
- No automatic fallback path
Acceptance
- Interactive Code Claw REPL responds to prompts
- Kimi CLI launches when OpenRouter fails
- Single command to start:
bash ~/.timmy/scripts/codeclaw-launcher.sh
Goal
Code Claw (ultraworkers/claw-code) working reliably as a coding agent with:
- OpenRouter qwen/qwen3.6-plus as primary (paid tier, no shared rate limits)
- Kimi CLI as fallback when OpenRouter is unavailable
What was broken
- Launcher script had corrupted OPENAI_API_KEY line ($() syntax mangled)
- Free model (qwen/qwen3.6-plus:free) hammering shared upstream pool = 429s
- No fallback path when primary is down
Acceptance criteria
codeclaw-launcher.shopens interactive Code Claw session that responds- Probes OpenRouter connectivity before launch, falls back to kimi-cli on 429/failure
- Tmux launcher works without closing
- Keys loaded from files at runtime, never hardcoded
Make Code Claw (ultraworkers/claw-code) work reliably as a daily coding agent.
Scope
- Primary: OpenRouter
qwen/qwen3.6-plus:freeas primary model - Fallback: Kimi CLI (
kimi-cli) when OpenRouter fails or rate-limits - Experience: Single command launch, tmux-compatible, no silent exits
Root Causes (solved)
- Launcher script had corrupted
$()syntax - keys read at runtime via Python - Free model 429s from shared pool - Code Claw handles this gracefully with fallback
- Shell escaping mangled embedded keys - all keys now read fresh from source files
Acceptance Criteria
~/.timmy/scripts/codeclaw-launcher.shlaunches Code Claw interactively- Responds to prompts without 'stream produced no content' errors
- Tmux window stays open
- Falls back to kimi-cli when OpenRouter is down
- Keys never hardcoded, always read at runtime
Ownership
Created and owned by Timmy. Escalates to Alexander only if keys expire.