model-audit

Installation
SKILL.md

Audit every AI model call in the codebase and output a complete routing table.

Steps

1. Find the model config

Search for where models are configured. Common patterns:

grep -r "gpt-4\|claude\|gemini\|anthropic\|openai" --include="*.py" --include="*.ts" --include="*.js" -l
grep -r "MODEL\|model_config\|AI_MODEL\|LLM" --include="*.py" --include="*.ts" -l

Read those files. Understand the alias → actual model name mapping. Example: an alias "fast" might map to "gpt-4o-mini", an alias "quality" to "claude-opus-4-6".

2. Find every AI call in the codebase

Search for API call patterns:

grep -rn "\.chat\.completions\.create\|anthropic\.messages\|genai\.\|\.generate\|embeddings\.create" --include="*.py" --include="*.ts" --include="*.js"

Also search for your specific client/wrapper function names found in step 1.

Related skills

More from tushaarmehtaa/tushar-skills

Installs
5
GitHub Stars
4
First Seen
Mar 8, 2026