yato-cleanup

Terminates Yato workflow agents, tmux sessions, check-in daemons, and optionally deletes the workflow directory.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/marcospmail/claude-code-plugins --skill yato-cleanup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yato-cleanup
Source: https://github.com/marcospmail/claude-code-plugins/tree/main/plugins/yato/skills/yato-cleanup
Command: npx skills add https://github.com/marcospmail/claude-code-plugins --skill yato-cleanup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manages the end of a Yato workflow session by killing agents, terminating tmux sessions, halting check-in daemons, and optionally deleting the workflow directory, to prevent resource leaks and provide a clean exit from active workflows.

Core Features & Use Cases

  • End Workflow: Clean up a running Yato workflow, ensuring all agents and sessions are terminated.
  • Status Update: Mark the workflow as completed, allowing for accurate status tracking.
  • Cleanup Option: Offers the ability to delete the workflow directory after termination.
  • Use Case: After finishing a complex Yato session, quickly clean up all related processes and resources with a single command.

Quick Start

End the Yato workflow session by running the 'yato-cleanup' skill. Optionally provide a workflow name as an argument.

Frequently Asked Questions about yato-cleanup

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

FAQPage Schema
How do I safely terminate Yato agents and clean up tmux sessions after a workflow?

To safely terminate Yato agents and clean up tmux sessions, run the yato-cleanup skill. It systematically kills Yato agents, terminates tmux sessions, halts check-in daemons, and optionally deletes the workflow directory to prevent resource leaks.

What is the best way to prevent resource leaks when ending a Yato workflow?

The best way to prevent resource leaks when ending a Yato workflow is to execute a systematic cleanup process. This ensures all running agents, tmux sessions, and background check-in daemons are properly killed and marked as completed.

Can I delete the workflow directory during Yato system termination?

Yes, you can delete the workflow directory during Yato system termination. The cleanup process offers an optional argument to completely remove the workflow directory after successfully halting all agents and terminating active tmux sessions.

Do I need specific permissions to halt check-in daemons and release Yato resources?

Yes, you need specific environment permissions for file operations and process management to halt check-in daemons and release Yato resources. The cleanup process assumes the environment is already configured with the necessary Yato dependencies.

Why does my Yato workflow status remain active after killing tmux sessions?

Your Yato workflow status remains active because simply killing tmux sessions does not update the workflow state or halt check-in daemons. A dedicated cleanup process is required to mark the workflow as completed and ensure all components are terminated.