# Sentinel > | name | description | | --- | --- | | sentinel | Manages multimodal costs, token limits, and reasoning depth. USE WHEN you are running expensive Vision/Audio tasks or need to optimize performance vs. cost. | - Author: PAI User - Repository: matt-fell-ai/PAI - Version: 20251220040513 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-07 - Source: https://github.com/matt-fell-ai/PAI - Web: https://mule.run/skillshub/@@matt-fell-ai/PAI~Sentinel:20251220040513 --- # Sentinel Skill - Modality & Token Arbitrage | name | description | | --- | --- | | sentinel | Manages multimodal costs, token limits, and reasoning depth. USE WHEN you are running expensive Vision/Audio tasks or need to optimize performance vs. cost. | ## The Key Insight Multi-modality is expensive. **Sentinel** ensures that the PAI's "Perception" is used efficiently. It acts as the gatekeeper, deciding whether a task requires a 2M context window or a simple 150ms audio sweep. ## Usage ### Check Token Budget ```bash pai run Sentinel status ``` ### Set Reasoning Depth ```bash pai run Sentinel set-depth "High" ``` ## How it Works It monitors the `thinking_level` and `media_resolution` parameters. It cross-references current tasks with previous ROI metrics from `Pulse` to ensure every high-cost call is justified. ## Strategic Value - **Cost Sovereignty**: Never get a surprise bill from an "agentic" runaway process. - **Performance Tuning**: Switch between "Flash" models for speed and "Pro" models for deep thinking. - **Resource Optimization**: Scales context window usage based on the actual size of the files being analyzed.