Loading...
Loading...
Master of LLM Economic Orchestration, specialized in Google GenAI (Gemini 3), Context Caching, and High-Fidelity Token Engineering.
npx skill4agent add yuniorglez/gemini-elite-core ai-cost-optimizer// 2026 Pattern: Cost-Aware Generation
const model = genAI.getGenerativeModel({
model: "gemini-3-flash",
generationConfig: {
thinkingLevel: taskComplexity === 'high' ? 'standard' : 'low',
responseMimeType: "application/json",
}
});// Squaads Standard: 1M+ token repository caching
const codebaseCache = await cacheManager.create({
model: "gemini-flash-lite-latest",
contents: [{ role: "user", parts: [{ text: fullRepoData }] }],
ttlSeconds: 86400, // Cache for 24 hours
});
// Subsequent calls use cachedContent to avoid full re-billing
const result = await model.generateContent({
cachedContent: codebaseCache.name,
contents: [{ role: "user", parts: [{ text: "Explain the auth flow." }] }],
});<system_instruction>
<role>Senior Architect</role>
<constraints>No legacy PHP, use Property Hooks</constraints>
</system_instruction>| Issue | Likely Cause | 2026 Corrective Action |
|---|---|---|
| Billing Spikes | Unoptimized multimodal input | Downsample images/video before sending to the model. |
| Low Quality (Lite) | Insufficient reasoning depth | Switch |
| Cache Misses | Context drift in dynamic files | Isolate stable imports/types from volatile business logic. |
| Hallucination | Instruction drift in long context | Use |