| name | usage-optimization |
| version | 1.0.0 |
| category | ai |
| description | Optimize AI usage efficiency through script-first patterns, batch operations, and input preparation |
| type | reference |
| capabilities | [] |
| requires | [] |
| see_also | [] |
| tags | [] |
| scripts_exempt | true |
Usage Optimization Skill
Version: 1.0.0
Category: Optimization
Triggers: High usage alerts, efficiency improvements, batch operations
Quick Reference
Effectiveness Ratings
| Approach | Rating | Time Saved |
|---|
| Script + AI Input + AI Command | ⭐⭐⭐⭐⭐ | 90% |
| Git Operations (Codex) | ⭐⭐⭐⭐⭐ | 80% |
| Script + Input File | ⭐⭐⭐⭐ | 70% |
| Preparing Input Files | ⭐⭐⭐⭐ | 75% |
| Script Only (no input) | ⭐⭐⭐ | 40% |
| LLM Descriptions | ⭐ | -20% |
Best Practice: Execution Over Description
❌ BAD: "Can you describe what analyze_data.py does?"
Result: Long description, no actionable output
✅ GOOD: "Prepare input file for data analysis and provide command"
Result: Working configuration + executable command + actual results
Optimal Workflow Pattern
1. ⭐⭐⭐⭐⭐ AI prepares input YAML file
└─ Following template in templates/input_config.yaml
└─ Validated against schema
└─ Version controlled in config/input/
2. ⭐⭐⭐⭐⭐ AI provides exact bash command
└─ Points to correct script in scripts/
└─ References prepared input file
└─ Includes all necessary flags
3. ⭐⭐⭐⭐⭐ User executes command
└─ Copy/paste provided command
└─ Review output and results
└─ Version control any changes
4. ⭐⭐⭐⭐⭐ Use Codex for git operations
└─ Commit results
└─ Create meaningful commit messages
└─ Manage branches and PRs
Prompt Optimization
Context-First Prompts
## Task Context
- Repository: digitalmodel (Work)
- Complexity: Medium
- Time sensitivity: Production hotfix
- Dependencies: None
- Testing required: Yes
## Specifications
[Full specifications here]
## Output Format
[Exact format needed]
## Constraints
[Any limitations]
Generate [specific deliverable] following this context.
Batch Operations Template
I need to perform the following operations across multiple repositories:
Repositories: [list or "all work" or "all personal"]
Operation type: [commit/sync/test/build/deploy]