一键导入
delete-messages
Use when user wants to delete, remove, or unsend Telegram messages from a chat, either for everyone or just for themselves.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when user wants to delete, remove, or unsend Telegram messages from a chat, either for everyone or just for themselves.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
user wants to send a WhatsApp message, share a link or document via WhatsApp, generate a wa.me click-to-chat link, or message a contact on WhatsApp by phone number.
Claude Code hooks development guide. TRIGGERS - create hook, PostToolUse, PreToolUse, Stop hook, hook lifecycle, decision block.
Deploy static HTML files to Cloudflare Workers with 1Password credential management.
Dual-channel notifications on watchexec events. TRIGGERS - watchexec alerts, Telegram+Pushover, file change notifications.
Session log provenance tracking. TRIGGERS - who created, trace origin, session archaeology, ADR reference.
Generate custom Claude Code slash commands via guided question flow. TRIGGERS - create slash command, generate command, custom command.
| name | delete-messages |
| description | Use when user wants to delete, remove, or unsend Telegram messages from a chat, either for everyone or just for themselves. |
| allowed-tools | Bash, Read, Grep, Glob |
Delete one or multiple messages from a chat. By default deletes for everyone.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
~/.local/share/gramjs/<profile>.session
/tlg:setup first/usr/bin/env bash << 'EOF'
SCRIPT="${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/cc-skills/plugins/tlg}/scripts/tg-cli.ts"
# Delete for everyone (default)
bun "$SCRIPT" delete <chat> <message_id>
# Delete multiple messages
bun "$SCRIPT" delete <chat> 12345,12346,12347
# Delete only for yourself
bun "$SCRIPT" delete <chat> <message_id> --self-only
# Find message IDs first
bun "$SCRIPT" read <chat> -n 10
EOF
| Parameter | Type | Description |
|---|---|---|
| chat | string/int | Chat containing messages |
| message_ids | string | Message ID(s), comma-separated |
--self-only | flag | Delete only for yourself (default: for everyone) |
read <chat> -n N to find message IDsdelete <chat> <ids>After this skill completes, check before closing:
Only update if the issue is real and reproducible — not speculative.