LLMOps, skill collection

LLM operations

Use these skills to inspect the operational behavior of an AI feature: cost, routing, caching, rate limits, fallback, audit logs, and prompt injection boundaries. Keep quality measurements alongside cost and latency measurements.

7 skillsMIT licensellmops-guardian

What to give your agent

A skill supplies a procedure. Give your agent the project evidence and constraints needed to apply it.

  • A representative request set and a pinned baseline configuration.
  • Per-request usage, latency, model, tool-call, and outcome records.
  • Provider limits and the product’s latency and cost budgets.

Add a fallback without silently changing behavior

The primary model sometimes returns a rate-limit error. A fallback can keep requests moving, but it may follow the tool contract differently or return a different output shape.

  1. Classify failures

    Separate retryable throttling from invalid requests and permission failures. Define a retry budget and honor provider retry guidance where available.

  2. Preserve the contract

    Apply the same output validation and tool permissions to primary and fallback routes. Record which route actually handled each request and why it was chosen.

  3. Evaluate the change

    Replay the same request set through both routes and forced-failure fixtures. Compare task success, validation failures, usage, and end-to-end latency including retries.

Example result structure
Request log: route, fallback_reason, attempts, usage, latency, outcome
Required: output validates and tool policy is preserved
Budget: includes failed attempts and fallback work
Decision: compare quality with the pinned baseline

How to check the result

  • Invalid credentials do not trigger an unbounded retry chain.
  • Fallback output goes through the same validation.
  • Reported cost includes failed attempts.

A failure to watch for

Lower cost per call can hide a higher cost per completed task when retries and failed outcomes increase.

This is an illustrative exercise. Run the checks against your own project to establish the result.

Skills in this pack

Open a skill to see its activation guidance, source sections, and individual install command. These descriptions come from the linked source files.

7 of 7 skills

AI Audit Loggingai-audit-logging

Use this skill when implementing audit logging for AI systems. Activate when the user needs to track AI decisions for compliance, implement audit trails for LLM usage, meet regulatory requirements (EU AI Act, SOC2), or create accountability records for AI-generated content.

Use it when

  • Meeting regulatory requirements (EU AI Act, SOC2, HIPAA)
  • Tracking AI decisions for accountability
  • Debugging AI system behavior
  • Investigating incidents involving AI
  • Demonstrating AI governance

Inside the source file

  • Regulatory Context
  • Audit Log Schema
  • Implementation
  • Storage Backends
  • Compliance Reports
  • Best Practices
Read ai-audit-logging/SKILL.md on GitHub

Install this skill individually

npx skills add latestaiagents/agent-skills --skill ai-audit-logging
LLM Fallback Chainsllm-fallback-chains

Use this skill when implementing fallback strategies for LLM applications. Activate when the user needs graceful degradation for AI services, multi-provider failover, handling LLM outages, or building resilient AI systems.

Use it when

  • Primary LLM provider experiences outages
  • Need to maintain service during API issues
  • Building high-availability AI systems
  • Implementing cost-quality tradeoffs
  • Managing multi-provider AI infrastructure

Inside the source file

  • Fallback Architecture
  • Fallback Chain Implementation
  • Multi-Provider Setup
  • Graceful Degradation Strategies
  • Health Monitoring
  • Alerting on Fallbacks
  • Best Practices
Read llm-fallback-chains/SKILL.md on GitHub

Install this skill individually

npx skills add latestaiagents/agent-skills --skill llm-fallback-chains
LLM Rate Limitingllm-rate-limiting

Use this skill when implementing rate limiting for LLM APIs. Activate when the user needs to prevent API quota exhaustion, implement backoff strategies, handle rate limit errors, or manage concurrent LLM requests.

Use it when

  • Hitting API rate limits
  • Managing concurrent requests
  • Preventing quota exhaustion
  • Implementing fair usage policies
  • Handling burst traffic

Inside the source file

  • API Rate Limits
  • Rate Limiter Implementation
  • Exponential Backoff
  • Handling Rate Limit Responses
  • Request Queue
  • Monitoring
  • Best Practices
Read llm-rate-limiting/SKILL.md on GitHub

