← ClaudeAtlas

coding-agent-quotalisted

Read local Codex and Claude Code quota/rate-limit snapshots and produce routing evidence for agent work allocation, plus outcome-aware routing on top of quota (historical success/rework/latency evidence, deterministic offline replay, degraded fallback, outcome ledger with decision_id traceability). Use when deciding which coding agent/provider/model to use, balancing Codex vs Claude Code load, checking remaining 5-hour/session and weekly quota, estimating routing capacity before launching subagents, comparing candidate routes on quota + outcome evidence, recording route decisions/outcomes, or preparing cross-provider experiments with frozen provider/model policy.
a-green-hand-jack/ml-project-repo-agent-native-template · ★ 0 · AI & Automation · score 54
Install: claude install-skill a-green-hand-jack/ml-project-repo-agent-native-template
# coding-agent-quota Use this skill before routing meaningful work between Codex and Claude Code when quota, reset time, provider load, cost-control, or historical task outcomes matter. It covers two layers: (1) quota snapshot + quota-only recommendation (`read_agent_quota.py`, unchanged), and (2) an additive outcome-aware layer (`outcome_route.py` + `outcome_ledger.py`) that compares candidate routes on quota + outcome evidence and falls back conservatively when data is missing or stale. ## Quick Start Run the bundled script from the repo root: ```bash python .claude/skills/coding-agent-quota/scripts/read_agent_quota.py --format table python .claude/skills/coding-agent-quota/scripts/read_agent_quota.py --format json python .claude/skills/coding-agent-quota/scripts/read_agent_quota.py --role impl --tier 2 --format json ``` Prefer JSON when another agent or orchestrator will consume the result. Prefer table output for human handoff. ## Evidence Rules - Treat the script output as a snapshot, not a guarantee. Route high-risk or long-running work only after checking `captured_at` and reset times. - Prefer provider-specific latest valid snapshots; do not require Codex and Claude to come from the same database row. - If a provider is `unavailable` or stale, say so and route conservatively instead of inventing percentages. - Do not read or print credential files. The script uses local usage DB/cache/session logs only. - For subagent launch decisions, pass `--role` and `--tier