sentinel

Route multimodal perception tasks between Flash and Pro models based on ROI metrics.

1|Updated Dec 18, 2025
One-click install
npx skills add https://github.com/matt-fell-ai/PAI --skill sentinel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentinel
Source: https://github.com/matt-fell-ai/PAI/tree/main/skills/Sentinel
Command: npx skills add https://github.com/matt-fell-ai/PAI --skill sentinel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Sentinel optimizes multimodal tasks by gating perception, context windows, and reasoning depth to balance performance and cost.

Core Features & Use Cases

  • Token Budgeting: Monitor and manage token usage for expensive vision/audio tasks.
  • Reasoning Depth Control: Adjust thinking levels to trade off speed vs. depth.
  • Cost-Sensitive Routing: Decide when to switch models or resolutions based on ROI.

Quick Start

  • pai run Sentinel status
  • pai run Sentinel set-depth "High"

Frequently Asked Questions about sentinel

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

FAQPage Schema
How do I reduce costs for expensive vision and audio tasks?

Cost-aware multimodal control gates perception and context windows to balance performance against expense. Sentinel monitors token usage, adjusts reasoning depth, and routes between Flash models for speed and Pro models for depth, optimizing ROI on expensive calls like large-context analyses and real-time monitoring.

When should I switch between different model depths for multimodal processing?

Switching between models depends on ROI metrics and task requirements. Sentinel monitors thinking_level and media_resolution, routing to lightweight models for quick sweeps and deeper reasoning models only when analysis justifies the cost, particularly for batch processing and large-context vision tasks.

Can I manage token budgets across vision and audio in a single workflow?

Token budgeting for multimodal tasks means monitoring and controlling token usage across vision and audio streams simultaneously. Sentinel gates expensive calls by deciding between high-context windows and lightweight alternatives, ensuring perception costs stay aligned with performance requirements.

What's the difference between optimizing for speed versus depth in multimodal analysis?

Speed optimization uses Flash models and lightweight processing like 150ms audio sweeps for quick results; depth optimization uses Pro models and 2M-context windows for comprehensive analysis. Sentinel routes based on ROI metrics, applying each approach where cost-performance trade-offs justify the choice.

How do I know if high-resolution multimodal analysis is worth the cost?

Cost-sensitive routing compares ROI metrics against the expense of high-resolution vision and extended reasoning. Sentinel cross-references thinking_level, media_resolution, and Pulse metrics to decide whether upgrading to Pro models or larger context windows delivers sufficient value relative to their cost impact.