Back to Skills

agent-usage-optimizer-baseline-route-defaults

vamseeachanta
Updated Today
87 views
3
2
3
View on GitHub
Othergeneral

About

This skill provides default AI model routing logic for different coding task complexities, independent of quota limits. It maps simple tasks to Codex, standard tasks to Claude Sonnet, and complex architectural work to Claude Opus, with fallback options specified. Developers should use this as the baseline configuration for optimizing AI agent usage in their coding workflows.

Quick Install

Claude Code

Recommended
Primary
npx skills add vamseeachanta/workspace-hub
Plugin CommandAlternative
/plugin add https://github.com/vamseeachanta/workspace-hub
Git CloneAlternative
git clone https://github.com/vamseeachanta/workspace-hub.git ~/.claude/skills/agent-usage-optimizer-baseline-route-defaults

Copy and paste this command in Claude Code to install this skill

Documentation

Baseline Route Mapping (quota-agnostic defaults) (+1)

Baseline Route Mapping (quota-agnostic defaults)

RouteComplexityPrimarySecondaryUse For
ASimpleCodexClaude HaikuFocused code gen, unit tests, debug
BStandardClaude SonnetCodexReviews, docs, standard features
CCompoundClaude OpusClaude SonnetArchitecture, multi-file refactors
BulkClaude HaikuGeminiSummarisation, data processing
Long-ctxGeminiClaude SonnetLarge file review, cross-repo scan

Quota-Adjusted Routing

Apply these overrides on top of baseline when quota thresholds are triggered:

IF claude_pct < 20%:
  Route B primary → Codex  (demote Sonnet; fallback secondary = Gemini)
  Route C primary → Gemini (demote Opus;   fallback secondary = Codex)
  Emit CRITICAL warning before plan gate

ELIF claude_pct < 50%:
  Route C primary remains Opus  (preserve for compound/architecture only)
  Route B primary → Codex       (save Sonnet for Route C overflow)
  Emit LOW warning before plan gate

ELSE (claude_pct >= 50%):
  Use baseline route mapping above (Claude is the preferred quality provider)

ALWAYS:
  Bulk operations → Claude Haiku regardless of quota level
  Long-context    → Gemini first when file count > 10 or token estimate > 50K

GitHub Repository

vamseeachanta/workspace-hub
Path: .claude/skills/ai/agent-usage-optimizer/baseline-route-mapping-quota-agnostic-defaults

Related Skills

algorithmic-art

Meta

This Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.

View skill

subagent-driven-development

Development

This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.

View skill

executing-plans

Design

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

View skill

cost-optimization

Other

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

View skill