Advanced, skill collection
Agent systems and LLM operations
This collection combines agent architecture with operational controls for models: 20 skills covering state, recovery, delegation, routing, budgets, caching, and audit logs. Use it when the runtime and its operational behavior need to be designed together.
mlopsWhat to give your agent
A skill supplies a procedure. Give your agent the project evidence and constraints needed to apply it.
- A concrete task and the observable condition that means it is finished.
- The tools the agent may call, including which calls change external state.
- A run budget, a state storage choice, and a record of what requires approval.
Resume a support agent without sending twice
An agent drafts a support response, waits for approval, and sends it. The process crashes after the provider accepts the send but before the local success record is saved.
Define the run state
Store the request identifier, draft version, approval record, and send-operation identifier outside the model context. Make the allowed transitions explicit.
Design recovery around the effect
Persist the operation identifier before sending. On resume, query the provider or use its idempotency support to reconcile an uncertain result. An internal checkpoint alone cannot prove that a message was not sent.
Exercise the harness
Inject a crash before the send and after acceptance. Also change the draft after approval. Check that recovery preserves the intended effect and that changed content needs a new approval.
drafted -> awaiting_approval -> approved -> sending -> sent
Stored: draft_hash, approval_id, operation_id, provider_receipt
Uncertain send: reconcile before retry
Changed draft: return to awaiting_approvalHow to check the result
- No send happens without approval of that draft version.
- A crash after acceptance does not produce a second message.
- Repeated tool failures terminate within the run budget.
A failure to watch for
Saving the conversation is insufficient for recovery. Persist authoritative state and the identity of external operations separately.
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.
20 of 20 skills
Agent-to-Agent (A2A) Protocolsa2a-protocols
Implement Agent-to-Agent (A2A) communication for cross-framework interoperability. Use this skill when building multi-agent communication, implementing agent protocols, connecting agents across frameworks, or standardizing agent interfaces. Activate when: agent to agent, A2A, agent communication, agent protocol, cross-framework agents, agent interoperability, MCP, agent discovery.
Inside the source file
- The Interoperability Challenge
- Protocol Landscape
- MCP Integration
- Agent-to-Agent Communication
- Handoff Protocol
- REST API for Agents
- Best Practices
- Security Considerations
Install this skill individually
npx skills add latestaiagents/agent-skills --skill a2a-protocolsAgent Checkpointingagent-checkpointing
Implement checkpointing for agent recovery, debugging, and replay. Use this skill when building recoverable agents, implementing replay, debugging agent failures, or creating resumable workflows. Activate when: agent checkpoint, agent recovery, resume agent, agent restart, workflow replay, agent debugging, failure recovery, state snapshot.
Inside the source file
- Why Checkpointing?
- Checkpoint Architecture
- Basic Checkpointing
- Recovery Patterns
- Replay and Debugging
- Checkpoint Management
- Testing with Checkpoints
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-checkpointingAgent Cost Budgetingagent-cost-budgeting
Use this skill when managing AI agent costs. Activate when the user needs to control token usage, implement cost limits for agents, optimize LLM spending, track agent costs, or prevent runaway API bills in agent systems.
Use it when
- Preventing runaway API costs
- Implementing per-task cost limits
- Optimizing multi-agent token usage
- Tracking and reporting AI spending
- Building cost-aware agent behaviors
Inside the source file
- Cost Model
- Budget Management
- Token Estimation
- Cost-Aware Agent
- Multi-Agent Cost Distribution
- Cost Optimization Strategies
- Reporting
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-cost-budgetingAgent Error Recoveryagent-error-recovery
Use this skill when implementing error handling for AI agents. Activate when the user needs agents to handle failures gracefully, implement retry strategies, design fault-tolerant agent systems, or build agents that can recover from errors without human intervention.
Use it when
- Building production-grade agent systems
- Agents need to handle API failures
- Implementing autonomous error recovery
- Designing resilient multi-agent workflows
- Setting up monitoring and alerting
Inside the source file
- Error Classification
- Recovery Strategies
- Error Recovery Workflow
- Monitoring and Alerting
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-error-recoveryAgent Handoff Protocolsagent-handoff-protocols
Use this skill when designing task handoffs between agents. Activate when the user needs to pass work between agents, transfer context between agents, implement agent-to-agent communication, or design protocols for agents to collaborate on sequential tasks.
Use it when
- Agents need to pass work to each other
- Context must be preserved across agent transitions
- Building agent pipelines or workflows
- Implementing specialized agent chains
Inside the source file
- Handoff Fundamentals
- Protocol Patterns
- Context Transfer Strategies
- Handoff Instructions Template
- Error Handling
- Acknowledgment Patterns
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-handoff-protocolsAgent Memory Systemsagent-memory-systems
Use this skill when implementing memory for AI agents. Activate when the user needs agents to remember past interactions, implement context persistence, build knowledge bases for agents, design agent state management, or create shared memory between multiple agents.
Use it when
- Agents need to remember across sessions
- Multiple agents share knowledge
- Long-running tasks require state persistence
- Building agents that learn from experience
Inside the source file
- Memory Types
- Working Memory
- Short-Term Memory
- Long-Term Memory
- Shared Memory (Multi-Agent)
- Memory Retrieval Strategies
- Memory Maintenance
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-memory-systemsAgent Mesh Architectureagent-mesh-architecture
Use this skill when designing peer-to-peer multi-agent systems. Activate when the user needs agents that collaborate without central control, wants resilient agent networks, needs swarm-like agent behavior, or is building decentralized agent architectures.
Use it when
- Resilience is critical (no single point of failure)
- Agents need to collaborate dynamically
- Tasks benefit from emergent behavior
- Scale varies (agents join/leave dynamically)
- Different perspectives improve outcomes
Inside the source file
- Architecture Overview
- Core Components
- Communication Patterns
- Agent Behavior Patterns
- Resilience Patterns
- When to Use Mesh vs Supervisor
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-mesh-architectureAgent Supervisor Patternagent-supervisor-pattern
Use this skill when designing supervisor-based multi-agent systems. Activate when the user needs to orchestrate multiple AI agents, coordinate agent workflows, implement a central controller for agents, design hub-and-spoke agent architecture, or build hierarchical agent systems.
Use it when
- Complex tasks requiring multiple specialized agents
- Need clear visibility into agent decision-making
- Workflows requiring sequential or conditional agent execution
- Systems where human oversight is important
- Tasks with clear subtask decomposition
Inside the source file
- Architecture Overview
- Core Components
- Implementation Patterns
- Supervisor Prompting Best Practices
- State Management
- Monitoring and Observability
- When NOT to Use Supervisor Pattern
- Alternatives
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-supervisor-patternAgent Testing Harnessagent-testing-harness
Use this skill when testing AI agent systems. Activate when the user needs to test agent behavior, write tests for multi-agent systems, implement agent evaluation frameworks, create test harnesses for autonomous agents, or validate agent outputs systematically.
Use it when
- Building reliable agent systems
- Validating agent behavior before deployment
- Creating regression tests for agents
- Implementing continuous testing for agent updates
- Evaluating agent performance metrics
Inside the source file
- Testing Pyramid for Agents
- Unit Testing Agent Components
- Component Testing Agents
- Integration Testing Multi-Agent Systems
- End-to-End Agent Tests
- Evaluation Metrics
- Test Data Management
- Continuous Testing Pipeline
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-testing-harnessAgent Tool Routingagent-tool-routing
Use this skill when implementing tool selection for AI agents. Activate when the user needs agents to choose the right tools, implement dynamic tool routing, integrate MCP servers, design tool selection logic, or build agents that can use external services effectively.
Use it when
- Agents need to choose between multiple tools
- Implementing MCP (Model Context Protocol) integrations
- Building agents with external API access
- Designing tool fallback strategies
- Optimizing tool usage for cost/performance
Inside the source file
- Tool Architecture
- Tool Definition
- Tool Registry
- Router Strategies
- MCP Integration
- Tool Execution
- Monitoring Tool Usage
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill agent-tool-routingDurable State Patternsdurable-state-patterns
Implement persistent agent state that survives failures and restarts. Use this skill when building stateful agents, implementing checkpointing, persisting agent memory across sessions, or recovering from failures. Activate when: durable state, agent persistence, checkpointing, agent recovery, stateful agents, state persistence, cross-session memory, agent restart.
Inside the source file
- Why Durable State?
- LangGraph Checkpointing
- State Schema Design
- Memory Tiers
- Checkpoint Management
- Recovery Patterns
- Storage Backend Comparison
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill durable-state-patternsHuman-in-the-Loop Agentshuman-in-loop-agents
Build agents that pause for human approval, review, and intervention. Use this skill when implementing approval workflows, human oversight, agent interrupts, or review-before-execute patterns. Activate when: human in the loop, HITL, agent approval, human oversight, interrupt agent, pause agent, review workflow, agent supervision.
Inside the source file
- Why Human-in-the-Loop?
- Core Patterns
- Timeout and Escalation
- UI Integration
- Best Practices
- When to Require Approval
- Monitoring HITL Metrics
Install this skill individually
npx skills add latestaiagents/agent-skills --skill human-in-loop-agentsLangGraph Workflows (1.0)langgraph-workflows
Build agent workflows with LangGraph 1.0 state machines and graph patterns. Use this skill when creating agent graphs, implementing state machines, building multi-step agent workflows, or using LangGraph. Activate when: LangGraph, agent graph, state graph, agent workflow, graph nodes, conditional edges, agent state machine, ReAct agent.
Inside the source file
- LangGraph 1.0 Overview
- Core Concepts
- Pattern 1: Basic State Graph
- Pattern 2: Conditional Routing
- Pattern 3: ReAct Agent
- Pattern 4: Parallel Execution
- Pattern 5: Subgraphs
- State Reducers
Install this skill individually
npx skills add latestaiagents/agent-skills --skill langgraph-workflowsAI 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
Install this skill individually
npx skills add latestaiagents/agent-skills --skill ai-audit-loggingLLM 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
Install this skill individually
npx skills add latestaiagents/agent-skills --skill llm-fallback-chainsLLM 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
Install this skill individually
npx skills add latestaiagents/agent-skills --skill llm-rate-limitingModel 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
Install this skill individually
npx skills add latestaiagents/agent-skills --skill model-routing-strategyPrompt 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
Install this skill individually
npx skills add latestaiagents/agent-skills --skill prompt-caching-patternsPrompt 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
Install this skill individually
npx skills add latestaiagents/agent-skills --skill prompt-injection-guardToken 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
Install this skill individually
npx skills add latestaiagents/agent-skills --skill token-cost-analyzerInstall 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/mlopsChoose 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 agentsInstall 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.