A safety-first skill designed to permanently delete OpenClaw agents, including their workspaces, local configurations, and associated Telegram group routings.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install delete-agent-with-telegram-group
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install delete-agent-with-telegram-group using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This skill provides a rigorous and secure workflow for decommissioning agents within the OpenClaw ecosystem. As a vital part of Openclaw Skills, it handles the removal of agent files, workspace directories, cron jobs, and complex Telegram routing configurations while enforcing strict confirmation gates to prevent accidental data loss. It ensures that system resources are reclaimed and that no ghost configurations remain in the global registry.
By leveraging script-first commands and browser automation for group management, this skill maintains the integrity of the host environment. It is designed for developers who need to manage the lifecycle of multiple agents and want a reliable way to perform clean uninstalls without leaving behind artifacts in the openclaw.json configuration or local storage.
To use this tool within the Openclaw Skills framework, ensure the deletion script is available in your local directory.
# Perform a dry-run to identify artifacts for removal
python3 scripts/delete_agent.py --agent-id <agent_id> --dry-run
# Execute full cleanup after explicit confirmation
python3 scripts/delete_agent.py --agent-id <agent_id> --yes --delete-workspace --delete-telegram-group-config --delete-cron-jobs
The skill organizes its cleanup process by targeting specific nodes in the OpenClaw metadata taxonomy:
| Component | Location / Key | Action |
|---|---|---|
| Agent Registry | ~/.openclaw/openclaw.json | Entry removal from agent list |
| Agent Bindings | openclaw.json -> bindings[] | Removes objects matching agentId |
| Telegram Routing | channels.telegram.groups | Deletes associated chat_id entries |
| Filesystem | ~/.openclaw/agents/ |
Recursive deletion of agent folder |
| Workspace | User-defined path | Optional deletion if under home directory |
| Cron Jobs | ~/.openclaw/cron/jobs.json | Filtered removal of agent-owned tasks |
Loading
An automated provisioning tool for creating dedicated AI agents with isolated workspaces and bound Telegram groups.

An AI-powered diagnostic tool that analyzes video ad transcripts and pacing to provide actionable coaching feedback for high-ROI content.

An automated vetting tool that generates comprehensive brand safety and content quality reports for influencers using advanced video intelligence.

A robust command-line interface for controlling Spotify playback across your devices from a Linux or Raspberry Pi environment.

A powerful CLI-based tool for AI agents to interact with Miniflux RSS feeds, allowing for article discovery, reading, and management.

A comprehensive automation skill that enables AI agents to manage Google Calendar events, query availability, and handle multiple accounts through a streamlined CLI interface.








































