360 Secure SkillHub
360 安全技能中心

bale

该 Skill 说明如何借助 bale-mcp MCP 服务器操作自建 Bale 机器人,可查询机器人自身与聊天信息、读取新消息与聊天记录、按文本搜索消息、发送文本与文件、编辑或删除消息、等待回复并下载对方发送的文件;所有写操作都要求先与用户确认,境外使用可能需要代理。

sepehr071
热度 0.00
最近更新 2026-10-18 21:15:39
分类:协作依赖:MCP 服务 / 第三方 API / 读写文件应用场景:工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add sepehr071/awesome-iran-mcp/bale
Metadata
name
bale
description
Private, local Bale bot for agents: read, search and answer messages, ask and wait, files. Use when the user asks about Bale Bot (bale.ai) or wants to run their own Bale messenger bot in Iran.

Bale Bot

Private, local Bale bot for agents: read, search and answer messages, ask and wait, files.

The tools below come from the bale-mcp MCP server. If they are not available, install it with claude mcp add bale -- uvx bale-mcp, or add "bale": {"command": "uvx", "args": ["bale-mcp"], "env": {"BALE_BOT_TOKEN": "${BALE_BOT_TOKEN:-}"}} to the client's MCP servers config. It needs uv. Restart the session after installing.

Tools

  • bot_get_me: Check BALE_BOT_TOKEN and show the bot's id, username and name.
  • bot_get_chat: Get a chat's type, title or name, username and description.
  • bot_get_webhook_info: Show whether a webhook is set (url empty = the reading tools work), pending updates and the last error.
  • bot_send_message: Send a real text message from the bot. Confirm recipient and text with the user first.
  • bot_send_file: Send a real photo, document, video, audio or voice file from the bot. Confirm recipient and file with the user first.
  • bot_edit_message: Replace the text of a message the bot sent earlier. Changes a real message; confirm with the user first.
  • bot_delete_message: Delete a message the bot may delete (its own, or as admin). Irreversible; confirm with the user first.
  • bot_get_new_messages: Get messages people sent the bot since the last check, from all chats, oldest first, and mark them read.
  • bot_list_chats: List the chats this bot has talked in, newest first, with unread count and last message. Use to find chat ids.
  • bot_read_chat: Show a chat's recent messages in both directions, oldest first, and mark the chat read.
  • bot_search_messages: Search stored messages by text, newest first. Persian/Arabic yeh, kaf, digits and ZWNJ match each other.
  • bot_wait_for_reply: Wait until someone writes in a chat or presses a button, then return the new messages (marked read).
  • bot_download_file: Download a file someone sent the bot (max 20 MB) and return its local path. Never overwrites (-1, -2, ... suffix).

Rules

  • This server acts on the user's own account (BALE_BOT_TOKEN). Confirm with the user before any call that creates, sends, edits or deletes something.
  • On timeouts or HTTP 403 outside Iran, set BALE_MCP_PROXY to an HTTP proxy with an Iranian IP.