kill-switch-binding

Halt autonomous swarm execution via persistent file-flag kill-switch with audit events.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/CleanExpo/Pi-Dev-Ops --skill kill-switch-binding
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kill-switch-binding
Source: https://github.com/CleanExpo/Pi-Dev-Ops/tree/main/skills/kill-switch-binding
Command: npx skills add https://github.com/CleanExpo/Pi-Dev-Ops --skill kill-switch-binding

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents runaway autonomous execution by providing fast, reliable, and auditable ways to halt the entire Pi-Dev-Ops swarm, including durable control even across restarts.

Core Features & Use Cases

  • Telegram panic + operator trust: Adds an operator-chat /panic command that triggers an immediate kill via a persistent file-flag and writes a kill-switch audit event.
  • Dashboard kill with 2-of-N + 2FA: Adds a red halt button that requires two approvers and TOTP validation before setting the same persistent kill-flag and emitting alerts.
  • Operator-only resume: Adds /resume to clear the kill-flag, resume from the persisted state, and record the transition for traceability.

Quick Start

From the configured operator Telegram chat, send /panic to halt the swarm within the next cycle and notify the operator of the transition.

Frequently Asked Questions about kill-switch-binding

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

FAQPage Schema
How do I add a kill switch to halt an autonomous agent swarm safely?

To add a kill switch for an autonomous agent swarm, you can use a file-flag based gating mechanism that safely pauses execution and emits audit events. This approach ensures the halt is durable across restarts and reversible.

How does 2FA TOTP validation work for a dashboard emergency stop button?

2FA TOTP validation for a dashboard emergency stop requires two distinct approvers to confirm the action alongside a time-based one-time password. This 2-of-N validation gates the persistent kill-flag and emits alerts before halting execution.

Can I trigger an emergency stop for autonomous agents using Telegram?

Yes, you can trigger an emergency stop using a configured operator Telegram chat. Sending a panic command initiates an immediate kill via a persistent file-flag and records a kill-switch audit event for traceability.

How do you resume autonomous swarm execution after triggering a kill switch?

To resume autonomous swarm execution after a kill switch, an operator clears the persistent kill-flag to restart from the persisted workflow state. This transition is recorded to ensure full traceability and controlled resumption.

What is a loop-guard escalation to prevent oscillation attacks in agent safety controls?

A loop-guard escalation prevents oscillation attacks by enforcing strict safety controls during the kill-switch process. It detects and blocks rapid, repetitive trigger attempts, ensuring the autonomous swarm halts securely without system disruption.

Does the kill switch persist across system restarts for autonomous agents?

Yes, the kill switch persists across system restarts for autonomous agents by using a durable file-flag mechanism. This ensures the TAO_SWARM_ENABLED state remains securely halted until an operator explicitly clears the flag to resume.