Cost-Control Skill

Automate token discipline and routing optimization in governed-agent workflows with Gemini CLI and local router.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Ic1558/0luka --skill cost-control-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Cost-Control Skill
Source: https://github.com/Ic1558/0luka/tree/main/skills/cost-control
Command: npx skills add https://github.com/Ic1558/0luka --skill cost-control-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gemini-cli, gemma-local-router, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The Cost-Control Skill addresses the challenge of maintaining token discipline and optimizing routing in governed-agent workflows, ensuring efficient and secure token usage.

Core Features & Use Cases

  • Token Discipline: Enforces rules against ingesting large, unfiltered files and summarizes contexts before complex reasoning.
  • Routing Optimization: Implements 'Flash-First' and 'Pro-Only' conditions to balance performance and complexity.
  • Use Case: For a financial institution, this Skill can help automate token management in workflows, ensuring that only the necessary data is processed, reducing risks and improving efficiency.

Quick Start

Use the Cost-Control Skill to analyze the routing of a transaction by executing the command: 'analyze_transaction routing --token_token=XYZ123'.

Frequently Asked Questions about Cost-Control Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce token discipline and prevent large unfiltered file ingestion in governed-agent workflows?

Enforce token discipline by summarizing large contexts before complex reasoning to prevent raw repository dumps. This approach ensures efficient processing by filtering data before model interaction, reducing risks and avoiding unfiltered file ingestion.

What is the Flash-First and Pro-Only routing optimization strategy in Gemini CLI?

Flash-First and Pro-Only routing optimization balances performance and complexity in governed-agent workflows. It directs tasks to appropriate models based on specific conditions, ensuring efficient token management and optimal processing for each transaction.

Do I need the Gemma local router to optimize model routing with Gemini CLI?

Yes, executing model routing and token management requires both Gemini CLI and the Gemma local router. These dependencies work together to automate the Flash-First and Pro-Only conditions required for governed-agent workflow optimization.

How do I analyze transaction routing to ensure efficient token usage?

Analyze transaction routing by executing the command 'analyze_transaction routing --token_token=XYZ123'. This automates token management, ensuring only necessary data is processed and verifying that routing conditions are correctly applied.

Can I apply token management rules for governed-agent workflows in a financial institution?

Yes, you can apply token management rules in a financial institution to automate workflow processing. This ensures only necessary data is processed, reducing operational risks and improving efficiency by enforcing strict token discipline.