[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CP1FC34WHNEY5ZG0Z1ZX5C":3,"skill-same:01M7CP1FC34WHNEY5ZG0Z1ZX5C":142},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":43,"ownerHtmlUrl":44,"ownerBlogUrl":6,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M7CP1FC34WHNEY5ZG0Z1ZX5C","telegram",null,"Integracao completa com Telegram Bot API. Setup com BotFather, mensagens, webhooks, inline keyboards, grupos, canais. Boilerplates Node.js e Python.","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: telegram\ndescription: Integracao completa com Telegram Bot API. Setup com BotFather, mensagens, webhooks, inline keyboards, grupos, canais. Boilerplates Node.js e Python.\nrisk: critical\nsource: community\ndate_added: '2026-03-06'\nauthor: renat\ntags:\n- messaging\n- telegram\n- bots\n- webhooks\ntools:\n- claude-code\n- antigravity\n- cursor\n- gemini-cli\n- codex-cli\n---\n\n# Telegram Bot API - Integracao Profissional\n\n## Overview\n\nIntegracao completa com Telegram Bot API. Setup com BotFather, mensagens, webhooks, inline keyboards, grupos, canais. Boilerplates Node.js e Python.\n\n## When to Use This Skill\n\n- When the user mentions \"telegram\" or related topics\n- When the user mentions \"bot telegram\" or related topics\n- When the user mentions \"telegram bot\" or related topics\n- When the user mentions \"api telegram\" or related topics\n- When the user mentions \"chatbot telegram\" or related topics\n- When the user mentions \"mensagem telegram\" or related topics\n\n## Do Not Use This Skill When\n\n- The task is unrelated to telegram\n- A simpler, more specific tool can handle the request\n- The user needs general-purpose assistance without domain expertise\n\n## How It Works\n\nSkill para implementar bots profissionais no Telegram usando a Bot API oficial. Suporta Node.js\u002FTypeScript e Python.\n\n## Overview\n\nA Telegram Bot API permite criar bots que interagem com usuarios via mensagens, comandos, inline keyboards, pagamentos e muito mais. Bots sao criados pelo @BotFather e autenticados via token unico.\n\n**Base URL:** `https:\u002F\u002Fapi.telegram.org\u002Fbot\u003CTOKEN>\u002FMETHOD_NAME`\n**Metodos HTTP:** GET e POST\n**Formatos de parametros:** query string, application\u002Fx-www-form-urlencoded, application\u002Fjson, multipart\u002Fform-data (uploads)\n**Limite de arquivos:** 50MB download, 20MB upload (via multipart), 50MB via URL\n\n**Portas suportadas para webhooks:** 443, 80, 88, 8443\n\n**Pre-requisitos:**\n- Conta no Telegram\n- Bot criado via @BotFather (fornece o token)\n- Token no formato: `123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11`\n\nSe o usuario nao tem um bot criado, oriente a conversar com @BotFather no Telegram e enviar `\u002Fnewbot`.\n\n---\n\n## Decision Tree\n\n```\nO usuario precisa criar um bot?\n├── SIM → Secao \"Setup com BotFather\" abaixo\n└── NAO → Qual linguagem?\n    ├── Node.js\u002FTypeScript\n    └── Python\n    → O que quer fazer?\n       ├── Enviar mensagens → Secao \"Tipos de Mensagem\"\n       ├── Receber mensagens → Secao \"Receber Updates\"\n       ├── Teclados interativos → Secao \"Keyboards\"\n       ├── Gerenciar grupos\u002Fcanais → references\u002Fchat-management.md\n       ├── Webhook setup → references\u002Fwebhook-setup.md\n       ├── Inline mode → references\u002Fadvanced-features.md\n       ├── Pagamentos → references\u002Fadvanced-features.md\n       ├── Bot de atendimento com IA → Secao \"Automacao com IA\"\n       └── Referencia completa da API → references\u002Fapi-reference.md\n```\n\nPara iniciar um projeto do zero com boilerplate pronto:\n```bash\npython scripts\u002Fsetup_project.py --language nodejs --path .\u002Fmeu-bot-telegram\n\n## Ou\n\npython scripts\u002Fsetup_project.py --language python --path .\u002Fmeu-bot-telegram\n```\n\nPara testar se o token do bot funciona:\n```bash\npython scripts\u002Ftest_bot.py --token \"SEU_TOKEN\"\n```\n\nPara enviar uma mensagem de teste:\n```bash\npython scripts\u002Fsend_message.py --token \"SEU_TOKEN\" --chat-id \"CHAT_ID\" --text \"Hello!\"\n```\n\n---\n\n## Setup Com Botfather\n\n1. Abra o Telegram e busque @BotFather\n2. Envie `\u002Fnewbot`\n3. Escolha nome de exibicao (ex: \"Meu Bot Incrivel\")\n4. Escolha username (deve terminar com \"bot\", ex: `meu_incrivel_bot`)\n5. BotFather retorna o token - guarde com seguranca\n6. Comandos uteis do BotFather:\n   - `\u002Fsetdescription` - descricao do bot\n   - `\u002Fsetabouttext` - texto \"sobre\" do bot\n   - `\u002Fsetuserpic` - foto de perfil\n   - `\u002Fsetcommands` - lista de comandos\n   - `\u002Fmybots` - gerenciar bots existentes\n   - `\u002Fsetinline` - habilitar inline mode\n   - `\u002Fsetprivacy` - modo privacidade em grupos\n\n---\n\n## Variaveis De Ambiente\n\n```env\nTELEGRAM_BOT_TOKEN=123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11\n```\n\n## Node.Js\u002FTypescript\n\n```typescript\n\u002F\u002F Instalar: npm install node-telegram-bot-api dotenv\n\u002F\u002F Para TypeScript: npm install -D @types\u002Fnode-telegram-bot-api typescript\nimport TelegramBot from 'node-telegram-bot-api';\nimport dotenv from 'dotenv';\ndotenv.config();\n\nconst bot = new TelegramBot(process.env.TELEGRAM_BOT_TOKEN!, { polling: true });\n\nbot.onText(\u002F\\\u002Fstart\u002F, (msg) => {\n  bot.sendMessage(msg.chat.id, 'Ola! Eu sou seu bot. Como posso ajudar?');\n});\n\nbot.on('message', (msg) => {\n  if (msg.text && !msg.text.startsWith('\u002F')) {\n    bot.sendMessage(msg.chat.id, `Voce disse: ${msg.text}`);\n  }\n});\n```\n\n## Python\n\n```python\n\n## Instalar: Pip Install Python-Telegram-Bot Python-Dotenv\n\nimport os\nfrom dotenv import load_dotenv\nfrom telegram import Update\nfrom telegram.ext import Application, CommandHandler, MessageHandler, filters, ContextTypes\n\nload_dotenv()\n\nasync def start(update: Update, context: ContextTypes.DEFAULT_TYPE):\n    await update.message.reply_text('Ola! Eu sou seu bot. Como posso ajudar?')\n\nasync def echo(update: Update, context: ContextTypes.DEFAULT_TYPE):\n    await update.message.reply_text(f'Voce disse: {update.message.text}')\n\napp = Application.builder().token(os.getenv('TELEGRAM_BOT_TOKEN')).build()\napp.add_handler(CommandHandler('start', start))\napp.add_handler(MessageHandler(filters.TEXT & ~filters.COMMAND, echo))\napp.run_polling()\n```\n\n## Sem Biblioteca (Http Puro)\n\n```python\nimport requests\n\nTOKEN = \"SEU_TOKEN\"\nBASE = f\"https:\u002F\u002Fapi.telegram.org\u002Fbot{TOKEN}\"\n\n## Verificar Bot\n\nr = requests.get(f\"{BASE}\u002FgetMe\")\nprint(r.json())\n\n## Enviar Mensagem\n\nr = requests.post(f\"{BASE}\u002FsendMessage\", json={\n    \"chat_id\": \"CHAT_ID\",\n    \"text\": \"Hello from pure HTTP!\",\n    \"parse_mode\": \"HTML\"\n})\nprint(r.json())\n```\n\n---\n\n## Tipos De Mensagem\n\nO Telegram suporta diversos tipos de conteudo. Todos os metodos aceitam `chat_id`, `reply_parameters` (para responder), `reply_markup` (para keyboards), `disable_notification` e `protect_content`.\n\n## Html (Recomendado)\n\nawait bot.send_message(\n    chat_id=chat_id,\n    text=\"\u003Cb>Negrito\u003C\u002Fb>, \u003Ci>italico\u003C\u002Fi>, \u003Ccode>codigo\u003C\u002Fcode>, \u003Ca href='https:\u002F\u002Fexample.com'>link\u003C\u002Fa>\",\n    parse_mode=\"HTML\"\n)\n\n## Markdownv2 (Escapar Caracteres Especiais: _ * [ ] ( ) ~ ` > # + - = | { } . !)\n\nawait bot.send_message(\n    chat_id=chat_id,\n    text=\"*Negrito*, _italico_, `codigo`, [link](https:\u002F\u002Fexample\\\\.com)\",\n    parse_mode=\"MarkdownV2\"\n)\n```\n\n## Foto (Por Url, File_Id Ou Upload)\n\nawait bot.send_photo(chat_id, photo=\"https:\u002F\u002Fexample.com\u002Fimg.jpg\", caption=\"Legenda aqui\")\n\n## Documento\n\nawait bot.send_document(chat_id, document=open(\"relatorio.pdf\", \"rb\"), caption=\"Relatorio mensal\")\n\n## Video\n\nawait bot.send_video(chat_id, video=\"https:\u002F\u002Fexample.com\u002Fvideo.mp4\", caption=\"Assista!\")\n\n## Audio\n\nawait bot.send_audio(chat_id, audio=open(\"musica.mp3\", \"rb\"), title=\"Minha Musica\")\n\n## Voz (Ogg Com Opus)\n\nawait bot.send_voice(chat_id, voice=open(\"audio.ogg\", \"rb\"))\n\n## Localizacao\n\nawait bot.send_location(chat_id, latitude=-23.5505, longitude=-46.6333)\n\n## Contato\n\nawait bot.send_contact(chat_id, phone_number=\"+5511999999999\", first_name=\"Joao\")\n\n## Enquete\n\nawait bot.send_poll(\n    chat_id, question=\"Qual sua cor favorita?\",\n    options=[\"Azul\", \"Verde\", \"Vermelho\"],\n    is_anonymous=False\n)\n\n## Grupo De Midias\n\nawait bot.send_media_group(chat_id, media=[\n    InputMediaPhoto(\"url1\", caption=\"Foto 1\"),\n    InputMediaPhoto(\"url2\"),\n    InputMediaVideo(\"url3\")\n])\n\n## Acao De Chat (Typing, Upload_Photo, Etc.)\n\nawait bot.send_chat_action(chat_id, action=\"typing\")\n```\n\n## Node.Js Equivalente\n\n```typescript\n\u002F\u002F Foto\nbot.sendPhoto(chatId, 'https:\u002F\u002Fexample.com\u002Fimg.jpg', { caption: 'Legenda' });\n\n\u002F\u002F Documento\nbot.sendDocument(chatId, fs.createReadStream('relatorio.pdf'), { caption: 'Relatorio' });\n\n\u002F\u002F Localizacao\nbot.sendLocation(chatId, -23.5505, -46.6333);\n\n\u002F\u002F Enquete\nbot.sendPoll(chatId, 'Qual sua cor favorita?', ['Azul', 'Verde', 'Vermelho']);\n```\n\n---\n\n## Inline Keyboard (Botoes Dentro Da Mensagem)\n\n```python\nfrom telegram import InlineKeyboardButton, InlineKeyboardMarkup\n\nkeyboard = InlineKeyboardMarkup([\n    [InlineKeyboardButton(\"Opcao A\", callback_data=\"opt_a\"),\n     InlineKeyboardButton(\"Opcao B\", callback_data=\"opt_b\")],\n    [InlineKeyboardButton(\"Abrir Site\", url=\"https:\u002F\u002Fexample.com\")],\n    [InlineKeyboardButton(\"Compartilhar\", switch_inline_query=\"texto\")]\n])\n\nawait bot.send_message(chat_id, \"Escolha uma opcao:\", reply_markup=keyboard)\n\n## Handler De Callback\n\nasync def button_callback(update: Update, context: ContextTypes.DEFAULT_TYPE):\n    query = update.callback_query\n    await query.answer()  # Importante: sempre responder o callback\n    await query.edit_message_text(f\"Voce escolheu: {query.data}\")\n\napp.add_handler(CallbackQueryHandler(button_callback))\n```\n\n## Reply Keyboard (Teclado Customizado)\n\n```python\nfrom telegram import ReplyKeyboardMarkup, KeyboardButton\n\nkeyboard = ReplyKeyboardMarkup(\n    [[KeyboardButton(\"Enviar Localizacao\", request_location=True)],\n     [KeyboardButton(\"Enviar Contato\", request_contact=True)],\n     [\"Opcao 1\", \"Opcao 2\"]],\n    resize_keyboard=True,\n    one_time_keyboard=True\n)\n\nawait bot.send_message(chat_id, \"Escolha:\", reply_markup=keyboard)\n```\n\n## Remover Teclado\n\n```python\nfrom telegram import ReplyKeyboardRemove\nawait bot.send_message(chat_id, \"Teclado removido\", reply_markup=ReplyKeyboardRemove())\n```\n\n---\n\n## Receber Updates\n\nExistem duas formas de receber updates: **Long Polling** e **Webhooks**.\n\n## Long Polling (Desenvolvimento)\n\nMais simples, ideal para desenvolvimento. O bot faz requisicoes periodicas ao servidor do Telegram.\n\n```python\n\n## Python-Telegram-Bot Ja Faz Isso Automaticamente\n\napp.run_polling(allowed_updates=Update.ALL_TYPES)\n```\n\n```typescript\n\u002F\u002F node-telegram-bot-api com polling\nconst bot = new TelegramBot(token, { polling: true });\n```\n\n## Webhooks (Producao)\n\nPara producao, webhooks sao mais eficientes. O Telegram envia updates via POST para sua URL HTTPS.\n\nLeia `references\u002Fwebhook-setup.md` para configuracao completa com Express, Flask, ngrok e deploy.\n\nSetup rapido:\n\n```python\n\n## Flask Webhook\n\nfrom flask import Flask, request\nimport requests\n\napp = Flask(__name__)\nTOKEN = \"SEU_TOKEN\"\nBASE = f\"https:\u002F\u002Fapi.telegram.org\u002Fbot{TOKEN}\"\n\n@app.route(f\"\u002Fwebhook\u002F{TOKEN}\", methods=[\"POST\"])\ndef webhook():\n    update = request.get_json()\n    if \"message\" in update and \"text\" in update[\"message\"]:\n        chat_id = update[\"message\"][\"chat\"][\"id\"]\n        text = update[\"message\"][\"text\"]\n        requests.post(f\"{BASE}\u002FsendMessage\", json={\n            \"chat_id\": chat_id,\n            \"text\": f\"Recebi: {text}\"\n        })\n    return \"OK\", 200\n\n## Registrar Webhook\n\nrequests.post(f\"{BASE}\u002FsetWebhook\", json={\n    \"url\": \"https:\u002F\u002Fseu-dominio.com\u002Fwebhook\u002F\" + TOKEN,\n    \"allowed_updates\": [\"message\", \"callback_query\"],\n    \"secret_token\": \"seu_secret_seguro_aqui\"\n})\n```\n\n---\n\n## Comandos Do Bot\n\nRegistre comandos para aparecerem no menu do Telegram:\n\n```python\nfrom telegram import BotCommand\n\nawait bot.set_my_commands([\n    BotCommand(\"start\", \"Iniciar o bot\"),\n    BotCommand(\"help\", \"Ver comandos disponiveis\"),\n    BotCommand(\"settings\", \"Configuracoes\"),\n    BotCommand(\"status\", \"Ver status do servico\"),\n])\n```\n\nVia HTTP:\n```bash\ncurl -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TOKEN\u002FsetMyCommands\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"commands\":[{\"command\":\"start\",\"description\":\"Iniciar o bot\"},{\"command\":\"help\",\"description\":\"Ajuda\"}]}'\n```\n\n---\n\n## Automacao Com Ia\n\nPadrao para bot de atendimento com IA (Claude, GPT, etc.):\n\n```python\nfrom telegram import Update\nfrom telegram.ext import Application, MessageHandler, filters, ContextTypes\nimport anthropic  # ou openai\n\nclient = anthropic.Anthropic()\nuser_conversations = {}  # chat_id -> messages history\n\nasync def ai_response(update: Update, context: ContextTypes.DEFAULT_TYPE):\n    chat_id = update.message.chat_id\n    user_text = update.message.text\n\n    # Indicar que esta digitando\n    await context.bot.send_chat_action(chat_id, \"typing\")\n\n    # Manter historico\n    if chat_id not in user_conversations:\n        user_conversations[chat_id] = []\n\n    user_conversations[chat_id].append({\"role\": \"user\", \"content\": user_text})\n\n    # Chamar IA\n    response = client.messages.create(\n        model=\"claude-sonnet-4-20250514\",\n        max_tokens=1024,\n        system=\"Voce e um assistente prestativo. Responda em portugues.\",\n        messages=user_conversations[chat_id]\n    )\n\n    reply = response.content[0].text\n    user_conversations[chat_id].append({\"role\": \"assistant\", \"content\": reply})\n\n    # Limitar historico (ultimas 20 mensagens)\n    if len(user_conversations[chat_id]) > 20:\n        user_conversations[chat_id] = user_conversations[chat_id][-20:]\n\n    await update.message.reply_text(reply)\n\napp = Application.builder().token(TOKEN).build()\napp.add_handler(MessageHandler(filters.TEXT & ~filters.COMMAND, ai_response))\napp.run_polling()\n```\n\n---\n\n## Editar Texto\n\nawait bot.edit_message_text(\n    chat_id=chat_id,\n    message_id=msg.message_id,\n    text=\"Texto atualizado!\",\n    parse_mode=\"HTML\"\n)\n\n## Editar Markup (Botoes)\n\nawait bot.edit_message_reply_markup(\n    chat_id=chat_id,\n    message_id=msg.message_id,\n    reply_markup=new_keyboard\n)\n\n## Deletar Mensagem\n\nawait bot.delete_message(chat_id=chat_id, message_id=msg.message_id)\n\n## Encaminhar Mensagem\n\nawait bot.forward_message(\n    chat_id=dest_chat_id,\n    from_chat_id=source_chat_id,\n    message_id=msg.message_id\n)\n```\n\n---\n\n## Tratamento De Erros\n\n```python\nfrom telegram.error import TelegramError, BadRequest, TimedOut, NetworkError\n\nasync def safe_send(bot, chat_id, text, **kwargs):\n    \"\"\"Envio com retry e tratamento de erros.\"\"\"\n    max_retries = 3\n    for attempt in range(max_retries):\n        try:\n            return await bot.send_message(chat_id, text, **kwargs)\n        except TimedOut:\n            if attempt \u003C max_retries - 1:\n                await asyncio.sleep(2 ** attempt)\n                continue\n            raise\n        except BadRequest as e:\n            if \"chat not found\" in str(e).lower():\n                print(f\"Chat {chat_id} nao encontrado\")\n                return None\n            raise\n        except NetworkError:\n            if attempt \u003C max_retries - 1:\n                await asyncio.sleep(2 ** attempt)\n                continue\n            raise\n```\n\n---\n\n## Rate Limits\n\n- **Mensagens em chat privado:** ~30 msg\u002Fsegundo\n- **Mensagens em grupo:** ~20 msg\u002Fminuto por grupo\n- **Broadcast geral:** ~30 msg\u002Fsegundo no total\n- **Bulk notifications:** use `asyncio.sleep(0.05)` entre envios para evitar flood\n\nSe receber erro 429 (Too Many Requests), respeite o `retry_after` retornado.\n\n---\n\n## Referencia De Arquivos\n\n| Topico | Arquivo |\n|--------|---------|\n| Setup de webhooks | `references\u002Fwebhook-setup.md` |\n| Gerenciamento de chats | `references\u002Fchat-management.md` |\n| Recursos avancados | `references\u002Fadvanced-features.md` |\n| Referencia completa da API | `references\u002Fapi-reference.md` |\n| Boilerplate Node.js | `assets\u002Fboilerplate\u002Fnodejs\u002F` |\n| Boilerplate Python | `assets\u002Fboilerplate\u002Fpython\u002F` |\n| Exemplos de payloads | `assets\u002Fexamples\u002F` |\n\n## Best Practices\n\n- Provide clear, specific context about your project and requirements\n- Review all suggestions before applying them to production code\n- Combine with other complementary skills for comprehensive analysis\n\n## Common Pitfalls\n\n- Using this skill for tasks outside its domain expertise\n- Applying recommendations without understanding your specific context\n- Not providing enough project context for accurate analysis\n\n## Related Skills\n\n- `instagram` - Complementary skill for enhanced analysis\n- `social-orchestrator` - Complementary skill for enhanced analysis\n- `whatsapp-cloud-api` - Complementary skill for enhanced analysis\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","# Telegram Bot API - Integracao Profissional\n\n## Overview\n\nIntegracao completa com Telegram Bot API. Setup com BotFather, mensagens, webhooks, inline keyboards, grupos, canais. Boilerplates Node.js e Python.\n\n## When to Use This Skill\n\n- When the user mentions \"telegram\" or related topics\n- When the user mentions \"bot telegram\" or related topics\n- When the user mentions \"telegram bot\" or related topics\n- When the user mentions \"api telegram\" or related topics\n- When the user mentions \"chatbot telegram\" or related topics\n- When the user mentions \"mensagem telegram\" or related topics\n\n## Do Not Use This Skill When\n\n- The task is unrelated to telegram\n- A simpler, more specific tool can handle the request\n- The user needs general-purpose assistance without domain expertise\n\n## How It Works\n\nSkill para implementar bots profissionais no Telegram usando a Bot API oficial. Suporta Node.js\u002FTypeScript e Python.\n\n## Overview\n\nA Telegram Bot API permite criar bots que interagem com usuarios via mensagens, comandos, inline keyboards, pagamentos e muito mais. Bots sao criados pelo @BotFather e autenticados via token unico.\n\n**Base URL:** `https:\u002F\u002Fapi.telegram.org\u002Fbot\u003CTOKEN>\u002FMETHOD_NAME`\n**Metodos HTTP:** GET e POST\n**Formatos de parametros:** query string, application\u002Fx-www-form-urlencoded, application\u002Fjson, multipart\u002Fform-data (uploads)\n**Limite de arquivos:** 50MB download, 20MB upload (via multipart), 50MB via URL\n\n**Portas suportadas para webhooks:** 443, 80, 88, 8443\n\n**Pre-requisitos:**\n- Conta no Telegram\n- Bot criado via @BotFather (fornece o token)\n- Token no formato: `123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11`\n\nSe o usuario nao tem um bot criado, oriente a conversar com @BotFather no Telegram e enviar `\u002Fnewbot`.\n\n---\n\n## Decision Tree\n\n```\nO usuario precisa criar um bot?\n├── SIM → Secao \"Setup com BotFather\" abaixo\n└── NAO → Qual linguagem?\n    ├── Node.js\u002FTypeScript\n    └── Python\n    → O que quer fazer?\n       ├── Enviar mensagens → Secao \"Tipos de Mensagem\"\n       ├── Receber mensagens → Secao \"Receber Updates\"\n       ├── Teclados interativos → Secao \"Keyboards\"\n       ├── Gerenciar grupos\u002Fcanais → references\u002Fchat-management.md\n       ├── Webhook setup → references\u002Fwebhook-setup.md\n       ├── Inline mode → references\u002Fadvanced-features.md\n       ├── Pagamentos → references\u002Fadvanced-features.md\n       ├── Bot de atendimento com IA → Secao \"Automacao com IA\"\n       └── Referencia completa da API → references\u002Fapi-reference.md\n```\n\nPara iniciar um projeto do zero com boilerplate pronto:\n```bash\npython scripts\u002Fsetup_project.py --language nodejs --path .\u002Fmeu-bot-telegram\n\n## Ou\n\npython scripts\u002Fsetup_project.py --language python --path .\u002Fmeu-bot-telegram\n```\n\nPara testar se o token do bot funciona:\n```bash\npython scripts\u002Ftest_bot.py --token \"SEU_TOKEN\"\n```\n\nPara enviar uma mensagem de teste:\n```bash\npython scripts\u002Fsend_message.py --token \"SEU_TOKEN\" --chat-id \"CHAT_ID\" --text \"Hello!\"\n```\n\n---\n\n## Setup Com Botfather\n\n1. Abra o Telegram e busque @BotFather\n2. Envie `\u002Fnewbot`\n3. Escolha nome de exibicao (ex: \"Meu Bot Incrivel\")\n4. Escolha username (deve terminar com \"bot\", ex: `meu_incrivel_bot`)\n5. BotFather retorna o token - guarde com seguranca\n6. Comandos uteis do BotFather:\n   - `\u002Fsetdescription` - descricao do bot\n   - `\u002Fsetabouttext` - texto \"sobre\" do bot\n   - `\u002Fsetuserpic` - foto de perfil\n   - `\u002Fsetcommands` - lista de comandos\n   - `\u002Fmybots` - gerenciar bots existentes\n   - `\u002Fsetinline` - habilitar inline mode\n   - `\u002Fsetprivacy` - modo privacidade em grupos\n\n---\n\n## Variaveis De Ambiente\n\n```env\nTELEGRAM_BOT_TOKEN=123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11\n```\n\n## Node.Js\u002FTypescript\n\n```typescript\n\u002F\u002F Instalar: npm install node-telegram-bot-api dotenv\n\u002F\u002F Para TypeScript: npm install -D @types\u002Fnode-telegram-bot-api typescript\nimport TelegramBot from 'node-telegram-bot-api';\nimport dotenv from 'dotenv';\ndotenv.config();\n\nconst bot = new TelegramBot(process.env.TELEGRAM_BOT_TOKEN!, { polling: true });\n\nbot.onText(\u002F\\\u002Fstart\u002F, (msg) => {\n  bot.sendMessage(msg.chat.id, 'Ola! Eu sou seu bot. Como posso ajudar?');\n});\n\nbot.on('message', (msg) => {\n  if (msg.text && !msg.text.startsWith('\u002F')) {\n    bot.sendMessage(msg.chat.id, `Voce disse: ${msg.text}`);\n  }\n});\n```\n\n## Python\n\n```python\n\n## Instalar: Pip Install Python-Telegram-Bot Python-Dotenv\n\nimport os\nfrom dotenv import load_dotenv\nfrom telegram import Update\nfrom telegram.ext import Application, CommandHandler, MessageHandler, filters, ContextTypes\n\nload_dotenv()\n\nasync def start(update: Update, context: ContextTypes.DEFAULT_TYPE):\n    await update.message.reply_text('Ola! Eu sou seu bot. Como posso ajudar?')\n\nasync def echo(update: Update, context: ContextTypes.DEFAULT_TYPE):\n    await update.message.reply_text(f'Voce disse: {update.message.text}')\n\napp = Application.builder().token(os.getenv('TELEGRAM_BOT_TOKEN')).build()\napp.add_handler(CommandHandler('start', start))\napp.add_handler(MessageHandler(filters.TEXT & ~filters.COMMAND, echo))\napp.run_polling()\n```\n\n## Sem Biblioteca (Http Puro)\n\n```python\nimport requests\n\nTOKEN = \"SEU_TOKEN\"\nBASE = f\"https:\u002F\u002Fapi.telegram.org\u002Fbot{TOKEN}\"\n\n## Verificar Bot\n\nr = requests.get(f\"{BASE}\u002FgetMe\")\nprint(r.json())\n\n## Enviar Mensagem\n\nr = requests.post(f\"{BASE}\u002FsendMessage\", json={\n    \"chat_id\": \"CHAT_ID\",\n    \"text\": \"Hello from pure HTTP!\",\n    \"parse_mode\": \"HTML\"\n})\nprint(r.json())\n```\n\n---\n\n## Tipos De Mensagem\n\nO Telegram suporta diversos tipos de conteudo. Todos os metodos aceitam `chat_id`, `reply_parameters` (para responder), `reply_markup` (para keyboards), `disable_notification` e `protect_content`.\n\n## Html (Recomendado)\n\nawait bot.send_message(\n    chat_id=chat_id,\n    text=\"\u003Cb>Negrito\u003C\u002Fb>, \u003Ci>italico\u003C\u002Fi>, \u003Ccode>codigo\u003C\u002Fcode>, \u003Ca href='https:\u002F\u002Fexample.com'>link\u003C\u002Fa>\",\n    parse_mode=\"HTML\"\n)\n\n## Markdownv2 (Escapar Caracteres Especiais: _ * [ ] ( ) ~ ` > # + - = | { } . !)\n\nawait bot.send_message(\n    chat_id=chat_id,\n    text=\"*Negrito*, _italico_, `codigo`, [link](https:\u002F\u002Fexample\\\\.com)\",\n    parse_mode=\"MarkdownV2\"\n)\n```\n\n## Foto (Por Url, File_Id Ou Upload)\n\nawait bot.send_photo(chat_id, photo=\"https:\u002F\u002Fexample.com\u002Fimg.jpg\", caption=\"Legenda aqui\")\n\n## Documento\n\nawait bot.send_document(chat_id, document=open(\"relatorio.pdf\", \"rb\"), caption=\"Relatorio mensal\")\n\n## Video\n\nawait bot.send_video(chat_id, video=\"https:\u002F\u002Fexample.com\u002Fvideo.mp4\", caption=\"Assista!\")\n\n## Audio\n\nawait bot.send_audio(chat_id, audio=open(\"musica.mp3\", \"rb\"), title=\"Minha Musica\")\n\n## Voz (Ogg Com Opus)\n\nawait bot.send_voice(chat_id, voice=open(\"audio.ogg\", \"rb\"))\n\n## Localizacao\n\nawait bot.send_location(chat_id, latitude=-23.5505, longitude=-46.6333)\n\n## Contato\n\nawait bot.send_contact(chat_id, phone_number=\"+5511999999999\", first_name=\"Joao\")\n\n## Enquete\n\nawait bot.send_poll(\n    chat_id, question=\"Qual sua cor favorita?\",\n    options=[\"Azul\", \"Verde\", \"Vermelho\"],\n    is_anonymous=False\n)\n\n## Grupo De Midias\n\nawait bot.send_media_group(chat_id, media=[\n    InputMediaPhoto(\"url1\", caption=\"Foto 1\"),\n    InputMediaPhoto(\"url2\"),\n    InputMediaVideo(\"url3\")\n])\n\n## Acao De Chat (Typing, Upload_Photo, Etc.)\n\nawait bot.send_chat_action(chat_id, action=\"typing\")\n```\n\n## Node.Js Equivalente\n\n```typescript\n\u002F\u002F Foto\nbot.sendPhoto(chatId, 'https:\u002F\u002Fexample.com\u002Fimg.jpg', { caption: 'Legenda' });\n\n\u002F\u002F Documento\nbot.sendDocument(chatId, fs.createReadStream('relatorio.pdf'), { caption: 'Relatorio' });\n\n\u002F\u002F Localizacao\nbot.sendLocation(chatId, -23.5505, -46.6333);\n\n\u002F\u002F Enquete\nbot.sendPoll(chatId, 'Qual sua cor favorita?', ['Azul', 'Verde', 'Vermelho']);\n```\n\n---\n\n## Inline Keyboard (Botoes Dentro Da Mensagem)\n\n```python\nfrom telegram import InlineKeyboardButton, InlineKeyboardMarkup\n\nkeyboard = InlineKeyboardMarkup([\n    [InlineKeyboardButton(\"Opcao A\", callback_data=\"opt_a\"),\n     InlineKeyboardButton(\"Opcao B\", callback_data=\"opt_b\")],\n    [InlineKeyboardButton(\"Abrir Site\", url=\"https:\u002F\u002Fexample.com\")],\n    [InlineKeyboardButton(\"Compartilhar\", switch_inline_query=\"texto\")]\n])\n\nawait bot.send_message(chat_id, \"Escolha uma opcao:\", reply_markup=keyboard)\n\n## Handler De Callback\n\nasync def button_callback(update: Update, context: ContextTypes.DEFAULT_TYPE):\n    query = update.callback_query\n    await query.answer()  # Importante: sempre responder o callback\n    await query.edit_message_text(f\"Voce escolheu: {query.data}\")\n\napp.add_handler(CallbackQueryHandler(button_callback))\n```\n\n## Reply Keyboard (Teclado Customizado)\n\n```python\nfrom telegram import ReplyKeyboardMarkup, KeyboardButton\n\nkeyboard = ReplyKeyboardMarkup(\n    [[KeyboardButton(\"Enviar Localizacao\", request_location=True)],\n     [KeyboardButton(\"Enviar Contato\", request_contact=True)],\n     [\"Opcao 1\", \"Opcao 2\"]],\n    resize_keyboard=True,\n    one_time_keyboard=True\n)\n\nawait bot.send_message(chat_id, \"Escolha:\", reply_markup=keyboard)\n```\n\n## Remover Teclado\n\n```python\nfrom telegram import ReplyKeyboardRemove\nawait bot.send_message(chat_id, \"Teclado removido\", reply_markup=ReplyKeyboardRemove())\n```\n\n---\n\n## Receber Updates\n\nExistem duas formas de receber updates: **Long Polling** e **Webhooks**.\n\n## Long Polling (Desenvolvimento)\n\nMais simples, ideal para desenvolvimento. O bot faz requisicoes periodicas ao servidor do Telegram.\n\n```python\n\n## Python-Telegram-Bot Ja Faz Isso Automaticamente\n\napp.run_polling(allowed_updates=Update.ALL_TYPES)\n```\n\n```typescript\n\u002F\u002F node-telegram-bot-api com polling\nconst bot = new TelegramBot(token, { polling: true });\n```\n\n## Webhooks (Producao)\n\nPara producao, webhooks sao mais eficientes. O Telegram envia updates via POST para sua URL HTTPS.\n\nLeia `references\u002Fwebhook-setup.md` para configuracao completa com Express, Flask, ngrok e deploy.\n\nSetup rapido:\n\n```python\n\n## Flask Webhook\n\nfrom flask import Flask, request\nimport requests\n\napp = Flask(__name__)\nTOKEN = \"SEU_TOKEN\"\nBASE = f\"https:\u002F\u002Fapi.telegram.org\u002Fbot{TOKEN}\"\n\n@app.route(f\"\u002Fwebhook\u002F{TOKEN}\", methods=[\"POST\"])\ndef webhook():\n    update = request.get_json()\n    if \"message\" in update and \"text\" in update[\"message\"]:\n        chat_id = update[\"message\"][\"chat\"][\"id\"]\n        text = update[\"message\"][\"text\"]\n        requests.post(f\"{BASE}\u002FsendMessage\", json={\n            \"chat_id\": chat_id,\n            \"text\": f\"Recebi: {text}\"\n        })\n    return \"OK\", 200\n\n## Registrar Webhook\n\nrequests.post(f\"{BASE}\u002FsetWebhook\", json={\n    \"url\": \"https:\u002F\u002Fseu-dominio.com\u002Fwebhook\u002F\" + TOKEN,\n    \"allowed_updates\": [\"message\", \"callback_query\"],\n    \"secret_token\": \"seu_secret_seguro_aqui\"\n})\n```\n\n---\n\n## Comandos Do Bot\n\nRegistre comandos para aparecerem no menu do Telegram:\n\n```python\nfrom telegram import BotCommand\n\nawait bot.set_my_commands([\n    BotCommand(\"start\", \"Iniciar o bot\"),\n    BotCommand(\"help\", \"Ver comandos disponiveis\"),\n    BotCommand(\"settings\", \"Configuracoes\"),\n    BotCommand(\"status\", \"Ver status do servico\"),\n])\n```\n\nVia HTTP:\n```bash\ncurl -X POST \"https:\u002F\u002Fapi.telegram.org\u002Fbot$TOKEN\u002FsetMyCommands\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"commands\":[{\"command\":\"start\",\"description\":\"Iniciar o bot\"},{\"command\":\"help\",\"description\":\"Ajuda\"}]}'\n```\n\n---\n\n## Automacao Com Ia\n\nPadrao para bot de atendimento com IA (Claude, GPT, etc.):\n\n```python\nfrom telegram import Update\nfrom telegram.ext import Application, MessageHandler, filters, ContextTypes\nimport anthropic  # ou openai\n\nclient = anthropic.Anthropic()\nuser_conversations = {}  # chat_id -> messages history\n\nasync def ai_response(update: Update, context: ContextTypes.DEFAULT_TYPE):\n    chat_id = update.message.chat_id\n    user_text = update.message.text\n\n    # Indicar que esta digitando\n    await context.bot.send_chat_action(chat_id, \"typing\")\n\n    # Manter historico\n    if chat_id not in user_conversations:\n        user_conversations[chat_id] = []\n\n    user_conversations[chat_id].append({\"role\": \"user\", \"content\": user_text})\n\n    # Chamar IA\n    response = client.messages.create(\n        model=\"claude-sonnet-4-20250514\",\n        max_tokens=1024,\n        system=\"Voce e um assistente prestativo. Responda em portugues.\",\n        messages=user_conversations[chat_id]\n    )\n\n    reply = response.content[0].text\n    user_conversations[chat_id].append({\"role\": \"assistant\", \"content\": reply})\n\n    # Limitar historico (ultimas 20 mensagens)\n    if len(user_conversations[chat_id]) > 20:\n        user_conversations[chat_id] = user_conversations[chat_id][-20:]\n\n    await update.message.reply_text(reply)\n\napp = Application.builder().token(TOKEN).build()\napp.add_handler(MessageHandler(filters.TEXT & ~filters.COMMAND, ai_response))\napp.run_polling()\n```\n\n---\n\n## Editar Texto\n\nawait bot.edit_message_text(\n    chat_id=chat_id,\n    message_id=msg.message_id,\n    text=\"Texto atualizado!\",\n    parse_mode=\"HTML\"\n)\n\n## Editar Markup (Botoes)\n\nawait bot.edit_message_reply_markup(\n    chat_id=chat_id,\n    message_id=msg.message_id,\n    reply_markup=new_keyboard\n)\n\n## Deletar Mensagem\n\nawait bot.delete_message(chat_id=chat_id, message_id=msg.message_id)\n\n## Encaminhar Mensagem\n\nawait bot.forward_message(\n    chat_id=dest_chat_id,\n    from_chat_id=source_chat_id,\n    message_id=msg.message_id\n)\n```\n\n---\n\n## Tratamento De Erros\n\n```python\nfrom telegram.error import TelegramError, BadRequest, TimedOut, NetworkError\n\nasync def safe_send(bot, chat_id, text, **kwargs):\n    \"\"\"Envio com retry e tratamento de erros.\"\"\"\n    max_retries = 3\n    for attempt in range(max_retries):\n        try:\n            return await bot.send_message(chat_id, text, **kwargs)\n        except TimedOut:\n            if attempt \u003C max_retries - 1:\n                await asyncio.sleep(2 ** attempt)\n                continue\n            raise\n        except BadRequest as e:\n            if \"chat not found\" in str(e).lower():\n                print(f\"Chat {chat_id} nao encontrado\")\n                return None\n            raise\n        except NetworkError:\n            if attempt \u003C max_retries - 1:\n                await asyncio.sleep(2 ** attempt)\n                continue\n            raise\n```\n\n---\n\n## Rate Limits\n\n- **Mensagens em chat privado:** ~30 msg\u002Fsegundo\n- **Mensagens em grupo:** ~20 msg\u002Fminuto por grupo\n- **Broadcast geral:** ~30 msg\u002Fsegundo no total\n- **Bulk notifications:** use `asyncio.sleep(0.05)` entre envios para evitar flood\n\nSe receber erro 429 (Too Many Requests), respeite o `retry_after` retornado.\n\n---\n\n## Referencia De Arquivos\n\n| Topico | Arquivo |\n|--------|---------|\n| Setup de webhooks | `references\u002Fwebhook-setup.md` |\n| Gerenciamento de chats | `references\u002Fchat-management.md` |\n| Recursos avancados | `references\u002Fadvanced-features.md` |\n| Referencia completa da API | `references\u002Fapi-reference.md` |\n| Boilerplate Node.js | `assets\u002Fboilerplate\u002Fnodejs\u002F` |\n| Boilerplate Python | `assets\u002Fboilerplate\u002Fpython\u002F` |\n| Exemplos de payloads | `assets\u002Fexamples\u002F` |\n\n## Best Practices\n\n- Provide clear, specific context about your project and requirements\n- Review all suggestions before applying them to production code\n- Combine with other complementary skills for comprehensive analysis\n\n## Common Pitfalls\n\n- Using this skill for tasks outside its domain expertise\n- Applying recommendations without understanding your specific context\n- Not providing enough project context for accurate analysis\n\n## Related Skills\n\n- `instagram` - Complementary skill for enhanced analysis\n- `social-orchestrator` - Complementary skill for enhanced analysis\n- `whatsapp-cloud-api` - Complementary skill for enhanced analysis\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n",{"name":5,"risk":24,"tags":25,"tools":29,"author":35,"source":36,"date_added":37,"description":7},"critical",[26,5,27,28],"messaging","bots","webhooks",[30,31,32,33,34],"claude-code","antigravity","cursor","gemini-cli","codex-cli","renat","community","2026-03-06","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill telegram",{"tool":53,"command":54},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill telegram",{"tool":56,"command":57},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill telegram","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002FSKILL.md",true,[61,67,71,77,81,85,89,92,96,100,104,108,112,118,122,126,130,134,138],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"assets\u002Fboilerplate\u002Fnodejs\u002F.env.example","ASSET","资产文件",286,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Fassets\u002Fboilerplate\u002Fnodejs\u002F.env.example",{"path":68,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":69,"sourceHtmlUrl":70},"assets\u002Fboilerplate\u002Fnodejs\u002Fpackage.json",559,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Fassets\u002Fboilerplate\u002Fnodejs\u002Fpackage.json",{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"assets\u002Fboilerplate\u002Fnodejs\u002Fsrc\u002Fbot-client.ts","SCRIPT","脚本",2547,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Fassets\u002Fboilerplate\u002Fnodejs\u002Fsrc\u002Fbot-client.ts",{"path":78,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":79,"sourceHtmlUrl":80},"assets\u002Fboilerplate\u002Fnodejs\u002Fsrc\u002Fhandlers.ts",2237,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Fassets\u002Fboilerplate\u002Fnodejs\u002Fsrc\u002Fhandlers.ts",{"path":82,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":83,"sourceHtmlUrl":84},"assets\u002Fboilerplate\u002Fnodejs\u002Fsrc\u002Findex.ts",951,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Fassets\u002Fboilerplate\u002Fnodejs\u002Fsrc\u002Findex.ts",{"path":86,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":87,"sourceHtmlUrl":88},"assets\u002Fboilerplate\u002Fnodejs\u002Ftsconfig.json",394,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Fassets\u002Fboilerplate\u002Fnodejs\u002Ftsconfig.json",{"path":90,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":91},"assets\u002Fboilerplate\u002Fpython\u002F.env.example","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Fassets\u002Fboilerplate\u002Fpython\u002F.env.example",{"path":93,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":94,"sourceHtmlUrl":95},"assets\u002Fboilerplate\u002Fpython\u002Fbot.py",3681,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Fassets\u002Fboilerplate\u002Fpython\u002Fbot.py",{"path":97,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":98,"sourceHtmlUrl":99},"assets\u002Fboilerplate\u002Fpython\u002Frequirements.txt",77,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Fassets\u002Fboilerplate\u002Fpython\u002Frequirements.txt",{"path":101,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":102,"sourceHtmlUrl":103},"assets\u002Fboilerplate\u002Fpython\u002Fwebhook_server.py",3052,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Fassets\u002Fboilerplate\u002Fpython\u002Fwebhook_server.py",{"path":105,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":106,"sourceHtmlUrl":107},"assets\u002Fexamples\u002Finline-keyboard.json",1940,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Fassets\u002Fexamples\u002Finline-keyboard.json",{"path":109,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":110,"sourceHtmlUrl":111},"assets\u002Fexamples\u002Fwebhook-payloads.json",3725,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Fassets\u002Fexamples\u002Fwebhook-payloads.json",{"path":113,"resourceType":114,"resourceTypeDesc":115,"sizeBytes":116,"sourceHtmlUrl":117},"references\u002Fadvanced-features.md","REFERENCE","参考文档",9754,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Freferences\u002Fadvanced-features.md",{"path":119,"resourceType":114,"resourceTypeDesc":115,"sizeBytes":120,"sourceHtmlUrl":121},"references\u002Fapi-reference.md",7931,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Freferences\u002Fapi-reference.md",{"path":123,"resourceType":114,"resourceTypeDesc":115,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fchat-management.md",7769,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Freferences\u002Fchat-management.md",{"path":127,"resourceType":114,"resourceTypeDesc":115,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fwebhook-setup.md",7759,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Freferences\u002Fwebhook-setup.md",{"path":131,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":132,"sourceHtmlUrl":133},"scripts\u002Fsend_message.py",5487,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Fscripts\u002Fsend_message.py",{"path":135,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":136,"sourceHtmlUrl":137},"scripts\u002Fsetup_project.py",3636,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Fscripts\u002Fsetup_project.py",{"path":139,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":140,"sourceHtmlUrl":141},"scripts\u002Ftest_bot.py",5602,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ftelegram\u002Fscripts\u002Ftest_bot.py",[143,150,157,164,171,178],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]