Install this skill individually

npx skills add latestaiagents/agent-skills --skill llm-rate-limiting
Model Routing Strategymodel-routing-strategy

Use this skill when implementing model selection for LLM applications. Activate when the user needs to choose between different AI models, implement cost-efficient model routing, balance quality vs cost, or build intelligent model selection systems.

Use it when

  • Building applications using multiple LLM providers
  • Optimizing costs while maintaining quality
  • Need different model capabilities for different tasks
  • Implementing fallback strategies
  • A/B testing model performance

Inside the source file

  • Model Tiers
  • Routing Strategies
  • Fallback Chains
  • Dynamic Routing with Learning
  • A/B Testing Models
  • Best Practices
Read model-routing-strategy/SKILL.md on GitHub

Install this skill individually

npx skills add latestaiagents/agent-skills --skill model-routing-strategy
Prompt Caching Patternsprompt-caching-patterns

Use this skill when implementing caching for LLM applications. Activate when the user wants to reduce API costs through caching, implement semantic caching, cache LLM responses, optimize repeated prompts, or set up efficient caching strategies for AI applications.

Use it when

  • Same or similar prompts are sent repeatedly
  • Large system prompts are reused across requests
  • Responses can be reused for identical queries
  • Need to reduce latency for common requests
  • Optimizing costs for high-volume applications

Inside the source file

  • Caching Strategies
  • Redis-Based Distributed Cache
  • Cache Invalidation
  • Cost Savings Calculator
  • Best Practices
Read prompt-caching-patterns/SKILL.md on GitHub

Install this skill individually

npx skills add latestaiagents/agent-skills --skill prompt-caching-patterns
Prompt Injection Guardprompt-injection-guard

Use this skill when securing AI applications against prompt injection. Activate when the user needs to prevent prompt injection attacks, validate AI inputs, implement input sanitization, or protect against adversarial prompts.

Use it when

  • Building user-facing AI applications
  • Processing untrusted input with LLMs
  • Implementing AI security controls
  • Preventing prompt manipulation attacks
  • Meeting security compliance requirements

Inside the source file

  • Attack Types
  • Defense Strategies
  • LLM-Based Detection
  • Monitoring & Alerting
  • Best Practices
Read prompt-injection-guard/SKILL.md on GitHub

Install this skill individually

npx skills add latestaiagents/agent-skills --skill prompt-injection-guard
Token Cost Analyzertoken-cost-analyzer

Use this skill when analyzing and optimizing LLM API costs. Activate when the user wants to reduce AI API spending, understand token usage, audit LLM costs, optimize prompts for cost efficiency, or track and report on AI expenditure.

Use it when

  • Monthly AI bill higher than expected
  • Need to understand where tokens are spent
  • Optimizing prompts for cost efficiency
  • Setting up cost monitoring
  • Budgeting for AI features

Inside the source file

  • Token Pricing Reference
  • Cost Calculation
  • Cost Tracking System
  • Cost Analysis Report
  • Optimization Strategies
  • Alerting
  • Dashboard Metrics
  • Best Practices
Read token-cost-analyzer/SKILL.md on GitHub

Install this skill individually

npx skills add latestaiagents/agent-skills --skill token-cost-analyzer

Install the skills

With Node.js and npm available, run this in your project’s terminal. The CLI prompts for skills, agent, and installation scope.

npx skills add https://github.com/latestaiagents/agent-skills/tree/main/skills/mlops/llmops-guardian

Choose scope, then verify discovery

Choose project scope for instructions tied to this repository, or global scope when you want them available across projects. Check the selected agent’s installed skill list, then try a representative task from the example above.

For one skill, open its contents entry and use the individual command. Installation support and skill behavior vary by agent.

Skills CLI documentation and supported agents

Install commands follow the repository’s current branch. The inventory on this page is pinned to the source revision below, so a later install may differ.

Source and review status

This inventory is taken from commit a5e492b, committed November 4, 2026. Skill instructions and bundled integrations have not completed a technical review. The worked example is editorial guidance, separate from the source file contents.

Browse this pack’s source

Engineering notes

Choose a different scope