system-control

Restart or shut down the bot application programmatically with exit code 42.

20|7|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/kaivyy/kabot --skill system-control-kaivyy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: system-control
Source: https://github.com/kaivyy/kabot/tree/main/kabot/skills/system-control
Command: npx skills add https://github.com/kaivyy/kabot --skill system-control-kaivyy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill provides a mechanism for the agent to safely restart or shut down the bot, ensuring continuity and recovery from potential issues.

Core Features & Use Cases

  • Restart Bot: Allows the agent to trigger a controlled restart, useful for applying updates or recovering from an unstable state. The bot signals its intent to restart via exit code 42.
  • Shutdown Bot: Enables the agent to completely halt the bot's operation.
  • Use Case: If the bot encounters an unrecoverable error, it can use the system-control skill to initiate a restart, minimizing downtime.

Quick Start

Use the system-control skill to restart the bot and send a message to the Telegram chat with ID 12345.

Frequently Asked Questions about system-control

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

FAQPage Schema
How do I programmatically restart a bot application after an unrecoverable error?

To restart a bot application programmatically, the agent triggers a controlled restart using exit code 42, signaling its intent to restart and allowing the system to recover from unstable states while minimizing downtime.

Can I send a notification message to a specific channel when shutting down the bot?

Yes, you can send a notification message to a specific channel when shutting down the bot. The system-control skill supports scheduled restarts with optional notification messages and channel specification for user feedback.

What is the mechanism for a bot to safely shut down its own application?

The mechanism for a bot to safely shut down its own application involves the agent issuing a controlled exit command. This completely halts the bot's operation, ensuring safe system maintenance and recovery.

Does the system-control skill require any external dependencies to manage bot restarts?

No, the system-control skill does not require any external dependencies to manage bot restarts. It operates independently to provide controlled exit mechanisms and facilitate system recovery.

When should I use an automated bot restart instead of manual intervention?

You should use an automated bot restart instead of manual intervention when the bot encounters an unrecoverable error or needs to apply updates, ensuring continuity and fast recovery from an unstable state.