install
source · Clone the upstream repo
git clone https://github.com/kaivyy/kabot
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/kaivyy/kabot "$T" && mkdir -p ~/.claude/skills && cp -r "$T/kabot/skills/system-control" ~/.claude/skills/kaivyy-kabot-system-control && rm -rf "$T"
manifest:
kabot/skills/system-control/SKILL.mdsource content
System Control Skill
This skill allows the agent to restart or shut down the bot.
Commands
Restart
Restart the bot. This is useful when the bot needs to reload code, clear memory, or recover from an unstable state. The bot will exit with code 42, which should be handled by the supervisor/watchdog to trigger a restart.
Usage:
python -m kabot.skills.system-control.restart --chat-id <CHAT_ID> --message "I'm back!" --channel <telegram|discord>
Arguments:
: The ID of the chat where the bot should send a message after restarting.--chat-id
: The text message to send after restart.--message
: The platform channel (e.g., 'telegram', 'discord').--channel
Shutdown
Shut down the bot completely.
Usage:
python -m kabot.skills.system-control.shutdown