agent-transcript
Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.
Claude Code / OpenClaw-on-Claude work routing: delegate hands-on work to Codex under the native-Claude model gate. Keep specification, judgment, and verification in Claude; prefer isolated Codex-backed autoreview.
Claude Code
$ npx -y skills add steipete/agent-scripts --skill codex-first --agent claude-code
Codex
$ npx skills add steipete/agent-scripts --skill codex-first -a codex -y
Cursor
$ npx skills add steipete/agent-scripts --skill codex-first -a cursor -y
Gemini CLI
$ npx skills add steipete/agent-scripts --skill codex-first -a gemini-cli -y
GitHub Copilot
$ npx skills add steipete/agent-scripts --skill codex-first -a github-copilot -y
OpenCode
$ npx skills add steipete/agent-scripts --skill codex-first -a opencode -y
Windsurf
$ npx skills add steipete/agent-scripts --skill codex-first -a windsurf -y
name: codex-first description: "Claude Code / OpenClaw-on-Claude work routing: delegate hands-on work to Codex under the native-Claude model gate. Keep specification, judgment, and verification in Claude; prefer isolated Codex-backed autoreview."
Default every Codex worker, **fresh or resumed**, to **GPT-6.1 Sol, high reasoning, Fast service tier** (`service_tier="fast"`, sent as API `priority`; Peter, 2026-10-30). Pass all three settings unless the user requests an override.
# fresh codex exec --yolo -C "$WT" \ -m gpt-6.1-sol -c 'model_reasoning_effort="high"' \ --enable fast_mode -c 'service_tier="fast"' \ -o "$OUT" - < "$ORDER" # resume: pass the same flags again; resume does not inherit them codex exec resume "$SID" --dangerously-bypass-approvals-and-sandbox \ -m gpt-6.1-sol -c 'model_reasoning_effort="high"' \ --enable fast_mode -c 'service_tier="fast"' -o "$OUT" -
`not advertised` and sent no tier); keep the CLI current. Verified on Team with 0.166.0, 2026-10-30.
`-c 'model_auto_compact_token_limit=260000'`. It is served up to ~282k prompt tokens, flaky at 288–294k, and silently `fast` at ≥300k (measured 2026-10-13); the 260k cap keeps it there. Rollouts record only the requested tier; prove the served tier with a direct probe (`response.service_tier`). Details: [launch details](references/launch-details.md).
order needs a whole-repo context; see `$codex-huge-context`.
arguments (`fast` default; requested `ultrafast` is valid).
Security audit lanes (threat models, injection/secret-exposure audits, permission inventories, security review of hardening diffs) launch on **Daybreak Red** from the start (Peter 2026-10-18: "use daylight red model for security audits"). Implementation workers stay on Sol.
Worker stops with `This content was flagged for possible cybersecurity risk` → relaunch or resume the same order on **Daybreak Red** (Peter: "use daybreak red if you hit a blocker with regular models"). Don't rephrase to dodge the classifier or hop between regular models.
ChatGPT account`. Add `-c 'model_provider="openai_api_direct"'` (API key via the provider's auth command in `~/.codex/config.toml`).
public artifacts (commits, PRs, issues, logs) per public model naming.
Org caps `gpt-6.1-sol` at 40M tokens/min. Worker or resume fails with `Rate limit reached for gpt-6.1-sol ... tokens per min (TPM)`, `Selected model is at capacity`, or `overloaded` → resume that same session on **GPT-6 Astra, high, Fast** immediately (Peter, 2026-10-12: "use astra if sol has rate limits"); no waiting loop:
codex exec resume "$SID" --dangerously-bypass-approvals-and-sandbox \ -m gpt-6-astra -c 'model_reasoning_effort="high"' \ --enable fast_mode -c 'service_tier="fast"' -o "$OUT" -
Fresh orders at capacity: same flags with `codex exec --yolo -C "$WT"`; a fresh launch that dies on capacity already has a session id in stderr (`session id: …`) — resume that, don't relaunch.
matching only "rate limit" made capacity failures exit instead of falling back.
refuses because its provider/route doesn't match operator config, don't change config — review with a fresh-context subagent (diff + brief) and say so in the PR.
fallback, busy check, safe stop, and classified exits ([resume and watchdog](references/resume-and-watchdog.md)).
execute the new bytes at their old offset. Write `x.new`, `bash -n`, `chmod +x`, then `mv` (rename keeps the old inode for running copies; forgetting `chmod` gives exit 126).
the script before its fallback runs (2026-10-13, a 27-worker fleet). Capture the code (`… && rc=0 || rc=$?`) and classify it, or hand the session to `codex-resume`.
`thread … already has an active writer`. Stop and resume with `codex-resume --stop "$SID"`: it finds the worker through its open rollout file (fresh launches don't carry `$SID` in argv, so `pgrep -f` misses them) and refuses while `scripts/pr` or git runs beneath it. A leftover `~/.codex/thread-writer-locks/$SID.lock` file without a live holder is harmless.
Shared agent instructions, skills, and small portable helpers for Peter's local workspaces.
Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.
Beeper cache: contact hints, room lookup, WhatsApp/iMessage traces, FTS.
Control the user's existing signed-in Chrome: callable Codex Chrome plugin first, then OpenClaw extension-backed mcporter, with…
ClawSweeper status: URLs, workflow health, active workers, ops snapshot.
ClickClack ops: chat app, Cloudflare Workers deploy, DNS/docs/app, container rollout.
Cloudflare Registrar: domain availability, prices, registration via mcporter.
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…